/* ============================================================
   Textil-Konfigurator v2 – Styles
   Layout: Live-Preview links (sticky) + Konfiguration rechts
   Primärfarbe: #8C3BBB (Violett)
   ============================================================ */

/* Full-Width-Modus: bricht aus dem Theme-Container aus */
.tk-konfigurator-wrap--fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 clamp(14px, 3vw, 40px);
    box-sizing: border-box;
}

.tk-konfigurator {
    --tk-bg:         #FAFAF7;
    --tk-surface:    #FFFFFF;
    --tk-ink:        #111111;
    --tk-ink-soft:   #4A4A48;
    --tk-muted:      #8A8A85;
    --tk-line:       #E5E3DC;
    --tk-line-strong:#111111;
    --tk-accent:     #8C3BBB;
    --tk-accent-soft:#F6ECFB;
    --tk-accent-ink: #FFFFFF;
    --tk-success:    #1F7A4B;
    --tk-danger:     #B3261E;
    --tk-radius:     14px;
    --tk-radius-sm:  8px;
    --tk-shadow:     0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
    --tk-font-head:  "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    --tk-font-body:  "Inter", ui-sans-serif, system-ui, sans-serif;

    font-family: var(--tk-font-body);
    color: var(--tk-ink);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.5;
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
}
.tk-konfigurator *, .tk-konfigurator *::before, .tk-konfigurator *::after { box-sizing: border-box; }

.tk-konfigurator h2, .tk-konfigurator h3 {
    font-family: var(--tk-font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--tk-ink);
    margin: 0;
}
.tk-konfigurator h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.tk-konfigurator h3 { font-size: 1rem; }

.tk-subhead {
    font-family: var(--tk-font-head);
    font-size: .72rem !important;
    text-transform: uppercase;
    letter-spacing: .14em !important;
    color: var(--tk-muted);
    margin: 20px 0 10px 0 !important;
}
.tk-subhead:first-child { margin-top: 0 !important; }

/* Disclaimer */
.tk-disclaimer {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--tk-accent-soft);
    border: 1px solid #D9B8EC;
    color: #4A1B66;
    padding: 12px 14px;
    border-radius: var(--tk-radius-sm);
    font-size: .88rem;
    margin-bottom: 18px;
}
.tk-disclaimer svg { flex-shrink: 0; margin-top: 2px; color: var(--tk-accent); }

/* Stepper */
.tk-stepper { margin-bottom: 20px; position: relative; }

/* Progress-Bar über dem Stepper */
.tk-progress {
    height: 4px;
    background: var(--tk-line);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
}
.tk-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--tk-accent) 0%, #b85de0 100%);
    border-radius: 999px;
    transition: width .4s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 0 8px rgba(140,59,187,.25);
}

.tk-stepper ol {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 6px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tk-stepper ol::-webkit-scrollbar { display: none; }
.tk-step {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 13px;
    background: var(--tk-surface);
    border: 1px solid var(--tk-line);
    border-radius: 999px;
    font-size: .82rem;
    color: var(--tk-muted);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s;
    cursor: default;
    user-select: none;
}
.tk-step--clickable { cursor: pointer; }
.tk-step--clickable:not(.tk-step--active):hover {
    background: var(--tk-accent-soft);
    border-color: var(--tk-accent);
    color: var(--tk-accent);
}
.tk-step span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--tk-line);
    color: var(--tk-ink);
    font-weight: 600; font-size: .72rem;
    font-family: var(--tk-font-head);
}
.tk-step--active { background: var(--tk-ink); color: #fff; border-color: var(--tk-ink); }
.tk-step--active span { background: var(--tk-accent); color: #fff; }
.tk-step--done { color: var(--tk-ink); border-color: var(--tk-success); background: #f0faf5; }
.tk-step--done span { background: var(--tk-success); color: #fff; }

/* ============================================================
   2-Spalten-Layout
   ============================================================ */
.tk-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 860px) {
    .tk-layout {
        grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
        gap: 30px;
        align-items: start;
    }
}

/* Preview-Spalte */
.tk-preview-col {
    min-width: 0;
}
.tk-preview-sticky {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--tk-surface);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius);
    padding: 14px;
    box-shadow: var(--tk-shadow);
    /* Mobile: sticky oben mit dichter Optik */
    z-index: 10;
}
/* Auf sehr kleinen Screens Vorschau kompakter machen */
@media (max-width: 860px) {
    .tk-preview-sticky {
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }
}

.tk-view-switch {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.tk-view-btn {
    padding: 5px 12px;
    background: var(--tk-bg);
    border: 1px solid var(--tk-line);
    border-radius: 999px;
    font-size: .8rem;
    cursor: pointer;
    font-family: inherit;
    color: var(--tk-ink-soft);
}
.tk-view-btn--active {
    background: var(--tk-ink); color: #fff;
    border-color: var(--tk-ink);
}

.tk-preview {
    background: var(--tk-bg);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    overflow: hidden;
    position: relative;
}
.tk-preview__stage {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    position: relative;
    /* touch-action wird nur auf Motiven gesetzt, damit die Stage scrollbar bleibt */
    touch-action: pan-y;
    background-image:
        linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
    background-size: 20px 20px;
}
.tk-preview__stage--mobile-compact { aspect-ratio: 16 / 9; }

.tk-preview__placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--tk-muted);
    text-align: center;
    padding: 20px;
}
.tk-preview__placeholder svg { color: #ccc; margin-bottom: 10px; }
.tk-preview__placeholder p { margin: 0; font-size: .9rem; }

.tk-preview__product {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.tk-preview__product img {
    max-width: 92%; max-height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.08));
}

