.tb-start-design-button {
    display: inline-block;
    margin-top: 12px;
}
.tb-start-design-note {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.85;
}
.tb-loop-start-design {
    text-align: center;
}
.tb-cart-edit-design {
    margin: 8px 0 0;
}
.tb-designer-message {
    padding: 18px;
    border: 1px solid #ddd;
    background: #fff;
}
.tb-designer-error {
    border-color: #b32d2e;
}
.tb-designer-shell {
    max-width: 1680px;
    margin: 0 auto;
    padding: 24px;
    font-family: inherit;
}
.tb-designer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 18px;
}
.tb-designer-header h1 {
    margin: 0 0 8px;
}
.tb-designer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.tb-mode-button.is-active {
    box-shadow: inset 0 0 0 2px currentColor;
}
.tb-ready-order-form {
    margin: 0;
}
.tb-designer-layout {
    display: grid;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
    gap: 24px;
}
.tb-designer-sidebar,
.tb-designer-main {
    min-width: 0;
}
.tb-designer-sidebar {
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 18px;
    border-radius: 6px;
}
.tb-addon-summary dt {
    font-weight: 700;
    margin-top: 12px;
}
.tb-addon-summary dd {
    margin: 2px 0 0;
}
.tb-designer-sidebar pre {
    white-space: pre-wrap;
    overflow: auto;
    max-height: 300px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
}
.tb-editor-panel {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
}
.tb-editor-panel h2 {
    margin-top: 0;
}
.tb-text-field-row {
    margin: 0 0 12px;
}
.tb-text-field-row label,
.tb-selected-controls label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}
.tb-text-field-row input[type="text"],
.tb-selected-controls input[type="text"],
.tb-selected-controls input[type="number"],
.tb-selected-controls select {
    width: 100%;
    max-width: 100%;
    min-height: 34px;
    margin-top: 4px;
}
.tb-selected-controls input[type="color"] {
    display: block;
    width: 80px;
    height: 38px;
    padding: 2px;
    margin-top: 4px;
}
.tb-no-selection {
    opacity: .75;
}
.tb-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.tb-editor-stage-wrap {
    width: 100%;
    overflow: auto;
    background: #f2f2f2;
    border: 1px solid #d0d0d0;
    padding: 16px;
    border-radius: 6px;
}
.tb-editor-stage {
    width: 1180px;
    max-width: none;
    min-width: 760px;
    margin: 0 auto;
}
.tb-editor-artboard {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #222;
    box-shadow: 0 6px 22px rgba(0,0,0,.16);
    overflow: hidden;
    user-select: none;
}
.tb-no-background-note {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    background: linear-gradient(135deg, #ededed, #d3d3d3);
}
.tb-safe-area-guide {
    position: absolute;
    border: 2px dashed rgba(255,255,255,.9);
    outline: 1px dashed rgba(0,0,0,.65);
    background: rgba(255,255,255,.06);
    pointer-events: none;
    z-index: 3;
}
.tb-object-layer {
    position: absolute;
    inset: 0;
    z-index: 6;
}
.tb-text-object {
    position: absolute;
    box-sizing: border-box;
    min-width: 20px;
    min-height: 12px;
    padding: 2px 4px;
    line-height: 1.05;
    cursor: move;
    white-space: pre-wrap;
    display: flex;
    align-items: center;
    overflow: visible;
    border: 1px solid transparent;
    text-shadow: none;
}
.tb-text-object::before {
    content: attr(data-label);
    display: none;
    position: absolute;
    left: 0;
    top: -18px;
    font-size: 11px;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 3px;
    color: #fff;
    background: rgba(0,0,0,.7);
    white-space: nowrap;
    -webkit-text-stroke: 0;
}
.tb-text-object.is-selected::before {
    display: block;
}
.tb-text-object.is-empty {
    opacity: .35;
    border-style: dashed;
}
.tb-text-object.is-selected {
    border-color: #7E00B2;
    background: rgba(126,0,178,.08);
    z-index: 50 !important;
}
.tb-text-content {
    width: 100%;
    min-height: 1em;
    outline: none;
}
.tb-text-object.is-nowrap-text,
.tb-text-object.is-nowrap-text .tb-text-content {
    white-space: nowrap;
}
.tb-text-object[data-align="left"] .tb-text-content {
    text-align: left;
}
.tb-text-object[data-align="center"] .tb-text-content {
    text-align: center;
}
.tb-text-object[data-align="right"] .tb-text-content {
    text-align: right;
}
.tb-resize-handle {
    display: none;
    position: absolute;
    width: 11px;
    height: 11px;
    right: -6px;
    bottom: -6px;
    border: 1px solid #fff;
    background: #7E00B2;
    cursor: nwse-resize;
}
.tb-text-object.is-selected .tb-resize-handle {
    display: block;
}
.tb-safe-warning {
    margin: 12px 0;
    padding: 10px 12px;
    border-left: 4px solid #d63638;
    background: #fff5f5;
    font-weight: 700;
}
.tb-safe-warning-top {
    margin-top: 0;
}
.tb-safe-warning-bottom {
    margin-bottom: 0;
}
.tb-design-json-panel {
    margin-top: 24px;
}
.tb-design-json {
    width: 100%;
    font-family: Consolas, Monaco, monospace;
}
.tb-save-status {
    margin: 0 0 12px;
    min-height: 22px;
    font-weight: 600;
}
.tb-save-status-top {
    padding: 8px 10px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
}
.tb-save-status.is-error {
    color: #b32d2e;
}
.tb-save-status.is-success {
    color: #0a6b22;
}
.tb-save-status.is-saving {
    color: #555;
}
.tb-advanced-panel {
    display: none;
}
.tb-designer-shell[data-mode="advanced"] .tb-advanced-panel {
    display: block;
}
.tb-designer-shell[data-mode="advanced"] .tb-editor-toolbar {
    display: flex;
}
@media (max-width: 980px) {
    .tb-designer-header,
    .tb-designer-layout {
        display: block;
    }
    .tb-designer-actions {
        margin-top: 16px;
    }
    .tb-designer-sidebar {
        margin-bottom: 20px;
    }
    .tb-editor-stage {
        min-width: 720px;
    }
}

/* Build 3 player group editor */
.tb-player-field-list {
    max-height: 460px;
    overflow: auto;
    padding-right: 4px;
}
.tb-player-field-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 74px;
    gap: 8px;
    align-items: end;
    margin: 0 0 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.tb-player-field-row strong {
    font-size: 13px;
    line-height: 1.2;
}
.tb-player-field-row label,
.tb-player-style-controls label {
    display: block;
    font-weight: 700;
    font-size: 12px;
    margin: 0;
}
.tb-player-field-row input[type="text"],
.tb-player-style-controls input[type="text"],
.tb-player-style-controls input[type="url"],
.tb-player-style-controls input[type="number"] {
    width: 100%;
    min-height: 30px;
    margin-top: 3px;
}
.tb-player-style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.tb-player-style-controls input[type="color"] {
    display: block;
    width: 80px;
    height: 34px;
    padding: 2px;
    margin-top: 3px;
}
.tb-player-group {
    position: absolute;
    box-sizing: border-box;
    min-width: 52px;
    min-height: 34px;
    cursor: move;
    border: 1px solid transparent;
    overflow: visible;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.tb-player-group::before {
    content: attr(data-label);
    display: none;
    position: absolute;
    left: 0;
    top: -18px;
    font-size: 11px;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 3px;
    color: #fff;
    background: rgba(0,0,0,.7);
    white-space: nowrap;
    -webkit-text-stroke: 0;
    z-index: 4;
}
.tb-player-group.is-selected::before {
    display: block;
}
.tb-player-group.is-selected {
    border-color: #7E00B2;
    background: rgba(126,0,178,.08);
    z-index: 55 !important;
}
.tb-player-name,
.tb-player-number {
    display: block;
    position: relative;
    left: auto;
    transform: none;
    width: max-content;
    min-width: 0;
    max-width: none;
    align-self: center;
    min-height: 1em;
    outline: none;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
    text-align: center;
}
.tb-player-holder {
    box-sizing: border-box;
    border-style: solid;
    border-radius: 50%;
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.tb-player-holder.has-image {
    border-radius: 0;
    box-shadow: none;
}
.tb-player-holder[style*="display: none"] {
    display: none !important;
}
.tb-design-object.is-selected .tb-resize-handle,
.tb-player-group.is-selected .tb-resize-handle {
    display: block;
}
@media (max-width: 980px) {
    .tb-player-style-grid {
        grid-template-columns: 1fr;
    }
}

/* Build 4 image upload/object editor */
.tb-image-panel input[type="file"] {
    width: 100%;
    max-width: 100%;
    margin: 6px 0 8px;
}
.tb-image-upload-status {
    min-height: 20px;
    font-weight: 600;
}
.tb-image-upload-status.is-error {
    color: #b32d2e;
}
.tb-image-upload-status.is-success {
    color: #0a6b22;
}
.tb-image-upload-status.is-saving {
    color: #555;
}
.tb-upload-guidance {
    margin: 8px 0 10px;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #f8f9fb;
    font-size: 13px;
}
.tb-upload-guidance ul {
    margin: 6px 0 0 18px;
}
.tb-upload-guidance li {
    margin: 2px 0;
}
.tb-image-object {
    position: absolute;
    box-sizing: border-box;
    min-width: 24px;
    min-height: 24px;
    cursor: move;
    border: 1px solid transparent;
    overflow: visible;
}
.tb-image-object img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}
.tb-image-object::before {
    content: attr(data-label);
    display: none;
    position: absolute;
    left: 0;
    top: -18px;
    font-size: 11px;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 3px;
    color: #fff;
    background: rgba(0,0,0,.7);
    white-space: nowrap;
    -webkit-text-stroke: 0;
    z-index: 4;
}
.tb-image-object.is-selected::before {
    display: block;
}
.tb-image-object.is-selected {
    border-color: #7E00B2;
    background: rgba(126,0,178,.08);
    z-index: 60 !important;
}
.tb-image-object.is-selected .tb-resize-handle {
    display: block;
}

/* Build 5 proof/cart/admin preview */
.tb-proof-status {
    min-height: 22px;
    font-weight: 600;
}
.tb-proof-status.is-error {
    color: #b32d2e;
}
.tb-proof-status.is-success {
    color: #0a6b22;
}
.tb-proof-status.is-saving {
    color: #555;
}
.tb-proof-preview-img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border: 1px solid #ddd;
    background: #fff;
    margin: 8px 0;
}

.tb-proof-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.tb-proof-actions[hidden] {
    display: none !important;
}
.tb-proof-actions .button {
    margin: 0;
    line-height: 1.2;
}
.tb-proof-copy-status {
    margin-top: 6px;
    min-height: 16px;
    font-weight: 600;
}
.tb-proof-copy-status.is-success {
    color: #0a6b22;
}
.tb-proof-copy-status.is-error {
    color: #b32d2e;
}
.tb-cart-proof {
    margin-top: 10px;
}
.tb-cart-proof img {
    display: block;
    max-width: 220px;
    height: auto;
    border: 1px solid #ddd;
    background: #fff;
    padding: 2px;
}

.tb-library-panel select {
    width: 100%;
    max-width: 100%;
    min-height: 34px;
    margin-top: 4px;
}
.tb-library-control {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e2e2;
}
.tb-library-control:last-child {
    border-bottom: 0;
}

/* Build 9 share panel */
.tb-share-link {
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
}
.tb-share-status.is-success {
    color: #0a6b22;
    font-weight: 600;
}
.tb-share-status.is-error {
    color: #b32d2e;
    font-weight: 600;
}


/* Build 10 image resolution warnings */
.tb-image-quality-summary {
    margin: 10px 0 0;
    padding: 9px 10px;
    border: 1px solid #ddd;
    background: #fff;
    font-weight: 600;
}
.tb-image-quality-summary.is-success {
    border-color: #8fd19e;
    color: #0a6b22;
    background: #f3fff5;
}
.tb-image-quality-summary.is-warning {
    border-color: #dba617;
    color: #705300;
    background: #fff9e8;
}
.tb-image-quality-summary.is-error {
    border-color: #d63638;
    color: #8a2424;
    background: #fff5f5;
}
.tb-selected-image-quality {
    margin: 10px 0 14px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
}
.tb-selected-image-quality h3 {
    margin-top: 0;
}
.tb-selected-image-quality.is-low {
    border-color: #d63638;
    background: #fff5f5;
}
.tb-selected-image-quality.is-ok {
    border-color: #8fd19e;
    background: #f3fff5;
}
.tb-upload-source-meta {
    padding: 8px;
    border: 1px dashed #c3c4c7;
    background: #fbfbfc;
}
.tb-low-res-box {
    border-left: 4px solid #d63638;
    padding-left: 10px;
}
.tb-low-res-box label {
    display: block;
    font-weight: 700;
    margin-top: 8px;
}
.tb-quality-ok {
    color: #0a6b22;
}
.tb-image-object.is-low-resolution {
    border-color: #d63638;
    box-shadow: 0 0 0 2px rgba(214,54,56,.35);
}
.tb-image-object.is-low-resolution-approved {
    border-color: #dba617;
    box-shadow: 0 0 0 2px rgba(219,166,23,.35);
}

/* Build 11 checkout design approval */
.tb-checkout-design-approval {
    margin: 18px 0;
    padding: 14px 16px;
    border: 2px solid #0a6b22;
    background: #f3fff5;
}
.tb-checkout-design-approval .woocommerce-form__label,
.tb-checkout-design-approval label {
    font-weight: 700;
}
.tb-checkout-design-approval-note {
    margin: 8px 0 0;
    font-size: 13px;
}

/* Build 12 approved style library controls */
.tb-style-library-panel .tb-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 10px;
}
.tb-style-library-panel select {
    width: 100%;
    max-width: 100%;
}

