/* White laboratory canvas; color lives in the hair, flask and small accents. */
:root{--ink:#222831;--muted:#616b76;--line:#e5e9ed;--accent:#d62d78;--wash:#fafbfc}
body{background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased}
header{border-color:#edf0f2}.store-link{font-size:12px;color:#3d4651}
.hero{background:radial-gradient(ellipse at 78% 53%,#fff1f7 0,transparent 51%),#fff;padding-top:76px;padding-bottom:76px}
.hero h1{letter-spacing:-2.6px;line-height:1.12}.hero p{line-height:1.8;color:#616b76}.hero .eyebrow{line-height:1.7}
.workbench{position:relative;background:#fff;border:1px solid #e5e9ed;box-shadow:0 12px 48px #25354304;border-radius:22px;padding:40px 36px}
.workbench::before{content:'';position:absolute;top:0;left:32px;right:32px;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,#f0448c,#ad67d8,#55b5df,#5bc3b2,#f0c96e)}
.workbench>.section-head{margin-bottom:28px}.workbench>.section-head h2{font-size:34px;line-height:1.25;letter-spacing:-1px;margin-top:10px}
.eyebrow,.step-label{line-height:1.65;letter-spacing:1.3px}.step-label{font-size:10px;color:#65717d}.step-label>span{border-color:#d8dee5;color:#505c69;background:#fff}
.prototype{background:#fafbfc;border:1px solid #e5e9ed;color:#687481;line-height:1.6}
.lab-step-nav{gap:12px;margin-bottom:36px}.lab-step-nav a{background:#fff;border:1px solid #e5e9ed;border-radius:10px;font-size:11px;min-height:48px;padding:12px;line-height:1.6}
.lab-step-nav a:hover{background:#fff7fb;border-color:#eab5cf}.lab-step-nav a span{font-size:12px;color:#303a46}
.bench-grid{gap:32px;align-items:start}.controls h3{font-size:22px;line-height:1.35;letter-spacing:-.5px;margin:12px 0 10px}
.helper{font-size:12px!important;line-height:1.8!important;margin:0 0 20px;color:#626d78!important}
.photo-panel{background:linear-gradient(#f7f9fb55,#f7f9fb55),repeating-linear-gradient(0deg,transparent,transparent 23px,#eef1f5 24px),repeating-linear-gradient(90deg,transparent,transparent 23px,#eef1f5 24px),#fff;border-color:#d9e0e7;border-radius:12px}
#upload-placeholder{padding:24px 16px}#upload-placeholder h3{font-size:19px;line-height:1.45;margin:14px 0 8px}#upload-placeholder p{font-size:12px;line-height:1.8;margin:0 0 18px}
.upload-button{background:#fff;border:1px solid #cfd7df;color:#34414e;min-height:44px;padding:10px 18px;font-size:12px;line-height:1.5;border-radius:9px}
.upload-button:hover{background:#fff5fa;border-color:#dca2bf}.controls .privacy{display:block;margin-top:14px;line-height:1.8;color:#737e89}
.controls .photo-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border-top:1px solid #e5e9ed}.controls .photo-toolbar>span{width:100%;font-size:9px;letter-spacing:1px}.photo-toolbar button{min-height:38px;font-size:11px;line-height:1.5}
.base-choice-label{margin:22px 0 12px;font-size:10px;letter-spacing:.8px;line-height:1.65}.base-options{gap:7px}.base-option{border-radius:10px;font-size:11px}.base-option[aria-pressed=true]{outline-color:#d62d78;border-color:#d62d78;background:#fff7fb}
.scale-label{margin-top:10px;line-height:1.6}.lab-note{background:#fbfcfd;border:1px solid #e8edf1;border-radius:10px;margin-top:22px;padding:16px}.lab-note>span{color:#5b6773}.lab-note p{font-size:12px;line-height:1.8;margin:7px 0 0}
.unified-preview{background:#fff;border-color:#e1e7ec;border-radius:16px;box-shadow:0 8px 28px #28384e04;padding:28px!important}
.unified-preview .result-top{color:#6c7883;letter-spacing:1.2px;line-height:1.7}.preview-intro h2{font-size:32px;line-height:1.2;letter-spacing:-.9px;margin:16px 0 10px}.preview-intro p{font-size:13px;line-height:1.8;color:#626d78;margin:0 0 24px}
.unified-preview .shade-selection{gap:14px;padding-bottom:22px}.preview-field label{font-size:12px!important;line-height:1.6;margin-bottom:8px!important;color:#5e6a76}.preview-field select{font-family:inherit;font-size:13px;line-height:1.5;min-height:48px;border-color:#dce3e9;border-radius:9px;padding:11px 28px 11px 12px}
.preview-tabs{padding:4px;background:#f5f7f9;border:1px solid #e8edf1;border-radius:10px;gap:4px}.preview-tabs button{min-height:44px;border-radius:7px;font-size:12px;line-height:1.6;color:#65717c}.preview-tabs button[aria-selected=true]{color:#b52167;background:#fff;box-shadow:0 1px 5px #2633430c;border:1px solid #f0dbe6}
.preview-mode-note{font-size:10px;line-height:1.8;letter-spacing:.35px;margin:16px 0;color:#697681}.unified-preview #compare-hint{font-size:13px;line-height:1.7;color:#36434f;margin:0 0 14px}
.unified-preview #compare-images{gap:14px}.unified-preview #compare-images figure{border-color:#e1e7ec;border-radius:10px;background:#fff}.unified-preview #compare-images figure img{aspect-ratio:4/5}.unified-preview #compare-images figcaption{padding:13px 12px;font-size:9px;letter-spacing:.6px;color:#75818c;line-height:1.65}.unified-preview #compare-images figcaption strong{font-size:13px;letter-spacing:0;line-height:1.55;color:#303c48;margin-top:5px}
.preview-photo-bar{margin:16px 0 12px;color:#65717d;font-size:10px;line-height:1.7}.preview-photo-bar b{background:#fff7fb;border-color:#f1d5e4;color:#b22165;font-weight:500;letter-spacing:.7px}
.unified-preview .preview-photo-bar button{border-radius:8px;border-color:#dce3e9;min-height:40px;font-size:11px}
.unified-preview #tryon-status{color:#6b7681;font-size:11px;line-height:1.7;margin:12px 0 14px}.preview-compare-buttons{gap:8px;margin:0 0 14px}.unified-preview .preview-compare-buttons button{min-height:44px;font-size:12px;border-radius:8px;border-color:#dce3e9}.unified-preview .preview-compare-buttons button[aria-pressed=true]{background:#26313d;border-color:#26313d;color:white}
.unified-preview #tryon-stage{border-radius:10px;border:1px solid #e1e7ec}.preview-area-note{font-size:11px;line-height:1.8;margin:16px 0 10px;color:#6b7681}.preview-area-buttons{gap:10px}.unified-preview .preview-area-buttons button{border-radius:8px;border-color:#dce3e9;font-size:11px;min-height:44px;padding:10px 12px}
.unified-preview .color-sharing{margin-top:24px;padding-top:22px;border-top:1px solid #e8edf1}.unified-preview .color-sharing h4{font-size:19px;line-height:1.4;margin:0 0 14px}.unified-preview .color-share-actions{gap:10px}.unified-preview .color-share-actions button{border-radius:8px;min-height:46px;font-size:12px;line-height:1.5}
.unified-preview #save-color-result{background:#26313d;border-color:#26313d;color:#fff}.unified-preview #share-color-instagram{background:#fff7fb;border-color:#edd6e2;color:#a91e5f}.unified-preview #copy-color-link{min-height:36px;font-size:11px;color:#697582}
.unified-preview #color-share-status,.unified-preview .color-share-help{font-size:11px;line-height:1.8;margin:10px 0 0;color:#6b7681}.preview-advanced,.preview-disclosure{border-color:#e8edf1;margin-top:22px;padding-top:16px}.preview-advanced summary,.preview-disclosure summary{font-size:12px;line-height:1.8;color:#53616f;padding:2px 0 8px}
.preview-recap{margin-top:24px;padding-top:20px;border-color:#e8edf1;gap:16px}.preview-recap h3{font-size:19px;line-height:1.4}.preview-recap p{font-size:11px;line-height:1.7;margin-top:6px}.preview-recap a{border-radius:8px;border-color:#dce3e9;min-height:44px;font-size:11px;line-height:1.6;padding:10px 13px}
.preview-empty{background:#fcfdfe;border-color:#dce3e9;padding:28px;min-height:290px}.preview-empty h3{font-size:21px;line-height:1.4}.preview-empty p{font-size:12px;line-height:1.8}.preview-empty-icon{border-color:#e8c3d6;color:#d62d78;background:#fff7fb}.unified-preview .preview-empty button{border-radius:8px;background:#26313d;border-color:#26313d}.preview-empty small{font-size:11px;line-height:1.7}
.palette-section{margin-top:44px;padding-top:32px;border-color:#e8edf1}.palette-heading p{font-size:22px;line-height:1.4;margin-top:10px}.palette-base-control{background:#fff;border-color:#e5e9ed}.palette-base-heading{line-height:1.7}.palette-base-option[aria-pressed=true]{border-color:#d62d78;background:#fff7fb}
.mix-picker{gap:26px;margin-top:28px;padding-top:26px;border-color:#e8edf1}.mix-picker h3{font-size:26px;line-height:1.3;letter-spacing:-.6px;margin:8px 0 10px}.mix-picker p{font-size:13px;line-height:1.8;color:#626d78}.mix-slot{background:#fff;border-color:#dce3e9;border-radius:10px;min-height:80px}.mix-slot.active{background:#fff7fb;border-color:#d62d78}.mix-slot span{line-height:1.8}.mix-slot b{line-height:1.55}
.mix-selection-feedback{margin:12px 0 22px}.mix-selection-feedback p,.mix-selection-feedback a{font-size:12px;line-height:1.8}.palette-tools{gap:16px;margin:24px 0 12px}.palette-tools button{min-height:42px;border-radius:8px;font-size:11px}.palette-tools button.active{background:#26313d;color:#fff}.search{background:#fff;border-color:#dce3e9;min-height:44px}.search input{font-size:12px}.palette-count{font-size:11px;line-height:1.8;margin-bottom:20px}
.palette{row-gap:24px;column-gap:16px}.shade-image{border:1px solid #e5e9ed;border-radius:9px;overflow:hidden}.shade-code{font-size:9px!important;line-height:1.7!important;letter-spacing:.7px;margin-top:9px!important;color:#7a8590}.shade-name{font-size:12px!important;line-height:1.55!important;margin-top:3px!important;color:#37434f}.shade[aria-pressed=true] .shade-image{border-color:#d62d78}
.mix-result{background:#fff;border:1px solid #e1e7ec;border-radius:14px;margin-top:36px;padding:26px}.mix-result h3{font-size:24px;line-height:1.35;letter-spacing:-.5px}.mix-result p{font-size:12px;line-height:1.8;color:#626d78}.mix-results-grid{gap:16px}.mix-results-grid figure{background:#fff;border-color:#e5e9ed}.mix-results-grid figcaption{padding-top:12px;line-height:1.7}.mix-results-grid figcaption b{font-size:13px;line-height:1.6}
.closing{background:radial-gradient(ellipse at 12% 100%,#fff1f8,transparent 50%),radial-gradient(ellipse at 92% 0%,#edfaff,transparent 50%),#fff;border-top:1px solid #edf0f3;margin-top:54px;padding:56px 20px}.closing>span{font-size:10px;letter-spacing:1.5px}.closing p{line-height:1.5}.closing a{line-height:1.6}footer{background:#fff;border-color:#edf0f3;line-height:1.8}
@media(min-width:1000px){.bench-grid{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:700px){header{height:84px}.hero{padding-top:44px;padding-bottom:44px}.hero h1{letter-spacing:-1.7px}.hero p{font-size:13px;line-height:1.8}.workbench{margin:0 12px;padding:28px 16px;border-radius:16px}.workbench::before{left:18px;right:18px}.workbench>.section-head{gap:12px;margin-bottom:22px}.workbench>.section-head h2{font-size:27px;line-height:1.25}.prototype{font-size:8px;padding:6px 8px}.lab-step-nav{gap:7px;margin-bottom:28px}.lab-step-nav a{font-size:10px;padding:10px 6px;gap:5px;min-height:50px}.lab-step-nav a span{font-size:10px}.bench-grid{gap:28px}.controls h3{font-size:23px}.unified-preview{padding:20px 16px!important;border-radius:12px}.preview-intro h2{font-size:28px;margin:14px 0 10px}.preview-intro p{font-size:12px;line-height:1.8;margin-bottom:22px}.unified-preview .shade-selection{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;padding-bottom:20px}.preview-field select{font-size:12px;padding-left:10px}.preview-field label{font-size:11px!important}.preview-mode-note{font-size:9px;line-height:1.8;margin:14px 0}.unified-preview #compare-hint{font-size:12px}.unified-preview #compare-images{gap:10px}.unified-preview #compare-images figcaption{padding:11px 9px;font-size:8px}.unified-preview #compare-images figcaption strong{font-size:12px}.unified-preview .preview-compare-buttons button{font-size:10px}.preview-recap h3{font-size:18px}.preview-recap p{font-size:10px}.preview-recap a{font-size:10px;padding:10px;max-width:44%}.palette-section{margin-top:32px;padding-top:26px}.mix-picker h3{font-size:24px}.mix-picker p{font-size:12px}.palette{gap:21px 11px}.shade-name{font-size:11px!important}.mix-result{padding:20px 14px}.mix-result h3{font-size:21px}.closing{margin-top:36px;padding:42px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.workbench::before{background-image:linear-gradient(90deg,#f0448c,#fa8e45,#edcb4f,#60c38b,#4bb9d8,#6079dc,#ad67d8,#f0448c);background-size:200% 100%;animation:lab-spectrum-flow 12s linear infinite}
@keyframes lab-spectrum-flow{from{background-position:0% 50%}to{background-position:200% 50%}}
@media(prefers-reduced-motion:reduce){.workbench::before{animation:none}}
.lab-control-icon{display:block;width:20px;height:20px;flex:none;pointer-events:none}
.controls button.upload-symbol,.unified-preview .preview-empty button.preview-empty-icon{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;line-height:1;border:1px solid #e5bfd2;border-radius:50%;background:#fff8fb;color:#c82571;cursor:pointer;flex:none;vertical-align:middle}
.controls button.upload-symbol{margin:0 auto 4px}
.controls button.upload-symbol:hover,.unified-preview .preview-empty button.preview-empty-icon:hover{background:#ffedf5;border-color:#cf6e9d;color:#a91d5c}
.controls button.upload-symbol:active,.unified-preview .preview-empty button.preview-empty-icon:active{background:#fbe1ed;border-color:#bf3a79}
.unified-preview .preview-empty .preview-empty-icon+h3{margin-top:18px}
#crop-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#616b77}
#crop-close:hover{background:#f4f6f8;border-color:#e1e6ec}
.hair-tryon #tryon-handle{align-items:center;justify-content:center;line-height:1}
.mix-plus{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:44px;line-height:1}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #cc397c;outline-offset:3px}

/* One hover language for framed actions; no change to layout or selected state. */
:root{--control-hover-border:#e49cbe;--control-hover-ring:#f4d6e4}
.controls .photo-toolbar button,.palette-tools button{min-height:44px}
.preview-advanced summary,.preview-disclosure summary,#color-story-preview summary{min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 0;line-height:1.6}
.preview-advanced summary::before,.preview-disclosure summary::before,#color-story-preview summary::before{content:'';width:6px;height:6px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin:0 5px 0 2px}
.preview-advanced[open]>summary::before,.preview-disclosure[open]>summary::before,#color-story-preview[open]>summary::before{transform:rotate(45deg)}
.preview-advanced summary,.preview-disclosure summary,#color-story-preview summary{list-style:none;cursor:pointer}
.preview-advanced summary::-webkit-details-marker,.preview-disclosure summary::-webkit-details-marker,#color-story-preview summary::-webkit-details-marker{display:none}
.preview-upload-status{margin:16px 0 0!important;padding:10px 12px;border:1px solid #edd0de;border-radius:8px;background:#fff6fa;color:#a42561!important;font-size:12px!important;line-height:1.7!important;max-width:100%}
.unified-preview .tryon-tools{position:static;box-shadow:none;background:#fcfdfe;border-color:#e1e7ec;padding:16px;margin:0 0 16px}
.unified-preview .tryon-tools p{font-size:12px;line-height:1.7;margin:10px 0 14px}
.unified-preview .tryon-tools button{min-height:44px;border-radius:8px;font-size:11px}
.workbench button:disabled,#crop-dialog button:disabled{cursor:not-allowed;opacity:.45}
.unified-preview #compare-images .reference-result:has(img[hidden]){min-height:180px}
.unified-preview .shade-product-button{background:#fff}
.unified-preview .preview-recap p,.preview-field label,.shade-name{overflow-wrap:anywhere}
@media(max-width:700px){.shade-name{font-size:12px!important;line-height:1.6!important;min-height:3.2em}.shade-code{font-size:10px!important}.unified-preview #compare-images figcaption{font-size:9px}.preview-mode-note{font-size:10px;letter-spacing:.15px}.controls .photo-toolbar{gap:8px}.unified-preview .tryon-tools{padding:12px}.unified-preview .tryon-tool-row{display:flex;gap:8px;flex-wrap:wrap}}
:is(.workbench,#crop-dialog,.hero) :is(button,select,a.start,a.shade-product-button,.lab-step-nav a),.shade-image,.search{transition:border-color 160ms ease,box-shadow 160ms ease}
@media(hover:hover) and (pointer:fine){
 :is(.workbench,#crop-dialog,.hero) :is(button:not(.shade):not(.text-button):not([id="copy-color-link"]),select,a.start,a.shade-product-button,.lab-step-nav a):not(:disabled):not([aria-disabled="true"]):hover{border-color:var(--control-hover-border);box-shadow:0 0 0 1px var(--control-hover-ring);cursor:pointer}
 .workbench button.shade:not(:disabled):hover .shade-image,.workbench .search:has(input:not(:disabled):hover){border-color:var(--control-hover-border);box-shadow:0 0 0 1px var(--control-hover-ring)}
}
@media(prefers-reduced-motion:reduce){:is(.workbench,#crop-dialog,.hero) :is(button,select,a.start,a.shade-product-button,.lab-step-nav a),.shade-image,.search{transition:none}}

@media(max-width:420px){.unified-preview .shade-selection{grid-template-columns:minmax(0,1fr);gap:13px}.preview-field select{font-size:13px}}
