@import url("https://www.elitefenders.com/apps/elite-finder/elite-brand/elite-core.css");
/* The approved theme is retained; only new job controls and phone restrictions. */
.studio #jobOrientation{border:0;padding:0;margin:14px 0}.studio #jobOrientation[hidden]{display:none}.studio #jobOrientation label{display:inline-flex;align-items:center;gap:8px;margin:8px 14px 8px 0;min-height:44px}.studio #jobOrientation input{width:20px;height:20px;margin:0}.studio .studio-upload{border:1px dashed var(--elite-border);padding:18px 10px;min-height:68px}.studio #removeBackground{display:block}.studio #uploadArtwork[hidden],.studio #logoMode[hidden],.studio #textMode[hidden],.studio #add[hidden]{display:none!important}.studio #canvas [data-crop]{stroke-width:12px;stroke:transparent;vector-effect:non-scaling-stroke;pointer-events:all}
@media(min-width:701px) and (max-width:1400px){.studio .grid{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr)}.studio .studio-rail{display:flex;flex-direction:row;grid-column:1/-1;order:0;top:0;position:sticky;z-index:10}.studio .studio-rail button{min-width:0;flex:1;flex-direction:column}.studio #studioControls{grid-column:1;grid-row:2;position:static;order:0}.studio #studioPreview{grid-column:2;grid-row:2;position:sticky;top:85px;order:0}.studio .canvas-viewport{height:clamp(280px,42svh,460px)}.studio .phone-guidance{display:none}.studio .studio-topbar{flex-direction:row}.studio .studio-top-actions{width:auto}.studio #studioControls .color-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.studio header{padding:12px 18px}}
@media(max-width:700px), (max-width:950px) and (max-height:500px){.studio-rail,#studioControls,.studio-top-actions,#canvas{pointer-events:none}}

@media(pointer:coarse){.studio #canvas [data-resize],.studio #canvas [data-crop]{stroke:transparent;stroke-width:40px;vector-effect:non-scaling-stroke;pointer-events:all}}

#applyDialog{max-width:540px;background:var(--elite-bg);color:var(--elite-text);border:1px solid var(--elite-border);border-radius:14px;padding:24px;font-family:var(--elite-font, Jura), sans-serif}#applyDialog::backdrop{background:#000a}#applyDialog .actions{display:flex;flex-wrap:wrap;gap:10px}#applyError{color:#ffb5ac}.studio-top-actions{flex-wrap:wrap}#savedArtworkCards img{max-width:100%;height:100px;object-fit:contain;background:var(--elite-field)}

/* Keep internal Design fields out of the customer project workflow. */
.studio label[hidden]{display:none!important}
.studio .studio-design-context{grid-template-columns:1fr}
.studio .studio-design-context #accountBoat{display:block}
.studio .studio-design-context #accountBoat label[for="boat"]{display:block;margin-bottom:6px}
.studio .boat-artwork-controls{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:12px;align-items:center}
.studio .boat-artwork-controls #boat{margin:0;grid-column:1;grid-row:1}
.studio .project-artwork-actions{grid-column:2;grid-row:1;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.studio .project-artwork-actions button{margin:0;min-height:44px}
@media(max-width:700px){.studio .boat-artwork-controls{grid-template-columns:1fr}.studio .project-artwork-actions{grid-column:1;grid-row:2}}


.studio button[hidden],.studio input[hidden],.studio select[hidden]{display:none!important}.studio .editor-shortcuts{display:flex;gap:8px;flex-wrap:wrap}.studio .editor-shortcuts button{flex:1;margin:0}.studio .editor-help{margin:12px 0 18px}.studio .editor-help p{font-size:14px;line-height:1.6}.studio #fontPicker summary{padding:12px;background:var(--elite-field);border:1px solid var(--elite-border)}.studio .font-choices{display:grid;gap:4px}.studio .font-choices button{font-size:21px;text-align:left;min-height:44px}.studio #fontPicker{margin-bottom:16px}.studio #panel-cover select{max-width:100%}

.studio #fontPicker summary{font-size:20px}.studio .editor-shortcuts{flex-wrap:nowrap}.studio .editor-shortcuts button{min-width:0;font-size:13px}

.cover-warning{color:#ffae68;border-left:3px solid #ffae68;padding:.5rem .75rem}

.custom-thread-picker{margin-top:16px}.custom-thread-picker details{border-top:1px solid var(--elite-border);padding:10px 0}.custom-thread-picker summary{cursor:pointer;min-height:36px;color:var(--elite-muted)}.custom-colour-entry{display:flex;align-items:center;gap:10px}.custom-colour-entry input{flex:1;min-width:0;margin:0}.custom-colour-preview{display:inline-block;width:38px;height:38px;border:1px solid #aaa;flex:none}.custom-thread-picker [role=status]{font-size:12px;overflow-wrap:anywhere}.custom-thread-picker .hint{font-size:12px}

/* Compact common actions leave more room for the cover preview. */
.studio .studio-topbar{padding:8px 10px;gap:8px}.studio .studio-top-actions{gap:6px;align-items:center}.studio .studio-top-actions button,.studio .studio-top-actions a{margin:0;min-height:44px;padding:8px 12px}
.studio .studio-top-actions #undo,.studio .studio-top-actions #redo,.studio .studio-top-actions #save{width:44px;min-width:44px;height:44px;padding:0;font-size:0;position:relative}
.studio #undo::before{content:'↶'}.studio #redo::before{content:'↷'}.studio #save::before{content:'▣'}.studio #save:disabled::before{content:'✓'}
.studio #undo::before,.studio #redo::before,.studio #save::before{font:26px/1 sans-serif}
.studio .editor-help{margin:4px 0 8px}.studio #studioPreview{padding:12px}
@media(min-width:701px){.studio .canvas-viewport:not(.expanded){height:clamp(360px,56svh,700px)}}
.studio .canvas-tools{position:relative;z-index:3;margin-top:-54px!important;margin-bottom:10px;padding:0 64px 0 10px;min-height:44px;height:44px;justify-content:flex-start;gap:6px;pointer-events:none}
.studio .canvas-tools button{pointer-events:auto;margin:0;min-height:44px;height:44px;padding:6px 12px;background:#111e;color:#a4d9df;border:1px solid #83b4bb}
.studio .canvas-tools #expandPreview{right:10px;bottom:0}

.studio #save::before,.studio #save:disabled::before{content:'';display:inline-block;width:24px;height:24px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 3h13l4 4v14H3V3z'/%3E%3Cpath d='M7 3v6h10V3M7 21v-8h10v8'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}

.font-weight-row{display:flex;align-items:center;gap:12px;margin:8px 0 16px;flex-wrap:wrap}.studio #fontBold{min-width:76px;margin:0;font-weight:700}.studio #fontBold[aria-pressed="true"]{background:var(--elite-accent,#91d3dc);color:var(--elite-bg,#080f11);border-color:var(--elite-accent,#91d3dc)}.font-weight-row .hint{margin:0}