/* Build 16.0 editor view controls and diagnostics polish */
.tb-toolbar-separator {
    display: inline-block;
    width: 1px;
    min-height: 28px;
    background: #d0d0d0;
    margin: 0 4px;
}
.tb-view-zoom-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 8px;
    font-size: 13px;
    color: #555;
}
.tb-design-json-panel {
    margin-top: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 10px 12px;
}
.tb-design-json-panel summary {
    cursor: pointer;
    font-weight: 700;
}
.tb-design-json-panel textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: monospace;
    font-size: 12px;
}


/* Build 19.0 object layers panel */
.tb-object-list {
    display: grid;
    gap: 8px;
    max-height: 380px;
    overflow: auto;
    padding-right: 4px;
}
.tb-object-list-empty {
    margin: 0;
    color: #666;
}
.tb-object-list-row {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
}
.tb-object-list-row.is-selected {
    border-color: #7E00B2;
    box-shadow: 0 0 0 1px rgba(126,0,178,.25);
}
.tb-object-list-row.is-hidden {
    opacity: .58;
}
.tb-object-list-row.is-locked {
    background: #f7f7f7;
}
.tb-object-list-main strong,
.tb-object-list-main span {
    display: block;
}
.tb-object-list-main span {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.tb-object-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}
.tb-design-object.is-locked {
    cursor: default;
    outline: 1px dashed rgba(80,80,80,.6);
}
.tb-design-object.is-locked .tb-resize-handle {
    display: none !important;
}

/* Build 20.0 selected-item transform controls */
.tb-transform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}
.tb-transform-grid label {
    display: block;
}
.tb-transform-grid input {
    width: 100%;
    box-sizing: border-box;
}

/* Build 20.1: optional vertical text for selected template text objects. */
.tb-text-object.is-vertical-text {
    justify-content: center;
    align-items: center;
}
.tb-text-object.is-vertical-text .tb-text-content {
    width: auto;
    min-width: 1em;
    max-width: none;
    margin: 0 auto;
    line-height: 1;
    white-space: nowrap;
    writing-mode: vertical-rl;
    text-orientation: upright;
}
.tb-transform-grid-rotation-only {
    grid-template-columns: minmax(120px, 180px);
}
.tb-checkbox-label {
    display: block;
    margin-top: 8px;
}

/* Build 21 selected image crop/fit controls */
.tb-image-fit-controls label {
    display: block;
    margin: 0 0 10px;
}
.tb-image-fit-controls input[type="range"] {
    width: 100%;
}

/* Build 22.0 grid and snap overlay */
.tb-grid-snap-panel label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}
.tb-grid-snap-panel input[type="number"] {
    width: 120px;
    min-height: 34px;
    margin-top: 4px;
}
.tb-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    display: none;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.35) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.35) 1px, transparent 1px),
        linear-gradient(to right, rgba(0,0,0,.18) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,.18) 1px, transparent 1px);
    background-position: 0 0, 0 0, 1px 1px, 1px 1px;
}
.tb-editor-artboard.tb-grid-visible .tb-grid-overlay {
    display: block;
}

/* Build 26.0: library search/filter controls */
.tb-library-filter-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(140px, 1.5fr);
    gap: 8px;
    align-items: end;
    margin: 8px 0 10px;
}
.tb-library-filter-row select,
.tb-library-filter-row input[type="search"] {
    width: 100%;
}
.tb-library-count {
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}
.tb-library-control h3 {
    margin-bottom: 6px;
}
@media (max-width: 700px) {
    .tb-library-filter-row {
        grid-template-columns: 1fr;
    }
}