/* Hinweis-Banner wenn für die aktuelle Ansicht kein Bild existiert */
.tk-preview__fallback-note {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 8px 12px;
    background: rgba(140,59,187,0.92);
    color: #fff;
    border-radius: var(--tk-radius-sm);
    font-size: .76rem;
    line-height: 1.35;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
}
.tk-preview__fallback-note strong {
    display: block;
    font-size: .82rem;
    margin-bottom: 2px;
}

/* Info-Box unter der Vorschau */
.tk-preview__info {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    background: var(--tk-bg);
    border-radius: var(--tk-radius-sm);
    font-size: .82rem;
}
.tk-preview__info-row { display: flex; justify-content: space-between; gap: 8px; }
.tk-preview__info-label { color: var(--tk-muted); }
.tk-preview__info-color { display: inline-flex; align-items: center; gap: 6px; }
.tk-preview__info-swatch {
    width: 14px; height: 14px; border-radius: 50%;
    border: 1px solid var(--tk-line);
    display: inline-block;
}

/* Zonen (auf dem Produktfoto) */
.tk-zone {
    position: absolute;
    border: 2px dashed var(--tk-muted);
    border-radius: 4px;
    background: rgba(140,59,187,.04);
    pointer-events: none;
    transition: all .2s;
    display: none;
}
.tk-zone--visible { display: block; pointer-events: auto; }
.tk-zone--active {
    border-color: var(--tk-accent);
    background: rgba(140,59,187,.12);
}
.tk-zone__label {
    position: absolute; top: -10px; left: 6px;
    background: var(--tk-surface);
    padding: 0 6px;
    font-size: .65rem;
    color: var(--tk-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: var(--tk-font-head);
    font-weight: 600;
    white-space: nowrap;
}

.tk-motif {
    position: absolute;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    /* Standardmäßig kann die Seite gescrollt werden, auch wenn man auf einem Motiv tippt */
    touch-action: pan-y;
    border: 1.5px dashed transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* Nur ausgewählte Motive sind ziehbar – verhindert Scroll-Probleme auf Mobile */
.tk-motif--selected {
    touch-action: none;
}
.tk-motif:hover, .tk-motif--selected { border-color: var(--tk-accent); }
.tk-motif:active { cursor: grabbing; }
.tk-motif__handle {
    position: absolute;
    width: 16px; height: 16px;
    background: var(--tk-accent);
    border: 2px solid #fff;
    border-radius: 50%;
    bottom: -8px; right: -8px;
    cursor: nwse-resize;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    touch-action: none;
    z-index: 2;
}
.tk-motif--outside {
    border-color: var(--tk-danger) !important;
    border-style: solid !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 4px rgba(179,38,30,0.18);
    animation: tk-motif-shake .35s ease-in-out;
}
.tk-motif--outside::before {
    content: "⚠ Außerhalb der Druckzone";
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tk-danger);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
@keyframes tk-motif-shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 0); }
    75% { transform: translate(2px, 0); }
}

/* ============================================================
   Konfigurations-Panels
   ============================================================ */
.tk-config-col { min-width: 0; }

.tk-panel { display: none; animation: tk-fade .25s ease-out; }
.tk-panel--active { display: block; }
@keyframes tk-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tk-panel__header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tk-line);
}
.tk-panel__header p {
    margin: 6px 0 0 0;
    color: var(--tk-ink-soft);
    font-size: .92rem;
}

