.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}
#jenny-root [hidden],.makeup-studio [hidden]{display:none!important}
.jenny-backdrop{position:fixed;inset:0;background:#263a304b;backdrop-filter:blur(3px);z-index:200;display:flex;justify-content:flex-end}
.jenny-dialog{height:100dvh;width:min(480px,100%);background:#fbfaf7;box-shadow:-12px 0 60px #172c2526;display:flex;flex-direction:column;animation:jenny-appear .22s ease-out;position:relative}
.jenny-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 20px;border-bottom:1px solid #e5e7df;flex-shrink:0}.jenny-dialog-brand{display:flex;align-items:center;gap:13px}.jenny-dialog-brand>img{width:43px;height:43px;object-fit:contain}.jenny-dialog-brand h2{font-family:Georgia,'Songti SC',serif;font-weight:400;letter-spacing:1px;font-size:21px}.jenny-dialog-brand span{display:block;font-size:10px;letter-spacing:1px;color:#96a08d;margin-top:3px}.jenny-close{width:36px;height:36px;display:grid;place-items:center;color:#8c9784}.jenny-close svg{width:19px;height:19px;stroke-width:1.5}
.jenny-connection{display:flex;align-items:center;gap:7px;padding:11px 27px;background:#f1f1e9;font-size:9px;color:#929880;flex-shrink:0}.jenny-connection>span{height:5px;width:5px;background:#bca47a;border-radius:50%}.jenny-connection>button{display:flex;align-items:center;gap:2px;margin-left:auto;font-size:9px;min-height:20px}.jenny-connection svg{height:12px;width:12px}.jenny-conversation{flex:1;overflow-y:auto;padding:32px 30px;min-height:0}.jenny-welcome>img{height:74px;width:74px;object-fit:cover;border-radius:50%;margin:0 0 20px}.jenny-welcome>span{font-family:Georgia,serif;font-size:10px;letter-spacing:2px;color:#98a18e}.jenny-welcome h3{font-family:'Songti SC','STSong',serif;font-size:32px;line-height:1.6;font-weight:400;letter-spacing:2px;margin:12px 0 15px}.jenny-welcome p{font-size:11px;line-height:1.9;color:#99a18f}.jenny-suggestions{display:grid;gap:9px;margin-top:30px}.jenny-suggestions>button{display:flex;align-items:center;gap:12px;border:1px solid #e1e5d8;background:#fffefa;text-align:left;padding:13px 14px;color:#7c8972;font-size:10px;line-height:1.7;min-height:44px}.jenny-suggestions>button:hover{border-color:#afbea4;background:#f5f7f0}.jenny-suggestions svg{width:13px;height:13px;margin-left:auto;flex-shrink:0}.jenny-account-detail{padding:17px;border:1px solid #e0e4d6;margin-top:20px;font-size:11px;line-height:1.9;background:#f0f2e9}.jenny-account-detail strong{font-weight:500}.jenny-account-detail p{margin-top:10px;color:#839076;font-size:10px}.jenny-account-detail>span{display:block;font-size:9px;margin-top:12px;color:#a48c66}.jenny-composer-wrap{padding:0 24px 22px;flex-shrink:0}.jenny-composer-wrap form{border:1px solid #d9dfce;background:#fffefa;padding:14px 15px 11px;border-radius:3px}.jenny-composer-wrap textarea{background:transparent;resize:vertical;min-height:63px;max-height:150px;border:0;padding:0;width:100%;font-size:12px;line-height:1.8;color:#5c6c50}.jenny-composer-wrap textarea::placeholder{color:#adb4a4}.jenny-composer-wrap textarea:focus{outline:none}.jenny-composer-wrap form:focus-within{border-color:#97a987;box-shadow:0 0 0 2px #6e89521a}.jenny-composer-wrap form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}.jenny-composer-wrap form>div>span{font-size:8px;color:#a8ae9e}.jenny-composer-wrap form button{height:34px;width:34px;border-radius:50%;background:#3e5636;color:#fff;display:grid;place-items:center}.jenny-composer-wrap form button svg{height:17px;width:17px}.jenny-composer-wrap>small{font-size:8px;line-height:1.8;color:#acb29f;display:block;margin:10px 2px 0;text-align:center}#jenny-feedback{font-size:10px;line-height:1.8;color:#a48c66;margin-bottom:10px}#jenny-feedback:empty{display:none}
@keyframes jenny-appear{from{transform:translateX(30px);opacity:.5}to{transform:translateX(0);opacity:1}}
.jenny-welcome p{font-size:13px;color:#77856d}.jenny-suggestions>button{font-size:12px;color:#67765c}.jenny-composer-wrap textarea{font-size:14px}.jenny-composer-wrap>small{font-size:10px}.jenny-account-detail p,.jenny-account-detail>span{font-size:11px}#jenny-feedback{font-size:12px}
@media(max-width:760px){.jenny-dialog>header{padding:19px 21px 16px}.jenny-dialog-brand h2{font-size:19px}.jenny-dialog-brand>img{width:38px;height:38px}.jenny-connection{padding:10px 23px}.jenny-conversation{padding:26px 25px}.jenny-welcome>img{height:60px;width:60px;margin-bottom:17px}.jenny-welcome h3{font-size:29px;line-height:1.5}.jenny-welcome p{font-size:10px}.jenny-suggestions{margin-top:24px}.jenny-composer-wrap{padding:0 17px max(18px,env(safe-area-inset-bottom))}.jenny-composer-wrap form{padding:12px 13px 9px}.jenny-composer-wrap textarea{font-size:12px;min-height:55px}}

.tryon-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 30px;
}
.tryon-heading .section-eyebrow {
  color: #55534f;
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 9px;
}
.tryon-heading h1 {
  font-family: 'Songti SC', 'STSong', serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.3;
}
.tryon-heading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.tryon-private {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #55534f;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 4px;
}
.tryon-private svg { width: 16px; height: 16px; flex: none; }

.makeup-studio {
  display: grid;
  grid-template-areas: "reference picker" "stage controls";
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  grid-template-rows: auto 1fr;
  gap: 24px 56px;
  align-items: start;
  color: var(--site-ink, #302e2b);
  font-size: 14px;
}
.makeup-studio :is(button, summary, input[type="range"]):focus-visible {
  outline: 2px solid var(--site-ink, #302e2b);
  outline-offset: 3px;
}
.makeup-picker {
  grid-area: picker;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--site-line, #e3dfd8);
  min-width: 0;
}
.makeup-photo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.makeup-photo-actions > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 6px;
  border: 1px solid #cbc6bd;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
}
.makeup-photo-actions .makeup-upload {
  border-color: var(--site-ink, #302e2b);
  background: var(--site-ink, #302e2b);
  color: #fffdf7;
}
.makeup-photo-actions .makeup-camera, .makeup-file-mobile { display: none; }
.makeup-camera { background: var(--site-paper, #fbfaf7); }
.makeup-upload:hover { opacity: .9; }
.makeup-sample { color: var(--site-ink, #302e2b); background: var(--site-paper, #fbfaf7); }
.makeup-sample:hover { background: #efede8; }
.makeup-photo-actions svg, .makeup-clear svg { width: 15px; height: 15px; flex: none; }
.makeup-photo-hint {
  margin-top: 9px;
  color: #55534f;
  font-size: 13px;
  line-height: 1.55;
}
.makeup-clear {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #55534f;
  font-size: 13px;
}
.makeup-clear:disabled { display: none; }
.makeup-status { color: #55534f; font-size: 13px; line-height: 1.55; }
.makeup-status:not(:empty) { margin-top: 4px; }
.makeup-reference { grid-area: reference; min-width: 0; }
.makeup-reference-heading, .makeup-result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.makeup-reference-heading { margin-bottom: 8px; }
.makeup-reference-more { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0 12px; }
.makeup-reference-more > button { margin-left: auto; }
.makeup-reference-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; }
.makeup-reference h2, .makeup-result-heading h2 {
  font-family: 'Songti SC', 'STSong', serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.35;
}
.makeup-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--site-ink, #302e2b);
  font-size: 14px;
}
.makeup-guide-link svg { width: 15px; height: 15px; }
.makeup-reference-detail summary, .makeup-guide summary {
  padding: 12px 0;
  min-height: 44px;
  color: var(--site-ink, #302e2b);
  font-weight: 600;
  cursor: pointer;
}
.makeup-reference-detail figure { margin: 0 0 8px; }
.makeup-reference-detail img {
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 1;
  object-fit: contain;
  background: #eeeae4;
}
.makeup-reference-detail figcaption, .makeup-result-heading > span {
  color: #55534f;
  font-size: 12px;
}
.makeup-reference-detail figcaption { margin-top: 5px; }

.makeup-stage {
  grid-area: stage;
  min-width: 0;
  background: #eeece7;
}
@media (min-width: 761px) and (min-height: 620px) {
  .makeup-stage:has(#makeup-canvas:not([hidden])) { position: sticky; top: 16px; }
}
.makeup-result-heading { padding: 10px 14px; }
.makeup-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: 550px;
  height: clamp(320px, 66svh, 620px);
  background: #e9e7e2;
}
.makeup-image-wrap:has(#makeup-canvas[hidden]) { height: 215px; }
.makeup-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #55534f;
  text-align: center;
}
.makeup-placeholder svg { width: 32px; height: 32px; stroke-width: 1.35; }
.makeup-image-wrap > img, .makeup-image-wrap > canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.makeup-image-wrap > img { filter: saturate(.9); }
.makeup-loading {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  background: #eeece7e6;
  color: var(--site-ink, #302e2b);
  font-size: 14px;
}
.makeup-spinner {
  width: 28px;
  height: 28px;
  border: 1px solid #cbc6bd;
  border-top-color: var(--site-ink, #302e2b);
  border-radius: 50%;
  animation: makeup-spin 1s linear infinite;
}
@keyframes makeup-spin { to { transform: rotate(360deg); } }
.makeup-stage-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 14px;
  color: #55534f;
  font-size: 12px;
}
.makeup-stage-bottom > span { text-align: right; }
.makeup-studio [data-makeup-compare] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  color: var(--site-ink, #302e2b);
}
.makeup-studio [data-makeup-compare][aria-pressed="true"] { color: #7b443b; }
.makeup-studio [data-makeup-compare]:disabled { opacity: .56; }
.makeup-studio [data-makeup-compare] svg { width: 15px; height: 15px; flex: none; }

.makeup-controls { grid-area: controls; min-width: 0; }
.makeup-mini { display: none; }
.makeup-control-section {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--site-line, #e3dfd8);
}
.makeup-looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 720px; }
.makeup-looks > button {
  display: grid;
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2ddd4;
  border-radius: 4px;
  background: #f1efeb;
  text-align: center;
  transition: border-color .15s;
}
.makeup-looks > button:hover { border-color: #cbc6bd; }
.makeup-looks > button.selected {
  border-color: var(--site-ink, #302e2b);
  background: #ede9e3;
}
.makeup-look-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #e8e3db;
}
.makeup-look-caption { display: block; padding: 9px 2px; }
.makeup-looks strong {
  display: block;
  color: var(--site-ink, #302e2b);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.makeup-looks small {
  display: block;
  margin-top: 3px;
  color: #55534f;
  font-size: 12px;
  line-height: 1.35;
}
.makeup-looks svg {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #fffcf8;
  color: var(--site-ink, #302e2b);
  visibility: hidden;
}
.makeup-looks .selected svg { visibility: visible; }
.makeup-quick-looks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 15px;
}
.makeup-quick-looks > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  border: 1px solid #cbc6bd;
  border-radius: 4px;
  padding: 4px;
  font-size: 13px;
}
.makeup-quick-looks > button[aria-pressed="true"] {
  border-color: var(--site-ink, #302e2b);
  background: #ede9e3;
}
.makeup-quick-looks span, .makeup-guide-color span {
  display: inline-block;
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--guide-swatch);
}
.makeup-intensity > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.makeup-intensity output { color: inherit; font-variant-numeric: tabular-nums; }
.makeup-intensity input {
  width: 100%;
  height: 44px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  accent-color: var(--site-ink, #302e2b);
}
.range-captions { display: flex; justify-content: space-between; color: #55534f; font-size: 12px; }
.makeup-plan {
  margin: 4px 0 16px;
  padding: 0 14px;
  background: var(--site-surface, #ebe6f2);
  color: var(--site-ink, #353833);
  scroll-margin-block: 16px;
}
.makeup-plan summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  cursor: pointer;
  font-weight: 600;
}
.makeup-plan summary::-webkit-details-marker { display: none; }
.makeup-plan summary svg { width: 17px; height: 17px; }
.makeup-plan summary::after { content: '+'; margin-left: auto; font-size: 18px; font-weight: 400; }
.makeup-plan[open] summary::after { content: '−'; }
.makeup-plan form { padding: 0 0 14px; }
.makeup-plan label { display: block; margin: 9px 0 4px; font-size: 13px; }
.makeup-plan-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.makeup-plan-fields :is(input,button) { min-height: 44px; font: inherit; border-radius: 3px; }
.makeup-plan-fields input { min-width: 0; width: 100%; padding: 0 8px; color: inherit; background: var(--site-paper,#faf9f6); border: 1px solid var(--site-line,#a9a4ad); }
.makeup-plan-fields button { padding: 0 12px; color: white; background: var(--site-ink,#353833); }
.makeup-plan-hint { margin: 8px 0 0; font-size: 12px; }
.makeup-save > .editorial-primary {
  width: 100%;
  min-height: 46px;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0;
}
.makeup-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  color: var(--site-ink, #302e2b);
  font-size: 14px;
}
.makeup-download svg { width: 15px; height: 15px; }
.makeup-disclaimer { margin-top: 8px; color: #55534f; font-size: 12px; line-height: 1.55; }
.makeup-save button:disabled { opacity: .5; cursor: not-allowed; }
.makeup-guide {
  margin-top: 18px;
  border-top: 1px solid var(--site-line, #e3dfd8);
  scroll-margin-top: 16px;
}
.makeup-guide > p { margin-bottom: 7px; color: #55534f; }
.makeup-guide ol { margin: 0; padding-left: 24px; }
.makeup-guide-step { padding: 12px 0; border-bottom: 1px solid var(--site-line, #e3dfd8); }
.makeup-guide-step h3 { font-size: 15px; margin-bottom: 4px; }
.makeup-guide-step p { margin: 3px 0; line-height: 1.55; }
.makeup-guide-color span { margin-right: 5px; vertical-align: -1px; }

.tryon-feature .look-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tryon-feature .look-preview button {
  min-width: 0;
  min-height: 44px;
  justify-content: center;
  gap: 5px;
  padding: 5px 1px;
  color: var(--site-ink, #302e2b);
  font-size: 13px;
}
.tryon-feature .look-preview button > span { width: 11px; height: 11px; flex: none; }
.tryon-feature-image[data-k-look-hero] > img { object-position: center; }

@media (max-width: 1100px) {
  .makeup-studio { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); column-gap: 30px; }
}
@media (max-width: 760px), (pointer: coarse) {
  .makeup-photo-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .makeup-photo-actions .makeup-camera { display: flex; }
  .makeup-file-mobile { display: inline; }
  .makeup-file-desktop, .makeup-sample svg { display: none; }
}
@media (max-width: 760px) {
  .site-inner[data-page="tryon"] { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  body:has(.site-inner[data-page="tryon"] .makeup-studio) .jenny-float { display: none; }
  .tryon-heading { display: block; margin-bottom: 16px; }
  .tryon-heading h1 { font-size: 31px; }
  .tryon-title-break { display: block; }
  .tryon-private { margin: 8px 0 0; }
  .makeup-studio {
    grid-template-areas: "picker" "reference" "stage" "controls";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 15px;
  }
  .makeup-picker { padding-bottom: 0; border-bottom: 0; }
  .makeup-image-wrap { height: 330px; height: clamp(240px, 42svh, 380px); }
  .makeup-looks { gap: 5px; }
  .makeup-looks strong { font-size: 13px; }
  .makeup-looks small { display: none; }
  .makeup-reference h2, .makeup-result-heading h2 { font-size: 21px; }
  .tryon-feature .look-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .makeup-mini {
    position: sticky;
    top: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 5px;
    border: 1px solid var(--site-line, #e3dfd8);
    border-radius: 6px;
    background: var(--site-paper, #fbfaf7);
    box-shadow: 0 6px 14px #302e2b15;
  }
  .makeup-mini-content { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .makeup-mini-content canvas {
    width: 108px;
    height: 96px;
    flex: none;
    border-radius: 4px;
    background: #e9e7e2;
  }
  .makeup-mini-content p { color: inherit; font-weight: 600; line-height: 1.35; }
  .makeup-mini-toggle {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 8px;
    border-radius: 4px;
    color: var(--site-ink, #302e2b);
    font-size: 13px;
  }
  .makeup-mini-toggle:hover { background: #efede8; }
  .makeup-mini-toggle svg { width: 16px; height: 16px; }
  .makeup-mini-toggle[aria-expanded="true"] { align-self: flex-start; }
  .makeup-mini-toggle[aria-expanded="true"] span { display: none; }
  .makeup-mini-toggle[aria-expanded="false"] svg { transform: rotate(180deg); }
  .makeup-controls :is(button, input) { scroll-margin-block: 128px 76px; }
  .makeup-controls:has(.makeup-mini:not([hidden])) :is(.makeup-plan,.makeup-guide) { scroll-margin-top: 132px; }
}
@media (max-width: 350px) {
  .makeup-looks strong, .makeup-photo-actions > button { font-size: 12px; }
  .makeup-photo-actions svg { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .jenny-dialog, .makeup-spinner { animation: none; }
  .makeup-looks > button { transition: none; }
}
