.makeup-page{--makeup-ink:#183b34;--makeup-muted:#536b63;--makeup-line:#dbe3dd;--makeup-wash:#f4f7f3;color:var(--makeup-ink);max-width:1440px;margin:0 auto;padding:clamp(20px,4vw,64px)}
.makeup-intro{max-width:780px;margin-bottom:32px}.makeup-intro h1{font-size:clamp(2.4rem,5vw,4.7rem);line-height:1.05;letter-spacing:-.045em;margin:12px 0 18px}.makeup-intro p{font-size:1.0625rem;line-height:1.65;max-width:650px}.makeup-intro .eyebrow{font-size:.8rem;letter-spacing:.16em}
.makeup-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}.makeup-families{display:grid;gap:18px;min-width:0}.makeup-family{border:1px solid var(--makeup-line);border-radius:18px;background:#fff;padding:24px;min-width:0}.makeup-family-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.makeup-family-head h2{font-size:1.25rem;line-height:1.35;margin:3px 0 6px}.makeup-family-head p{margin:0;font-size:.9375rem;color:var(--makeup-muted)}.makeup-family-head .makeup-thumb{width:62px;height:76px;object-fit:contain;flex:0 0 62px}.makeup-family .makeup-shades{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:20px 0 12px;padding:0}.makeup-shades legend{font-size:.875rem;font-weight:650;margin-bottom:10px}.makeup-shade{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid var(--makeup-line);border-radius:9px;background:white;color:var(--makeup-ink);font-size:.875rem;text-align:left;cursor:pointer}.makeup-shade[aria-pressed=true]{border:2px solid var(--makeup-ink);padding:7px 9px;background:var(--makeup-wash)}.makeup-swatch{width:22px;height:22px;flex:0 0 22px;border-radius:50%;border:1px solid #0002;background:var(--shade,#ece9e3)}.makeup-product-choice{width:100%;min-height:46px;margin:16px 0 10px;padding:10px;font-size:1rem;border:1px solid var(--makeup-line);border-radius:8px;background:white;color:var(--makeup-ink)}.makeup-row-controls{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:.875rem;margin-top:14px}.makeup-check{display:flex;align-items:center;gap:8px;min-height:40px;cursor:pointer}.makeup-check input{width:18px;height:18px;accent-color:var(--makeup-ink);flex:none}.makeup-family a{font-size:.875rem;text-decoration:underline;text-underline-offset:4px}.makeup-family .makeup-hint{font-size:.8125rem;line-height:1.5;color:var(--makeup-muted);margin:10px 0 0}.makeup-remove{font-size:.875rem;text-decoration:underline;border:0;background:none;color:var(--makeup-muted);padding:10px 0;cursor:pointer}
.makeup-summary{border:1px solid var(--makeup-line);border-radius:20px;padding:24px;background:var(--makeup-wash);position:sticky;top:100px}.makeup-summary h2{font-size:1.45rem;margin:0 0 14px}.makeup-summary p{font-size:.9375rem;line-height:1.55}.makeup-summary .button{width:100%;justify-content:center;margin:6px 0;min-height:48px;font-size:.9375rem}.makeup-summary .makeup-total{font-size:1.7rem;font-weight:650;margin:16px 0 0}.makeup-summary .makeup-price-note{font-size:.8125rem;margin:4px 0 14px}.makeup-summary-list{padding:0;list-style:none;margin:16px 0}.makeup-summary-list li{padding:10px 0;border-top:1px solid var(--makeup-line);font-size:.875rem;line-height:1.45}.makeup-summary-list small{display:block;color:var(--makeup-muted)}.makeup-looks{border:0;border-top:1px solid var(--makeup-line);padding:18px 0 4px;margin:18px 0}.makeup-looks legend{font-size:.9375rem;font-weight:650;padding-top:16px}.makeup-looks .makeup-check{display:inline-flex;margin-right:14px}.makeup-status{min-height:24px;font-size:.875rem;line-height:1.5}.makeup-guide-label{display:block;font-size:.875rem;margin:18px 0 4px}.makeup-guide-name{width:100%;font-size:1rem;padding:11px;border:1px solid var(--makeup-line);border-radius:8px;background:white}.makeup-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:.875rem}.makeup-links a{text-decoration:underline;text-underline-offset:4px}
.makeup-dialog{border:0;border-radius:20px;padding:0;width:min(980px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);background:white;color:#183b34;overflow:auto}.makeup-dialog::backdrop{background:#10231ddd;backdrop-filter:blur(5px)}.makeup-dialog-head{position:sticky;top:0;z-index:1;background:white;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #dbe3dd}.makeup-dialog-head h2{font-size:1.25rem;margin:0}.makeup-dialog-head button{min-width:44px;min-height:44px;border:1px solid #dbe3dd;border-radius:50%;background:white;cursor:pointer;font-size:1.25rem}.makeup-mirror-body{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;padding:24px}.makeup-stage{position:relative;min-height:220px;aspect-ratio:3/4;background:#edf1ed;border-radius:14px;overflow:hidden;display:grid;place-items:center}.makeup-stage video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.makeup-stage canvas{display:block;width:100%;height:100%;object-fit:contain;background:#edf1ed}.makeup-stage canvas.is-mirrored{transform:scaleX(-1)}.makeup-stage[data-empty=true] canvas{opacity:0}.makeup-stage .makeup-camera-empty{position:absolute;max-width:260px;text-align:center;line-height:1.6;padding:24px}.makeup-stage:not([data-empty=true]) .makeup-camera-empty{display:none}.makeup-mirror-controls .button{width:100%;justify-content:center;margin:6px 0;min-height:44px;font-size:.9375rem}.makeup-camera-select{display:block;width:100%;margin:8px 0 14px;padding:11px;font-size:1rem;border:1px solid #dbe3dd;border-radius:8px;color:#183b34;background:white}.makeup-file-label{display:block;cursor:pointer;text-align:center}.makeup-file-label input{display:block;width:100%;font-size:.875rem;margin-top:8px}.makeup-compare[aria-pressed=true]{background:#183b34;color:white}.makeup-private-note{font-size:.8125rem;line-height:1.5;color:#536b63}.makeup-mirror-layers{border:0;border-top:1px solid #dbe3dd;padding:12px 0;margin:16px 0 6px}.makeup-mirror-layers legend{font-size:.875rem;font-weight:650;padding:12px 0 0}.makeup-mirror-layers .makeup-check{font-size:.875rem;line-height:1.35}.makeup-mirror-controls label{font-size:.875rem}.makeup-photo-input{max-width:100%}.makeup-page button:focus-visible,.makeup-page input:focus-visible,.makeup-page a:focus-visible,.makeup-dialog button:focus-visible,.makeup-dialog input:focus-visible,.makeup-dialog select:focus-visible{outline:3px solid #b97f42;outline-offset:3px}.makeup-page button:disabled,.makeup-dialog button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1000px){.makeup-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.makeup-family{padding:20px}.makeup-summary{padding:20px}}
@media(max-width:760px){.makeup-layout{grid-template-columns:1fr}.makeup-summary{position:static}.makeup-page{padding:24px 16px}.makeup-mirror-body{grid-template-columns:1fr;padding:16px;gap:16px}.makeup-stage{aspect-ratio:4/3;min-height:180px;max-height:55dvh}.makeup-mirror-controls{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}.makeup-mirror-controls>p,.makeup-mirror-controls>.makeup-mirror-layers,.makeup-mirror-controls>.makeup-camera-source,.makeup-mirror-controls>.makeup-file-label{grid-column:1/-1}.makeup-dialog-head{padding:12px 16px}.makeup-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.makeup-mirror-layers{display:flex;flex-wrap:wrap;gap:0 16px}.makeup-mirror-layers legend{width:100%}}
@media(max-width:360px){.makeup-family{padding:16px}.makeup-shade{font-size:.8125rem}.makeup-summary{padding:18px}.makeup-mirror-controls{grid-template-columns:1fr}.makeup-mirror-controls>*{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.makeup-page *,.makeup-dialog *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.makeup-page [hidden],.makeup-dialog [hidden]{display:none!important}

/* The mirror is the first screen; its product rail never replaces the camera. */
.makeup-page{max-width:1480px;padding:24px clamp(16px,3vw,44px) 64px}
.makeup-intro{max-width:none;display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px}
.makeup-intro h1{font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.15;margin:7px 0 0;letter-spacing:-.035em}
.makeup-intro p{font-size:1rem;line-height:1.5;max-width:290px;margin:0}
.makeup-studio{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,1fr);height:calc(100svh - 190px);min-height:39rem;max-height:860px;border:1px solid var(--makeup-line);border-radius:22px;overflow:hidden;background:#fff;scroll-margin-top:90px}
.makeup-camera-panel{min-width:0;min-height:0;padding:18px;background:var(--makeup-wash);display:flex;flex-direction:column;gap:8px}
.makeup-studio .makeup-stage{flex:1;min-height:200px;max-height:none;aspect-ratio:auto;border:1px solid #d8e2d9;border-radius:14px;background:radial-gradient(ellipse at center,#fafcf8,#e4ece3)}
.makeup-stage .makeup-camera-empty{position:absolute;inset:42px 20px 18px;max-width:none;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;gap:12px;color:var(--makeup-ink)}
.makeup-camera-empty h2{font-size:clamp(1.3rem,2.2vw,2rem);line-height:1.2;margin:0}
.makeup-camera-empty p{font-size:1rem;line-height:1.5;max-width:300px;margin:0}
.makeup-camera-empty .button{min-height:48px;padding:12px 30px;font-size:1rem}
.makeup-camera-empty small{font-size:.8125rem;color:var(--makeup-muted)}
.makeup-stage[data-empty=false] .makeup-camera-empty{display:none}
.makeup-stage canvas{position:absolute;inset:0}
.makeup-stage-actions{position:absolute;top:12px;right:12px;left:12px;display:flex;justify-content:space-between;gap:8px;z-index:1}
.makeup-stage-actions button{background:#fffffff2;color:var(--makeup-ink);border:1px solid #c9d5cc;border-radius:30px;padding:9px 14px;min-height:44px;font:inherit;font-size:.875rem;cursor:pointer;box-shadow:0 2px 10px #163c3210}
.makeup-stage-actions .makeup-compare[aria-pressed=true]{background:var(--makeup-ink);color:#fff}
.makeup-camera-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.makeup-camera-toolbar>button,.makeup-camera-toolbar .makeup-file-label,.makeup-camera-select{display:inline-flex;align-items:center;justify-content:center;position:relative;min-height:44px;border:1px solid #c7d5cb;border-radius:9px;background:#fff;color:var(--makeup-ink);padding:8px 12px;margin:0;font:inherit;font-size:.875rem;cursor:pointer}
.makeup-camera-source{min-width:0}.makeup-camera-select{width:auto;max-width:100%;padding-right:26px}
.makeup-file-label input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer;max-width:100%;width:100%}
.makeup-file-label:focus-within{outline:3px solid #b97f42;outline-offset:3px}
.makeup-camera-panel .makeup-status{margin:0;min-height:2.7em;font-size:.875rem;line-height:1.35;color:var(--makeup-muted)}
.makeup-mirror-options{font-size:.875rem;line-height:1.5}.makeup-mirror-options summary{cursor:pointer;min-height:32px;padding:6px 0}.makeup-mirror-options[open]{max-height:160px;overflow:auto;flex-shrink:0}.makeup-mirror-options p{margin:4px 0 8px}
.makeup-product-panel{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto minmax(120px,1fr) auto;border-left:1px solid var(--makeup-line)}
.makeup-product-panel-head{padding:22px 22px 14px}.makeup-product-panel-head .eyebrow{font-size:.75rem;letter-spacing:.12em}.makeup-product-panel-head h2{font-size:1.65rem;line-height:1.2;margin:6px 0}.makeup-product-panel-head p{font-size:.9375rem;line-height:1.45;margin:0;color:var(--makeup-muted)}
.makeup-product-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 18px 16px;border-bottom:1px solid var(--makeup-line)}
.makeup-product-rail button{display:flex;align-items:center;gap:7px;min-width:0;min-height:64px;padding:8px;border:1px solid var(--makeup-line);border-radius:10px;background:#fff;text-align:left;color:var(--makeup-ink);cursor:pointer;font:inherit;font-size:.875rem;line-height:1.2}
.makeup-product-rail button[aria-pressed=true]{border-color:var(--makeup-ink);box-shadow:inset 0 0 0 1px var(--makeup-ink);background:var(--makeup-wash)}
.makeup-product-rail img{object-fit:contain;flex:0 0 30px;width:30px;height:40px}.makeup-product-rail span{min-width:0;overflow-wrap:anywhere}.makeup-product-rail small{display:block;font-size:.75rem;line-height:1.3;color:var(--makeup-muted);margin-top:4px}
.makeup-product-panel .makeup-families{display:block;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0}
.makeup-product-panel .makeup-family{border:0;border-radius:0;padding:20px}.makeup-family-head{gap:12px}.makeup-family-head .makeup-thumb{width:46px;height:60px;flex-basis:46px}.makeup-family .makeup-shades{margin-top:14px}.makeup-family .makeup-shade{flex:1 1 44%;font-size:.875rem}.makeup-family .makeup-row-controls{margin-top:8px}.makeup-selected-line{font-size:.9375rem;line-height:1.4}
.makeup-preview-review{border-top:1px solid var(--makeup-line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}.makeup-preview-review p{margin:0;font-size:.875rem;line-height:1.5}.makeup-preview-review p span{display:block;color:var(--makeup-muted)}.makeup-preview-review .button{min-height:46px;padding:10px 16px;font-size:.875rem;white-space:normal;text-align:center}
.makeup-checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:48px;padding-top:48px;align-items:start}.makeup-guide-intro{max-width:490px;padding:18px 0}.makeup-guide-intro h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.15;letter-spacing:-.03em;margin:12px 0 20px}.makeup-guide-intro p{font-size:1rem;line-height:1.65}.makeup-summary{position:static;scroll-margin-top:90px}.makeup-summary-list{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.makeup-summary:focus{outline:none}
.makeup-page :is(button,a,input,select,summary):focus-visible{outline:3px solid #b97f42;outline-offset:3px}.makeup-page button:disabled{opacity:.5;cursor:not-allowed}.makeup-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.makeup-studio{grid-template-columns:minmax(0,1fr) minmax(320px,1fr)}.makeup-product-rail img{display:none}.makeup-product-rail button{justify-content:center;text-align:center}.makeup-checkout-layout{gap:24px}.makeup-stage .makeup-camera-empty{inset-inline:12px}.makeup-camera-toolbar{gap:6px}.makeup-camera-toolbar>button,.makeup-camera-toolbar .makeup-file-label,.makeup-camera-select{padding-inline:9px}}
@media(max-width:760px){
  .makeup-page{padding:16px 12px 48px}.makeup-intro{display:block;margin-bottom:14px}.makeup-intro h1{font-size:1.6rem}.makeup-intro p{font-size:.9375rem;max-width:none;margin-top:7px}.makeup-intro .eyebrow{font-size:.6875rem}
  .makeup-studio{grid-template-columns:1fr;grid-template-rows:minmax(280px,.95fr) minmax(270px,1fr);height:calc(100svh - 160px);min-height:36rem;max-height:900px;border-radius:16px;scroll-margin-top:65px}
  .makeup-camera-panel{padding:10px;gap:4px}.makeup-studio .makeup-stage{min-height:180px;border-radius:10px}.makeup-stage .makeup-camera-empty{inset:44px 10px 8px;gap:7px}.makeup-camera-empty>svg{display:none}.makeup-camera-empty h2{font-size:1.2rem}.makeup-camera-empty p{font-size:.875rem;line-height:1.35;max-width:260px}.makeup-camera-empty small{display:none}.makeup-camera-empty .button{min-height:44px;padding:8px 25px;font-size:.9375rem}.makeup-stage-actions{top:7px;inset-inline:7px}.makeup-stage-actions button{min-height:36px;padding:6px 10px;font-size:.8125rem}.makeup-camera-toolbar{gap:5px;justify-content:space-between;flex-wrap:nowrap}.makeup-camera-toolbar>button,.makeup-camera-toolbar .makeup-file-label,.makeup-camera-select{min-height:40px;padding:7px;font-size:.8125rem}.makeup-camera-select{padding-right:20px}.makeup-camera-panel .makeup-status{font-size:.8125rem;min-height:2.6em}.makeup-mirror-options{font-size:.8125rem}.makeup-mirror-options summary{min-height:26px;padding:2px 0}.makeup-mirror-options[open]{max-height:100px}
  .makeup-product-panel{grid-template-rows:auto minmax(100px,1fr) auto;border-left:0;border-top:1px solid var(--makeup-line)}.makeup-product-panel-head{display:none}.makeup-product-rail{display:flex;overflow-x:auto;gap:6px;padding:8px;scrollbar-width:thin}.makeup-product-rail button{flex:0 0 90px;min-height:50px;padding:6px;font-size:.8125rem}.makeup-product-rail small{font-size:.6875rem;margin-top:3px}.makeup-product-panel .makeup-family{padding:14px}.makeup-family-head h2{font-size:1.1rem}.makeup-family-head p{font-size:.875rem}.makeup-family-head .makeup-thumb{width:36px;height:46px;flex-basis:36px}.makeup-preview-review{padding:8px 12px;gap:10px}.makeup-preview-review p{font-size:.8125rem}.makeup-preview-review .button{min-height:44px;font-size:.8125rem;padding:8px 12px}.makeup-checkout-layout{grid-template-columns:1fr;gap:12px;padding-top:28px}.makeup-guide-intro{padding:0}.makeup-guide-intro h2{font-size:1.8rem;margin:8px 0 12px}.makeup-summary-list{grid-template-columns:1fr}
}
@media(max-height:500px) and (min-width:761px){.makeup-studio{min-height:520px}.makeup-stage .makeup-camera-empty>svg{display:none}}
@media(max-height:500px) and (min-width:761px){
  .makeup-page{padding-top:12px}.makeup-intro{margin-bottom:10px}.makeup-intro h1{font-size:1.4rem;margin:0}.makeup-intro .eyebrow,.makeup-intro>p{display:none}
  .makeup-studio{height:calc(100svh - 110px);min-height:20rem;max-height:none}.makeup-camera-panel{padding:10px;overflow:auto}.makeup-studio .makeup-stage{min-height:180px;flex:1 0 180px}.makeup-camera-empty p,.makeup-camera-empty small{display:none}.makeup-camera-empty h2{font-size:1.2rem}.makeup-camera-empty .button{min-height:44px;padding:8px 24px}.makeup-stage .makeup-camera-empty{gap:10px;inset-block:48px 10px}
  .makeup-product-panel{grid-template-rows:auto minmax(100px,1fr) auto}.makeup-product-panel-head{display:none}.makeup-product-rail{padding:8px;gap:4px}.makeup-product-rail button{min-height:44px;padding:5px}.makeup-product-rail small{display:none}.makeup-preview-review{padding:8px 12px}.makeup-family-head .makeup-thumb{display:none}
}
/* Let the empty-state copy determine its height when text is enlarged. */
.makeup-stage[data-empty=true]{flex-shrink:0;min-height:min-content}
.makeup-stage[data-empty=true] .makeup-camera-empty{position:relative;inset:auto;width:100%;padding:calc(3rem + 20px) 16px 20px;min-height:100%;box-sizing:border-box}
@media(max-width:760px){.makeup-studio{grid-template-rows:minmax(min-content,.95fr) minmax(270px,1fr)}.makeup-camera-panel{min-height:min-content}.makeup-stage[data-empty=true] .makeup-camera-empty{padding:calc(3rem + 10px) 12px 14px}.makeup-product-rail button{flex-basis:5.625rem}}