.tk-panel__actions {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--tk-line);
    flex-wrap: wrap;
}
.tk-panel__actions-right { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.tk-btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    font-family: var(--tk-font-body);
    font-size: .92rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--tk-radius-sm);
    cursor: pointer;
    transition: all .18s ease;
    line-height: 1;
    background: transparent;
    color: var(--tk-ink);
}
.tk-btn:disabled { opacity: .4; cursor: not-allowed; }
.tk-btn--primary { background: var(--tk-ink); color: #fff; border-color: var(--tk-ink); }
.tk-btn--primary:hover:not(:disabled) { background: var(--tk-accent); border-color: var(--tk-accent); }
.tk-btn--ghost { color: var(--tk-muted); }
.tk-btn--ghost:hover { color: var(--tk-ink); }
.tk-btn--outline { background: var(--tk-surface); border-color: var(--tk-line-strong); color: var(--tk-ink); }
.tk-btn--outline:hover { background: var(--tk-ink); color: #fff; }
.tk-btn--lg { padding: 14px 22px; font-size: 1rem; }

/* Produktauswahl-Grid */
.tk-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}
.tk-product-card {
    background: var(--tk-surface);
    border: 2px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    padding: 12px 10px;
    cursor: pointer;
    text-align: center;
    transition: all .18s ease;
    position: relative;
    font-family: inherit;
    color: inherit;
}
.tk-product-card:hover {
    border-color: var(--tk-accent);
    transform: translateY(-2px);
    box-shadow: var(--tk-shadow);
}
.tk-product-card--selected {
    border-color: var(--tk-success);
    background: var(--tk-surface);
    color: var(--tk-ink);
    box-shadow: 0 0 0 3px rgba(31,122,75,.15);
}
.tk-product-card--selected::after {
    content: "✓";
    position: absolute; top: 8px; right: 10px;
    width: 22px; height: 22px;
    background: var(--tk-success); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}
.tk-product-card__img {
    width: 100%; aspect-ratio: 1 / 1;
    background: #F4F2EC;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px; overflow: hidden;
}
.tk-product-card__img img { max-width: 85%; max-height: 85%; object-fit: contain; }
.tk-product-card__img--empty {
    background: repeating-linear-gradient(45deg, #f4f2ec 0 8px, #ebe7dd 8px 16px);
    color: #b5b0a4; font-size: .7rem;
}
.tk-product-card__name {
    font-family: var(--tk-font-head);
    font-weight: 700; font-size: .92rem;
    margin: 0;
}

/* Empty-Hinweis */
.tk-empty {
    background: var(--tk-surface);
    border: 1px dashed var(--tk-line);
    border-radius: var(--tk-radius-sm);
    padding: 20px;
    text-align: center;
    color: var(--tk-ink-soft);
    font-size: .9rem;
}

/* Farben */
.tk-color-note {
    display: flex; gap: 6px; align-items: flex-start;
    margin-bottom: 12px;
    font-size: .82rem;
    color: var(--tk-ink-soft);
    background: var(--tk-accent-soft);
    border-radius: var(--tk-radius-sm);
    padding: 8px 10px;
}
.tk-color-note svg { color: var(--tk-accent); flex-shrink: 0; margin-top: 2px; }

.tk-colors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 8px;
}
.tk-color {
    position: relative;
    cursor: pointer;
    background: none; border: none; padding: 0;
    font-family: inherit;
    display: flex; flex-direction: column; align-items: center;
}
.tk-color__swatch {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.18);
    transition: all .15s ease;
    display: block;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.tk-color:hover .tk-color__swatch { transform: scale(1.08); }
.tk-color--selected .tk-color__swatch {
    border-color: var(--tk-accent);
    box-shadow: 0 0 0 2px var(--tk-surface), 0 0 0 3px var(--tk-accent);
}
.tk-color__name {
    display: block;
    font-size: .66rem;
    color: var(--tk-ink-soft);
    margin-top: 4px;
    text-align: center;
    line-height: 1.15;
}

/* Schnitt */
.tk-fits { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-fit {
    padding: 9px 16px;
    background: var(--tk-surface);
    border: 1.5px solid var(--tk-line);
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: .88rem;
    color: var(--tk-ink);
    transition: all .15s;
}
.tk-fit:hover { border-color: var(--tk-ink); }
.tk-fit--selected { background: var(--tk-ink); color: #fff; border-color: var(--tk-ink); }

/* Größen */
.tk-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}
.tk-size {
    background: var(--tk-surface);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    padding: 12px;
    display: flex; flex-direction: column; align-items: center;
    gap: 6px;
}
/* Aktiver State nur dezent andeuten: kein schwarzer Rahmen, nur leichte Umrandung in Akzentfarbe */
.tk-size--active {
    border-color: #E8D9F4;
    background: #FBF7FF;
}
.tk-size__label { font-family: var(--tk-font-head); font-weight: 700; font-size: 1rem; }
.tk-size__controls { display: flex; align-items: center; gap: 4px; }
.tk-size__btn {
    width: 34px; height: 34px;
    border: 1.5px solid var(--tk-accent);
    background: var(--tk-accent-soft);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tk-accent);
    line-height: 1;
    font-family: inherit;
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}
.tk-size__btn:hover {
    background: var(--tk-accent);
    color: #fff;
    transform: scale(1.08);
}
.tk-size__btn--plus {
    background: var(--tk-accent);
    color: #fff;
    border-color: var(--tk-accent);
}
.tk-size__btn--plus:hover {
    background: #7029a3;
    border-color: #7029a3;
}
.tk-size__input {
    width: 50px; text-align: center;
    padding: 6px;
    border: 1px solid var(--tk-line);
    border-radius: 6px;
    font-family: inherit; font-size: .95rem;
    -moz-appearance: textfield;
}
.tk-size__input::-webkit-outer-spin-button,
.tk-size__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.tk-size-total {
    margin-top: 14px;
    padding: 8px 12px;
    background: var(--tk-surface);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    font-size: .88rem;
    display: inline-block;
}
.tk-size-total strong { font-family: var(--tk-font-head); font-size: 1.05rem; }

/* Zonen-Liste im Schritt 4 */
.tk-zone-list {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.tk-zone-chip {
    padding: 8px 14px;
    background: var(--tk-surface);
    border: 1.5px solid var(--tk-line);
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit; font-size: .85rem;
    display: inline-flex; align-items: center; gap: 6px;
}
.tk-zone-chip small { color: var(--tk-muted); font-size: .72rem; }
.tk-zone-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--tk-accent);
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    margin-left: 4px;
}
.tk-zone-chip--active .tk-zone-chip__count {
    background: #fff;
    color: var(--tk-accent);
}
.tk-zone-chip--active { background: var(--tk-ink); color: #fff; border-color: var(--tk-ink); }
.tk-zone-chip--active small { color: rgba(255,255,255,.7); }

/* Drop-Zone */
.tk-drop {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 22px 14px;
    background: var(--tk-surface);
    border: 2px dashed var(--tk-line);
    border-radius: var(--tk-radius);
    cursor: pointer; gap: 6px; text-align: center;
    color: var(--tk-ink-soft);
    transition: all .2s;
}
.tk-drop:hover { border-color: var(--tk-ink); background: var(--tk-bg); }
.tk-drop--active { border-color: var(--tk-accent); background: rgba(140,59,187,.05); }
.tk-drop strong { font-family: var(--tk-font-head); font-size: .95rem; color: var(--tk-ink); }
.tk-drop span { font-size: .78rem; }
.tk-drop svg { color: var(--tk-muted); }

.tk-upload-status {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: var(--tk-radius-sm);
    font-size: .84rem;
}
.tk-upload-status--ok   { background: #E8F5EE; color: var(--tk-success); }
.tk-upload-status--err  { background: #FDECEB; color: var(--tk-danger); border-left: 3px solid var(--tk-danger); padding-left: 12px; }
.tk-upload-status--warn { background: #FFF8E1; color: #6D4400; border-left: 3px solid #F57C00; padding-left: 12px; }
.tk-upload-status--info { background: var(--tk-accent-soft); color: #4A1B66; }

/* Techniken */
.tk-techniques { display: flex; flex-direction: column; gap: 8px; }
.tk-technique {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px;
    background: var(--tk-surface);
    border: 1.5px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.tk-technique:hover { border-color: var(--tk-ink); }
.tk-technique--selected { border-color: var(--tk-accent); background: var(--tk-accent-soft); }
.tk-technique__radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid var(--tk-line);
    flex-shrink: 0; margin-top: 2px;
    position: relative;
}
.tk-technique--selected .tk-technique__radio {
    border-color: var(--tk-accent);
}
.tk-technique--selected .tk-technique__radio::after {
    content: ""; position: absolute; inset: 2px;
    background: var(--tk-accent); border-radius: 50%;
}
.tk-technique__body { flex: 1; }
.tk-technique__name {
    font-weight: 700; font-family: var(--tk-font-head);
    color: var(--tk-ink); margin-bottom: 2px;
}
.tk-technique__desc { font-size: .82rem; color: var(--tk-ink-soft); line-height: 1.4; }

/* Motivliste */
.tk-placed-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tk-placed-list__empty {
    padding: 10px;
    background: var(--tk-bg);
    border: 1px dashed var(--tk-line);
    border-radius: var(--tk-radius-sm);
    font-size: .82rem;
    color: var(--tk-muted);
    text-align: center;
}
.tk-placed-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px;
    background: var(--tk-surface);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
}
.tk-placed-item__thumb {
    width: 36px; height: 36px;
    background-size: contain; background-repeat: no-repeat; background-position: center;
    background-color: #f4f2ec;
    border-radius: 4px; flex-shrink: 0;
}
.tk-placed-item__meta { flex: 1; font-size: .78rem; }
.tk-placed-item__meta strong { display: block; font-family: var(--tk-font-head); }
.tk-placed-item__meta span { color: var(--tk-muted); }
.tk-placed-item__actions {
    display: flex;
    gap: 4px;
    align-items: center;
}
.tk-placed-item__edit {
    background: none;
    border: 1px solid var(--tk-line);
    color: var(--tk-accent);
    cursor: pointer;
    font-size: .9rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: inherit;
    line-height: 1;
}
.tk-placed-item__edit:hover {
    background: var(--tk-accent-soft);
    border-color: var(--tk-accent);
}
.tk-placed-item__del {
    background: none; border: 1px solid var(--tk-line);
    color: var(--tk-muted); cursor: pointer;
    font-size: .9rem; padding: 4px 8px;
    border-radius: 4px;
    font-family: inherit;
    line-height: 1;
}
.tk-placed-item__del:hover { background: #FDECEB; color: var(--tk-danger); border-color: var(--tk-danger); }

/* Zusammenfassung */
.tk-summary {
    display: flex; flex-direction: column; gap: 12px;
    margin-bottom: 22px;
}
.tk-summary-item {
    background: var(--tk-surface);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.tk-summary-item[open] {
    border-color: var(--tk-accent);
    box-shadow: 0 2px 8px rgba(140,59,187,.08);
}
.tk-summary-item__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.tk-summary-item__head::-webkit-details-marker { display: none; }
.tk-summary-item__head::marker { display: none; content: ''; }
.tk-summary-item__head:hover { background: var(--tk-bg); }
.tk-summary-item__swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.15);
    flex-shrink: 0;
}
.tk-summary-item__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}
.tk-summary-item__title {
    font-family: var(--tk-font-head);
    font-weight: 700;
    font-size: .98rem;
    color: var(--tk-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tk-summary-item__meta-inline {
    font-size: .78rem;
    color: var(--tk-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tk-summary-item__badge {
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 8px;
    background: var(--tk-accent-soft);
    color: #4A1B66;
    border-radius: 999px;
    flex-shrink: 0;
}
.tk-summary-item__chevron {
    color: var(--tk-muted);
    font-size: 14px;
    transition: transform .2s;
    flex-shrink: 0;
    margin-left: 4px;
}
.tk-summary-item[open] .tk-summary-item__chevron { transform: rotate(180deg); }
.tk-summary-item__body {
    padding: 0 14px 14px 14px;
    font-size: .85rem;
    color: var(--tk-ink-soft);
    display: grid;
    gap: 4px;
    border-top: 1px dashed var(--tk-line);
    padding-top: 12px;
    margin-top: 2px;
}
.tk-summary-item__body strong { color: var(--tk-ink); }
.tk-summary-item__actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--tk-line);
}
.tk-summary-item__del {
    background: none; border: 1px solid var(--tk-line);
    color: var(--tk-danger);
    padding: 5px 12px;
    border-radius: 999px; font-size: .78rem;
    cursor: pointer; font-family: inherit;
}
.tk-summary-item__del:hover { background: var(--tk-danger); color: #fff; border-color: var(--tk-danger); }

/* Formular */
.tk-form {
    background: var(--tk-surface);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius);
    padding: 22px;
}
.tk-form__grid {
    display: grid; grid-template-columns: 1fr;
    gap: 12px; margin-bottom: 12px;
}
@media (min-width: 560px) { .tk-form__grid { grid-template-columns: 1fr 1fr; } }
.tk-form label, .tk-form__full {
    display: flex; flex-direction: column; gap: 6px;
    font-size: .82rem;
    color: var(--tk-ink-soft);
}
.tk-form label em { color: var(--tk-danger); font-style: normal; }
.tk-form__full { margin-bottom: 12px; }
.tk-form input[type="text"],
.tk-form input[type="email"],
.tk-form input[type="tel"],
.tk-form input[type="date"],
.tk-form input[type="number"],
.tk-form select,
.tk-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    font-family: inherit; font-size: .92rem;
    background: #fff; color: var(--tk-ink);
    transition: border-color .15s;
    min-height: 42px;
    box-sizing: border-box;
}
.tk-form select {
    appearance: auto;
    -webkit-appearance: auto;
    cursor: pointer;
}
.tk-form input[type="date"] {
    font-family: inherit;
}
.tk-form input:focus, .tk-form select:focus, .tk-form textarea:focus { outline: none; border-color: var(--tk-accent); }
.tk-form textarea { resize: vertical; }
.tk-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden; }
.tk-consent {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin: 20px 0 !important;
    padding: 16px !important;
    background: #FFF3CD !important;
    border: 2px solid var(--tk-accent) !important;
    border-radius: var(--tk-radius-sm) !important;
    font-size: .92rem !important;
    color: #4A1B66 !important;
    cursor: pointer !important;
    line-height: 1.45 !important;
}
.tk-konfigurator .tk-consent input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    accent-color: var(--tk-accent) !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    display: inline-block !important;
    border: 2px solid var(--tk-accent) !important;
    background: #fff !important;
    vertical-align: middle !important;
}
.tk-consent > span { flex: 1; }
.tk-consent a { color: var(--tk-accent) !important; font-weight: 700 !important; text-decoration: underline !important; }
.tk-form__submit {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.tk-form__status {
    margin-top: 12px; padding: 9px 12px;
    border-radius: var(--tk-radius-sm);
    font-size: .85rem;
}
.tk-form__status--err  { background: #FDECEB; color: var(--tk-danger); }
.tk-form__status--info { background: var(--tk-accent-soft); color: #4A1B66; }

/* Erfolg */
.tk-success { text-align: center; padding: 40px 20px; }
.tk-success svg { color: var(--tk-success); margin-bottom: 14px; }
.tk-success h2 { margin-bottom: 10px; }
.tk-success p { color: var(--tk-ink-soft); max-width: 480px; margin: 0 auto 22px; }

/* Mobile: Preview linear im Fluss (nicht sticky) */
@media (max-width: 860px) {
    .tk-preview-sticky {
        position: static;
        padding: 8px;
    }
    .tk-preview__stage {
        aspect-ratio: 1 / 1;
        max-height: 50vh;
    }
    .tk-preview__info {
        font-size: .76rem;
        padding: 6px 8px;
    }
    .tk-preview__info-row {
        gap: 6px;
    }
    /* Eingeklappte Vorschau auf Wunsch */
    .tk-preview-col--collapsed .tk-preview__stage,
    .tk-preview-col--collapsed .tk-preview__info,
    .tk-preview-col--collapsed .tk-view-switch {
        display: none;
    }
    .tk-preview-col--collapsed .tk-preview-toggle {
        margin: 0;
    }
    /* "Vorschau ausblenden"-Button auf Mobile sichtbar */
    .tk-preview-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        margin-top: 8px;
        padding: 8px 12px;
        background: var(--tk-bg);
        border: 1px solid var(--tk-line);
        border-radius: var(--tk-radius-sm);
        font-family: inherit;
        font-size: .82rem;
        color: var(--tk-ink-soft);
        cursor: pointer;
    }
    .tk-preview-toggle:hover { background: var(--tk-accent-soft); border-color: var(--tk-accent); color: var(--tk-accent); }
    /* Stepper kompakter auf Mobile */
    .tk-stepper ol {
        gap: 4px;
    }
    .tk-step {
        padding: 5px 9px;
        font-size: .74rem;
    }
    .tk-step span {
        width: 16px;
        height: 16px;
        font-size: .65rem;
    }
}
/* Auf Desktop ausblenden */
@media (min-width: 861px) {
    .tk-preview-toggle { display: none; }
}
@media (max-width: 560px) {
    .tk-panel__actions { flex-direction: column; align-items: stretch; }
    .tk-panel__actions > * { width: 100%; }
    .tk-panel__actions-right { flex-direction: column; }
    .tk-panel__actions-right > * { width: 100%; }
    .tk-btn { justify-content: center; }
}

/* Disclaimer am Ende (kleiner, dezent) */
.tk-disclaimer--footer {
    margin: 24px 0 0 0;
    background: var(--tk-bg);
    border: 1px solid var(--tk-line);
    color: var(--tk-muted);
    font-size: .78rem;
    padding: 10px 12px;
}
.tk-disclaimer--footer svg { color: var(--tk-muted); }

/* ============================================================
   Add-Motif-Bereich (Logo / Text / Form)
   ============================================================ */
.tk-add-motif {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px;
    align-items: stretch;
}
.tk-add-motif > * {
    min-height: 140px;
    height: 100%;
}
.tk-add-motif .tk-drop {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    margin: 0;
}
.tk-add-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: var(--tk-surface);
    border: 2px dashed var(--tk-line);
    border-radius: var(--tk-radius);
    cursor: pointer;
    font-family: inherit;
    color: var(--tk-ink-soft);
    text-align: center;
    gap: 6px;
    transition: all .18s;
}
.tk-add-btn:hover {
    border-color: var(--tk-accent);
    color: var(--tk-accent);
    background: var(--tk-accent-soft);
}
.tk-add-btn strong {
    font-family: var(--tk-font-head);
    font-size: .95rem;
    color: var(--tk-ink);
}
.tk-add-btn span { font-size: .78rem; }
.tk-add-btn svg { color: var(--tk-muted); }
.tk-add-btn:hover svg, .tk-add-btn:hover strong { color: var(--tk-accent); }

/* ============================================================
   Motiv-Tools (Bearbeiten / Löschen)
   ============================================================ */
.tk-motif__tools {
    position: absolute;
    top: -14px;
    left: -14px;
    display: none;
    gap: 4px;
    z-index: 2;
}
.tk-motif--selected .tk-motif__tools { display: flex; }
.tk-motif__del, .tk-motif__edit {
    width: 26px; height: 26px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    font-family: inherit;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.tk-motif__del  { background: var(--tk-danger); color: #fff; }
.tk-motif__edit { background: var(--tk-accent); color: #fff; }

.tk-motif--text {
    display: flex; align-items: center; justify-content: center;
    overflow: visible;
}
.tk-motif__text {
    display: inline-block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    line-height: 1;
}
.tk-motif--shape {
    overflow: visible;
}
.tk-motif--shape svg {
    pointer-events: none;
    overflow: visible;
}

/* ============================================================
   Inline-Editor (Text / Form) – innerhalb des rechten Panels
   ============================================================ */
.tk-inline-editor {
    margin: 16px 0 0 0;
    background: var(--tk-surface);
    border: 2px solid var(--tk-accent);
    border-radius: var(--tk-radius);
    overflow: hidden;
    animation: tk-fade .2s ease-out;
}
.tk-inline-editor__head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    background: var(--tk-accent-soft);
    border-bottom: 1px solid var(--tk-line);
}
.tk-inline-editor__head h3 {
    margin: 0;
    font-family: var(--tk-font-head);
    font-size: 1rem;
    font-weight: 700;
    color: #4A1B66;
}
.tk-inline-editor__close {
    background: none; border: none;
    font-size: 16px; cursor: pointer;
    color: var(--tk-muted);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: inherit;
    line-height: 1;
}
.tk-inline-editor__close:hover { background: #fff; color: var(--tk-ink); }
.tk-inline-editor__body { padding: 14px 16px; }
.tk-inline-editor__foot {
    display: flex; justify-content: flex-end; gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid var(--tk-line);
    background: var(--tk-bg);
}
.tk-mobile-hint {
    display: none;
    margin: 0 0 10px 0;
    padding: 8px 10px;
    background: var(--tk-accent-soft);
    color: #4A1B66;
    border-radius: var(--tk-radius-sm);
    font-size: .78rem;
    line-height: 1.35;
}
@media (max-width: 860px) {
    .tk-mobile-hint { display: block; }
}

/* "Wird platziert auf"-Anzeige */
.tk-active-zone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--tk-accent-soft) 0%, #EDE0FA 100%);
    border: 1px solid #D9B8EC;
    border-left: 4px solid var(--tk-accent);
    border-radius: var(--tk-radius-sm);
    font-size: .88rem;
    color: #4A1B66;
}
.tk-active-zone__label {
    color: var(--tk-ink-soft);
    font-size: .78rem;
}
.tk-active-zone strong {
    color: var(--tk-accent);
    font-family: var(--tk-font-head);
    font-weight: 700;
}
.tk-active-zone__view {
    font-weight: 500;
    color: var(--tk-ink-soft);
    font-size: .82rem;
}
.tk-active-zone--warning {
    background: #FFF8E1;
    border-color: #FFE082;
    border-left-color: #F57C00;
    color: #6D4400;
}
.tk-active-zone--warning strong {
    color: #6D4400;
    font-weight: 600;
    font-family: var(--tk-font-body);
}

/* Designhilfe-Box im Anfrage-Formular */
.tk-design-help {
    border: 1.5px dashed var(--tk-accent);
    border-radius: var(--tk-radius);
    padding: 16px;
    margin: 16px 0;
    background: linear-gradient(135deg, #FCF9FE 0%, var(--tk-accent-soft) 100%);
}
.tk-design-help legend {
    font-family: var(--tk-font-head);
    font-weight: 700;
    font-size: 1rem;
    padding: 0 10px;
    color: var(--tk-accent);
    background: var(--tk-surface);
    border: 1px solid var(--tk-accent);
    border-radius: 999px;
}
.tk-design-help__intro {
    margin: 0 0 14px 0;
    color: var(--tk-ink-soft);
    font-size: .85rem;
    line-height: 1.5;
}
.tk-design-help__option {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--tk-surface);
    border: 1.5px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    cursor: pointer;
    transition: all .15s;
}
.tk-design-help__option:hover {
    border-color: var(--tk-accent);
    background: #fff;
}
.tk-design-help__option:has(input:checked) {
    border-color: var(--tk-accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--tk-accent-soft);
}
.tk-konfigurator .tk-design-help__option input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    margin: 2px 0 0 0 !important;
    flex-shrink: 0 !important;
    accent-color: var(--tk-accent) !important;
    cursor: pointer !important;
    border: 2px solid var(--tk-accent) !important;
    background: #fff !important;
}
.tk-design-help__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tk-design-help__body strong {
    font-family: var(--tk-font-head);
    color: var(--tk-ink);
    font-size: .92rem;
}
.tk-design-help__body span {
    font-size: .8rem;
    color: var(--tk-ink-soft);
    line-height: 1.4;
}
.tk-design-help__textarea {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

.tk-editor-hint {
    margin: 10px 0 0 0;
    padding: 8px 10px;
    background: var(--tk-accent-soft);
    color: #4A1B66;
    border-radius: var(--tk-radius-sm);
    font-size: .78rem;
    line-height: 1.3;
}

/* Color-Widget: Picker + Hex + Swatches */
.tk-color-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.tk-color-field__row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tk-color-field__picker {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 36px;
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    padding: 2px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
.tk-color-field__picker::-webkit-color-swatch-wrapper { padding: 0; }
.tk-color-field__picker::-webkit-color-swatch { border: none; border-radius: 4px; }
.tk-color-field__hex {
    flex: 1;
    min-width: 80px;
    padding: 8px 10px;
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    font-family: "SF Mono", Consolas, Menlo, monospace;
    font-size: .85rem;
    text-transform: uppercase;
    background: #fff;
    color: var(--tk-ink);
    box-sizing: border-box;
}
.tk-color-field__hex:focus { outline: none; border-color: var(--tk-accent); }
.tk-color-field__preview {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.15);
    flex-shrink: 0;
}
.tk-color-field__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.tk-color-field__swatch {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: transform .1s;
}
.tk-color-field__swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--tk-surface), 0 0 0 3px var(--tk-accent);
}

/* "Weiß ich nicht"-Checkbox */
.tk-unsure {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-top: 12px;
    background: var(--tk-bg);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    font-size: .88rem;
    color: var(--tk-ink-soft);
    cursor: pointer;
}
.tk-unsure:has(input:checked) {
    background: var(--tk-accent-soft);
    border-color: var(--tk-accent);
    color: #4A1B66;
    font-weight: 600;
}
.tk-konfigurator .tk-unsure input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    accent-color: var(--tk-accent) !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: static !important;
    border: 2px solid var(--tk-accent) !important;
    background: #fff !important;
}

/* Sizes-Grid deaktiviert, wenn "unsure" gesetzt ist */
.tk-sizes--disabled {
    opacity: .4;
    pointer-events: none;
}

/* Drucktechnik als Dropdown */
.tk-technique-select {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: .95rem;
    border: 1.5px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    background: var(--tk-surface);
    color: var(--tk-ink);
    cursor: pointer;
}
.tk-technique-select:focus {
    outline: none;
    border-color: var(--tk-accent);
}
.tk-technique-desc {
    margin: 8px 0 0 0;
    padding: 10px 12px;
    background: var(--tk-bg);
    border-left: 3px solid var(--tk-accent);
    border-radius: 4px;
    font-size: .82rem;
    color: var(--tk-ink-soft);
    line-height: 1.4;
}

/* Editor-Felder */
.tk-editor-field {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 14px;
    font-size: .85rem;
    color: var(--tk-ink-soft);
}
.tk-editor-field--check {
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}
.tk-editor-field input[type="text"],
.tk-editor-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    font-family: inherit;
    font-size: .95rem;
    background: #fff;
    color: var(--tk-ink);
}
.tk-editor-field input[type="color"] {
    width: 60px; height: 40px;
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    cursor: pointer;
    padding: 2px;
    background: #fff;
}
.tk-editor-row {
    display: flex; gap: 16px; align-items: flex-start;
    flex-wrap: wrap;
}

