@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Palette aligned to Kirsty's main-site brand values (elegance.css):
     Woods Green #596B62, deep #41504a, Club Ivory #F7F5F0,
     Heritage Stone #D7D2C8, Championship Gold #B89552, Charcoal #343434.
     Variable NAMES kept identical to the original studio so every existing
     rule re-themes without being rewritten. */
  --wg-forest:#41504a;      /* deep green — chrome, headings, primary action */
  --wg-forest-2:#596B62;    /* Woods Green signature — hover / secondary */
  --wg-parchment:#efeae0;   /* warm fill for inputs/cards */
  --wg-paper:#fdfcf9;       /* near-white card surface */
  --wg-canvas:#f7f5f0;      /* Club Ivory — app background */
  --wg-brass:#b89552;       /* Championship Gold — accent, used sparingly */
  --wg-brass-light:#cdae6d; /* lighter gold — focus rings / selected glow */
  --wg-ink:#343434;         /* Clubhouse Charcoal — matches main site body */
  --wg-muted:#7d8078;       /* muted sage-grey */
  --wg-line:rgba(52,52,52,.14);
  --wg-line-2:rgba(52,52,52,.06);
  --wg-shadow:0 24px 64px -20px rgba(12,32,24,.35);
  --wg-shadow-soft:0 10px 30px -12px rgba(12,32,24,.22);
  --wg-radius:20px;
  --wg-radius-sm:12px;
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --v3-rivets:
    radial-gradient(circle,rgba(0,0,0,.45) 32%,transparent 34%),
    radial-gradient(circle,rgba(0,0,0,.45) 32%,transparent 34%),
    radial-gradient(circle,rgba(0,0,0,.45) 32%,transparent 34%),
    radial-gradient(circle,rgba(0,0,0,.45) 32%,transparent 34%);
}

.v3-app{
  min-height:100vh;
  background:var(--wg-canvas);
  color:var(--wg-ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
}

/* The Studio is a focused, immersive tool -- it replaces the generic site
   chrome rather than sitting underneath it. */
body:has(.v3-app) > .nav{display:none}

/* ---------- top bar ---------- */
.v3-topbar{
  height:64px;background:var(--wg-forest);color:#fff;display:flex;align-items:center;
  justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:200;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.v3-brandline{display:flex;align-items:center;gap:12px;font-family:var(--serif)}
.v3-brandline strong{color:var(--wg-brass-light);font-weight:600;font-size:17px;letter-spacing:.01em}
.v3-brandline #v3ProductName{opacity:.55;font-size:15px;font-weight:400}
.v3-brandline #v3ProductName::before{content:"·";margin-right:12px;opacity:.6}
.v3-eyebrow{font-family:var(--sans);font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:rgba(255,255,255,.4);font-weight:600}
.v3-brandmark{height:38px;width:auto;display:block}
.v3-brand-txt{display:flex;flex-direction:column;line-height:1.02}
.v3-brand-name{font-family:var(--serif);font-weight:500;font-size:19px;color:#f3ecdb;letter-spacing:.01em}
.v3-brand-sub{font-family:var(--sans);font-size:8px;letter-spacing:.26em;text-transform:uppercase;color:var(--wg-brass-light);font-weight:600;margin-top:1px}
.v3-top-actions{display:flex;gap:10px;align-items:center}
.v3-account-badge{font-size:12px;color:rgba(255,255,255,.6);font-family:var(--sans);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v3-top-actions select{
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#fff;
  border-radius:999px;padding:9px 34px 9px 16px;font-family:var(--sans);font-size:13px;
  appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(255,255,255,.5) 50%),linear-gradient(135deg,rgba(255,255,255,.5) 50%,transparent 50%);
  background-position:calc(100% - 18px) center,calc(100% - 13px) center;background-size:5px 5px,5px 5px;background-repeat:no-repeat;
}
/* The open dropdown list is drawn by the browser on its own (light)
   background, not the dark pill background above -- <option> still inherits
   the pill's white text color though, which made every entry unreadable
   until picked. Options need their own dark color independent of the pill. */
.v3-top-actions select option{color:var(--wg-ink);background:#fff}

/* ---------- layout ---------- */
/* Three columns: form/material rail · product canvas · artwork/finish rail.
   The centre stays minmax(0,1fr) so it soaks up all remaining width and the
   sign photo can grow into it (see the .v3-photo-frame sizing override). */
.v3-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 320px;gap:0;width:100%;margin:0}
.v3-controls{
  background:var(--wg-paper);
  padding:24px 20px 90px;max-height:calc(100vh - 64px);overflow:auto;position:sticky;top:64px;
}
.v3-controls-left{border-right:1px solid var(--wg-line)}
.v3-controls-right{border-left:1px solid var(--wg-line);padding-bottom:16px}
.v3-controls-right .v3-controls-head{margin-bottom:2px}

/* Keep Save + Generate Production Proof pinned to the bottom of the right
   rail so they're always visible without scrolling; the artwork controls
   above scroll under them if a short screen can't show everything at once. */
.v3-rail-actions{
  position:sticky;bottom:0;z-index:6;
  display:flex;flex-direction:column;gap:8px;
  background:var(--wg-paper);
  padding:12px 0 4px;margin-top:16px;
  border-top:1px solid var(--wg-line);
}
.v3-rail-actions .v3-save-design,
.v3-rail-actions .v3-save-status,
.v3-rail-actions .v3-primary-action{margin-top:0}

/* Compact the right rail's vertical rhythm so the whole of Step two fits on
   a normal laptop screen alongside the pinned actions. */
.v3-controls-right .v3-controls-head p{margin-bottom:2px;font-size:12.5px}
.v3-controls-right .v3-section{padding-top:10px;margin-top:10px}
.v3-controls-right .v3-field{margin:9px 0}
.v3-controls-right .v3-object-card{padding:9px 11px;margin:8px 0}
.v3-controls-right #v3Notes{min-height:40px}

/* Compact the left rail's rhythm too, so all of Step one (including the Fill
   colour swatches) fits on one screen without the rail scrolling. */
.v3-controls-left .v3-controls-head h1{font-size:25px;margin:4px 0 7px}
.v3-controls-left .v3-controls-head p{margin-bottom:2px;font-size:12.5px;line-height:1.45}
.v3-controls-left .v3-section{padding-top:10px;margin-top:10px}
.v3-controls-left .v3-field{margin:9px 0}
.v3-controls-left .v3-material-sample{height:32px}
.v3-controls-left .v3-colour-swatch{width:24px;height:24px}
.v3-controls::-webkit-scrollbar{width:6px}
.v3-controls::-webkit-scrollbar-thumb{background:var(--wg-line);border-radius:999px}
/* The sidebar's content is often much taller than the visible viewport --
   overflow:auto handles it, but a thin scrollbar alone is easy to miss
   (esp. on Windows with OS-level "hide scrollbars until hovered"), which
   reads as "content is cut off" rather than "scroll for more". This sticky
   fade sits at the bottom of the visible area and only shows while there's
   more to scroll to (toggled by JS), same pattern as a native app's list. */
.v3-scroll-fade{
  display:none;position:sticky;bottom:0;left:0;right:0;height:40px;margin-top:-40px;
  background:linear-gradient(to bottom,rgba(255,253,249,0),var(--wg-paper) 85%);
  pointer-events:none;
}
.v3-controls.v3-has-more-below .v3-scroll-fade{display:block}
.v3-controls-head h1{font-family:var(--serif);font-weight:500;font-size:30px;line-height:1.05;margin:6px 0 10px;color:var(--wg-forest);letter-spacing:-.01em}
.v3-controls-head p{font-size:13.5px;color:var(--wg-muted);line-height:1.55;margin:0 0 6px}
.v3-kicker{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--wg-brass)}

.v3-section{border-top:1px solid var(--wg-line-2);padding-top:16px;margin-top:16px}
.v3-section-title{border:0;background:transparent;width:100%;padding:2px 0;display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:13px;color:var(--wg-forest);cursor:pointer;font-family:var(--sans)}
.v3-section-body.collapsed{display:none}
.v3-field{margin:14px 0}
.v3-field label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--wg-muted);margin-bottom:8px}
.v3-field input,.v3-field select,.v3-field textarea{
  width:100%;border:1px solid var(--wg-line);background:var(--wg-parchment);border-radius:10px;
  padding:11px 12px;font-family:var(--sans);font-size:13.5px;color:var(--wg-ink);
}
.v3-field input:focus,.v3-field select:focus,.v3-field textarea:focus{outline:2px solid var(--wg-brass-light);outline-offset:1px}
.v3-field input[type=range]{padding:0;accent-color:var(--wg-brass)}
.v3-field textarea{min-height:64px;resize:vertical}

