/* TG-ZN-1110: steps, review, templates, personalise form, mockup gallery (test products only, features-live.json "zn") */
#tees-studio .tgzn-st{position:absolute;left:50%;top:10px;transform:translateX(-50%);z-index:7;display:flex;align-items:center;gap:2px;background:#fff;border:1px solid #e3e3e3;border-radius:16px;padding:2px 4px;box-shadow:0 1px 6px rgba(0,0,0,.08);white-space:nowrap}
#tees-studio .ts-top .tgzn-st{top:50%;transform:translate(-50%,-50%);box-shadow:none}
#tees-studio .tgzn-st button{display:flex;align-items:center;gap:4px;border:0;background:none;padding:4px 7px;border-radius:12px;font:600 12px/1 inherit;font-family:inherit;color:#777;cursor:pointer}
#tees-studio .tgzn-st button i{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#e9e9e9;color:#555;font:700 10.5px/1 inherit;font-family:inherit;font-style:normal}
#tees-studio .tgzn-st button.is-on{color:#111}
#tees-studio .tgzn-st button.is-on i{background:#e30613;color:#fff}
#tees-studio .tgzn-st button.is-done i{background:#111;color:#fff}
#tees-studio .tgzn-st b{width:10px;height:1px;background:#ccc}
/* mobile: the paste pill uses the same top-centre spot, so the stepper steps aside while a paste is offered */
#tees-studio .ts-stage:has(.tgdk-paste) .tgzn-st{display:none}
#tees-studio.tg-aop:has(.ts-stage .tgzn-st) .tg-aop-legend{translate:0 40px}
@media (min-width:1024px){#tees-studio .tgzn-st button{font-size:13px;padding:6px 10px}}
#tees-studio .tgzn-ov{position:fixed;inset:0;z-index:2147483500;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;justify-content:center;font-family:inherit}
#tees-studio .tgzn-card,#tees-studio .tgzn-card label,#tees-studio .tgzn-ok{text-align:left}
#tees-studio .tgzn-card{background:#fff;width:100%;max-height:92vh;overflow:auto;border-radius:16px 16px 0 0;padding:14px 16px 16px;box-sizing:border-box;color:#111}
@media (min-width:760px){#tees-studio .tgzn-ov{align-items:center}#tees-studio .tgzn-card{border-radius:16px;max-width:560px}}
#tees-studio .tgzn-hd{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
#tees-studio .tgzn-hd b{font-size:17px}
#tees-studio .tgzn-x{border:0;background:#f1f1f1;width:32px;height:32px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;flex:0 0 auto}
#tees-studio .tgzn-lead{margin:0 0 10px;font-size:13px;color:#555}
#tees-studio .tgzn-note{font-size:12px;color:#666;margin:10px 0 0}
#tees-studio .tgzn-warn{color:#b00020;font-size:13px;margin:8px 0 0}
#tees-studio .tgzn-lnk{border:0;background:none;padding:6px 0;color:#111;text-decoration:underline;text-underline-offset:3px;font:600 13px/1.2 inherit;font-family:inherit;cursor:pointer}
#tees-studio .tgzn-btn{height:44px;padding:0 18px;border-radius:22px;border:1px solid #ccc;background:#fff;color:#111;font:600 15px/1 inherit;font-family:inherit;cursor:pointer}
#tees-studio .tgzn-dark{background:#111;color:#fff;border-color:#111}
#tees-studio .tgzn-dark:disabled{background:#bbb;border-color:#bbb;cursor:not-allowed}
#tees-studio .tgzn-ft{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:12px}
#tees-studio .tgzn-ft .tgzn-dark{flex:1}
#tees-studio .tgzn-ft2{display:flex;justify-content:space-between;gap:8px;margin-top:6px}
/* review */
#tees-studio .tgzn-rv .tgzn-card{max-width:940px}
#tees-studio .tgzn-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
#tees-studio .tgzn-thumbs figure{margin:0;flex:0 0 92px;text-align:center}
#tees-studio .tgzn-tb{width:92px;height:92px;border-radius:10px;background:#f3f3f3;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:11px;color:#888}
#tees-studio .tgzn-tb img{width:100%;height:100%;object-fit:contain}
#tees-studio .tgzn-thumbs figure.none .tgzn-tb{background:repeating-linear-gradient(45deg,#f6f6f6,#f6f6f6 6px,#eee 6px,#eee 12px)}
#tees-studio .tgzn-thumbs figcaption{font-size:12px;font-weight:600;margin-top:4px}
#tees-studio .tgzn-ck{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
#tees-studio .tgzn-ck>li{display:flex;gap:10px;align-items:flex-start;padding:9px 10px;border-radius:10px;background:#f4fbf5;font-size:13px}
#tees-studio .tgzn-ck>li.is-warn{background:#fff6e5}
#tees-studio .tgzn-ck>li>i{flex:0 0 22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:700;color:#fff;background:#1f9d55}
#tees-studio .tgzn-ck>li.is-warn>i{background:#e08a00}
#tees-studio .tgzn-ck b{display:block;margin-bottom:2px}
#tees-studio .tgzn-ck small{color:#666}
#tees-studio .tgzn-ck ul{margin:2px 0 0;padding-left:16px;color:#333}
#tees-studio .tgzn-ck em{font-style:normal;color:#777}
#tees-studio .tgzn-opt{margin-top:12px;border-top:1px solid #eee;padding-top:10px;font-size:13px}
#tees-studio .tgzn-opt dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:6px 0 0}
#tees-studio .tgzn-opt dt{color:#666}
#tees-studio .tgzn-opt dd{margin:0}
#tees-studio .tgzn-dot{display:inline-block;width:12px;height:12px;border-radius:50%;border:1px solid #ccc;margin-right:6px;vertical-align:-1px}
#tees-studio .tgzn-ok{display:flex;gap:10px;align-items:center;margin-top:12px;padding:10px 12px;border:2px solid #111;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer}
#tees-studio .tgzn-ok input{width:20px;height:20px;accent-color:#e30613}
@media (min-width:900px){#tees-studio .tgzn-rvb{display:grid;grid-template-columns:300px 1fr;gap:20px}#tees-studio .tgzn-thumbs{flex-wrap:wrap;align-content:flex-start}#tees-studio .tgzn-thumbs figure{flex:0 0 140px}#tees-studio .tgzn-tb{width:140px;height:140px}}
/* templates */
#tees-studio .tgzn-cats{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
#tees-studio .tgzn-cat{flex:0 0 auto;border:1px solid #ddd;background:#fff;border-radius:16px;padding:7px 12px;font:600 13px/1 inherit;font-family:inherit;cursor:pointer;color:#111}
#tees-studio .tgzn-cat.is-on{background:#111;color:#fff;border-color:#111}
#tees-studio .tgzn-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:8px}
@media (min-width:760px){#tees-studio .tgzn-grid{grid-template-columns:repeat(3,1fr)}}
#tees-studio .tgzn-tc{border:1px solid #e3e3e3;background:#fff;border-radius:12px;padding:8px;cursor:pointer;text-align:center;font-family:inherit;color:#111}
#tees-studio .tgzn-tc:hover{border-color:#111}
#tees-studio .tgzn-tp{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:108px;border-radius:8px;background:#f5f5f5;overflow:hidden;position:relative;line-height:1.05;font-weight:700;padding:4px}
#tees-studio .tgzn-tp span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#tees-studio .tgzn-fb{position:absolute;right:4px;bottom:4px;background:#111;color:#fff;font:600 9.5px/1 inherit;font-family:inherit;padding:3px 5px;border-radius:6px}
#tees-studio .tgzn-tc>b{display:block;margin-top:6px;font-size:12.5px}
#tees-studio .ts-top:has(.tgzn-st){position:relative}
#tees-studio .tgdk-addr.tgzn-r1{grid-template-columns:1fr!important;margin-top:8px}
#tees-studio .tgdk-addr.tgzn-r1:has(.tgzn-tpb ~ *){grid-template-columns:repeat(2,1fr)!important}
#tees-studio .tgdk-addr.tgzn-r3{grid-template-columns:repeat(3,1fr)!important}
#tees-studio .tgzn-tpb svg,#tees-studio .tgzn-pvb svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
#tees-studio .tgzn-pb{width:100%;margin:6px 0 8px;height:40px;border:1px dashed #e30613;border-radius:20px;background:#fff5f5;color:#b00010;font:600 14px/1 inherit;font-family:inherit;cursor:pointer}
/* personalise: docked, the canvas stays visible */
#tees-studio .tgzn-ov.tgzn-dock{background:transparent;pointer-events:none;align-items:flex-end}
#tees-studio .tgzn-dock .tgzn-card{pointer-events:auto;max-height:46vh;box-shadow:0 -6px 24px rgba(0,0,0,.18)}
@media (min-width:1024px){#tees-studio .tgzn-ov.tgzn-dock{justify-content:flex-start;align-items:flex-start;padding:100px 0 0 64px}#tees-studio .tgzn-dock .tgzn-card{width:320px;max-height:calc(100vh - 140px);border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.25)}}
#tees-studio .tgzn-form{display:flex;flex-direction:column;gap:10px}
#tees-studio .tgzn-form label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:600;color:#444}
#tees-studio .tgzn-form input{height:44px;border:1px solid #ccc;border-radius:10px;padding:0 12px;font:500 16px/1 inherit;font-family:inherit;color:#111}
#tees-studio .tgzn-form input:focus{outline:2px solid #e30613;outline-offset:0;border-color:#e30613}
/* gallery */
#tees-studio .tgzn-gl .tgzn-card{max-width:820px}
#tees-studio .tgzn-big{background:#f2f2f2;border-radius:12px;overflow:hidden}
#tees-studio .tgzn-bi{aspect-ratio:1/1;max-height:58vh;margin:0 auto;display:flex;align-items:center;justify-content:center;color:#777;font-size:13px}
#tees-studio .tgzn-bi img{width:100%;height:100%;object-fit:contain}
#tees-studio .tgzn-cap{margin:0;padding:8px;text-align:center;font-weight:600;font-size:13px;background:#fff;border-top:1px solid #eee}
#tees-studio .tgzn-strip{display:flex;gap:8px;overflow-x:auto;margin-top:10px;padding-bottom:4px}
#tees-studio .tgzn-sc{flex:0 0 84px;border:2px solid transparent;border-radius:10px;background:#f2f2f2;padding:0 0 4px;cursor:pointer;font-family:inherit;color:#111;overflow:hidden}
#tees-studio .tgzn-sc.is-on{border-color:#e30613}
#tees-studio .tgzn-sc img,#tees-studio .tgzn-sc .tgzn-ld{display:flex;align-items:center;justify-content:center;width:100%;height:80px;object-fit:cover;font-size:11px;color:#888}
#tees-studio .tgzn-sc small{display:block;font-size:10.5px;line-height:1.15;padding:3px 2px 0;font-weight:600}
#tees-studio .tgzn-gcs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;font-size:13px;font-weight:600}
#tees-studio .tgzn-gc{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.2);cursor:pointer;padding:0}
#tees-studio .tgzn-gc.is-on{box-shadow:0 0 0 2px #fff,0 0 0 4px #e30613}
#tees-studio .tgzn-fabs{position:absolute;left:10px;bottom:10px;z-index:6;display:flex;flex-direction:column;gap:8px}
#tees-studio .tgzn-dock .tgzn-ft{position:sticky;bottom:-16px;background:#fff;margin:10px -16px -16px;padding:8px 16px 12px;border-top:1px solid #eee}
@media (max-width:1023px){#tees-studio .tgzn-dock .tgzn-lead{display:none}#tees-studio .tgzn-dock .tgzn-form{gap:6px}#tees-studio .tgzn-dock .tgzn-form input{height:40px}#tees-studio .tgzn-dock .tgzn-card{padding-top:10px}}
