/* Hitech Print v85.29 Professional Studio Workspace — presentation only, no engine overrides */
:root{--hp29-ink:#0b1630;--hp29-blue:#2563eb;--hp29-cyan:#1597ad;--hp29-line:#dbe4ef;--hp29-soft:#f6f9fc;--hp29-muted:#64748b;--hp29-ok:#15803d;--hp29-warn:#b45309}
#studioV83{max-width:1440px;margin:0 auto;padding:18px clamp(12px,2vw,28px) 44px;color:var(--hp29-ink)}
#studioV83 .v83-head{position:sticky;top:0;z-index:1600;margin:0 0 14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(135deg,#0b1630,#12264b);box-shadow:0 12px 34px rgba(15,23,42,.16);padding:14px 16px;color:#fff}
#studioV83 .v83-head strong{font-size:clamp(18px,2vw,24px)}#studioV83 .v83-head small{color:#d8e7ff!important}
#studioV83 .v83-head-actions button{min-width:42px;min-height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;font-size:18px}
#studioV83 .v849-autosave{background:rgba(34,197,94,.14);border:1px solid rgba(134,239,172,.32);padding:7px 10px;border-radius:999px;color:#dcfce7;font-weight:800}
.v8529-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 16px;padding:8px;background:#fff;border:1px solid var(--hp29-line);border-radius:18px;box-shadow:0 8px 26px rgba(15,23,42,.06);position:sticky;top:78px;z-index:1500}
.v8529-flow button{border:0;background:transparent;border-radius:13px;padding:10px 8px;display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:center;text-align:left;color:#475569;font:inherit;cursor:pointer}.v8529-flow .num{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eaf1f8;color:#334155;font-weight:900}.v8529-flow button b{font-size:12px}.v8529-flow button small{display:block;font-size:10px;color:#94a3b8;margin-top:1px}.v8529-flow button.active{background:#eef6ff;color:#1d4ed8}.v8529-flow button.active .num{background:#2563eb;color:#fff}
.v8529-help{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;padding:12px 14px;border:1px solid #bfdbfe;border-radius:15px;background:#eff6ff;color:#1e3a8a;line-height:1.45}.v8529-help strong{display:block;margin-bottom:2px}.v8529-help .ico{font-size:18px}
#studioV83 .v83-preview-card,#studioV83 .v83-editor-card,#studioV83 .v83-tools-card,#studioV83 .v8504-mug-photo-modes,#studioV83 .v8509-variants,#studioV83 .v83-layers-card,#studioV83 .v83-specs,#studioV83 .v84-modebox,#studioV83 .v8468-rock-poly-panel{border-color:var(--hp29-line)!important;box-shadow:0 8px 24px rgba(15,23,42,.055)!important}
#studioV83 .v83-preview-card{border-radius:22px!important;overflow:hidden;background:#fff}.v83-preview-topline{padding:12px 14px!important;background:#f8fafc;border-bottom:1px solid #e5edf5!important}.v83-badge{border-radius:999px!important;background:#e0f2fe!important;color:#075985!important}
#studioV83 .v83-mug-stage{background:linear-gradient(180deg,#f8fafc,#eef3f8)!important;min-height:min(62vw,640px)}
#studioV83 .v84-modebox,#studioV83 .v8504-mug-photo-modes{border-radius:18px!important;background:#fff!important}.v84-mode-buttons button,.v849-side-uploads button,.v83-viewbar button{min-height:44px!important;border-radius:12px!important}
#studioV83 .v83-tools-card{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important;gap:9px!important;padding:12px!important;border-radius:18px!important;background:#fff!important}.v83-tool{min-height:74px!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important}.v83-tool span{font-size:22px!important}.v83-tool b{font-size:12px!important}
.v8529-tools-title{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;align-items:end;padding:2px 2px 5px}.v8529-tools-title b{font-size:16px}.v8529-tools-title small{color:var(--hp29-muted);font-size:11px;text-align:right}
#studioV83 .v83-editor-card{border-radius:22px!important;padding:14px!important;background:#fff!important}.v83-editor-help{margin-top:10px!important;border-radius:13px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;padding:10px 12px!important;color:#475569!important;line-height:1.45!important}
#studioV83 .v83-specs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.v83-specs>div{border:1px solid var(--hp29-line)!important;border-radius:14px!important;background:#fff!important;padding:12px!important}.v83-specs b{color:var(--hp29-ink)!important}.v83-specs span{color:var(--hp29-muted)!important}
.v8529-quality{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.v8529-quality span{padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid #dbe4ef;background:#fff}.v8529-quality .ok{color:var(--hp29-ok);background:#f0fdf4;border-color:#bbf7d0}.v8529-quality .info{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}
.v8529-finish-card{margin:14px 0 0;padding:14px;border-radius:18px;border:1px solid #c7d2fe;background:linear-gradient(135deg,#eef2ff,#f8fafc)}.v8529-finish-card b{display:block;margin-bottom:4px}.v8529-finish-card small{color:#64748b;line-height:1.4}
@media(min-width:980px){#studioV83{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:16px;align-items:start}#studioV83>.v83-head,#studioV83>.v8529-flow,#studioV83>.v8529-help,#studioV83>.v8509-variants{grid-column:1/-1}#studioV83>.v83-preview-card{grid-column:1;grid-row:auto / span 6;position:sticky;top:146px}#studioV83>.v84-modebox,#studioV83>.v8468-rock-poly-panel,#studioV83>.v849-side-uploads,#studioV83>.v83-viewbar,#studioV83>.v84-ai-strip,#studioV83>.v8504-mug-photo-modes,#studioV83>.v83-tools-card,#studioV83>.v8506-compose-panel,#studioV83>.v8506-side-editor,#studioV83>.v83-editor-card,#studioV83>.v83-layers-card,#studioV83>.v83-specs,#studioV83>.v8529-quality,#studioV83>.v8529-finish-card{grid-column:2}.v8529-flow{top:78px}.v83-mug-stage{min-height:560px!important}}
@media(max-width:979px){#studioV83{padding-top:10px}.v8529-flow{top:72px;overflow-x:auto;grid-template-columns:repeat(5,minmax(135px,1fr));scrollbar-width:none}.v8529-flow::-webkit-scrollbar{display:none}.v8529-flow button{min-width:135px}.v8529-help{font-size:13px}.v83-mug-stage{min-height:430px!important}}
@media(max-width:620px){#studioV83{padding-left:8px;padding-right:8px}.v83-head{border-radius:14px!important;padding:11px 12px!important}.v849-autosave{display:none}.v8529-flow{top:65px;border-radius:14px;padding:6px}.v8529-flow button{grid-template-columns:24px 1fr;padding:8px;min-width:124px}.v8529-flow .num{width:24px;height:24px}.v8529-flow button small{display:none}.v8529-help{border-radius:12px;padding:10px}.v83-mug-stage{min-height:330px!important}.v83-tools-card{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:9px!important}.v83-tool{min-height:66px!important;padding:7px 4px!important}.v83-tool span{font-size:20px!important}.v83-tool b{font-size:10px!important}.v8529-tools-title small{display:none}.v83-specs{grid-template-columns:1fr 1fr!important}.v8504-mug-photo-modes{padding:12px!important;margin:12px 0!important}.v8504-mode-buttons button{border-radius:13px!important}.v8509-variants{border-radius:14px!important}.v8509-variants-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v83-editor-card{padding:10px!important}}
/* legacy customize.php — same visual language */
.customize-page{max-width:1380px!important}.customize-head{padding:18px 0 8px}.customize-head h1{font-size:clamp(26px,4vw,42px)!important;line-height:1.08}.customize-head p{max-width:820px;color:#64748b!important}.v8529-legacy-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:8px;margin:8px 0 12px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.v8529-legacy-flow span{display:flex;align-items:center;gap:7px;padding:8px 9px;border-radius:11px;background:#f8fafc;font-weight:800;font-size:12px;color:#475569}.v8529-legacy-flow b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#2563eb;color:#fff}.v8529-legacy-tip{display:flex;flex-direction:column;gap:3px;padding:11px 13px;margin-bottom:14px;border-radius:14px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a}.v8529-legacy-tip span{font-size:12px;line-height:1.45}.customize-grid-v2{gap:16px!important}.customize-form-panel,.preview-panel-v2{border-radius:20px!important;border:1px solid #dbe4ef!important;box-shadow:0 8px 24px rgba(15,23,42,.05)!important}.preview-panel-v2{position:sticky;top:82px}.preview-controls-v2,.preview-actions-row{gap:8px!important}.catalog-tool-btn{min-height:42px!important;border-radius:11px!important}.production-ready-note,.preview-warning{border-radius:13px!important;line-height:1.45!important}@media(max-width:900px){.preview-panel-v2{position:static}.v8529-legacy-flow{overflow-x:auto;grid-template-columns:repeat(5,minmax(116px,1fr));scrollbar-width:none}}@media(max-width:600px){.v8529-legacy-flow{padding:6px;border-radius:13px}.v8529-legacy-flow span{min-width:110px}.customize-form-panel,.preview-panel-v2{border-radius:15px!important}.v8529-legacy-tip{font-size:12px}}
