.tk-3d-controls{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.tk-3d-controls button{min-height:36px;border:1px solid #d4dde6;background:#fff;color:#475569;border-radius:9px;padding:7px 12px;font-family:inherit;font-weight:500;font-size:12px;line-height:1.4;cursor:pointer}
.tk-3d-controls button[aria-pressed=true]{background:#e8f0fe;border-color:#94b7ef;color:#1558bd}
.tk-3d-controls button:last-child{margin-left:auto}
.tk-3d-hint{font-size:12px!important;color:#64748b!important;margin:0 0 8px!important;line-height:1.6}
.tk-photo-page #tkCv{width:100%;height:auto;min-height:260px;display:block;touch-action:none;cursor:grab;border-radius:12px;background:#edf0f3}
.tk-photo-page #tkCv:active{cursor:grabbing}
.tk-3d-picked{font-size:12px!important;line-height:1.7;color:#475569!important;margin:8px 0!important;min-height:22px}
.tk-photo-page .tk-leg{gap:8px;align-items:stretch}
.tk-photo-page .tk-leg li{display:block;font-size:12px}
.tk-legend-button{display:flex;align-items:center;gap:8px;min-height:40px;padding:7px 10px;border:1px solid #d7e0e8;border-radius:10px;background:#fff;color:#334155;cursor:pointer;font:inherit;text-align:left}
.tk-legend-button[aria-pressed=true]{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb20;background:#eff6ff}
.tk-legend-number{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;flex-shrink:0;color:#fff;font-size:12px;font-weight:700;text-shadow:0 1px 2px #0006}
.tk-legend-button small{display:block;color:#64748b;font-size:11px}
.tk-3d-controls[hidden]{display:none}
@media(max-width:640px){.tk-3d-controls button{padding:7px 9px;font-size:11px}.tk-3d-controls button:last-child{margin-left:0}.tk-3d-hint{font-size:11px!important}.tk-photo-page .tk-leg li{flex:1 1 140px}.tk-legend-button{width:100%}}
