html:has(#tunal-custom-studio){scroll-padding-top:20px}
/* The editor has its own sticky preview; the site menu scrolls normally on this page. */
body:has(#tunal-custom-studio) .site-header{position:relative;top:auto}
#tunal-custom-studio{--cs-pink:#f087c1;--cs-cyan:#77e1ec;--cs-text:#f3f0eb;--cs-muted:#aeb9c1;--cs-line:#ffffff24;--cs-panel:#161c22;color:var(--cs-text);padding-bottom:48px}
#tunal-custom-studio [hidden]{display:none!important}
#tunal-custom-studio .cs-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding-top:38px;padding-bottom:28px}
#tunal-custom-studio .cs-heading h1{font-size:clamp(36px,4.3vw,68px);margin:10px 0;max-width:900px;line-height:1.03}
#tunal-custom-studio .cs-heading p:not(.eyebrow){color:var(--cs-muted);margin:12px 0 0;font-size:19px}
#tunal-custom-studio .cs-back{white-space:nowrap;border-bottom:1px solid var(--cs-pink);padding-bottom:7px;text-decoration:none}
#tunal-custom-studio .cs-preview-note{font-size:12px;line-height:1.6;color:var(--cs-cyan);padding-top:12px;padding-bottom:12px;background:#77e1ec09;border-top:1px solid #77e1ec22;margin-bottom:20px}
#tunal-custom-studio .cs-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.85fr);gap:28px;align-items:start}
#tunal-custom-studio .cs-stage{position:sticky;top:12px;min-width:0;border:1px solid var(--cs-line);border-top:3px solid var(--cs-cyan);border-radius:12px;background:var(--cs-panel);box-shadow:0 18px 50px #0004;overflow:hidden}
#tunal-custom-studio button,#tunal-custom-studio input,#tunal-custom-studio select,#tunal-custom-studio textarea{font:inherit;letter-spacing:normal;text-transform:none;max-width:100%;margin:0}
#tunal-custom-studio button,#tunal-custom-studio .cs-file-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#ffffff08;color:var(--cs-text);border:1px solid #ffffff30;border-radius:6px;padding:10px 14px;font-weight:600;font-size:14px;text-decoration:none;cursor:pointer;box-shadow:0 3px 0 #0004;transform:none;filter:none;transition:background .15s,border-color .15s}
#tunal-custom-studio button:hover,#tunal-custom-studio .cs-file-button:hover{border-color:var(--cs-cyan);background:#77e1ec15}
#tunal-custom-studio button[aria-pressed=true]{background:#f087c11f;border-color:var(--cs-pink);box-shadow:inset 0 1px #ffffff18,0 3px #0004}
#tunal-custom-studio button:disabled{opacity:.38;cursor:not-allowed}
#tunal-custom-studio button:focus-visible,#tunal-custom-studio a:focus-visible,#tunal-custom-studio input:focus-visible,#tunal-custom-studio select:focus-visible,#tunal-custom-studio textarea:focus-visible,#tunal-custom-studio summary:focus-visible,#tunal-custom-studio svg:focus-visible{outline:3px solid var(--cs-cyan);outline-offset:3px}
#tunal-custom-studio .cs-file-button:focus-within{outline:3px solid var(--cs-cyan);outline-offset:3px}
#tunal-custom-studio input,#tunal-custom-studio select,#tunal-custom-studio textarea{width:100%;border:1px solid #65717a;background:#0c1117;color:var(--cs-text);border-radius:5px;min-height:44px;padding:10px 12px;box-shadow:none}
#tunal-custom-studio select{appearance:auto;background-image:none}
#tunal-custom-studio input[type=color]{width:100%;height:46px;padding:4px;cursor:pointer}
#tunal-custom-studio input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:var(--cs-pink);padding:0}
#tunal-custom-studio input[type=range]{border:0;background:transparent;padding:0;accent-color:var(--cs-cyan);min-height:38px;cursor:pointer}
#tunal-custom-studio label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500;line-height:1.4;color:#e3e7e9;margin:0 0 15px;min-width:0}
#tunal-custom-studio .cs-inline{flex-direction:row;align-items:center;gap:9px;line-height:1.6;font-size:13px;margin:0}
#tunal-custom-studio .cs-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:14px}
#tunal-custom-studio .cs-products button{font-size:17px;min-height:55px}
#tunal-custom-studio .cs-product-number{color:var(--cs-muted);font-size:11px;font-weight:400}
#tunal-custom-studio .cs-canvas-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid var(--cs-line)}
#tunal-custom-studio .cs-canvas-head>span{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--cs-cyan)}
#tunal-custom-studio .cs-canvas-head>div{display:flex;gap:6px}
#tunal-custom-studio .cs-canvas-head button{padding:5px 13px;min-height:36px;font-size:12px}
#tunal-custom-studio .cs-canvas{height:clamp(320px,calc(100dvh - 280px),570px);position:relative;background:radial-gradient(ellipse at 55% 35%,#fff 0,#e8eaed 70%,#d7dce1 100%);overflow:hidden}
#tunal-custom-studio [data-cs-render]{width:100%;height:100%;touch-action:pan-y}
#tunal-custom-studio [data-cs-render] svg{width:100%;height:100%;max-height:none;display:block;overflow:visible}
#tunal-custom-studio [data-cs-object]{touch-action:none}
#tunal-custom-studio .cs-canvas-brand{position:absolute;left:18px;bottom:12px;margin:0;color:#7a828c;font-size:10px;font-weight:700;letter-spacing:3px;pointer-events:none}
#tunal-custom-studio .cs-canvas-brand span{font-size:8px;letter-spacing:2px;font-weight:400}
#tunal-custom-studio .cs-canvas-foot{display:flex;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--cs-line)}
#tunal-custom-studio .cs-canvas-foot>span{max-width:230px;font-size:11px;line-height:1.5;text-align:right;color:var(--cs-muted)}
#tunal-custom-studio .cs-toolbar{display:flex;flex-wrap:wrap;gap:7px;padding:12px 14px}
#tunal-custom-studio .cs-toolbar button{font-size:12px;padding:7px 10px;min-height:38px;flex:1 0 auto}
#tunal-custom-studio .cs-save-state{font-size:11px;color:var(--cs-muted);margin:0;line-height:1.5;padding:0 16px 14px;min-height:30px}
#tunal-custom-studio .cs-controls{border:1px solid var(--cs-line);border-top:3px solid var(--cs-pink);border-radius:12px;background:var(--cs-panel);min-width:0;overflow:hidden}
#tunal-custom-studio .cs-controls-top{padding:22px}
#tunal-custom-studio .cs-controls-top>label:first-child{margin-bottom:18px}
#tunal-custom-studio .cs-section{margin:0;border:0;border-top:1px solid var(--cs-line);border-radius:0;background:none;padding:0}
#tunal-custom-studio .cs-section summary{display:flex;align-items:center;gap:12px;list-style:none;padding:19px 22px;cursor:pointer;font-size:17px;font-weight:600;position:relative;color:var(--cs-text);background:none;min-height:60px}
#tunal-custom-studio .cs-section summary::-webkit-details-marker{display:none}
#tunal-custom-studio .cs-section summary>span{color:var(--cs-pink);font-size:11px}
#tunal-custom-studio .cs-section summary::after{content:'+';font-size:22px;font-weight:400;margin-left:auto;color:var(--cs-cyan)}
#tunal-custom-studio .cs-section[open] summary::after{content:'−'}
#tunal-custom-studio .cs-section-body{padding:0 22px 22px}
#tunal-custom-studio .cs-presets{display:flex;gap:7px;margin:0 0 22px;flex-wrap:wrap}
#tunal-custom-studio .cs-presets button{font-size:11px;padding:8px;flex:1;min-height:44px}
#tunal-custom-studio .cs-presets i{display:block;width:20px;height:20px;border-radius:50%;background:linear-gradient(120deg,var(--a) 50%,var(--b) 50%);border:1px solid #fff5;flex-shrink:0}
#tunal-custom-studio .cs-colour-editor{display:grid;grid-template-columns:1fr 1fr 28px;gap:12px;align-items:center}
#tunal-custom-studio [data-cs-colour-chip]{width:28px;height:28px;border:1px solid #fff7;border-radius:50%;margin-top:10px}
#tunal-custom-studio [data-cs-hex]{text-transform:uppercase;font-family:monospace}
#tunal-custom-studio .cs-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
#tunal-custom-studio .cs-swatches button{height:37px;min-height:37px;padding:0;border:2px solid #fff4;box-shadow:0 2px #0005}
#tunal-custom-studio .cs-swatches button:hover{border-color:white}
#tunal-custom-studio .cs-help{color:var(--cs-muted);font-size:12px;line-height:1.6;margin:12px 0 0}
#tunal-custom-studio .cs-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
#tunal-custom-studio .cs-row label{margin-bottom:14px}
#tunal-custom-studio .cs-patterns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 20px}
#tunal-custom-studio .cs-add{display:flex;gap:9px;flex-wrap:wrap}
#tunal-custom-studio .cs-add button,#tunal-custom-studio .cs-add .cs-file-button{flex:1;font-size:12px;padding:10px;margin:0}
#tunal-custom-studio .cs-file-button{position:relative;overflow:hidden}
#tunal-custom-studio .cs-file-button input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}
#tunal-custom-studio .cs-objects{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}
#tunal-custom-studio .cs-objects button{font-size:11px;max-width:100%;overflow-wrap:anywhere;justify-content:flex-start;text-align:left}
#tunal-custom-studio .cs-delete{color:#ffb3c3;border-color:#ffb3c350}
#tunal-custom-studio .cs-measurements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin-top:18px}
#tunal-custom-studio .cs-project{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding-top:52px;padding-bottom:30px}
#tunal-custom-studio .cs-project h2{font-size:clamp(30px,3vw,44px);margin:10px 0}
#tunal-custom-studio .cs-project p:not(.eyebrow){max-width:550px;line-height:1.6;color:var(--cs-muted);font-size:16px}
#tunal-custom-studio .cs-project-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#tunal-custom-studio .cs-project-actions button,#tunal-custom-studio .cs-project-actions .cs-file-button{min-height:52px;margin:0;font-size:13px;text-align:center}
#tunal-custom-studio .cs-primary{background:linear-gradient(120deg,#77e1ec,#e9a3cb);border-color:#d0faff;color:#101e28;font-weight:700;box-shadow:0 4px #274354}
#tunal-custom-studio .cs-primary:hover{background:linear-gradient(120deg,#9df1f7,#f4b5dc);color:#101e28}
#tunal-custom-studio .cs-status{color:var(--cs-cyan);font-size:14px;line-height:1.65;min-height:24px;padding-top:10px;padding-bottom:10px}
#tunal-custom-studio .cs-dialog{width:min(680px,94vw);max-height:90dvh;padding:28px;background:#151d24;color:var(--cs-text);border:1px solid #77e1ec66;border-radius:12px;box-shadow:0 35px 100px #000a;overflow-y:auto}
#tunal-custom-studio .cs-dialog::backdrop{background:#02070be0;backdrop-filter:blur(4px)}
#tunal-custom-studio .cs-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:18px}
#tunal-custom-studio .cs-dialog-head h2{font-size:32px;margin:4px 0 12px;line-height:1.07}
#tunal-custom-studio .cs-dialog-head button{min-width:44px;font-size:24px;font-weight:400}
#tunal-custom-studio .cs-dialog p{font-size:14px;line-height:1.65}
#tunal-custom-studio .cs-dialog form{margin-top:20px}
#tunal-custom-studio .cs-dialog form>.cs-inline{margin-bottom:22px}
#tunal-custom-studio .cs-dialog form>button{width:100%;min-height:52px}
#tunal-custom-studio .cs-summary{border-top:1px solid var(--cs-line);border-bottom:1px solid var(--cs-line);padding:6px 0;margin:20px 0}
#tunal-custom-studio .cs-summary p{font-size:12px;color:var(--cs-muted)}
#tunal-custom-studio .cs-summary b{color:var(--cs-cyan)}
#tunal-custom-studio .cs-honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#tunal-custom-studio .cs-success{color:var(--cs-cyan)}#tunal-custom-studio .cs-error{color:#ffb3c3}

@media(max-width:1000px){#tunal-custom-studio .cs-workspace{grid-template-columns:minmax(0,1fr) minmax(310px,.9fr);gap:18px}#tunal-custom-studio .cs-toolbar button{font-size:11px}#tunal-custom-studio .cs-canvas-foot{flex-direction:column;gap:9px}#tunal-custom-studio .cs-canvas-foot>span{text-align:left;max-width:none}}
@media(max-width:760px){#tunal-custom-studio .cs-heading{align-items:start;flex-direction:column;gap:18px;padding-top:26px}#tunal-custom-studio .cs-heading h1{font-size:38px}#tunal-custom-studio .cs-heading p:not(.eyebrow){font-size:16px}#tunal-custom-studio .cs-workspace{display:flex;flex-direction:column;gap:20px}#tunal-custom-studio .cs-stage{position:static;width:100%}#tunal-custom-studio .cs-canvas{height:380px}#tunal-custom-studio .cs-controls{width:100%}#tunal-custom-studio .cs-products{padding:10px;gap:6px}#tunal-custom-studio .cs-products button{font-size:16px;min-height:46px;padding:8px}#tunal-custom-studio .cs-canvas-head{padding:10px 14px}#tunal-custom-studio .cs-canvas-foot{padding:12px 14px}#tunal-custom-studio .cs-controls-top,#tunal-custom-studio .cs-section-body{padding:18px}#tunal-custom-studio .cs-section summary{padding:17px 18px}#tunal-custom-studio .cs-section-body{padding-top:0}#tunal-custom-studio .cs-project{grid-template-columns:1fr;gap:18px;padding-top:34px}#tunal-custom-studio .cs-project h2{font-size:34px}#tunal-custom-studio .cs-project-actions{gap:9px}#tunal-custom-studio .cs-dialog{padding:20px}#tunal-custom-studio .cs-dialog-head h2{font-size:27px}}
@media(max-width:360px){#tunal-custom-studio .cs-row{grid-template-columns:1fr;gap:0}#tunal-custom-studio .cs-colour-editor{grid-template-columns:1fr 1fr;gap:10px}#tunal-custom-studio [data-cs-colour-chip]{display:none}#tunal-custom-studio .cs-canvas{height:340px}#tunal-custom-studio .cs-project-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#tunal-custom-studio *{transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){#tunal-custom-studio button[aria-pressed=true]{outline:3px solid Highlight}#tunal-custom-studio .cs-primary{border:2px solid ButtonText}}

#tunal-custom-studio .cs-sheet-dialog{width:min(1050px,96vw);height:92dvh;padding:12px;max-height:94dvh}#tunal-custom-studio .cs-sheet-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}#tunal-custom-studio [data-cs-sheet-frame]{width:100%;height:calc(100% - 70px);border:0;background:white;display:block}

#tunal-custom-studio .cs-preview-jump{display:none}@media(max-width:760px){#tunal-custom-studio .cs-preview-jump{display:flex;position:fixed;right:16px;bottom:16px;z-index:30;background:#16232ff2;color:#b8f4f8;border-color:#77e1ec;box-shadow:0 5px 24px #0009;backdrop-filter:blur(10px)}#tunal-custom-studio:has(dialog[open]) .cs-preview-jump{display:none}#tunal-custom-studio input,#tunal-custom-studio select,#tunal-custom-studio textarea{font-size:16px}}
/* Direct colour palette and visual cuts, revision 2. */
#tunal-custom-studio .cs-products{grid-template-columns:repeat(4,minmax(0,1fr))}
#tunal-custom-studio .cs-steps{display:flex;gap:7px;padding:0 18px 18px;flex-wrap:wrap}
#tunal-custom-studio .cs-steps button{flex:1;font-size:13px;padding:8px}
#tunal-custom-studio .cs-cuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}
#tunal-custom-studio .cs-cuts button{display:flex;flex-direction:column;padding:8px 4px;font-size:12px;line-height:1.3;text-align:center}
#tunal-custom-studio .cs-cuts svg{height:105px;width:100%;background:#e3e8ec;border-radius:4px;pointer-events:none}
#tunal-custom-studio .cs-cuts button>span{min-height:32px;display:flex;align-items:center}
#tunal-custom-studio .cs-range-ends{display:flex;justify-content:space-between;color:var(--cs-muted);font-size:11px}
#tunal-custom-studio .cs-range-ends output{color:var(--cs-cyan)}
#tunal-custom-studio .cs-zone-select{display:none}
#tunal-custom-studio .cs-zones{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
#tunal-custom-studio .cs-zones button{justify-content:flex-start;font-size:12px;padding:9px;line-height:1.3;text-align:left}
#tunal-custom-studio .cs-zones i{display:block;flex:0 0 23px;height:23px;border-radius:50%;border:1px solid #fff8}
#tunal-custom-studio .cs-spectrum{height:180px;width:100%;border-radius:8px;margin:12px 0 15px;position:relative;touch-action:none;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent),hsl(var(--hue,0) 100% 50%);border:1px solid #ffffff60;cursor:crosshair}
#tunal-custom-studio .cs-spectrum:focus-visible{outline:3px solid var(--cs-cyan);outline-offset:3px}
#tunal-custom-studio .cs-spectrum i{position:absolute;width:18px;height:18px;border:2px solid white;box-shadow:0 0 0 1px #0009;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
#tunal-custom-studio input.cs-hue{appearance:none;height:22px;min-height:22px;border-radius:20px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);margin:6px 0 10px}
#tunal-custom-studio input.cs-hue::-webkit-slider-thumb{appearance:none;width:25px;height:25px;border-radius:50%;border:3px solid #fff;background:#252731;box-shadow:0 1px 7px #000b}
#tunal-custom-studio input.cs-hue::-moz-range-thumb{width:22px;height:22px;border-radius:50%;border:3px solid #fff;background:#252731}
#tunal-custom-studio .cs-section{scroll-margin-top:20px}
@media(max-width:760px){#tunal-custom-studio .cs-stage{position:sticky;top:0;z-index:20}#tunal-custom-studio .cs-canvas{height:220px}#tunal-custom-studio .cs-products{padding:7px;gap:4px}#tunal-custom-studio .cs-products button{font-size:14px;padding:6px;min-height:44px}#tunal-custom-studio .cs-product-number,#tunal-custom-studio .cs-canvas-foot,#tunal-custom-studio .cs-save-state{display:none}#tunal-custom-studio .cs-toolbar{padding:6px}#tunal-custom-studio .cs-toolbar button{padding:5px;min-height:32px;font-size:11px}#tunal-custom-studio .cs-canvas-head{padding:6px 10px}#tunal-custom-studio .cs-section{scroll-margin-top:380px}#tunal-custom-studio .cs-preview-jump{display:none}#tunal-custom-studio .cs-cuts svg{height:85px}}
#tunal-custom-studio .cs-size-quick{display:flex;flex-wrap:wrap;gap:5px}#tunal-custom-studio .cs-size-quick button{padding:5px 9px;min-height:36px;min-width:36px;font-size:12px}
@media(max-width:760px){#tunal-custom-studio .cs-canvas{height:180px}#tunal-custom-studio .cs-toolbar{display:grid;grid-template-columns:1fr 1fr 1.35fr .8fr;gap:4px}#tunal-custom-studio .cs-toolbar button{font-size:10px;min-width:0;padding:4px;line-height:1.25}#tunal-custom-studio .cs-section{scroll-margin-top:340px}}
@media(max-width:760px) and (max-height:600px){#tunal-custom-studio .cs-stage{position:static}#tunal-custom-studio .cs-section{scroll-margin-top:15px}}
/* Product cards, body proportions and matching protection. */
#tunal-custom-studio .cs-products{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:14px;background:linear-gradient(115deg,#77e1ec09,#f087c10a)}
#tunal-custom-studio .cs-products button{--tile:#77e1ec;position:relative;isolation:isolate;display:flex;flex-direction:column;gap:2px;min-height:112px;padding:7px 4px 10px;border-radius:11px;border:1px solid color-mix(in srgb,var(--tile) 45%,#263740);background:linear-gradient(150deg,#ffffff12,#ffffff00 48%),linear-gradient(25deg,#121a22,color-mix(in srgb,var(--tile) 17%,#121a22));box-shadow:inset 0 1px 0 #fff4,0 4px 0 #070e16,0 8px 14px #0005;overflow:hidden}
#tunal-custom-studio .cs-products button:nth-child(even){--tile:#f087c1}
#tunal-custom-studio .cs-products button:hover{border-color:var(--tile);background:linear-gradient(140deg,#ffffff14,#ffffff00),color-mix(in srgb,var(--tile) 25%,#121a22)}
#tunal-custom-studio .cs-products button[aria-pressed=true]{border:2px solid var(--tile);background:linear-gradient(145deg,color-mix(in srgb,var(--tile) 35%,#17222e),#101821);box-shadow:inset 0 1px 0 #fff6,0 3px 0 color-mix(in srgb,var(--tile) 45%,#080d14),0 0 17px color-mix(in srgb,var(--tile) 15%,transparent)}
#tunal-custom-studio .cs-product-art{height:65px;width:100%;display:block;filter:drop-shadow(0 4px 3px #0009);pointer-events:none}
#tunal-custom-studio .cs-product-art svg{width:100%;height:100%;display:block}
#tunal-custom-studio .cs-product-number{position:absolute;top:7px;left:6px;font-size:9px;color:var(--tile);opacity:.8}
#tunal-custom-studio .cs-product-title{font-size:clamp(11px,1.1vw,16px);font-weight:800;color:#f5f6f6;line-height:1.2;overflow-wrap:anywhere}
#tunal-custom-studio .cs-body-fit{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;align-items:center;margin:6px 0 20px}
#tunal-custom-studio .cs-body-reference{margin:0;border-radius:10px;padding:6px;background:linear-gradient(150deg,#f5f8fa,#dce5ec);border:1px solid #77e1ec88}
#tunal-custom-studio .cs-body-reference svg{display:block;width:100%;height:250px}
#tunal-custom-studio .cs-body-reference figcaption{color:#344c59;font-size:10px;line-height:1.4;text-align:center;padding:6px 2px}
#tunal-custom-studio .cs-fit-sliders .cs-range-ends{flex-wrap:wrap;gap:4px}
#tunal-custom-studio .cs-fit-sliders output{flex-basis:100%;order:3;font-size:12px;font-weight:700;line-height:1.5}
#tunal-custom-studio .cs-companions{padding:12px 16px;background:linear-gradient(120deg,#77e1ec0c,#f087c10c);border-top:1px solid #ffffff26}
#tunal-custom-studio .cs-companions>p{font-size:14px;font-weight:700;margin:0 0 9px;color:var(--cs-cyan)}
#tunal-custom-studio [data-cs-companion-cards]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#tunal-custom-studio [data-cs-companion-cards] button{display:flex;flex-direction:column;gap:3px;padding:8px;font-size:12px;min-width:0}
#tunal-custom-studio [data-cs-companion-cards] svg{height:86px;width:100%;pointer-events:none;background:#e7edf1;border-radius:5px}
#tunal-custom-studio .cs-companions small{display:block;font-size:10px;color:#c2cdd4;line-height:1.5}
#tunal-custom-studio .cs-companions>small{margin-top:9px}
#tunal-custom-studio .cs-link-control{padding:16px 22px;border-bottom:1px solid #ffffff24;background:#77e1ec09}
#tunal-custom-studio .cs-stage:has(.cs-companions:not([hidden])){position:static}
@media(max-width:1100px) and (min-width:761px){#tunal-custom-studio .cs-products{grid-template-columns:repeat(3,minmax(0,1fr))}#tunal-custom-studio .cs-products button{min-height:87px}#tunal-custom-studio .cs-product-art{height:45px}}
@media(max-width:760px){#tunal-custom-studio .cs-stage{position:static}#tunal-custom-studio .cs-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}#tunal-custom-studio .cs-products button{min-height:89px;padding:5px 4px 8px}#tunal-custom-studio .cs-product-art{height:49px}#tunal-custom-studio .cs-product-title{font-size:13px}#tunal-custom-studio .cs-product-number{display:block}#tunal-custom-studio .cs-canvas{height:300px}#tunal-custom-studio .cs-section{scroll-margin-top:15px}#tunal-custom-studio .cs-body-reference svg{height:230px}#tunal-custom-studio .cs-preview-jump{display:flex}#tunal-custom-studio .cs-body-fit{gap:12px}#tunal-custom-studio .cs-companions{padding:12px}}

/* Primary editor controls: raised glass, stronger labels and explicit selection. */
#tunal-custom-studio .cs-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:18px;border-bottom:1px solid #77e1ec44;background:linear-gradient(135deg,#77e1ec0c,#f087c109);counter-reset:studio-step}
#tunal-custom-studio .cs-steps button{counter-increment:studio-step;display:flex;flex-direction:column;gap:6px;min-width:0;min-height:76px;padding:10px 5px;border:1px solid #77e1ec99;border-radius:10px;background:linear-gradient(155deg,#29444d,#17242d 75%);color:#effdff;font-size:17px;font-weight:800;line-height:1.15;box-shadow:inset 0 1px 0 #ffffff40,0 4px 0 #080e14,0 7px 12px #0003}
#tunal-custom-studio .cs-steps button::before{content:counter(studio-step,decimal-leading-zero);font-size:11px;font-weight:800;letter-spacing:2px;color:var(--cs-cyan);line-height:1}
#tunal-custom-studio .cs-steps button:hover{border-color:#b6f7ff;background:linear-gradient(155deg,#385a64,#1c323b)}
#tunal-custom-studio .cs-steps button[aria-pressed=true]{color:#241321;border-color:#ffd0eb;background:linear-gradient(155deg,#ffc6e5,#ed8cbe);box-shadow:inset 0 1px 0 #fff9,0 4px 0 #6c3653,0 7px 12px #0003}
#tunal-custom-studio .cs-steps button[aria-pressed=true]::before{color:#593447}
#tunal-custom-studio .cs-canvas-head{padding:14px 18px;background:linear-gradient(120deg,#192a32,#171f27);border-top:1px solid #77e1ec55;border-bottom:1px solid #77e1ec44}
#tunal-custom-studio .cs-canvas-head>div{gap:8px;padding:5px;background:#080f16;border:1px solid #77e1ec44;border-radius:13px;box-shadow:inset 0 2px 5px #0005}
#tunal-custom-studio .cs-canvas-head button{min-width:98px;min-height:48px;padding:9px 14px;font-size:16px;font-weight:800;line-height:1.2;border:1px solid #75b8c6;border-radius:8px;background:linear-gradient(155deg,#2a404b,#18262f);color:#e9faff;box-shadow:inset 0 1px #fff3,0 3px #020a11}
#tunal-custom-studio .cs-canvas-head button::before{content:'';display:block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;border:1.5px solid currentColor}
#tunal-custom-studio .cs-canvas-head button:hover{background:linear-gradient(155deg,#365866,#213d47);border-color:#a3eff6}
#tunal-custom-studio .cs-canvas-head button[aria-pressed=true]{background:linear-gradient(145deg,#bbf6fa,#77dce8);color:#10242c;border-color:#e3ffff;box-shadow:inset 0 1px #fff9,0 3px #235865}
#tunal-custom-studio .cs-canvas-head button[aria-pressed=true]::before{background:currentColor;box-shadow:0 0 0 2px #ffffff80}
#tunal-custom-studio .cs-steps button:focus-visible,#tunal-custom-studio .cs-canvas-head button:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:760px){#tunal-custom-studio .cs-steps{gap:7px;padding:14px 12px 18px}#tunal-custom-studio .cs-steps button{min-height:70px;font-size:15px;padding:10px 3px}#tunal-custom-studio .cs-canvas-head{padding:12px;gap:8px}#tunal-custom-studio .cs-canvas-head>span{letter-spacing:1px}#tunal-custom-studio .cs-canvas-head button{min-width:78px;min-height:48px;font-size:15px;padding:8px 10px}}
@media(forced-colors:active){#tunal-custom-studio .cs-steps button[aria-pressed=true],#tunal-custom-studio .cs-canvas-head button[aria-pressed=true]{outline:3px solid Highlight;outline-offset:-4px}#tunal-custom-studio .cs-steps button::before{color:ButtonText}}

/* Make the complete journey visible before the product canvas. */
#tunal-custom-studio .cs-journey{margin-bottom:24px;scroll-margin-top:20px}
#tunal-custom-studio .cs-journey-intro{display:flex;align-items:center;gap:24px;margin-bottom:16px}
#tunal-custom-studio .cs-journey h2{font-size:26px;line-height:1.1;flex:0 0 auto;margin:0;color:var(--cs-cyan)}
#tunal-custom-studio .cs-journey p{font-size:15px;line-height:1.5;margin:0;color:#d8e2e6;max-width:690px}
#tunal-custom-studio .cs-overview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;counter-reset:journey}
#tunal-custom-studio .cs-overview button{counter-increment:journey;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;padding:13px;min-height:100px;background:linear-gradient(145deg,#243842,#151d25);border:1px solid #77e1ec77;border-radius:10px;box-shadow:inset 0 1px #ffffff30,0 4px #070d13}
#tunal-custom-studio .cs-overview button::before{content:counter(journey,decimal-leading-zero);color:var(--cs-cyan);font-size:11px;letter-spacing:2px}
#tunal-custom-studio .cs-overview strong{font-size:18px;line-height:1.2;color:#f4fcff}
#tunal-custom-studio .cs-overview small{font-size:11px;line-height:1.4;color:#c2d2da}
#tunal-custom-studio .cs-overview button[aria-pressed=true]{background:linear-gradient(145deg,#473044,#261f2c);border-color:var(--cs-pink);box-shadow:inset 0 1px #ffffff40,0 4px #362135}
#tunal-custom-studio .cs-overview button[aria-pressed=true]::before{color:#ffb8e0}
#tunal-custom-studio .cs-overview button:last-child{border-color:var(--cs-pink)}
#tunal-custom-studio .cs-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
#tunal-custom-studio .cs-steps button{min-height:64px}
#tunal-custom-studio button.cs-next-step{margin-top:20px;width:100%;min-height:48px;border-color:#77e1ec99;color:#bff6fc;background:linear-gradient(135deg,#25414c,#192b34);font-size:15px;text-align:center}
#tunal-custom-studio .cs-project{scroll-margin-top:20px;margin-top:30px;padding-top:30px;border-top:2px solid var(--cs-pink);background:linear-gradient(120deg,#f087c10b,#77e1ec08)}
#tunal-custom-studio .cs-project-actions button[data-cs-action=quote]{grid-column:1/-1;min-height:60px;font-size:17px}
#tunal-custom-studio .cs-project-actions button[data-cs-action=save]{grid-column:1/-1;border-color:var(--cs-cyan);color:#d5fbff;font-size:15px}
@media(max-width:760px){#tunal-custom-studio .cs-journey-intro{display:block}#tunal-custom-studio .cs-journey h2{font-size:25px;margin-bottom:9px}#tunal-custom-studio .cs-journey p{font-size:14px}#tunal-custom-studio .cs-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#tunal-custom-studio .cs-overview button{min-height:103px;padding:10px 8px}#tunal-custom-studio .cs-overview strong{font-size:16px}#tunal-custom-studio .cs-overview small{font-size:11px}#tunal-custom-studio .cs-project{padding:24px 20px}#tunal-custom-studio .cs-project-actions{grid-template-columns:1fr}#tunal-custom-studio .cs-steps button{min-height:64px}}

/* Device audit: comfortable touch targets and visible save feedback on phones. */
@media(max-width:760px){
 #tunal-custom-studio .cs-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
 #tunal-custom-studio .cs-toolbar button{min-height:44px;padding:9px 8px;font-size:13px;line-height:1.3}
 #tunal-custom-studio .cs-swatches{grid-template-columns:repeat(4,minmax(44px,1fr))}
 #tunal-custom-studio .cs-swatches button{height:44px;min-height:44px}
 #tunal-custom-studio .cs-size-quick{gap:7px}
 #tunal-custom-studio .cs-size-quick button{min-width:44px;min-height:44px;font-size:14px}
 #tunal-custom-studio input[type=range]{min-height:44px}
 #tunal-custom-studio .cs-save-state{display:block;font-size:12px;padding:0 12px 12px}
}