.v3-segmented{display:flex;flex-wrap:wrap;gap:6px}
.v3-segment{
  border:1px solid var(--wg-line);background:var(--wg-paper);border-radius:999px;
  padding:8px 15px;font-size:12.5px;font-weight:500;cursor:pointer;color:var(--wg-ink);
  transition:background .15s,color .15s,border-color .15s;
}
.v3-segment:hover{border-color:var(--wg-brass-light)}
.v3-segment.active{background:var(--wg-forest);color:#fff;border-color:var(--wg-forest)}

.v3-material-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.v3-material{
  border:1px solid var(--wg-line);background:var(--wg-paper);border-radius:12px;padding:8px;
  font-size:12px;font-weight:500;cursor:pointer;text-align:left;transition:box-shadow .15s;
}
.v3-material.active{box-shadow:0 0 0 2px var(--wg-brass)}
.v3-material-sample{height:38px;border-radius:8px;margin-bottom:6px;overflow:hidden;background:linear-gradient(100deg,#3a3a3a,#6b6b6b 45%,#222)}
.v3-material-sample img{width:100%;height:100%;object-fit:cover;display:block}

/* Compact info badges (e.g. "sponsor board has no visual yet", "colour
   unverified") -- full explanation lives in the title tooltip on hover, so
   these don't dominate the sidebar the way a permanent paragraph did. */
.v3-field-note{
  display:inline-flex;gap:5px;align-items:center;margin-top:7px;padding:4px 9px;
  background:rgba(169,124,63,.08);border:1px solid rgba(169,124,63,.25);border-radius:999px;
  font-size:10.5px;line-height:1.3;color:#6b5330;cursor:help;max-width:100%;
}
.v3-field-note span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v3-field-note svg{flex:none;width:12px;height:12px}
.v3-field-note-warn{
  background:rgba(196,90,42,.09);border-color:rgba(196,90,42,.32);color:#8a3f1c;
}

.v3-object-card{border:1px solid var(--wg-line);border-radius:14px;padding:12px;margin:10px 0;background:var(--wg-parchment)}
.v3-object-card-head{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;font-weight:600;color:var(--wg-forest)}
.v3-toggle{position:relative;width:38px;height:21px;flex:none}
.v3-toggle input{display:none}
.v3-toggle span{position:absolute;inset:0;background:#d3d6cf;border-radius:999px;cursor:pointer;transition:.15s}
.v3-toggle span:after{content:"";position:absolute;width:15px;height:15px;left:3px;top:3px;background:white;border-radius:50%;transition:.18s}
.v3-toggle input:checked+span{background:var(--wg-forest)}
.v3-toggle input:checked+span:after{transform:translateX(17px)}

.v3-primary-action{
  width:100%;border:0;border-radius:999px;background:var(--wg-forest);color:#fff;padding:15px;
  font-weight:600;font-size:14px;cursor:pointer;margin-top:20px;font-family:var(--sans);
  transition:background .15s,transform .1s;
}
.v3-primary-action:hover{background:var(--wg-forest-2)}
.v3-primary-action:active{transform:scale(.99)}

.v3-save-design{width:100%;justify-content:center;margin-top:20px}
.v3-save-status{
  display:block;text-align:center;font-family:var(--sans);font-size:12px;color:var(--wg-muted);
  margin-top:8px;min-height:16px;
}
.v3-save-status.is-success{color:var(--wg-forest)}
.v3-save-status.is-error{color:#8a3f1c}
/* Inline variant for the proof sheet's footer, sitting next to its buttons
   rather than centred beneath a full-width sidebar one. */
.v3-save-status-inline{display:flex;align-items:center;text-align:left;margin:0}

/* ---------- silhouette bespoke banner + gallery ---------- */
/* Same compact-badge treatment as .v3-field-note -- was a full paragraph
   block, condensed to a one-line badge with the detail in the tooltip. */
.v3-bespoke-banner{
  display:inline-flex;gap:5px;align-items:center;margin:8px 0 6px;padding:4px 9px;
  border-radius:999px;background:rgba(169,124,63,.1);
  border:1px solid rgba(169,124,63,.3);font-size:10.5px;line-height:1.3;color:#5d472a;cursor:help;
}
.v3-bespoke-banner strong{font-weight:600}
.v3-reference-gallery{display:flex;gap:8px;margin:4px 0 10px;overflow-x:auto;padding-bottom:2px}
.v3-reference-gallery img{width:40px;height:40px;object-fit:cover;border-radius:8px;border:1px solid var(--wg-line);flex:none}
.v3-reference-gallery figure{margin:0;text-align:center}
.v3-reference-gallery figcaption{font-size:8px;color:var(--wg-muted);margin-top:2px;width:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Bespoke (Silhouette) mode: no live editor -- a short explainer + enquiry
   link in the sidebar, and a gallery of real cut examples where the canvas
   would normally be. Hidden by default; applyBespokeMode() toggles display. */
.v3-bespoke-sidebar{
  display:none;flex-direction:column;gap:14px;margin-top:20px;padding:18px;
  background:var(--wg-parchment);border:1px solid var(--wg-line);border-radius:14px;
}
.v3-bespoke-sidebar p{margin:0;font-size:13px;line-height:1.55;color:var(--wg-muted)}
.v3-primary-action-link{display:block;text-align:center;text-decoration:none;box-sizing:border-box;margin-top:0}

.v3-bespoke-gallery{display:none;padding:0 40px 40px}
.v3-bespoke-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-top:14px}
.v3-bespoke-card{
  border:1px solid var(--wg-line);border-radius:14px;overflow:hidden;background:var(--wg-paper);
  box-shadow:var(--wg-shadow);cursor:pointer;transition:box-shadow .15s,border-color .15s;
}
.v3-bespoke-card:hover{border-color:var(--wg-brass-light)}
.v3-bespoke-card.selected{border-color:var(--wg-brass);box-shadow:0 0 0 2px var(--wg-brass)}
.v3-bespoke-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.v3-bespoke-card span{display:block;padding:10px 12px;font-size:13px;font-weight:600;color:var(--wg-forest)}

/* ---------- workshop / canvas ---------- */
.v3-workshop{padding:0;min-height:calc(100vh - 64px);display:flex;flex-direction:column}
.v3-canvas-head{display:flex;align-items:flex-end;justify-content:space-between;padding:32px 40px 18px}
.v3-canvas-head h2{font-family:var(--serif);color:var(--wg-forest);font-size:38px;font-weight:500;line-height:1.02;margin:4px 0 0;letter-spacing:-.01em}
.v3-live-status{
  display:flex;align-items:center;gap:7px;border:1px solid var(--wg-line);border-radius:999px;
  padding:8px 14px;font-size:11px;font-weight:600;color:var(--wg-forest);background:var(--wg-paper);
}
.v3-live-status::before{content:"";width:6px;height:6px;border-radius:50%;background:#4c9a6a;box-shadow:0 0 0 3px rgba(76,154,106,.2)}

.v3-canvas-stage{
  flex:1;display:grid;place-items:center;padding:8px 30px 22px;min-height:0;
  background:radial-gradient(ellipse at center,#faf8f2 0%,var(--wg-canvas) 74%);
}
/* Bigger hero: single-photo products let the sign fill the stage height (and
   so the wide centre column) instead of the old fixed 1180px width cap that
   left large dead margins. Calibration is unaffected -- the decoration area is
   sized in % of the frame, so a larger frame scales the artwork with it. The
   two-photo (.v3-has-context) and proof-modal frames keep their own width
   rules, so this only affects the normal single-photo view. */
.v3-canvas-stage:not(.v3-has-context) .v3-photo-frame{
  width:auto;height:100%;max-width:100%;max-height:100%;
}
/* Two-photo layout: lifestyle context shot next to the flat
   decoration-editing photo, side by side. Only active when the current
   variant has v.contextImage -- see chooseVariant(). Everything else keeps
   the single-photo grid above. */
.v3-context-frame{display:none}
/* Reworked two-photo layout: the EDITABLE photo is the big main canvas (same
   sizing as single-photo products, so logo/text drag freely with room to see
   the design), and the "in context" lifestyle shot is a small reference
   thumbnail pinned to the top-left corner (picture-in-picture). The proof
   clones the editable photo, so the proof shows exactly the decorated design. */
.v3-canvas-stage.v3-has-context{
  display:grid;place-items:center;position:relative;
  padding:8px 30px 22px;min-height:0;
}
.v3-canvas-stage.v3-has-context .v3-photo-frame{
  width:auto;height:100%;max-width:100%;max-height:100%;
}
.v3-canvas-stage.v3-has-context .v3-context-frame{
  display:block;position:absolute;left:28px;top:14px;z-index:7;
  width:clamp(116px,14vw,184px);aspect-ratio:4/3;overflow:hidden;
  border-radius:12px;background:var(--wg-forest);box-shadow:var(--wg-shadow-soft);
  border:2px solid var(--wg-paper);
}
.v3-context-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.v3-context-label{
  position:absolute;left:7px;top:7px;z-index:3;background:rgba(16,41,31,.82);color:#fff;
  font-family:var(--sans);font-size:8px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;
  padding:3px 7px;border-radius:999px;
}
.v3-decoration-label{
  display:none;position:absolute;left:16px;top:16px;z-index:3;background:rgba(196,154,75,.92);color:#191006;
  font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  padding:6px 12px;border-radius:999px;
}
.v3-canvas-stage.v3-has-context .v3-decoration-label{display:block;left:auto;right:16px}
.v3-photo-frame{
  position:relative;width:min(100%,1180px);aspect-ratio:4/3;overflow:hidden;border-radius:18px;
  background:var(--wg-forest);box-shadow:var(--wg-shadow);user-select:none;
  /* Text sizing below uses cqw (container query width) instead of raw px
     computed in JS -- font-size then always tracks THIS frame's actual
     rendered width, whatever context it's in (zoomed live canvas, the
     unzoomed proof modal, print). Fixes proof output not matching live:
     a fixed px value baked in live rendered at a completely different
     proportion once cloned into a frame of a different pixel size. */
  container-type:inline-size;
}
.v3-photo-frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.v3-decoration-area{position:absolute;left:25%;top:25%;width:50%;height:36%;z-index:5}
.v3-art-object{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);cursor:grab;touch-action:none;z-index:6}
.v3-art-object:active{cursor:grabbing}
.v3-art-object.selected .v3-object-content,
.v3-art-object:focus-visible .v3-object-content{
  outline:2px solid var(--wg-brass-light);
  outline-offset:5px;
  border-radius:4px;
  animation:v3-selected-glow 1.7s ease-in-out infinite;
}
.v3-art-object:focus-visible{outline:none}
@keyframes v3-selected-glow{
  0%,100%{box-shadow:0 0 0 5px rgba(169,124,63,.16), 0 0 14px 3px rgba(217,184,118,.45);}
  50%{box-shadow:0 0 0 5px rgba(169,124,63,.26), 0 0 26px 8px rgba(217,184,118,.75);}
}
.v3-art-object .v3-object-content{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;line-height:.9;color:var(--wg-ink);font-weight:600}
/* container-type lets the placeholder "WG" size itself in cqw against this
   box's own width (see applyObject) so it scales identically in the proof. */
.v3-logo-object{top:22%;width:18%;aspect-ratio:1;container-type:inline-size}
.v3-logo-object .v3-object-content{width:100%;height:100%;font-size:clamp(16px,3vw,38px)}
.v3-logo-object img{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;user-select:none;pointer-events:none}
.v3-text-object{top:56%;width:100%}
.v3-text-object .v3-object-content{display:block;text-align:center;white-space:pre-wrap;word-break:break-word;line-height:1.2;font-family:var(--serif);font-size:calc(var(--obj-size,1) * 2.712cqw)}
.v3-secondary-object{top:78%}
.v3-secondary-object .v3-object-content{display:block;text-align:center;white-space:pre-wrap;word-break:break-word;line-height:1.2;font-family:var(--sans);font-size:calc(var(--obj-size,1) * 1.102cqw);letter-spacing:.11em}
.v3-guide{position:absolute;z-index:20;pointer-events:none;background:var(--wg-brass);display:none}
.v3-guide-x{top:0;bottom:0;left:50%;width:1px}
.v3-guide-y{left:0;right:0;top:50%;height:1px}

/* ---------- live decoration-method treatments ---------- */
/* Applied to the customer's actual text/logo, not a swapped photo. */
.v3-deco-engraved .v3-text-object .v3-object-content{
  color:#2a1a0f;
  text-shadow:0 1px 0 rgba(255,255,255,.28), 0 -1px 1px rgba(0,0,0,.55);
  mix-blend-mode:multiply;
  opacity:.92;
}
.v3-deco-engraved .v3-logo-object img{ mix-blend-mode:multiply; opacity:.9; }

/* White infill — laser groove filled white; high contrast on dark Iroko/Sapele */
.v3-deco-engraved-white .v3-text-object .v3-object-content{
  color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.55),0 0 1px rgba(0,0,0,.35);
  opacity:.96;
}
.v3-deco-engraved-white .v3-logo-object img{
  filter:brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.45));
  opacity:.96;
}

/* Black infill — laser groove filled black; works on lighter sapele / lighter finishes */
.v3-deco-engraved-black .v3-text-object .v3-object-content{
  color:#0a0a0a;
  text-shadow:0 1px 0 rgba(255,255,255,.18);
  mix-blend-mode:multiply;
  opacity:.9;
}
.v3-deco-engraved-black .v3-logo-object img{
  filter:brightness(0) drop-shadow(0 1px 0 rgba(255,255,255,.12));
  mix-blend-mode:multiply;
  opacity:.9;
}

.v3-deco-colour-fill .v3-text-object .v3-object-content{
  color:var(--decor-colour,#1c5f3c);
  text-shadow:0 1px 1px rgba(0,0,0,.22);
}
.v3-deco-colour-fill .v3-logo-object img{ filter:drop-shadow(0 1px 1px rgba(0,0,0,.2)); }

/* Direct Print = full-colour print: the uploaded image keeps its TRUE colours
   (no multiply tint), and text shows in the chosen colour with a hint of depth. */
.v3-deco-direct-print .v3-text-object .v3-object-content{
  color:var(--decor-colour,#1c5f3c);
  text-shadow:0 1px 1px rgba(0,0,0,.22);
}
.v3-deco-direct-print .v3-logo-object img{ filter:drop-shadow(0 1px 1px rgba(0,0,0,.18)); }

.v3-deco-vinyl-decal .v3-text-object .v3-object-content{
  color:var(--decor-colour,#1c5f3c);
  text-shadow:0 2px 3px rgba(0,0,0,.28);
}
.v3-deco-vinyl-decal .v3-logo-object img{ filter:drop-shadow(0 2px 3px rgba(0,0,0,.28)); }

/* ---------- sign face (surface) panel ---------- */
/* Two real sizes: "Rectangle" sits inset within the posts (derived from the
   same designArea used for logo/text); "Full size" fills the whole sign face
   including the arched/peaked top -- a much bigger, separately-calibrated
   box (fullPanelArea in the DNA), since the arch peak and true board edges
   sit well outside the logo/text designArea. Position, size and clip-path
   are all set directly by applyPanelSizeAndPosition() in JS rather than CSS
   percentages, because "Full size" is NOT just a bigger inset within the
   same box -- it's a different box entirely, positioned independently
   against #v3PhotoFrame (see studio-v3.php, this element is a sibling of
   #v3DecorationArea, not nested inside it). */
.v3-surface-panel{
  position:absolute; z-index:2; display:none;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.18);
}
/* Multi-board products (Course Entrance Sign): one .v3-surface-panel per
   board, positioned against this full-frame wrapper instead of the single
   #v3SurfacePanel above. See applyMultiSurfacePanels() in the JS. */
.v3-surface-panels{ position:absolute; inset:0; z-index:2; }
.v3-surface-panels .v3-surface-panel{ display:block; }
/* Lower info panels (Course Entrance Sign) -- plain centred text, not a
   draggable object like the main board's logo/heading, since these are
   small strips (opening hours, a welcome line) rather than a full artwork
   layout of their own. */
.v3-panel-text{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  padding:4% 8%; text-align:center; font-family:var(--sans); font-weight:600;
  letter-spacing:.11em; text-transform:uppercase; font-size:calc(1.1cqw + 6px);
  color:var(--decor-colour,#1c5f3c); line-height:1.3; overflow:hidden;
}
.v3-surface-primadura-dark .v3-text-object .v3-object-content,
.v3-surface-primadura-dark .v3-logo-object{ filter:brightness(1.6); }

/* ---------- metal plaque decoration methods ---------- */
.v3-plaque-backdrop{
  position:absolute; inset:22% 16%; z-index:2; border-radius:10px; display:none;
  box-shadow:0 6px 18px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.15);
  background-repeat:no-repeat;
  background-size:10px 10px;
  background-position:10px 10px, calc(100% - 10px) 10px, 10px calc(100% - 10px), calc(100% - 10px) calc(100% - 10px);
}
.v3-plaque-draft-tag{
  position:absolute; top:-26px; left:0; font-size:10px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:#8a3f1c; background:rgba(196,90,42,.12);
  border:1px solid rgba(196,90,42,.32); border-radius:999px; padding:3px 10px; white-space:nowrap;
}
.v3-deco-etched-zinc .v3-plaque-backdrop{
  display:block; background-color:#c7ccd0;
  background-image:linear-gradient(135deg,#dde1e3,#b7bdc1 55%,#9aa1a6), var(--v3-rivets);
}
.v3-deco-cast-bronze .v3-plaque-backdrop{
  display:block; background-color:#7a5230;
  background-image:linear-gradient(135deg,#93673d,#5c3c22 55%,#7a5230), var(--v3-rivets);
}
.v3-deco-laser-cut-metal .v3-plaque-backdrop{
  display:block; background-color:#2b2f33;
  background-image:linear-gradient(135deg,#4a5058,#1c1f22 55%,#2b2f33), var(--v3-rivets);
  box-shadow:0 6px 18px rgba(0,0,0,.4), inset 0 0 0 2px rgba(210,214,218,.35), inset 0 0 0 6px rgba(0,0,0,.3);
}
.v3-deco-engraved-laminate .v3-plaque-backdrop{
  display:block; background-color:#181818;
  background-image:linear-gradient(135deg,#232323,#101010 55%,#181818), var(--v3-rivets);
}
.v3-deco-etched-zinc .v3-text-object .v3-object-content{ color:#2c3236; text-shadow:0 1px 0 rgba(255,255,255,.4); }
.v3-deco-cast-bronze .v3-text-object .v3-object-content{ color:#e8cfa0; text-shadow:0 1px 1px rgba(0,0,0,.4); }
.v3-deco-laser-cut-metal .v3-text-object .v3-object-content{ color:#d7dadc; text-shadow:0 1px 1px rgba(0,0,0,.5); }
.v3-deco-engraved-laminate .v3-text-object .v3-object-content{ color:#ececeb; text-shadow:0 1px 1px rgba(0,0,0,.5); }
.v3-deco-etched-zinc .v3-logo-object img,
.v3-deco-cast-bronze .v3-logo-object img,
.v3-deco-laser-cut-metal .v3-logo-object img,
.v3-deco-engraved-laminate .v3-logo-object img{ filter:drop-shadow(0 1px 1px rgba(0,0,0,.35)); }

.v3-watermark-logo{ opacity:.16; z-index:1; }

.v3-colour-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.v3-colour-swatch{width:26px;height:26px;border-radius:50%;border:2px solid var(--wg-paper);box-shadow:0 0 0 1px var(--wg-line);cursor:pointer;padding:0}
.v3-colour-swatch.active{box-shadow:0 0 0 2px var(--wg-brass)}
.v3-colour-custom{width:30px;height:30px;border:none;border-radius:50%;padding:0;cursor:pointer;background:none}
.v3-colour-custom::-webkit-color-swatch-wrapper{padding:0;border-radius:50%}
.v3-colour-custom::-webkit-color-swatch{border:2px solid var(--wg-paper);border-radius:50%}

.v3-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:0 40px 32px;background:var(--wg-line);border-radius:16px;overflow:hidden;border:1px solid var(--wg-line)}
.v3-summary-item{padding:16px 18px;background:var(--wg-paper)}
.v3-summary-item b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--wg-brass);font-weight:700;margin-bottom:4px}
.v3-summary-item span{font-weight:600;color:var(--wg-forest);font-family:var(--serif);font-size:16px}

.v3-pill{border:0;border-radius:999px;padding:11px 18px;font-weight:600;cursor:pointer;font-family:var(--sans);font-size:13px}
.v3-pill-light{background:var(--wg-paper);color:var(--wg-forest);border:1px solid var(--wg-line)}
.v3-pill-dark{background:var(--wg-forest);color:#fff}

/* ---------- proof modal ---------- */
.v3-modal{position:fixed;inset:0;background:rgba(9,20,15,.72);backdrop-filter:blur(6px);z-index:400;display:none;padding:22px 28px 18px;overflow:auto}  /* WG-WB-1080-001: was 28px all round; 5 px too tall at 1080p */
.v3-proof-notes-more{display:none}
.v3-modal.show{display:grid;place-items:start center}
.v3-proof-sheet{width:min(1080px,96vw);background:var(--wg-paper);border-radius:24px;overflow:hidden;box-shadow:0 50px 140px rgba(0,0,0,.4)}
.v3-proof-header{background:var(--wg-forest);color:#fff;padding:26px 30px;display:flex;justify-content:space-between;align-items:flex-start}
.v3-proof-brand{display:flex;align-items:center;gap:14px}
.v3-proof-brand img{width:52px;height:auto;flex:none}
.v3-proof-header h2{font-family:var(--serif);font-weight:500;font-size:30px;margin:4px 0 0;line-height:1.05}
.v3-proof-header-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.v3-proof-header p{font-family:var(--sans);color:var(--wg-brass-light);font-size:12px;letter-spacing:.04em;margin:0}
.v3-proof-footer-brand{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;
  padding:12px 30px;background:var(--wg-parchment);border-top:1px solid var(--wg-line);
  font-size:11px;color:var(--wg-muted);
}
.v3-proof-footer-brand strong{color:var(--wg-forest)}
.v3-proof-swatch-row{display:flex;align-items:center;gap:10px;margin-top:6px}
.v3-proof-swatch-row img{width:40px;height:40px;border-radius:8px;object-fit:cover;border:1px solid var(--wg-line)}
.v3-proof-body{display:grid;grid-template-columns:1.2fr .8fr;gap:0;padding:0}
.v3-proof-visual{background:var(--wg-canvas);padding:24px}
.v3-proof-visual .v3-photo-frame{width:100%;box-shadow:var(--wg-shadow-soft)}
.v3-proof-data{padding:24px;background:var(--wg-paper);max-height:70vh;overflow:auto}
.v3-proof-section{margin-bottom:20px}
.v3-proof-section h3{font-family:var(--serif);font-weight:500;font-size:16px;color:var(--wg-forest);margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid var(--wg-line)}
.v3-proof-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--wg-line-2);padding:11px 0;font-size:13px}
.v3-proof-row b{color:var(--wg-muted);font-weight:500;text-transform:uppercase;font-size:10.5px;letter-spacing:.06em}
.v3-proof-notes{white-space:pre-line;font-size:13px;color:var(--wg-ink);line-height:1.6;margin:0;background:var(--wg-parchment);border-radius:10px;padding:12px 14px}
.v3-proof-badge{
  display:flex;gap:8px;align-items:flex-start;margin:0 0 20px;padding:11px 13px;
  background:rgba(169,124,63,.1);border:1px solid rgba(169,124,63,.3);border-radius:10px;
  font-size:11.5px;line-height:1.5;color:#6b5330;
}
.v3-proof-actions{display:flex;gap:10px;padding:20px 30px 26px;border-top:1px solid var(--wg-line-2)}

@media(max-width:1100px){
  .v3-layout{grid-template-columns:1fr}
  .v3-controls{position:static;max-height:none;border-bottom:1px solid var(--wg-line)}
  .v3-controls-left,.v3-controls-right{border-right:0;border-left:0}
  .v3-canvas-head{padding:24px 20px 12px}
  .v3-canvas-stage{padding:0 20px 24px}
  /* Stacked layout has no fixed stage height, so height:100% would collapse
     the frame -- fall back to the width-based sizing on narrow screens. */
  .v3-canvas-stage .v3-photo-frame{height:auto;width:min(100%,720px)}
  .v3-summary{margin:0 20px 24px;grid-template-columns:1fr 1fr}
  /* Stacked rails scroll with the page, so don't pin the actions here. */
  .v3-rail-actions{position:static;border-top:0;margin-top:8px}
}
@media(max-width:760px){
  .v3-proof-body{grid-template-columns:1fr}
  .v3-top-actions select{display:none}
}
/* ── Prize product: canvas placeholder & upload hint ─────────────────── */
.v3-canvas-prize-placeholder{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:12px;color:#fff;text-align:center;padding:24px;
  pointer-events:none;z-index:2;
}
.v3-canvas-prize-placeholder p{margin:0;font-size:14px;opacity:.6;max-width:200px;line-height:1.4}
.v3-upload-hint{display:block;margin-top:4px;font-size:12px;color:var(--wg-muted,#888);line-height:1.3}
.v3-prize-placeholder{
  display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px;
  text-align:center;color:var(--wg-muted,#888);
}
.v3-prize-placeholder p{margin:0;font-size:13px}
.v3-prize-hint{font-size:11px;opacity:.7}
/* ── Prize canvas: portrait frame + show full image without cropping ─── */
.v3-canvas-stage.v3-prize-mode #v3ProductImage{object-fit:contain}
.v3-canvas-stage.v3-prize-mode:not(.v3-prize-tier2) #v3ProductImage{top:0;bottom:auto;height:82%;object-position:center top}
.v3-canvas-stage.v3-prize-mode #v3PhotoFrame{background:#fff}
.v3-canvas-stage.v3-prize-mode .v3-photo-frame{aspect-ratio:210/297;border-radius:4px}
.v3-canvas-stage.v3-prize-mode:not(.v3-has-context) .v3-photo-frame{height:min(100%,600px);width:auto;max-width:100%}
/* ── Print style picker ───────────────────────────────────────────────── */
.v3-style-picker{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.v3-style-btn{flex:1;padding:8px 10px;border:1px solid var(--wg-line);border-radius:6px;
  background:transparent;font-family:var(--sans);font-size:12px;font-weight:600;
  color:var(--wg-muted,#888);cursor:pointer;white-space:nowrap;transition:border-color .15s,color .15s}
.v3-style-btn:hover{border-color:var(--wg-brass-light);color:var(--wg-brass)}
.v3-style-btn.active{border-color:var(--wg-brass);color:var(--wg-brass);background:rgba(170,140,80,.07)}
/* ── Generate Fine-Art button ─────────────────────────────────────────── */
.v3-generate-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;padding:11px 16px;border:none;border-radius:8px;
  background:var(--wg-green,#2d5016);color:#fff;font-size:13px;
  font-weight:600;letter-spacing:.03em;cursor:pointer;
  transition:opacity .15s;margin-bottom:2px;
}
.v3-generate-btn:hover{opacity:.85}
.v3-generate-btn:disabled{opacity:.45;cursor:wait}
.v3-generate-error{font-size:11.5px;color:#c0392b;line-height:1.4;padding:4px 2px}
/* ── Prize dual-panel: original photo + generated artwork side by side ─── */
.v3-canvas-stage.v3-prize-dual{grid-template-columns:1fr 1fr;column-gap:12px;align-items:start}
.v3-canvas-stage.v3-prize-dual .v3-prize-original-panel{width:100%}
.v3-canvas-stage.v3-prize-dual .v3-photo-frame{height:auto!important;width:100%!important;aspect-ratio:210/297!important}
.v3-prize-original-panel{position:relative;aspect-ratio:210/297;overflow:hidden;border-radius:4px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.12)}
.v3-prize-original-panel img{width:100%;height:100%;object-fit:contain;display:block}
.v3-panel-label{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#fff;background:rgba(0,0,0,.45);padding:3px 10px;border-radius:999px;white-space:nowrap;pointer-events:none}
.v3-canvas-stage.v3-prize-dual #v3PhotoFrame::after{content:"Fine-art print";position:absolute;bottom:8px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#fff;background:rgba(0,0,0,.45);padding:3px 10px;border-radius:999px;white-space:nowrap;z-index:5}
/* ── Tier 2: board composite — artwork positioned over board image ────── */
.v3-canvas-stage.v3-prize-dual.v3-prize-tier2 #v3PhotoFrame{background-image:url('../images/prize-board-blank.webp')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:#f4f1eb!important;overflow:hidden}
.v3-canvas-stage.v3-prize-dual.v3-prize-tier2 #v3ProductImage{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:62%;height:auto;object-fit:contain}
.v3-canvas-stage.v3-prize-dual.v3-prize-tier2 #v3PhotoFrame::after{content:"Artwork on board"}
/* ── Tier 3: triple panel — tube | hole photo | fine-art print ──────── */
.v3-canvas-stage.v3-prize-triple{grid-template-columns:1fr 1fr 1fr;column-gap:10px;align-items:start}
.v3-canvas-stage.v3-prize-triple .v3-product-context-panel{width:100%}
.v3-canvas-stage.v3-prize-triple .v3-prize-original-panel{width:100%}
.v3-canvas-stage.v3-prize-triple .v3-photo-frame{height:auto!important;width:100%!important;aspect-ratio:210/297!important}
.v3-canvas-stage.v3-prize-triple #v3PhotoFrame::after{content:"Fine-art print";position:absolute;bottom:8px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#fff;background:rgba(0,0,0,.45);padding:3px 10px;border-radius:999px;white-space:nowrap;z-index:5}
/* ── WG-WB-1080-001 (29/11/2026): fit a 1920×1080 screen ───────────────
   The side-by-side prize panels were sized by column width (≈595×841 px) and pushed the
   page to ≈1150 px. Size them by the window height instead, keeping the A3 shape.
   --wb-chrome = top bar 64 + canvas header 113 + stage padding 30 + summary 71+32. */
:root{--wb-chrome:310px}
.v3-canvas-stage.v3-prize-dual,.v3-canvas-stage.v3-prize-triple{align-items:center}
.v3-canvas-stage.v3-prize-dual .v3-photo-frame,
.v3-canvas-stage.v3-prize-dual .v3-prize-original-panel,
.v3-canvas-stage.v3-prize-triple .v3-photo-frame,
.v3-canvas-stage.v3-prize-triple .v3-prize-original-panel{
  width:min(100%, calc((100dvh - var(--wb-chrome)) * 210 / 297))!important;height:auto!important;justify-self:center}
/* proof window: tall products (leaderboard marker, prizes) fit the screen too */
.v3-proof-visual .v3-photo-frame{width:min(100%, calc((100dvh - 420px) * var(--ar, 1.3333)));margin:0 auto}
@media print{.v3-proof-visual .v3-photo-frame{width:100%!important}}
/* ── Product context panel (tube image for Tier 3) ──────────────────── */
.v3-product-context-panel{position:relative;aspect-ratio:1;overflow:hidden;border-radius:4px;background:#f8f4ed;box-shadow:0 2px 12px rgba(0,0,0,.12)}
.v3-product-context-panel img{width:100%;height:100%;object-fit:contain;display:block}
/* ── Prize logo overlay — club crest on the print, white bg flood-filled ── */
.v3-prize-logo-overlay{position:absolute;top:5%;left:5%;width:18%;z-index:11;pointer-events:none}
.v3-prize-logo-overlay img{width:100%;height:auto;object-fit:contain;display:block}
/* ── Prize text overlay — hole name + achievement at bottom of canvas ─── */
.v3-prize-text-overlay{position:absolute;bottom:0;left:0;right:0;padding:10px 10px 10px;background:linear-gradient(transparent,rgba(0,0,0,.55) 50%);z-index:12;pointer-events:none;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px}
.v3-prize-hole-name{font-family:var(--serif,Georgia,serif);font-size:12px;font-weight:700;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5);letter-spacing:.04em;line-height:1.4}
.v3-prize-achievement{font-family:var(--serif,Georgia,serif);font-size:10px;color:rgba(255,255,255,.85);text-shadow:0 1px 2px rgba(0,0,0,.4);letter-spacing:.08em;line-height:1.4;text-transform:uppercase}
/* ── Generating overlay on canvas ──────────────────────────────────────── */
.v3-generating-overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:14px;background:rgba(0,0,0,.62);z-index:20;
  color:#fff;border-radius:inherit;pointer-events:none;
}
.v3-generating-overlay p{margin:0;font-size:13px;opacity:.9;letter-spacing:.02em}
.v3-generating-spinner{
  width:36px;height:36px;border:3px solid rgba(255,255,255,.25);
  border-top-color:#fff;border-radius:50%;animation:v3-spin .75s linear infinite;
}
@keyframes v3-spin{to{transform:rotate(360deg)}}

@media print{
  /* os-v22.css (loaded before this file for the legacy top nav's styles --
     see _header.php) carries its own @media print rule written for a
     retired modal: `body>*:not(.modal-backdrop){display:none!important}`.
     .v3-app is a direct child of body and does NOT have that old class, so
     that legacy !important rule was silently killing the entire app --
     proof modal included -- on every print, no matter what this stylesheet
     said. `body>.v3-app` matches its specificity (element+class) exactly;
     loading after it settles the tie and actually shows the app again. */
  body>.v3-app{display:block!important}
  /* #v3ProofModal lives inside .v3-app, not as a sibling of it, so hiding
     "everything but the modal" at the body level can't be a :not() selector
     on body's direct children -- .v3-app itself would match and get hidden,
     taking the nested modal down with it. Hide the app's other top-level
     children (site nav, topbar, layout) explicitly instead. */
  body>nav{display:none!important}
  .v3-app{zoom:1}
  .v3-topbar,.v3-layout{display:none!important}
  @page{size:A4 portrait;margin:10mm}
  #v3ProofModal{position:static;display:block;background:#fff;padding:0}
  .v3-proof-sheet{box-shadow:none;width:190mm;max-width:100%;border-radius:0;zoom:.88;break-inside:avoid}
  .v3-proof-data{max-height:none!important;overflow:visible!important}
  .v3-proof-actions,#v3CloseProof{display:none!important}
  .v3-proof-visual,.v3-proof-visual *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* Narrow the visual column in print so tall portrait products (e.g. leaderboard marker
     with a 919×1711 canvas) don't push the proof onto a second page. The photo frame
     is width:100% of the column so it scales proportionally; height:auto overrides any
     JS-set pixel height. */
  .v3-proof-body{grid-template-columns:65mm 1fr;align-items:start}
  .v3-proof-visual{padding:16px}
  .v3-proof-visual .v3-photo-frame{height:auto!important}
  /* WG-WB-1080-001: long customer notes must not push the proof onto a second A4 page.
     Smaller print type, capped height; past ~900 characters a line says the full notes
     are kept with the saved design. White page, not the beige app background. */
  html,body{background:#fff!important}
  .v3-app{background:#fff!important;min-height:0!important}
  .v3-proof-notes{font-size:8.5px;line-height:1.3;padding:6px 8px 0;max-height:calc(1.3em * 17 + 6px);overflow:hidden}   /* whole lines only (+ padding: border-box) */
  .v3-proof-notes-more{display:block!important;font-size:8px;color:#6b6b6b;margin-top:3px;font-style:italic}
  /* Compact spec/artwork rows so everything fits alongside the visual on one A4 page. */
  .v3-proof-data{padding:16px 20px}
  .v3-proof-section{margin-bottom:12px}
  .v3-proof-section h3{font-size:13px;margin:0 0 4px;padding-bottom:4px}
  .v3-proof-row{padding:6px 0;font-size:11.5px}
  .v3-proof-row b{font-size:9.5px}
}

/* ═══════════════════════════════════════════════════════════════
   STICK RENDERER — alignment-sticks product (renderType:"stick")
   ═══════════════════════════════════════════════════════════════ */
.v3-stick-stage{display:flex;flex-direction:column;align-items:stretch;gap:1.25rem;padding:2.5rem 1.5rem 1.5rem;width:100%;box-sizing:border-box}
.v3-stick-full-view{width:100%}
.v3-stick-track{position:relative;padding:12px 0}
.v3-stick-rod{width:100%;height:28px;border-radius:14px;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.35),inset 0 2px 0 rgba(255,255,255,.18),inset 0 -2px 0 rgba(0,0,0,.14)}
.v3-stick-rod[data-timber="Iroko"]{background:linear-gradient(to bottom,#d4914a 0%,#b87838 20%,#9e6120 55%,#b17330 80%,#c88840 100%)}
.v3-stick-rod[data-timber="Sapele"]{background:linear-gradient(to bottom,#9c4a1e 0%,#7a3010 25%,#5e1f08 55%,#7a3010 80%,#8c3e18 100%)}
.v3-stick-band{position:absolute;top:0;height:100%;overflow:hidden;transition:width .25s ease,background-color .2s ease}
.v3-stick-band.zone1{left:12.5%}
.v3-stick-band.zone2{right:12.5%}
.v3-stick-stripe{position:absolute;top:0;bottom:0;cursor:ew-resize;user-select:none;transition:left .15s ease,background-color .2s ease}
.v3-stripe-counts{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.3rem}
.v3-stripe-count-row{display:flex;align-items:center;gap:.5rem}
.v3-stripe-size-label{font-size:.8rem;font-weight:600;min-width:34px;color:var(--wg-ink,#1e1810)}
.v3-stick-accent{position:absolute;top:0;bottom:0;pointer-events:none;transition:width .2s ease,background-color .2s ease;left:50%;transform:translateX(-50%)}
.v3-hint-inline{font-size:.7rem;color:var(--wg-muted,#9a8f7e)}
.v3-stick-logo-pin{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.88);overflow:hidden;display:flex;align-items:center;justify-content:center;pointer-events:none;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.v3-stick-logo-pin img{width:100%;height:100%;object-fit:contain}
.v3-zone-marker{position:absolute;top:0;bottom:0;width:1px;background:rgba(0,0,0,.18);pointer-events:none;transform:translateX(-50%)}
.v3-stick-labels{display:flex;margin-top:.4rem;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--wg-muted,#9a8f7e)}
.v3-stick-labels span:first-child,.v3-stick-labels span:last-child{flex:0 0 12.5%;text-align:left}
.v3-stick-labels span:last-child{text-align:right}
.v3-stick-labels span:nth-child(2),.v3-stick-labels span:nth-child(4){flex:0 0 25%;text-align:center}
.v3-stick-labels span:nth-child(3){flex:1;text-align:center}
.v3-zoom-trigger{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}
.v3-zoom-btn{font-size:.75rem;padding:.3rem .9rem;border:1px solid var(--wg-rule,#cfc8bb);border-radius:20px;background:transparent;color:var(--wg-ink,#1e1810);cursor:pointer;transition:background .15s;font-family:inherit}
.v3-zoom-btn:hover,.v3-zoom-btn.active{background:var(--wg-tint,#f2ede4);border-color:var(--wg-muted,#9a8f7e)}
.v3-stick-zoom-panel{border:1px solid var(--wg-rule,#cfc8bb);border-radius:.5rem;padding:1rem 1.25rem;background:var(--wg-tint,#f2ede4)}
.v3-stick-zoom-label{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--wg-muted,#9a8f7e);margin-bottom:.75rem}
.v3-stick-zoom-rod{width:100%;height:56px;border-radius:28px;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.3),inset 0 2px 0 rgba(255,255,255,.16),inset 0 -2px 0 rgba(0,0,0,.12);margin-bottom:.75rem}
.v3-stick-zoom-logo{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.85);overflow:hidden;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.v3-stick-zoom-logo img{width:100%;height:100%;object-fit:contain}
.v3-zoom-close-btn{font-size:.73rem;padding:.2rem .6rem;border:1px solid var(--wg-rule,#cfc8bb);border-radius:10px;background:transparent;cursor:pointer;color:var(--wg-muted,#9a8f7e);font-family:inherit}
/* right-rail zone control panels */
.v3-stick-zone-section{border:1px solid var(--wg-rule,#cfc8bb);border-radius:.4rem;padding:.9rem 1rem;margin-bottom:.75rem}
.v3-stick-zone-title{font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;color:var(--wg-muted,#9a8f7e);margin:0 0 .75rem;font-weight:600}
.v3-pantone-row{display:flex;gap:.5rem;align-items:center}
.v3-pantone-swatch{position:relative;flex-shrink:0;width:32px;height:32px;border-radius:4px;border:1px solid var(--wg-rule,#cfc8bb);overflow:hidden;cursor:pointer}
.v3-pantone-swatch input[type="color"]{position:absolute;inset:-4px;width:calc(100% + 8px);height:calc(100% + 8px);opacity:0;cursor:pointer;border:none;padding:0}
.v3-pantone-code{flex:1;font-size:.84rem;padding:.3rem .5rem;border:1px solid var(--wg-rule,#cfc8bb);border-radius:4px;background:transparent;color:var(--wg-ink,#1e1810);font-family:inherit}
.v3-pantone-code::placeholder{color:var(--wg-muted,#9a8f7e)}
.v3-hint{display:block;font-size:.7rem;color:var(--wg-muted,#9a8f7e);margin-top:.3rem;line-height:1.4}

/* ══ WG-WB-1080-001 (29/11/2026): Golf Day Prize A3 ARTBOARD ═══════════════════════════════
   Hennie: "ALL THE TIME will be A3 — logo and artwork in the same place, at a set size."
   One spec, attached to the prize frame itself (class wg-a3, set by applyPrizeArtboard() in JS),
   so the live canvas, the side-by-side view, the proof window (a copy of the frame) and every
   screen size use the same layout. All positions are % of the A3 sheet (297 × 420 mm):
     club crest box : top 7.5%, left 8.5%, 18% wide × 12.73% high  (≈ 53 × 53 mm), crest fitted inside
     artwork, Framed / Rolled print : top 0, full width, 82% high, fitted, centred at the top
     artwork, Vintage Board         : left 19%, top 12%, 62% wide × 76% high, fitted, centred
     board picture                  : stretched to the whole A3 sheet (never letterboxed)
     hole name / achievement        : bottom band (unchanged)                                   */
.v3-photo-frame.wg-a3{aspect-ratio:210/297!important;position:relative;overflow:hidden}
.v3-canvas-stage #v3PhotoFrame.wg-a3,.v3-proof-visual .v3-photo-frame.wg-a3{background:#fff}
.v3-photo-frame.wg-a3 .v3-prize-logo-overlay{position:absolute!important;top:7.5%!important;left:8.5%!important;width:18%!important;height:12.73%!important;z-index:11}
.v3-photo-frame.wg-a3 .v3-prize-logo-overlay img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:left top!important}
.v3-photo-frame.wg-a3:not(.wg-a3-board) #v3ProductImage{position:absolute!important;top:0!important;left:0!important;right:auto!important;bottom:auto!important;width:100%!important;height:82%!important;transform:none!important;object-fit:contain!important;object-position:center top!important}
.v3-canvas-stage #v3PhotoFrame.wg-a3.wg-a3-board,.v3-proof-visual .v3-photo-frame.wg-a3.wg-a3-board{background:#f4f1eb url('../images/prize-board-blank.webp') 0 0/100% 100% no-repeat!important}
.v3-photo-frame.wg-a3.wg-a3-board #v3ProductImage{position:absolute!important;top:12%!important;left:19%!important;right:auto!important;bottom:auto!important;width:62%!important;height:76%!important;transform:none!important;object-fit:contain!important;object-position:center!important}
.v3-photo-frame.wg-a3.wg-a3-board.wg-a3-empty #v3ProductImage{opacity:0!important}   /* no photo yet: the board itself is the picture */
/* WG-WB-1080-001: the "Fine-art print" / "Artwork on board" view label sat on top of the
   hole name / achievement band at the bottom — show it at the top of the panel instead. */
.v3-canvas-stage.v3-prize-dual #v3PhotoFrame::after,.v3-canvas-stage.v3-prize-triple #v3PhotoFrame::after{top:8px!important;bottom:auto!important}
