.wtk-master-wrap{max-width:1180px;margin:40px auto;padding:0 20px}
.wtk-step-box{background:#fff;border:1px solid #e6e6e6;border-radius:18px;padding:24px;margin-bottom:20px;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.wtk-step-box h2{margin:0 0 16px;font-size:24px;color:#111}
.wtk-group-pills{display:flex;gap:12px;flex-wrap:wrap}
.wtk-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #d8d8d8;border-radius:999px;padding:12px 16px;background:#fafafa;cursor:pointer;font-weight:600}
.wtk-pill input{margin:0}
.wtk-table{width:100%;border-collapse:collapse}
.wtk-table th,.wtk-table td{border:1px solid #e3e3e3;padding:14px;text-align:left;vertical-align:middle}
.wtk-table th{background:#f7f7f7}
.wtk-table input[type="number"]{width:100px;max-width:100%;padding:8px 10px;border:1px solid #d9d9d9;border-radius:12px}
.wtk-color-cell{font-weight:700}
.wtk-field{display:grid;gap:8px;margin-bottom:16px}
.wtk-field input,.wtk-field textarea,.wtk-field select{width:100%;padding:14px 16px;border:1px solid #d9d9d9;border-radius:12px;box-sizing:border-box}
.wtk-field textarea{min-height:120px;resize:vertical}
.wtk-submit{border:0;border-radius:999px;padding:14px 24px;background:#111;color:#fff;font-weight:700;cursor:pointer}
.wtk-alert{padding:14px 16px;border-radius:12px;margin-bottom:16px}
.wtk-alert-success{background:#eef7ee;color:#216a2f}
.wtk-alert-error{background:#fff3f3;color:#b42318}
.wtk-required{color:#c62828;margin-left:4px}
.wtk-hint{margin-top:10px;color:#666;font-size:13px}
@media (max-width:900px){.wtk-step-box{padding:18px}.wtk-table{font-size:14px}.wtk-table th,.wtk-table td{padding:10px}}


/* v8.0.3 print head readonly SKU styling */
.wtk-table .wtk-readonly-sku{
    width:100%;
    max-width:220px;
    padding:10px 14px;
    border:1px solid #e2e2e2;
    border-radius:12px;
    background:#f7f7f8;
    color:#222;
    box-sizing:border-box;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
    font-weight:600;
}

.wtk-table .wtk-readonly-sku:focus{
    outline:none;
    border-color:#d7d7d7;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}

.wtk-printhead-row td{
    vertical-align:middle;
}


/* v8.0.4 readonly ink SKU + cleaner sections */
.wtk-step-box h2{
    letter-spacing:-0.01em;
    font-weight:700;
}

.wtk-table .wtk-readonly-sku{
    width:100%;
    max-width:220px;
    padding:10px 14px;
    border:1px solid #e2e2e2;
    border-radius:12px;
    background:#f7f7f8;
    color:#222;
    box-sizing:border-box;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
    font-weight:600;
}

.wtk-table .wtk-readonly-sku:focus{
    outline:none;
    border-color:#d7d7d7;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}


/* v8.0.4.1 ensure ink and printhead sku match */
.wtk-table .wtk-readonly-sku{
    width:100%;
    max-width:220px;
    padding:10px 14px;
    border:1px solid #e2e2e2;
    border-radius:12px;
    background:#f7f7f8;
    color:#222;
    box-sizing:border-box;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
    font-weight:600;
}
.wtk-table .wtk-readonly-sku:focus{
    outline:none;
    border-color:#d7d7d7;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}


/* v8.0.4.2 display-only SKU */
.wtk-table .wtk-sku-display{
    display:block;
    width:100%;
    max-width:220px;
    min-height:44px;
    padding:10px 14px;
    border:1px solid #e2e2e2;
    border-radius:12px;
    background:#f7f7f8;
    color:#222;
    box-sizing:border-box;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
    font-weight:600;
    line-height:22px;
    user-select:text;
    pointer-events:none;
}

.wtk-table .wtk-readonly-sku{
    display:none !important;
}


/* v8.0.4.3 sku is display-only, not input */
.wtk-table .wtk-sku-display{
    display:block;
    width:100%;
    max-width:220px;
    min-height:44px;
    padding:10px 14px;
    border:1px solid #e2e2e2;
    border-radius:12px;
    background:#f7f7f8;
    color:#222;
    box-sizing:border-box;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
    font-weight:600;
    line-height:22px;
    user-select:text;
}


/* v8.0.4.4 elegant checkbox pills */
.wtk-pill{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all .22s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.wtk-pill:hover{
    border-color: #bdbdbd;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    transform: translateY(-1px);
}

.wtk-pill input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bdbdbd;
    border-radius: 6px;
    background: #fff;
    display: inline-grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
    transition: all .2s ease;
}

.wtk-pill input[type="checkbox"]::after{
    content: "";
    width: 9px;
    height: 9px;
    transform: scale(0);
    transition: transform .15s ease;
    border-radius: 3px;
    background: #fff;
}

.wtk-pill input[type="checkbox"]:checked{
    background: #111;
    border-color: #111;
}

.wtk-pill input[type="checkbox"]:checked::after{
    transform: scale(1);
}

.wtk-pill:has(input[type="checkbox"]:checked){
    background: #111;
    border-color: #111;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.wtk-pill span{
    line-height: 1;
}

/* fallback if :has not supported */
.wtk-pill input[type="checkbox"]:checked + span{
    color:#fff;
}


/* v8.0.4.9 grouped ink products */
.wtk-product-group{
    margin-bottom: 22px;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.wtk-product-group-title{
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 700;
    background: #f8f8f8;
    border-bottom: 1px solid #ececec;
    color: #111;
}

.wtk-table-grouped{
    margin: 0;
    border-collapse: collapse;
}

.wtk-table-grouped th:first-child,
.wtk-table-grouped td:first-child{
    width: 34%;
}


/* v8.0.5 printer */
.wtk-download-btn{
    display:inline-block;
    padding:6px 10px;
    border-radius:6px;
    background:#111;
    color:#fff;
    font-size:12px;
    text-decoration:none;
}
.wtk-download-btn:hover{background:#333;color:#fff}
.wtk-printer-flex{display:flex;gap:12px;align-items:flex-start}
.wtk-printer-image img{width:60px;height:auto;border-radius:6px;object-fit:cover}
.wtk-printer-info strong{display:block;margin-bottom:4px}
.wtk-product-desc{font-size:12px;color:#666;line-height:1.4;margin-top:6px}


/* v8.0.5.4 square checkbox tabs + mobile printer image */
.wtk-pill{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all .22s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.wtk-pill:hover{
    border-color: #bdbdbd;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    transform: translateY(-1px);
}

.wtk-pill input[type="checkbox"]{
    position: absolute;
    opacity: 0;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
    width: 0;
    height: 0;
    margin: 0;
}

.wtk-pill span{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    color: #222;
}

.wtk-pill span::before{
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    transition: all .22s ease;
    flex: 0 0 18px;
}

.wtk-pill input[type="checkbox"]:checked + span::before{
    border-color: #111;
    background: #111;
}

.wtk-pill input[type="checkbox"]:checked + span::after{
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.wtk-pill:has(input[type="checkbox"]:checked){
    border-color: #111;
    background: #f7f7f7;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.wtk-pill:has(input[type="checkbox"]:checked) span{
    color: #111;
}

.wtk-pill input[type="checkbox"]:checked + span{
    color: #111;
}

@media (max-width: 767px){
    .wtk-pill{
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }

    .wtk-printer-flex{
        gap: 14px;
        align-items: flex-start;
    }

    .wtk-printer-image{
        flex: 0 0 110px;
        width: 110px;
    }

    .wtk-printer-image img{
        width: 110px;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }
}


/* v8.0.5.5 printhead image + printer-driven ink filtering */
.wtk-printhead-flex{display:flex;gap:12px;align-items:flex-start}
.wtk-printhead-image img{width:60px;height:auto;border-radius:6px;object-fit:cover}
.wtk-printhead-info strong{display:block;margin-bottom:4px}
.wtk-ink-group{transition:opacity .2s ease}
@media (max-width: 767px){
    .wtk-printhead-image img{
        width:90px;
        max-width:100%;
        height:auto;
        display:block;
        border-radius:8px;
    }
}

/* v8.0.5.6 compatibility filtering */
.wtk-printhead-row,.wtk-ink-group{transition:opacity .2s ease;}


/* v8.0.5.8 printer checkbox */
.wtk-printer-check-wrap{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight:600;
}
.wtk-printer-check{
    width:18px;
    height:18px;
}

/* v8.1.0 dynamic product types */
.wtk-table td a{word-break:break-word}


/* v8.1.3 custom product type image display */
.wtk-dynamic-image img{
    width: 60px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}
@media (max-width: 767px){
    .wtk-dynamic-image img{
        width: 90px;
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
}


/* v8.1.5 sorting controls */
.wtk-sort-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 16px;
}
.wtk-sort-wrap label{
    font-weight:600;
}
.wtk-sort-wrap select{
    min-width:160px;
    padding:10px 12px;
    border:1px solid #d9d9d9;
    border-radius:10px;
    background:#fff;
}


/* v8.1.5.2 refresh button */
.wtk-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
}
.wtk-topbar h2{
    margin:0;
}
.wtk-refresh-button{
    border:1px solid #d9d9d9;
    background:#fff;
    color:#111;
    border-radius:12px;
    padding:10px 16px;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
}
.wtk-refresh-button:hover{
    border-color:#bdbdbd;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transform:translateY(-1px);
}
@media (max-width: 767px){
    .wtk-topbar{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* v8.2.0 printer-first compatibility flow */
.wtk-compat-section{
    margin-top:22px;
}
.wtk-compat-section h3{
    margin:0 0 12px;
    font-size:20px;
    color:#111;
}

/* v8.2.1 printer radio */
.wtk-printer-check{width:18px;height:18px;}


/* v8.2.1.1 dynamic product image layout matches legacy types */
.wtk-dynamic-product-flex{
    display:flex;
    gap:12px;
    align-items:flex-start;
}
.wtk-dynamic-product-title strong{
    display:block;
    margin-bottom:4px;
}
.wtk-dynamic-image img{
    width:60px;
    height:auto;
    border-radius:6px;
    object-fit:cover;
    display:block;
}
@media (max-width: 767px){
    .wtk-dynamic-product-flex{
        gap:14px;
        align-items:flex-start;
    }
    .wtk-dynamic-image img{
        width:90px;
        max-width:100%;
        height:auto;
        border-radius:8px;
    }
}


/* v8.2.1.8 smoother compatible section reveal */
#wtk-compatible-items-box{
    scroll-margin-top: 12px;
}