/* Build 27.0: visual thumbnail library picker */
.tb-library-select-fallback {
    display: none;
}
.tb-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
    margin: 8px 0 10px;
}
.tb-library-card {
    appearance: none;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    box-shadow: none;
    color: inherit;
}
.tb-library-card:hover,
.tb-library-card:focus {
    border-color: #7a2ea8;
    box-shadow: 0 0 0 2px rgba(122,46,168,.12);
    outline: none;
}
.tb-library-card.is-selected {
    border-color: #7a2ea8;
    box-shadow: 0 0 0 2px rgba(122,46,168,.28);
}
.tb-library-card-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.35 / 1;
    background:
        linear-gradient(45deg, #eee 25%, transparent 25%),
        linear-gradient(-45deg, #eee 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eee 75%),
        linear-gradient(-45deg, transparent 75%, #eee 75%);
    background-size: 14px 14px;
    background-position: 0 0, 0 7px, 7px -7px, -7px 0;
    border-radius: 4px;
    overflow: hidden;
}
.tb-library-card-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.tb-library-card-title {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.tb-library-card-category {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    color: #666;
    overflow-wrap: anywhere;
}
.tb-library-grid-empty {
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    color: #666;
    background: #fafafa;
    font-size: 12px;
}
@media (max-width: 700px) {
    .tb-library-grid {
        grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    }
    .tb-library-card {
        min-height: 100px;
    }
}

/* Build 32.0 design preflight panel */
.tb-preflight-panel {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
}
.tb-preflight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.tb-preflight-summary {
    display: block;
    margin-top: 2px;
    color: #666;
    font-size: 12px;
}
.tb-preflight-results {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f7f7f7;
}
.tb-preflight-results.is-ok {
    background: #f1f8f0;
    border: 1px solid #b9dfb3;
}
.tb-preflight-results.is-warning {
    background: #fff8e5;
    border: 1px solid #f0d38a;
}
.tb-preflight-results.is-error {
    background: #fff1f1;
    border: 1px solid #e3a6a6;
}
.tb-preflight-list {
    margin: 0;
    padding-left: 18px;
}
.tb-preflight-item {
    margin: 3px 0;
}
.tb-preflight-item.is-ok {
    color: #236b1e;
}
.tb-preflight-item.is-warning {
    color: #7a5300;
}
.tb-preflight-item.is-error {
    color: #9a1111;
    font-weight: 600;
}
.tb-preflight-item.is-note {
    color: #555;
}


/* Build 35.0 Help & Shortcuts panel */
.tb-help-panel details {
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    padding: 8px 10px;
    margin: 8px 0;
    background: #fff;
}
.tb-help-panel summary {
    cursor: pointer;
    font-weight: 700;
}
.tb-help-panel ol,
.tb-help-panel ul {
    margin: 8px 0 0 20px;
}
.tb-shortcut-list {
    margin: 8px 0 0;
}
.tb-shortcut-list dt {
    font-weight: 700;
    margin-top: 8px;
}
.tb-shortcut-list dd {
    margin: 2px 0 0 0;
    color: #3c434a;
}

/* Build 36.0 Bulk roster tools */
.tb-roster-tools textarea {
    width: 100%;
    min-height: 130px;
    resize: vertical;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
}
.tb-roster-tools code {
    background: #f0f0f1;
    padding: 1px 4px;
    border-radius: 3px;
}
.tb-roster-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


/* Build 37.0 Roster review tools */
.tb-roster-summary {
    margin: 10px 0 12px;
    padding: 9px 10px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    line-height: 1.35;
}
.tb-roster-summary.is-ok {
    border-color: #c3dcc8;
    background: #f6fbf6;
}
.tb-roster-summary.is-warning {
    border-color: #e0c46c;
    background: #fff8e5;
}
.tb-roster-summary ul {
    margin: 6px 0 0 18px;
}
.tb-roster-summary li {
    margin: 2px 0;
}


/* Build 38.0 Roster copy/export tools */
.tb-roster-export-status {
    min-height: 18px;
    margin: -2px 0 8px;
    font-size: 12px;
    line-height: 1.35;
}
.tb-roster-export-status.is-success {
    color: #008a20;
}
.tb-roster-export-status.is-error {
    color: #b32d2e;
}
.tb-roster-copy-buffer {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Build 39.0: placed image thumbnail selector */
.tb-uploaded-image-picker {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e2e2e2;
}
.tb-uploaded-image-picker h3 {
    margin: 0 0 4px;
}
.tb-uploaded-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
    margin-top: 8px;
}
.tb-uploaded-image-card {
    appearance: none;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    color: inherit;
}
.tb-uploaded-image-card:hover,
.tb-uploaded-image-card:focus {
    border-color: #7a2ea8;
    box-shadow: 0 0 0 2px rgba(122,46,168,.12);
    outline: none;
}
.tb-uploaded-image-card.is-selected {
    border-color: #7a2ea8;
    box-shadow: 0 0 0 2px rgba(122,46,168,.28);
}
.tb-uploaded-image-card.is-hidden {
    opacity: .6;
}
.tb-uploaded-image-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.35 / 1;
    background:
        linear-gradient(45deg, #eee 25%, transparent 25%),
        linear-gradient(-45deg, #eee 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eee 75%),
        linear-gradient(-45deg, transparent 75%, #eee 75%);
    background-size: 14px 14px;
    background-position: 0 0, 0 7px, 7px -7px, -7px 0;
    border-radius: 4px;
    overflow: hidden;
}
.tb-uploaded-image-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.tb-uploaded-image-title,
.tb-uploaded-image-meta,
.tb-uploaded-image-warning {
    display: block;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.tb-uploaded-image-title {
    font-size: 12px;
    font-weight: 600;
}
.tb-uploaded-image-meta {
    font-size: 11px;
    color: #666;
}
.tb-uploaded-image-warning {
    color: #8a5300;
    background: #fff4d8;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    align-self: center;
}
.tb-uploaded-image-grid-empty {
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    color: #666;
    background: #fafafa;
    font-size: 12px;
}
@media (max-width: 700px) {
    .tb-uploaded-image-grid {
        grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    }
    .tb-uploaded-image-card {
        min-height: 114px;
    }
}

/* Build 40.0: saved-design and order-review polish */
.tb-order-review-panel .tb-order-review-summary,
.tb-order-design-summary {
    margin: 8px 0 10px;
}
.tb-order-review-summary dt,
.tb-order-design-summary dt {
    font-weight: 700;
    margin-top: 7px;
}
.tb-order-review-summary dd,
.tb-order-design-summary dd {
    margin: 1px 0 0;
}
.tb-order-review-summary [data-review-field="lowres"].is-ok {
    color: #008a20;
}
.tb-order-review-summary [data-review-field="lowres"].is-warning {
    color: #8a5300;
}
.tb-order-review-summary [data-review-field="lowres"].is-error {
    color: #b32d2e;
    font-weight: 700;
}
.tb-order-design-review {
    clear: both;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fafafa;
    font-size: 13px;
    line-height: 1.35;
}
.tb-order-design-proof {
    margin: 8px 0;
}
.tb-order-design-proof img {
    max-width: 160px;
    height: auto;
    border: 1px solid #ddd;
    background: #fff;
}
.tb-order-design-summary {
    display: grid;
    grid-template-columns: minmax(110px, 38%) 1fr;
    gap: 4px 10px;
}
.tb-order-design-summary dt,
.tb-order-design-summary dd {
    margin: 0;
}
@media (max-width: 700px) {
    .tb-order-design-summary {
        display: block;
    }
    .tb-order-design-summary dd {
        margin-bottom: 6px;
    }
}

/* Build 45.0: final editor workflow and small-screen UX polish */
.tb-workflow-panel {
    position: sticky;
    top: 10px;
    z-index: 90;
    margin: 0 0 12px;
    padding: 10px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.tb-workflow-status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.tb-workflow-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #d2d2d2;
    background: #f7f7f7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}
.tb-workflow-chip.is-ok {
    border-color: #7ac78b;
    background: #effaf1;
    color: #0a6b22;
}
.tb-workflow-chip.is-warning {
    border-color: #e6b85c;
    background: #fff8e5;
    color: #7a4b00;
}
.tb-workflow-chip.is-error {
    border-color: #e09a9a;
    background: #fff1f1;
    color: #b32d2e;
}
.tb-workflow-chip.is-saving {
    border-color: #b8c8e8;
    background: #f1f6ff;
    color: #1d4f91;
}
.tb-workflow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tb-workflow-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #666;
}
.tb-designer-shell.is-action-busy button[disabled],
.tb-designer-shell button[disabled] {
    cursor: not-allowed;
    opacity: .62;
}
.tb-designer-shell button:focus-visible,
.tb-designer-shell input:focus-visible,
.tb-designer-shell select:focus-visible,
.tb-designer-shell textarea:focus-visible,
.tb-uploaded-image-card:focus-visible,
.tb-library-card:focus-visible {
    outline: 3px solid rgba(126,0,178,.35);
    outline-offset: 2px;
}
.tb-editor-stage-wrap {
    -webkit-overflow-scrolling: touch;
}
.tb-editor-stage-wrap::before {
    content: 'Tip: on small screens, scroll sideways inside this area to view the full banner.';
    display: none;
    margin: 0 0 8px;
    font-size: 12px;
    color: #555;
}
@media (max-width: 980px) {
    .tb-workflow-panel {
        top: 0;
    }
    .tb-workflow-actions .button {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }
    .tb-editor-stage-wrap::before {
        display: block;
    }
}
@media (max-width: 700px) {
    .tb-designer-shell {
        padding: 12px;
    }
    .tb-designer-actions .button,
    .tb-designer-actions .tb-ready-order-form,
    .tb-designer-actions .tb-ready-order-button,
    .tb-workflow-actions .button {
        width: 100%;
    }
    .tb-workflow-status {
        display: grid;
        grid-template-columns: 1fr;
    }
    .tb-workflow-chip {
        justify-content: center;
    }
    .tb-player-field-row {
        grid-template-columns: 1fr;
    }
    .tb-editor-toolbar .button {
        flex: 1 1 calc(50% - 8px);
    }
}


/* Build 50.0: compact Design Studio layout and stronger product-page button hit area */
.tb-start-design-button {
    position: relative !important;
    z-index: 20;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    min-width: 190px;
    padding: 12px 22px !important;
    line-height: 1.2 !important;
    text-align: center;
    cursor: pointer !important;
    pointer-events: auto !important;
}
.tb-start-design-button::before,
.tb-start-design-button::after,
.tb-start-design-button .tb-start-design-button-label {
    pointer-events: none !important;
}
.tb-start-design-note {
    clear: both;
}
.tb-designer-compact-studio {
    max-width: 1760px;
    padding: 14px 18px;
}
.tb-designer-compact-studio .tb-designer-header {
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding-bottom: 10px;
}
.tb-designer-compact-studio .tb-designer-header h1 {
    margin-bottom: 3px;
    font-size: 28px;
    line-height: 1.1;
}
.tb-designer-compact-studio .tb-designer-header p {
    max-width: 980px;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
}
.tb-designer-compact-studio .tb-designer-actions {
    gap: 7px;
}
.tb-designer-compact-studio .tb-designer-actions .button {
    min-height: 34px;
    padding: 6px 10px;
    line-height: 1.2;
}
.tb-designer-compact-studio .tb-designer-layout {
    grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.tb-designer-compact-studio .tb-designer-sidebar {
    position: sticky;
    top: 8px;
    max-height: calc(100vh - 16px);
    overflow: auto;
    padding: 12px;
}
.tb-designer-compact-studio .tb-designer-sidebar > h2,
.tb-designer-compact-studio .tb-designer-sidebar > h3,
.tb-designer-compact-studio .tb-editor-panel h2 {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.15;
}
.tb-designer-compact-studio .tb-designer-sidebar p,
.tb-designer-compact-studio .tb-designer-sidebar li,
.tb-designer-compact-studio .tb-designer-sidebar dd,
.tb-designer-compact-studio .tb-designer-sidebar dt,
.tb-designer-compact-studio .description {
    font-size: 12px;
    line-height: 1.3;
}
.tb-designer-compact-studio .tb-designer-sidebar p {
    margin: 6px 0;
}
.tb-designer-compact-studio .tb-addon-summary dt {
    margin-top: 6px;
}
.tb-designer-compact-studio .tb-editor-panel {
    margin-top: 12px;
    padding-top: 10px;
}
.tb-designer-compact-studio .tb-help-panel details {
    margin: 4px 0;
}
.tb-designer-compact-studio .tb-help-panel details:not([open]) {
    padding-bottom: 0;
}
.tb-designer-compact-studio .tb-help-panel summary {
    cursor: pointer;
    font-weight: 700;
}
.tb-designer-compact-studio .tb-text-field-row {
    margin-bottom: 7px;
}
.tb-designer-compact-studio .tb-text-field-row label,
.tb-designer-compact-studio .tb-selected-controls label {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.25;
}
.tb-designer-compact-studio .tb-text-field-row input[type="text"],
.tb-designer-compact-studio .tb-selected-controls input[type="text"],
.tb-designer-compact-studio .tb-selected-controls input[type="number"],
.tb-designer-compact-studio .tb-selected-controls select,
.tb-designer-compact-studio .tb-player-field-row input[type="text"],
.tb-designer-compact-studio .tb-player-style-controls input[type="text"],
.tb-designer-compact-studio .tb-player-style-controls input[type="url"],
.tb-designer-compact-studio .tb-player-style-controls input[type="number"] {
    min-height: 28px;
    margin-top: 2px;
    padding-top: 3px;
    padding-bottom: 3px;
}
.tb-designer-compact-studio .tb-player-field-list {
    max-height: 330px;
}
.tb-designer-compact-studio .tb-player-field-row {
    grid-template-columns: 54px minmax(0, 1fr) 58px;
    gap: 6px;
    margin-bottom: 6px;
    padding: 6px;
}
.tb-designer-compact-studio .tb-player-field-row strong {
    font-size: 12px;
}
.tb-designer-compact-studio .tb-roster-tools textarea {
    min-height: 90px;
}
.tb-designer-compact-studio .tb-roster-actions,
.tb-designer-compact-studio .tb-library-actions,
.tb-designer-compact-studio .tb-editor-toolbar {
    gap: 6px;
}
.tb-designer-compact-studio .tb-roster-actions .button,
.tb-designer-compact-studio .tb-library-actions .button,
.tb-designer-compact-studio .tb-editor-toolbar .button {
    min-height: 30px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.2;
}
.tb-designer-compact-studio .tb-workflow-panel {
    margin-bottom: 8px;
    padding: 8px;
}
.tb-designer-compact-studio .tb-workflow-status {
    gap: 5px;
    margin-bottom: 6px;
}
.tb-designer-compact-studio .tb-workflow-chip {
    min-height: 22px;
    padding: 2px 7px;
    font-size: 11px;
}
.tb-designer-compact-studio .tb-workflow-actions {
    gap: 6px;
}
.tb-designer-compact-studio .tb-workflow-actions .button {
    min-height: 31px;
    padding: 4px 9px;
    font-size: 12px;
}
.tb-designer-compact-studio .tb-save-status-top {
    margin-bottom: 8px;
    padding: 6px 8px;
}
.tb-designer-compact-studio .tb-editor-toolbar {
    margin-bottom: 8px;
}
.tb-designer-compact-studio .tb-editor-stage-wrap {
    padding: 10px;
}
@media (min-width: 1200px) {
    .tb-designer-compact-studio .tb-selected-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 10px;
    }
    .tb-designer-compact-studio .tb-selected-controls .tb-selected-controls-wide,
    .tb-designer-compact-studio .tb-selected-controls textarea,
    .tb-designer-compact-studio .tb-selected-controls .description {
        grid-column: 1 / -1;
    }
}
@media (max-width: 980px) {
    .tb-designer-compact-studio .tb-designer-sidebar {
        position: static;
        max-height: none;
    }
}


/* Build 51.0: approved green/white button system */
:root {
    --tb-action-green: #14843b;
    --tb-action-green-dark: #0f6b2f;
}
.tb-start-design-button,
.tb-loop-start-design,
.tb-cart-edit-design .button,
.tb-designer-shell .button,
.tb-designer-shell button,
.tb-designer-shell input[type="button"],
.tb-designer-shell input[type="submit"],
.tb-designer-message .button,
.woocommerce .tb-start-design-button.button,
.woocommerce a.tb-loop-start-design.button {
    box-sizing: border-box;
    background: var(--tb-action-green) !important;
    color: #fff !important;
    border: 3px double transparent !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tb-start-design-button:hover,
.tb-start-design-button:focus,
.tb-loop-start-design:hover,
.tb-loop-start-design:focus,
.tb-cart-edit-design .button:hover,
.tb-cart-edit-design .button:focus,
.tb-designer-shell .button:hover,
.tb-designer-shell .button:focus,
.tb-designer-shell button:hover,
.tb-designer-shell button:focus,
.tb-designer-shell input[type="button"]:hover,
.tb-designer-shell input[type="button"]:focus,
.tb-designer-shell input[type="submit"]:hover,
.tb-designer-shell input[type="submit"]:focus,
.tb-designer-message .button:hover,
.tb-designer-message .button:focus,
.woocommerce .tb-start-design-button.button:hover,
.woocommerce .tb-start-design-button.button:focus,
.woocommerce a.tb-loop-start-design.button:hover,
.woocommerce a.tb-loop-start-design.button:focus {
    background: #fff !important;
    color: var(--tb-action-green) !important;
    border-color: var(--tb-action-green) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
.tb-designer-shell .button.is-active,
.tb-designer-shell .tb-mode-button.is-active {
    background: var(--tb-action-green-dark) !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: inset 0 0 0 2px var(--tb-action-green-dark);
}
.tb-designer-shell .button.is-active:hover,
.tb-designer-shell .button.is-active:focus,
.tb-designer-shell .tb-mode-button.is-active:hover,
.tb-designer-shell .tb-mode-button.is-active:focus {
    background: #fff !important;
    color: var(--tb-action-green-dark) !important;
    border-color: var(--tb-action-green-dark) !important;
}
.tb-designer-shell button[disabled],
.tb-designer-shell .button[disabled],
.tb-designer-shell .button.disabled,
.tb-designer-shell input[type="button"][disabled],
.tb-designer-shell input[type="submit"][disabled] {
    background: #8fae99 !important;
    color: #fff !important;
    border-color: transparent !important;
    cursor: not-allowed !important;
    opacity: .7;
}
.tb-designer-shell button[disabled]:hover,
.tb-designer-shell .button[disabled]:hover,
.tb-designer-shell .button.disabled:hover,
.tb-designer-shell input[type="button"][disabled]:hover,
.tb-designer-shell input[type="submit"][disabled]:hover {
    background: #8fae99 !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* Build 52.0: Design Studio typography, workflow, help popup, and left-column organization */
:root {
    --tb-title-green: #2a784d;
    --tb-royal-blue: #4169e1;
    --tb-help-orange: #ff7a1a;
}
.tb-designer-build52 {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-weight: 500;
}
.tb-designer-build52 p,
.tb-designer-build52 li,
.tb-designer-build52 dd,
.tb-designer-build52 dt,
.tb-designer-build52 label,
.tb-designer-build52 input,
.tb-designer-build52 select,
.tb-designer-build52 textarea,
.tb-designer-build52 .description,
.tb-designer-build52 .tb-view-zoom-label,
.tb-designer-build52 .tb-workflow-chip {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-weight: 500;
}
.tb-designer-build52 h1,
.tb-designer-build52 h2,
.tb-designer-build52 h3,
.tb-designer-build52 h4,
.tb-designer-build52 summary,
.tb-designer-build52 .button,
.tb-designer-build52 button,
.tb-start-design-button,
.woocommerce a.tb-loop-start-design.button {
    font-family: "Crete Round", Georgia, serif;
    font-weight: 600;
}
.tb-designer-build52 h1,
.tb-designer-build52 h2,
.tb-designer-build52 h3,
.tb-designer-build52 h4,
.tb-designer-build52 summary {
    color: var(--tb-title-green);
}
.tb-designer-build52 .tb-designer-header h1 {
    color: var(--tb-title-green);
    font-size: 30px;
}
.tb-designer-build52 .tb-designer-header p {
    color: #222;
    font-size: 13px;
    line-height: 1.35;
}
.tb-designer-build52 .tb-editor-panel-first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.tb-designer-build52 .tb-designer-help-button {
    background: var(--tb-help-orange) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.tb-designer-build52 .tb-designer-help-button:hover,
.tb-designer-build52 .tb-designer-help-button:focus {
    background: #fff !important;
    color: var(--tb-help-orange) !important;
    border-color: var(--tb-help-orange) !important;
}
.tb-designer-build52 .tb-ready-order-button,
.tb-designer-build52 .tb-ready-order-proxy {
    background: var(--tb-royal-blue) !important;
    color: #fff !important;
    border-color: transparent !important;
    font-size: 120% !important;
    min-height: 41px !important;
    padding: 8px 14px !important;
}
.tb-designer-build52 .tb-ready-order-button:hover,
.tb-designer-build52 .tb-ready-order-button:focus,
.tb-designer-build52 .tb-ready-order-proxy:hover,
.tb-designer-build52 .tb-ready-order-proxy:focus {
    background: #fff !important;
    color: var(--tb-royal-blue) !important;
    border-color: var(--tb-royal-blue) !important;
}
.tb-designer-help-modal[hidden] {
    display: none !important;
}
.tb-designer-help-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.tb-help-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.tb-help-modal-card {
    position: relative;
    width: min(720px, 96vw);
    max-height: 86vh;
    overflow: auto;
    background: #fff;
    border: 4px double var(--tb-title-green);
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
}
.tb-help-modal-card h2 {
    margin: 0 0 12px;
}
.tb-help-modal-card details {
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid #d9e9df;
    border-radius: 6px;
    background: #fbfffc;
}
.tb-help-modal-card summary {
    cursor: pointer;
}
.tb-help-modal-close {
    float: right;
    margin-left: 12px;
}
.tb-designer-build52 .tb-workflow-actions {
    align-items: center;
}
.tb-designer-build52 .tb-workflow-note {
    display: none !important;
}
.tb-designer-build52 .tb-preflight-panel[hidden] {
    display: none !important;
}
.tb-designer-build52 .tb-preflight-panel {
    margin-bottom: 8px;
}
.tb-designer-build52 .tb-preflight-header {
    padding: 8px 10px;
}
.tb-designer-build52 .tb-editor-toolbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}
.tb-designer-build52 .tb-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
}
.tb-designer-build52 .tb-toolbar-pipe {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: var(--tb-title-green);
    font-family: "Crete Round", Georgia, serif;
    font-weight: 600;
}
.tb-designer-build52 .tb-toolbar-separator {
    display: none;
}
.tb-designer-build52 .tb-editor-accordion {
    border: 1px solid #d9e9df;
    border-radius: 6px;
    background: #fff;
    padding: 0;
    overflow: hidden;
}
.tb-designer-build52 .tb-editor-accordion > summary {
    list-style: none;
    cursor: pointer;
    padding: 9px 11px;
    background: #f6fbf8;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.tb-designer-build52 .tb-editor-accordion > summary::-webkit-details-marker {
    display: none;
}
.tb-designer-build52 .tb-editor-accordion > summary::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border: 1px solid var(--tb-title-green);
    border-radius: 50%;
    color: var(--tb-title-green);
    flex: 0 0 auto;
}
.tb-designer-build52 .tb-editor-accordion[open] > summary::before {
    content: '–';
}
.tb-designer-build52 .tb-editor-accordion[open] > summary {
    border-bottom-color: #d9e9df;
}
.tb-designer-build52 .tb-editor-accordion > summary span {
    flex: 1 1 auto;
}
.tb-designer-build52 .tb-editor-accordion > summary small {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}
.tb-designer-build52 .tb-editor-accordion > *:not(summary) {
    margin-left: 10px;
    margin-right: 10px;
}
.tb-designer-build52 .tb-editor-accordion > .tb-library-control,
.tb-designer-build52 .tb-editor-accordion > .tb-object-list,
.tb-designer-build52 .tb-editor-accordion > .tb-transform-controls,
.tb-designer-build52 .tb-editor-accordion > .tb-image-fit-controls {
    margin: 10px;
}
.tb-designer-build52 .tb-library-accordion {
    margin: 8px 0;
}
.tb-designer-build52 .tb-library-control {
    border-bottom: 0;
    padding-bottom: 0;
}
.tb-designer-build52 .tb-library-filter-row {
    margin-top: 10px;
}
.tb-designer-build52 .tb-player-style-controls-hidden {
    display: none !important;
}
.tb-designer-build52 .tb-selected-image-quality[hidden] {
    display: none !important;
}
.tb-designer-build52 .tb-selected-image-quality:not([hidden]) {
    display: block;
}
.tb-designer-build52 .tb-order-details-panel h3 {
    color: var(--tb-title-green);
}
@media (max-width: 980px) {
    .tb-designer-build52 .tb-designer-actions {
        justify-content: flex-start;
    }
    .tb-designer-build52 .tb-toolbar-row {
        align-items: stretch;
    }
    .tb-designer-build52 .tb-toolbar-row .button {
        flex: 1 1 calc(50% - 8px);
    }
    .tb-designer-build52 .tb-toolbar-pipe {
        flex: 0 0 100%;
        justify-content: center;
        min-height: 12px;
        padding: 0;
    }
}
@media (max-width: 700px) {
    .tb-designer-build52 .tb-designer-header h1 {
        font-size: 24px;
    }
    .tb-designer-build52 .tb-help-modal-card {
        padding: 14px;
    }
    .tb-designer-build52 .tb-editor-accordion > summary {
        align-items: flex-start;
        flex-direction: column;
    }
    .tb-designer-build52 .tb-editor-accordion > summary::before {
        margin-right: 0;
    }
}

/* Build 53.0: follow-up Design Studio cleanup and Design Tools grouping */
.tb-designer-build53 .tb-design-tools-panel > .tb-editor-panel {
    border: 0;
    padding: 0;
    margin: 8px 0 0;
    box-shadow: none;
    background: transparent;
}
.tb-designer-build53 .tb-design-tools-panel > .tb-editor-panel:first-of-type {
    margin-top: 0;
}
.tb-designer-build53 .tb-design-tools-panel > h2 {
    margin-bottom: 8px;
}
.tb-designer-build53 .tb-design-json-panel {
    border: 1px solid #d9e9df;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    background: #fff;
}
.tb-designer-build53 .tb-design-json-panel > summary {
    cursor: pointer;
    color: var(--tb-title-green);
    font-family: "Crete Round", Georgia, serif;
    font-weight: 600;
}
.tb-designer-build53 .tb-design-json {
    min-height: 220px;
    font-family: Consolas, Monaco, monospace;
    font-weight: 400;
}
.tb-designer-build53 .tb-workflow-actions .tb-ready-order-proxy {
    display: none !important;
}
.tb-designer-build53 .tb-toolbar-row-one {
    row-gap: 6px;
}
@media (max-width: 980px) {
    .tb-designer-build53 .tb-toolbar-row-one .tb-toolbar-pipe,
    .tb-designer-build53 .tb-toolbar-row-two .tb-toolbar-pipe {
        flex: 0 0 auto;
        min-width: 18px;
        padding: 0 6px;
    }
}


/* Build 54.0: keep tablet/phone in the same two-column studio view */
.tb-designer-build54 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tb-designer-build54 .tb-designer-main {
    align-self: start;
}
.tb-designer-build54 .tb-workflow-panel {
    margin-top: 0;
}
@media (max-width: 1180px) {
    .tb-designer-build54 {
        max-width: none;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
    .tb-designer-build54 .tb-designer-header {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        min-width: 1200px;
        margin-bottom: 10px;
    }
    .tb-designer-build54 .tb-designer-header > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }
    .tb-designer-build54 .tb-designer-actions {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: flex-start;
        margin-top: 0;
    }
    .tb-designer-build54 .tb-designer-actions .button,
    .tb-designer-build54 .tb-designer-actions .tb-ready-order-form,
    .tb-designer-build54 .tb-designer-actions .tb-ready-order-button {
        width: auto;
        white-space: nowrap;
    }
    .tb-designer-build54 .tb-designer-layout {
        display: grid !important;
        grid-template-columns: 350px minmax(820px, 1fr);
        gap: 14px;
        align-items: start;
        min-width: 1200px;
    }
    .tb-designer-build54 .tb-designer-sidebar {
        position: sticky;
        top: 8px;
        max-height: calc(100vh - 16px);
        overflow: auto;
        margin-bottom: 0;
    }
    .tb-designer-build54 .tb-designer-main {
        min-width: 820px;
    }
    .tb-designer-build54 .tb-workflow-panel,
    .tb-designer-build54 .tb-editor-toolbar,
    .tb-designer-build54 .tb-editor-stage-wrap {
        position: relative;
        z-index: 1;
    }
    .tb-designer-build54 .tb-editor-stage-wrap {
        margin-top: 0;
    }
}
@media (max-width: 700px) {
    .tb-designer-build54 .tb-designer-actions .button,
    .tb-designer-build54 .tb-designer-actions .tb-ready-order-form,
    .tb-designer-build54 .tb-designer-actions .tb-ready-order-button {
        width: auto;
    }
    .tb-designer-build54 .tb-workflow-status {
        display: flex;
        grid-template-columns: unset;
    }
    .tb-designer-build54 .tb-workflow-chip {
        justify-content: flex-start;
    }
    .tb-designer-build54 .tb-player-field-row {
        grid-template-columns: 54px minmax(0, 1fr) 58px;
    }
    .tb-designer-build54 .tb-editor-toolbar .button,
    .tb-designer-build54 .tb-toolbar-row .button {
        flex: 0 0 auto;
    }
}

/* Build 56.0: Phase 2 vertical pennant shape-profile preview support */
.tb-designer-build55 .tb-editor-artboard.tb-shape-pennant,
.tb-designer-build56 .tb-editor-artboard.tb-shape-pennant,
.tb-designer-build58 .tb-editor-artboard.tb-shape-pennant {
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.tb-designer-build55 .tb-editor-artboard.tb-shape-home-plate,
.tb-designer-build56 .tb-editor-artboard.tb-shape-home-plate,
.tb-designer-build58 .tb-editor-artboard.tb-shape-home-plate {
    clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
}
.tb-designer-build55 .tb-shape-preview-label,
.tb-designer-build56 .tb-shape-preview-label,
.tb-designer-build58 .tb-shape-preview-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 8;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #2a784d;
    border: 1px solid rgba(42,120,77,.55);
    font-family: "Crete Round", Georgia, serif;
    font-weight: 600;
    font-size: 12px;
    pointer-events: none;
}
.tb-designer-build55.tb-shape-pennant .tb-editor-stage-wrap,
.tb-designer-build55.tb-shape-home-plate .tb-editor-stage-wrap,
.tb-designer-build56.tb-shape-pennant .tb-editor-stage-wrap,
.tb-designer-build56.tb-shape-home-plate .tb-editor-stage-wrap,
.tb-designer-build58.tb-shape-pennant .tb-editor-stage-wrap,
.tb-designer-build58.tb-shape-home-plate .tb-editor-stage-wrap {
    background-image: linear-gradient(45deg, rgba(0,0,0,.035) 25%, transparent 25%), linear-gradient(-45deg, rgba(0,0,0,.035) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(0,0,0,.035) 75%), linear-gradient(-45deg, transparent 75%, rgba(0,0,0,.035) 75%);
    background-size: 18px 18px;
    background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}
.tb-designer-build55.tb-shape-pennant .tb-order-details-panel strong,
.tb-designer-build55.tb-shape-home-plate .tb-order-details-panel strong,
.tb-designer-build56.tb-shape-pennant .tb-order-details-panel strong,
.tb-designer-build56.tb-shape-home-plate .tb-order-details-panel strong,
.tb-designer-build58.tb-shape-pennant .tb-order-details-panel strong,
.tb-designer-build58.tb-shape-home-plate .tb-order-details-panel strong {
    color: #2a784d;
}

/* Build 58.0: shape-specific grommet / keep-clear editor guides */
.tb-designer-build58 .tb-shape-grommet-guides {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 500;
}
.tb-designer-build58 .tb-shape-grommet-marker {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2a784d;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(42,120,77,.68);
    border-radius: 999px;
    padding: 3px 8px 3px 4px;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
    white-space: nowrap;
}
.tb-designer-build58 .tb-shape-grommet-marker i {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #2a784d;
    background: rgba(255,255,255,.95);
    box-shadow: inset 0 0 0 3px rgba(42,120,77,.14);
}
.tb-designer-build58 .tb-grommet-tl {
    top: 2.6%;
    left: 2.6%;
}
.tb-designer-build58 .tb-grommet-tr {
    top: 2.6%;
    right: 2.6%;
    flex-direction: row-reverse;
    padding-right: 4px;
    padding-left: 8px;
}
.tb-designer-build58 .tb-grommet-bottom {
    bottom: 4.2%;
    left: 50%;
    transform: translateX(-50%);
}
.tb-designer-build58 .tb-shape-production-note {
    border-left: 4px solid #2a784d;
    padding: 8px 10px;
    background: rgba(42,120,77,.08);
    border-radius: 6px;
}
@media (max-width: 900px) {
    .tb-designer-build58 .tb-shape-grommet-marker b {
        display: none;
    }
    .tb-designer-build58 .tb-shape-grommet-marker {
        padding: 3px;
    }
}


/* Build 59.0: compact default working view for tall shape templates */
.tb-designer-build59.tb-tall-shape-working-view .tb-editor-stage-wrap {
    align-items: flex-start;
}

.tb-designer-build59.tb-tall-shape-working-view .tb-view-zoom-label::after {
    content: ' · Tall shape working view';
}

/* Build 60.0: remembered view presets for tall shape templates */
.tb-designer-build60.tb-tall-shape-working-view .tb-editor-stage-wrap {
    align-items: flex-start;
}

.tb-designer-build60.tb-tall-shape-working-view .tb-view-zoom-label::after {
    content: ' · Tall shape working view';
}

.tb-designer-build60 .tb-shape-view-preset.is-active {
    background: #ffffff !important;
    color: #00833e !important;
    border-style: double !important;
    box-shadow: inset 0 0 0 1px rgba(0,131,62,.15);
}

.tb-designer-build60 .tb-shape-view-note {
    margin: 8px 0 10px;
    padding: 7px 10px;
    border-left: 4px solid #2a784d;
    border-radius: 6px;
    background: rgba(42,120,77,.08);
    color: #1f5136;
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .tb-designer-build60 .tb-shape-view-note {
        min-width: 760px;
    }
}


/* Build 61.0: Tall-shape player layout preset controls. */
.tb-designer-build61 .tb-player-layout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 6px 0 4px;
}
.tb-designer-build61 .tb-tall-layout-note {
    margin-top: 0;
}
.tb-designer-build61.tb-shape-rectangle .tb-tall-layout-players,
.tb-designer-build61.tb-shape-rectangle .tb-tall-layout-note {
    display: none !important;
}

/* Build 62.0: Pennant/Home Plate single-player workflow. */
.tb-designer-build62.tb-shape-pennant .tb-single-player-shape-hidden,
.tb-designer-build62.tb-shape-home-plate .tb-single-player-shape-hidden {
    display: none !important;
}
.tb-designer-build62.tb-shape-pennant .tb-player-panel,
.tb-designer-build62.tb-shape-home-plate .tb-player-panel {
    border-color: rgba(42, 120, 77, 0.28);
}
.tb-designer-build62.tb-shape-pennant .tb-tall-layout-note,
.tb-designer-build62.tb-shape-home-plate .tb-tall-layout-note {
    margin-top: 0;
}
.tb-designer-build62.tb-shape-rectangle .tb-tall-layout-players,
.tb-designer-build62.tb-shape-rectangle .tb-tall-layout-note {
    display: none !important;
}


/* Build 63: single-player shape layout helper */
.tb-designer-build64 .tb-single-shape-layout-actions {
    margin: 6px 0 4px;
}
.tb-designer-build64 .tb-player-layout-actions .tb-apply-single-shape-layout {
    margin-left: 6px;
}
@media (max-width: 700px) {
    .tb-designer-build64 .tb-player-layout-actions .tb-apply-single-shape-layout {
        margin-left: 0;
        margin-top: 5px;
    }
}


/* Build 65.0: Design Studio focus mode to prevent theme headers/nav bars from covering the canvas. */
body.tb-designer-page-active {
    overflow-x: auto;
}
body.tb-designer-page-active .tb-designer-shell {
    position: relative;
    z-index: 20;
    background: #ffffff;
}
body.tb-designer-page-active.tb-designer-focus-mode #masthead,
body.tb-designer-page-active.tb-designer-focus-mode #site-header,
body.tb-designer-page-active.tb-designer-focus-mode #header,
body.tb-designer-page-active.tb-designer-focus-mode .site-header,
body.tb-designer-page-active.tb-designer-focus-mode .main-header,
body.tb-designer-page-active.tb-designer-focus-mode .header-main,
body.tb-designer-page-active.tb-designer-focus-mode .site-branding,
body.tb-designer-page-active.tb-designer-focus-mode .primary-navigation,
body.tb-designer-page-active.tb-designer-focus-mode .main-navigation,
body.tb-designer-page-active.tb-designer-focus-mode .site-navigation,
body.tb-designer-page-active.tb-designer-focus-mode .navigation-top,
body.tb-designer-page-active.tb-designer-focus-mode .navbar,
body.tb-designer-page-active.tb-designer-focus-mode .nav-bar,
body.tb-designer-page-active.tb-designer-focus-mode .sticky-header,
body.tb-designer-page-active.tb-designer-focus-mode .header-sticky,
body.tb-designer-page-active.tb-designer-focus-mode .sticky-wrapper,
body.tb-designer-page-active.tb-designer-focus-mode .elementor-location-header,
body.tb-designer-page-active.tb-designer-focus-mode .elementor-sticky,
body.tb-designer-page-active.tb-designer-focus-mode .page-header,
body.tb-designer-page-active.tb-designer-focus-mode .entry-header,
body.tb-designer-page-active.tb-designer-focus-mode .site-footer,
body.tb-designer-page-active.tb-designer-focus-mode .elementor-location-footer {
    display: none !important;
}
body.tb-designer-page-active.tb-designer-focus-mode.admin-bar .tb-designer-build54 .tb-designer-sidebar {
    top: 40px;
    max-height: calc(100vh - 48px);
}
body.tb-designer-page-active .tb-designer-build65 .tb-designer-main,
body.tb-designer-page-active .tb-designer-build65 .tb-editor-stage-wrap {
    scroll-margin-top: 16px;
}
body.tb-designer-page-active .tb-designer-build65 .tb-shape-view-note,
body.tb-designer-page-active .tb-designer-build65 .tb-safe-warning {
    position: relative;
    z-index: 3;
}


/* Build 66.0: Pennant/Home Plate quick-start guidance. */
.tb-designer-build66 .tb-shape-quickstart-panel {
    border-color: rgba(42, 120, 77, 0.35);
    background: linear-gradient(180deg, rgba(42,120,77,.07), #ffffff 62%);
}
.tb-designer-build66 .tb-shape-quickstart-panel h2 {
    margin-bottom: 4px;
}
.tb-designer-build66 .tb-shape-quickstart-badge {
    display: inline-block;
    margin: 0 0 7px;
    padding: 3px 8px;
    border: 1px solid rgba(42,120,77,.35);
    border-radius: 999px;
    background: #ffffff;
    color: #2a784d;
    font-family: "Crete Round", Georgia, serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
}
.tb-designer-build66 .tb-shape-quickstart-panel ol {
    margin: 6px 0 7px 18px;
    padding: 0;
}
.tb-designer-build66 .tb-shape-quickstart-panel li {
    margin: 0 0 4px;
    line-height: 1.25;
}
.tb-designer-build66.tb-shape-rectangle .tb-shape-quickstart-panel {
    display: none !important;
}


/* Build 67.0/68.0 - Shape-specific design check emphasis */
.tb-designer-build67.tb-shape-pennant .tb-preflight-item.is-warning,
.tb-designer-build67.tb-shape-home-plate .tb-preflight-item.is-warning,
.tb-designer-build68.tb-shape-pennant .tb-preflight-item.is-warning,
.tb-designer-build68.tb-shape-home-plate .tb-preflight-item.is-warning,
.tb-designer-build69.tb-shape-pennant .tb-preflight-item.is-warning,
.tb-designer-build69.tb-shape-home-plate .tb-preflight-item.is-warning {
    border-left: 4px solid #f59e0b;
    padding-left: 8px;
}


/* Build 70.0: editor guide visibility toggle. Hides only on-screen guides; proof/export output is unchanged. */
.tb-designer-build70.tb-guides-hidden .tb-safe-area-guide,
.tb-designer-build70.tb-guides-hidden .tb-shape-grommet-guides,
.tb-designer-build70.tb-guides-hidden .tb-shape-preview-label,
.tb-designer-build70.tb-guides-hidden .tb-grid-overlay {
    display: none !important;
}
.tb-designer-build70 .tb-toggle-guides.is-active {
    background: #ffffff !important;
    color: #2a784d !important;
    border: 3px double #2a784d !important;
}
.tb-designer-build70 .tb-guide-view-pipe {
    margin-left: 8px;
}

/* Build 72.0: proof freshness tracking. */
.tb-designer-build72 .tb-proof-freshness {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.25;
}
.tb-designer-build72 .tb-proof-freshness:empty {
    display: none;
}
.tb-designer-build72 .tb-proof-freshness.is-current {
    border-left: 4px solid #2a784d;
    background: rgba(42, 120, 77, 0.08);
    color: #2a784d;
}
.tb-designer-build72 .tb-proof-freshness.is-stale {
    border-left: 4px solid #f59e0b;
    background: #fff7e6;
    color: #8a5a00;
}

/* Build 73.0: customer proof protection. */
.tb-designer-build73 .tb-proof-preview-img,
.tb-cart-proof img,
.tb-order-design-proof img {
    max-width: 100%;
    height: auto;
}
.tb-designer-build73 .tb-proof-protected-note,
.tb-protected-proof-note {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 8px;
    border-left: 4px solid #2a784d;
    background: rgba(42, 120, 77, 0.08);
    color: #2a784d;
    font-weight: 600;
    line-height: 1.25;
}
.tb-designer-build73 .tb-proof-actions[hidden] {
    display: none !important;
}


/* Build 76.0: stronger customer-facing protected proof handling. */
.tb-designer-build76 .tb-proof-status,
.tb-cart-proof,
.tb-order-design-proof {
    -webkit-touch-callout: none;
    user-select: none;
}
.tb-designer-build76 .tb-proof-preview-img,
.tb-cart-proof img,
.tb-order-design-proof img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}
.tb-designer-build76 .tb-proof-status {
    cursor: default;
}


/* Build 77.0: Ready to Order review/approval modal. */
.tb-designer-build77 .tb-ready-review-modal[hidden] {
    display: none !important;
}
.tb-designer-build77 .tb-ready-review-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.tb-designer-build77 .tb-ready-review-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.tb-designer-build77 .tb-ready-review-card {
    position: relative;
    z-index: 1;
    width: min(640px, 94vw);
    max-height: 90vh;
    overflow: auto;
    background: #ffffff;
    border: 2px solid #2a784d;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    padding: 18px;
}
.tb-designer-build77 .tb-ready-review-card h2 {
    margin-top: 0;
    color: #2a784d;
}
.tb-designer-build77 .tb-ready-review-close {
    float: right;
}
.tb-designer-build77 .tb-ready-review-intro,
.tb-designer-build77 .tb-ready-review-list,
.tb-designer-build77 .tb-ready-review-ack-label {
    font-weight: 500;
}
.tb-designer-build77 .tb-ready-review-proof {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid #d8e8dd;
    background: #f6faf7;
    text-align: center;
}
.tb-designer-build77 .tb-ready-review-proof img {
    max-width: 100%;
    max-height: 280px;
    height: auto;
}
.tb-designer-build77 .tb-ready-review-list {
    margin: 10px 0 14px 18px;
}
.tb-designer-build77 .tb-ready-review-ack-label {
    display: block;
    padding: 10px;
    border-left: 4px solid #2a784d;
    background: rgba(42, 120, 77, 0.08);
}
.tb-designer-build77 .tb-ready-review-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 14px;
}
.tb-designer-build77 .tb-ready-review-confirm:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.tb-designer-build77 .tb-ready-review-status {
    min-height: 1.2em;
    color: #8a5a00;
    font-weight: 600;
}

/* Build 81.0: shape-set roster preview marker for Pennant/Home Plate player variations */
.tb-designer-build81 .tb-player-field-row.is-preview-player{
    border-color:#2a784d;
    box-shadow:0 0 0 1px rgba(42,120,77,.2);
}
.tb-designer-build81 .tb-shape-preview-badge{
    display:inline-block;
    margin-left:8px;
    padding:2px 7px;
    border-radius:999px;
    background:#2a784d;
    color:#fff;
    font-size:11px;
    font-weight:700;
    line-height:1.3;
    vertical-align:middle;
}

/* Build 84.0: customer-visible Pennant/Home Plate multi-piece roster review. */
.tb-shape-roster-review {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(42, 120, 77, 0.28);
    border-left: 4px solid #2a784d;
    border-radius: 5px;
    background: rgba(42, 120, 77, 0.06);
    color: #1f3028;
    font-size: 13px;
    line-height: 1.35;
}
.tb-shape-roster-review > strong {
    display: block;
    margin-bottom: 4px;
    color: #2a784d;
    font-family: 'Crete Round', Georgia, serif;
    font-weight: 600;
}
.tb-shape-roster-review p {
    margin: 0 0 8px;
}
.tb-shape-roster-review ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tb-shape-roster-review li {
    margin: 0;
    padding: 4px 6px;
    border-bottom: 1px solid rgba(42, 120, 77, 0.16);
    background: rgba(255, 255, 255, 0.6);
}
.tb-shape-roster-slot {
    color: #5b6a61;
    font-weight: 600;
}
.tb-shape-roster-name,
.tb-shape-roster-number {
    font-weight: 700;
}
.tb-cart-proof .tb-shape-roster-review {
    max-width: 520px;
}
.tb-order-design-review .tb-shape-roster-review {
    margin-bottom: 10px;
}
@media (max-width: 700px) {
    .tb-shape-roster-review ol {
        grid-template-columns: 1fr;
    }
}

/* Build 92: optional arched text preview controls. */
.tb-text-arch-controls {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #d6e4dc;
}
.tb-text-arch-controls h3 {
    margin: 0 0 6px;
    color: #2a784d;
    font-family: 'Crete Round', Georgia, serif;
}
.tb-arch-control-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(140px, 1fr);
    gap: 8px;
    align-items: end;
}
.tb-player-text-size-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr);
    gap: 8px;
    align-items: end;
}
.tb-player-text-size-grid input[type="number"] {
    width: 100%;
    min-height: 34px;
    margin-top: 4px;
}
.tb-text-size-buttons,
.tb-player-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tb-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.tb-checkbox-label input[type="checkbox"] {
    margin: 0;
}
.tb-text-object.is-curved-text {
    display: block;
    overflow: visible;
}
.tb-text-object.is-curved-text .tb-text-content {
    display: none !important;
}
.tb-curved-text-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.tb-curved-text-preview text {
    font-weight: inherit;
}
.tb-player-name.is-curved-player-text {
    display: block !important;
    position: relative;
    width: 100% !important;
    min-width: 80px !important;
    max-width: none !important;
    min-height: 1.4em !important;
    height: 1.75em;
    overflow: visible;
}
.tb-player-name.is-curved-player-text .tb-curved-text-preview {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180%;
    height: 190%;
    transform: translate(-50%, -52%);
}

/* Build 94.0: requested sidebar accordion re-order */
.tb-designer-build94 .tb-sidebar-title-panel {
    border-top: 0;
    padding-top: 0;
    margin-top: 14px;
}
.tb-designer-build94 .tb-sidebar-title-panel h2 {
    margin: 0;
    padding: 8px 10px;
    border-left: 4px solid var(--tb-title-green);
    background: #f6fbf8;
    border-radius: 4px;
}
.tb-designer-build94 .tb-roster-tools-panel,
.tb-designer-build94 .tb-player-panel,
.tb-designer-build94 .tb-style-library-panel,
.tb-designer-build94 .tb-selected-text-panel,
.tb-designer-build94 .tb-text-arch-panel,
.tb-designer-build94 .tb-uploaded-images-panel {
    margin-top: 12px;
}
.tb-designer-build94 .tb-uploaded-images-panel h2 {
    margin-bottom: 8px;
}


/* Build 95.0: placed image thumbnail management controls */
.tb-designer-build95 .tb-uploaded-image-picker {
    padding-top: 0;
    border-top: 0;
}
.tb-designer-build95 .tb-uploaded-image-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}
.tb-designer-build95 .tb-uploaded-image-card {
    position: relative;
    min-height: 138px;
}
.tb-designer-build95 .tb-uploaded-image-card.is-selected::after {
    content: "Selected";
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #2a784d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}
.tb-designer-build95 .tb-uploaded-image-thumb {
    min-height: 72px;
}
.tb-placed-image-actions {
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #d6e4dc;
    border-radius: 6px;
    background: #f8fcfa;
}
.tb-placed-image-selected-controls[hidden] {
    display: none !important;
}
.tb-placed-image-title,
.tb-placed-image-meta-line {
    display: block;
    line-height: 1.35;
}
.tb-placed-image-title {
    color: #2a784d;
    font-size: 13px;
}
.tb-placed-image-meta-line {
    margin-top: 2px;
    color: #666;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.tb-placed-image-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0;
}
.tb-placed-image-buttons .button {
    width: 100%;
    text-align: center;
    justify-content: center;
}
.tb-replace-image-status {
    min-height: 18px;
    margin: 4px 0 6px;
    font-size: 12px;
    line-height: 1.35;
}
.tb-replace-image-status.is-success {
    color: #2a784d;
}
.tb-replace-image-status.is-error {
    color: #b32d2e;
}
.tb-replace-image-status.is-saving {
    color: #666;
}
@media (max-width: 700px) {
    .tb-designer-build95 .tb-uploaded-image-grid {
        grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    }
    .tb-placed-image-buttons {
        grid-template-columns: 1fr;
    }
}


/* Build 96.0: proof preview and Ready to Order review cleanup */
.tb-designer-build96 .tb-ready-review-card {
    width: min(860px, 96vw);
}
.tb-designer-build96 .tb-ready-review-proof {
    border-width: 2px;
    border-color: #c7dfcf;
    background: #ffffff;
}
.tb-designer-build96 .tb-ready-review-proof img {
    max-height: 52vh;
    border: 1px solid #d8e8dd;
    background: #f7f7f7;
}
.tb-designer-build96 .tb-ready-review-summary {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 6px 12px;
    margin: 12px 0 14px;
    padding: 12px;
    border: 1px solid #d8e8dd;
    background: #f6faf7;
}
.tb-designer-build96 .tb-ready-review-summary dt {
    font-weight: 700;
    color: #2a784d;
}
.tb-designer-build96 .tb-ready-review-summary dd {
    margin: 0;
}
.tb-designer-build96 .tb-ready-review-summary dd.is-current,
.tb-designer-build96 .tb-order-review-proof-link.is-current {
    color: #008a20;
    font-weight: 700;
}
.tb-designer-build96 .tb-ready-review-summary dd.is-stale,
.tb-designer-build96 .tb-order-review-proof-link.is-stale,
.tb-designer-build96 .tb-ready-review-summary dd.is-warning {
    color: #8a5300;
    font-weight: 700;
}
.tb-designer-build96 .tb-ready-review-summary dd.is-error {
    color: #b32d2e;
    font-weight: 700;
}
.tb-designer-build96 .tb-ready-review-intro {
    margin-bottom: 10px;
}
@media (max-width: 700px) {
    .tb-designer-build96 .tb-ready-review-summary {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .tb-designer-build96 .tb-ready-review-summary dt {
        margin-top: 8px;
    }
}

/* Build 97.0: cart and checkout design attachment review. */
.tb-cart-design-review-panel {
    clear: both;
    margin: 18px 0;
    padding: 16px;
    border: 2px solid #2a784d;
    border-radius: 8px;
    background: #f6faf7;
}
.tb-cart-design-review-panel h3 {
    margin: 0 0 6px;
    color: #2a784d;
    font-family: 'Crete Round', Georgia, serif;
}
.tb-cart-design-review-intro {
    margin: 0 0 12px;
    font-weight: 600;
}
.tb-cart-design-review-card {
    display: grid;
    grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
    gap: 16px;
    margin: 12px 0 0;
    padding: 14px;
    border: 1px solid rgba(42, 120, 77, 0.24);
    border-left: 5px solid #2a784d;
    border-radius: 7px;
    background: #fff;
}
.tb-cart-design-review-card.is-warning {
    border-left-color: #dba617;
}
.tb-cart-design-review-card.is-error {
    border-left-color: #d63638;
}
.tb-cart-design-review-proof img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    border: 1px solid #d8e8dd;
    background: #fff;
    padding: 2px;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}
.tb-cart-design-review-no-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    border: 1px dashed #d63638;
    background: #fff5f5;
    color: #8a2424;
    font-weight: 700;
    text-align: center;
}
.tb-cart-design-review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.tb-cart-design-review-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(42, 120, 77, 0.11);
    color: #2a784d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}
.tb-cart-design-review-status.is-warning {
    background: #fff7e6;
    color: #8a5a00;
}
.tb-cart-design-review-status.is-error {
    background: #fff5f5;
    color: #8a2424;
}
.tb-cart-design-review-detail {
    margin: 0 0 10px;
    font-weight: 600;
}
.tb-cart-design-review-summary {
    display: grid;
    grid-template-columns: minmax(140px, 32%) minmax(0, 1fr);
    gap: 5px 12px;
    margin: 0;
}
.tb-cart-design-review-summary dt,
.tb-cart-design-review-summary dd {
    margin: 0;
}
.tb-cart-design-review-summary dt {
    font-weight: 800;
    color: #2a784d;
}
.tb-cart-design-review-actions {
    margin: 12px 0 0;
}
.tb-checkout-design-approval {
    margin-top: 12px;
}
@media (max-width: 760px) {
    .tb-cart-design-review-card {
        grid-template-columns: 1fr;
    }
    .tb-cart-design-review-proof img {
        max-width: 100%;
    }
    .tb-cart-design-review-summary {
        display: block;
    }
    .tb-cart-design-review-summary dd {
        margin-bottom: 7px;
    }
}


/* Build 101.0: complete-template/JSON workflow and natural circular arches */
.tb-design-json-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.tb-design-json-actions .description {
    flex: 1 1 360px;
}
.tb-designer-build101 .tb-player-name.is-curved-player-text {
    height: 2em;
}
.tb-designer-build101 .tb-player-name.is-curved-player-text .tb-curved-text-preview {
    width: 190%;
    height: 220%;
    transform: translate(-50%, -54%);
}


/* Build 103.0: undistorted baseline arches and multi-text styling */
.tb-designer-build103 .tb-selected-controls:not([hidden]) {
    display: block;
}
.tb-designer-build103 .tb-control-label:disabled {
    opacity: .72;
    background: #f6f7f7;
}


/* Build 104.0: stronger circular arches and persistent multi-selection */
.tb-designer-build104 .tb-player-name.is-curved-player-text {
    height: 2.35em;
}
.tb-designer-build104 .tb-player-name.is-curved-player-text .tb-curved-text-preview {
    width: 205%;
    height: 255%;
    transform: translate(-50%, -55%);
}

/* Build 105.0 fixed, customer-friendly text arch control */
.tb-arch-fixed-grid {
    align-items: start;
}
.tb-fixed-arch-note {
    margin: 22px 0 0;
}


/* Build 107.0: deeper fixed Arch Up with tighter player-name/holder spacing */
.tb-designer-build107 .tb-player-name.is-curved-player-text {
    height: 1.10em !important;
    min-height: 1.10em !important;
    margin-bottom: 0 !important;
}
.tb-designer-build107 .tb-player-name.is-curved-player-text .tb-curved-text-preview {
    width: 215%;
    height: 310%;
    top: 58%;
    transform: translate(-50%, -35%);
}
.tb-designer-build107 .tb-fixed-arch-choice {
    border: 1px solid #c3c4c7;
    background: #f6f7f7;
    border-radius: 4px;
    padding: 8px 10px;
    min-width: 125px;
}
.tb-designer-build107 .tb-fixed-arch-choice span {
    font-size: 12px;
    color: #50575e;
}
.tb-designer-build107 .tb-fixed-arch-note {
    margin: 4px 0 0;
}


/* Build 108.0: bounded Arch Up movement and restored Straighten Text wording */
.tb-designer-build108 .tb-player-name.is-curved-player-text {
    height: 1.55em !important;
    min-height: 1.55em !important;
}
.tb-designer-build108 .tb-player-name.is-curved-player-text .tb-curved-text-preview {
    width: 200%;
    height: 235%;
    top: 52%;
    transform: translate(-50%, -48%);
}
.tb-designer-build108 .tb-fixed-arch-choice span {
    display: inline-block;
    max-width: 240px;
}

/* Build 111.0: lower arched player names without weakening the curve. */
.tb-designer-build111 .tb-player-name.is-curved-player-text .tb-curved-text-preview {
    top: 52%;
    transform: translate(-50%, -33%);
}


/* Build 112.0: no-wrap detached player text, custom grouping, and automatic production status. */
.tb-designer-build112 .tb-text-object.is-nowrap-text {
    overflow: visible;
}
.tb-auto-production-status {
    margin: 8px 0 4px;
    padding: 7px 9px;
    border-left: 4px solid #2271b1;
    background: #f0f6fc;
}
.tb-auto-production-status.is-ready,
.tb-auto-production-status.is-png_ready {
    border-left-color: #00a32a;
    background: #edfaef;
}
.tb-auto-production-status.is-failed,
.tb-auto-production-status.is-png_ready_pdf_unavailable {
    border-left-color: #d63638;
    background: #fcf0f1;
}

/* Build 114.0: restore the Build 112 natural full-size stage and extend the
 * right workspace downward without imposing a smaller internal canvas viewport. */
.tb-designer-build114 .tb-designer-main {
    min-height: calc(100vh - 150px);
}
.tb-designer-build114 .tb-editor-stage-wrap {
    min-height: clamp(520px, calc(100vh - 270px), 760px);
    max-height: none;
    overflow: auto;
}
@media (max-height: 760px) {
    .tb-designer-build114 .tb-designer-main {
        min-height: calc(100vh - 105px);
    }
    .tb-designer-build114 .tb-editor-stage-wrap {
        min-height: max(400px, calc(100vh - 215px));
    }
}
@media (max-width: 980px) {
    .tb-designer-build114 .tb-editor-stage-wrap {
        min-height: 520px;
    }
}
.tb-production-download-location {
    margin: 8px 0;
    padding: 7px 9px;
    border-left: 4px solid #2271b1;
    background: #f0f6fc;
}

/* Build 115.0: extend the desktop left-tool viewport by approximately five
 * inches and provide a phone-only stacked studio without changing the
 * Build 114 desktop design-table dimensions. */
@media (min-width: 981px) {
    .tb-designer-build115 .tb-designer-sidebar {
        height: calc(100vh - 16px + 5in);
        min-height: calc(100vh - 16px + 5in);
        max-height: calc(100vh - 16px + 5in);
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media (max-width: 700px) {
    body.tb-designer-page-active {
        overflow-x: hidden;
    }
    .tb-designer-build115 {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: visible;
        padding-left: 10px;
        padding-right: 10px;
    }
    .tb-designer-build115 .tb-designer-header,
    .tb-designer-build115 .tb-designer-layout,
    .tb-designer-build115 .tb-designer-sidebar,
    .tb-designer-build115 .tb-designer-main,
    .tb-designer-build115 .tb-workflow-panel,
    .tb-designer-build115 .tb-save-status-top,
    .tb-designer-build115 .tb-editor-toolbar,
    .tb-designer-build115 .tb-editor-stage-wrap {
        box-sizing: border-box;
    }
    .tb-designer-build115 .tb-designer-header {
        display: block !important;
        width: 100%;
        min-width: 0 !important;
    }
    .tb-designer-build115 .tb-designer-actions {
        width: 100%;
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .tb-designer-build115 .tb-designer-actions .button,
    .tb-designer-build115 .tb-designer-actions .tb-ready-order-form,
    .tb-designer-build115 .tb-designer-actions .tb-ready-order-button {
        width: 100%;
        white-space: normal;
    }
    .tb-designer-build115 .tb-designer-layout {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        min-width: 0 !important;
        gap: 14px;
    }
    .tb-designer-build115 .tb-designer-sidebar {
        position: static;
        top: auto;
        order: 1;
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        margin: 0;
    }
    .tb-designer-build115 .tb-designer-main {
        order: 2;
        width: 100%;
        min-width: 0 !important;
        min-height: 0;
    }
    .tb-designer-build115 .tb-workflow-panel,
    .tb-designer-build115 .tb-save-status-top,
    .tb-designer-build115 .tb-editor-toolbar,
    .tb-designer-build115 .tb-editor-stage-wrap {
        width: 100%;
        min-width: 0;
    }
    .tb-designer-build115 .tb-editor-stage-wrap {
        min-height: 0;
        max-height: none;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tb-designer-build115 .tb-editor-stage {
        min-width: 760px;
    }
}