/* Text-Preview */
.tk-editor-preview {
    display: flex;
    align-items: center; justify-content: center;
    min-height: 80px;
    padding: 14px;
    background: repeating-conic-gradient(#f4f2ec 0% 25%, #fafaf7 0% 50%) 50% / 16px 16px;
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    margin-bottom: 14px;
}
.tk-editor-preview span {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    padding: 0 8px;
    word-break: break-word;
}

/* Shape-Grid */
.tk-shape-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}
@media (max-width: 560px) { .tk-shape-grid { grid-template-columns: repeat(4, 1fr); } }
.tk-shape-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    background: var(--tk-surface);
    border: 1.5px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: .7rem;
    color: var(--tk-ink-soft);
}
.tk-shape-option:hover { border-color: var(--tk-ink); }
.tk-shape-option.is-active { border-color: var(--tk-accent); background: var(--tk-accent-soft); color: var(--tk-ink); }
.tk-shape-option svg {
    width: 36px; height: 36px;
    pointer-events: none;
}
.tk-editor-preview-shape {
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    min-height: 100px;
    background: repeating-conic-gradient(#f4f2ec 0% 25%, #fafaf7 0% 50%) 50% / 16px 16px;
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius-sm);
}
.tk-editor-preview-shape svg { width: 80px; height: 80px; }

/* Placed-Item für Text/Shape */
.tk-placed-item__thumb--text {
    font-family: inherit;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafaf7;
}
.tk-placed-item__thumb--shape {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafaf7;
}
.tk-placed-item__thumb--shape svg { width: 100%; height: 100%; }
