#my-hair { max-width: 36rem; margin: 1rem 0 1.5rem; }
#my-hair[hidden], .hair-profile [hidden] { display: none; }
main:has(#view) #my-hair { margin: 16px 14px; }
main:has(#my-hair:not([hidden])) #view, main:has(#my-hair:not([hidden])) #nav { display: none; }
.hair-profile { --ink: #25101e; --rose: #a10055; color-scheme: light; color: var(--ink); background: #fff6f6; border-radius: 20px; padding: 0; overflow: hidden; position: relative; font: inherit; }
.hair-profile > summary { padding: 14px 20px; font: 1.55rem/1.25 "Noto Serif Display", Noto, Georgia, serif; color: var(--ink); cursor: pointer; }
.hair-profile p { margin: 0; }
.hair-profile button { box-sizing: border-box; font: inherit; cursor: pointer; min-height: 44px; }
.hair-meta { display: flex; align-items: center; gap: 12px; padding: 12px 18px 8px; font-size: .82rem; }
.hair-meta span:first-child { font: italic 1.45rem/1.1 "Noto Serif Display", NotoI, Georgia, serif; color: var(--rose); }
.hair-meta span:last-child { font-variant-numeric: tabular-nums; }
.hair-progress { display: flex; gap: 4px; padding: 0 18px 12px; }
.hair-progress i { height: 3px; flex: 1; border-radius: 3px; background: #e5cbd7; }
.hair-progress .filled { background: #c60067; }
.hair-profile .hair-skip { position: absolute; top: 1px; right: 8px; z-index: 1; padding: 4px 10px; color: #712343; background: transparent; border: 0; font-size: .85rem; }
.hair-hero { --wash: #3c132e; position: relative; isolation: isolate; overflow: hidden; background: var(--wash); min-height: clamp(205px, 29svh, 272px); display: flex; align-items: flex-end; }
.hair-hero.tone-1 { --wash: #492e23; }
.hair-hero.tone-2 { --wash: #421326; }
.hair-hero img { position: absolute; z-index: -2; right: 0; top: 0; width: 65%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hair-hero.tone-2 img { object-position: 50% 22%; }
.hair-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--wash) 28%, transparent 81%), linear-gradient(0deg, #150712ab, transparent 60%); }
.hair-hero h2 { color: #fff9f5; font: 400 clamp(2.15rem, 7vw, 3.1rem)/1.02 "Noto Serif Display", Noto, Georgia, serif; letter-spacing: -.045em; max-width: 66%; text-wrap: balance; margin: 0; padding: 24px 0 22px 18px; box-sizing: border-box; }
.hair-form, .hair-home { padding: 18px 18px 2px; }
.hair-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.hair-profile button.hair-option { min-height: 54px; width: 100%; line-height: 1.2; border: 1px solid #e4bccc; border-radius: 12px; padding: 10px; color: #43182c; background: #fffdfc; font-weight: 600; }
.hair-profile .hair-option:hover, .hair-profile .hair-option[aria-pressed=true], .hair-profile .hair-option[aria-expanded=true] { border-color: var(--rose); background: #ffe2ee; color: #7a0040; }
.hair-profile button.hair-neutral, .hair-profile button.hair-link { border: 0; background: transparent; border-radius: 5px; color: #7c3253; padding: 6px 4px; font-size: .9rem; }
.hair-profile .hair-neutral { margin: 6px 0 0; }
.hair-profile .hair-link { margin: 0 18px 6px; }
.hair-field { display: grid; gap: 6px; padding: 6px 0; font-weight: 600; }
.hair-field input, .hair-field textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; background: #fff; color: var(--ink); border: 1px solid #b88d9d; border-radius: 9px; padding: 9px; font: inherit; font-size: 16px; }
.hair-field textarea { min-height: 76px; resize: vertical; }
.hair-profile button.hair-next { background: var(--rose); color: white; padding: 10px 18px; border: 0; border-radius: 999px; margin: 8px 0; }
.hair-profile :focus-visible { outline: 3px solid #9a0050; outline-offset: 2px; }
.hair-profile .hair-hero h2:focus { outline: 0; }
.hair-home { padding-bottom: 16px; }
.hair-home .hair-option { margin: 8px 0 0; }
.hair-status:not(:empty), .hair-home [role=status]:not(:empty) { padding: 10px 18px; }
.hair-step { padding-bottom: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .hair-hero h2 { animation: hair-arrive .2s ease-out both; }
  @keyframes hair-arrive { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

.hair-interview { padding: 18px; }
.hair-interview h2 { color: var(--ink); margin: 0 0 10px; font: 400 2rem/1.1 "Noto Serif Display", Noto, Georgia, serif; }
.hair-interview p { margin-bottom: 12px; }
.hair-review-row { display: grid; gap: 4px; margin: 12px 0; }
.hair-review-row label { display: flex; align-items: center; min-height: 44px; gap: 8px; }
.hair-review-row select, .hair-review-row input[type=number] { box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px; font: inherit; color: var(--ink); background: white; border: 1px solid #b88d9d; border-radius: 8px; }
