/* Shape & length guide */
.hs-shp {
	--hs-shp-c1: color-mix(in srgb, var(--h-accent) 22%, var(--h-surface));
	--hs-shp-c2: color-mix(in srgb, var(--h-accent) 70%, var(--h-surface));
	--hs-shp-skin: #E8BFA5;
	display: grid; gap: 40px; align-items: stretch;
}
.h-look-chrome .hs-shp { --hs-shp-c1: #F5F7FA; --hs-shp-c2: #9AA7B8; --hs-shp-skin: #B9866F; }
@media (min-width: 900px) { .hs-shp { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.hs-shp__stage {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
	min-height: 420px; overflow: hidden; border-radius: var(--h-r-xl); background: var(--h-soft);
}
.hs-shp__tag {
	position: absolute; top: 20px; left: 20px; padding: 8px 14px; border-radius: var(--h-r-btn);
	background: var(--h-surface); color: var(--h-ink); font-size: 14px; font-weight: 700; line-height: 1.3;
}
.hs-shp__svg { display: block; width: min(300px, 76%); height: auto; }
.hs-shp__c1 { stop-color: var(--hs-shp-c1); }
.hs-shp__c2 { stop-color: var(--hs-shp-c2); }
.hs-shp__finger { fill: var(--hs-shp-skin); }
.hs-shp__nail { transition: opacity .18s ease; }
.hs-shp__gloss { fill: none; stroke: #FFFFFF; stroke-opacity: .6; stroke-width: 6; stroke-linecap: round; }
.hs-shp.is-swapping .hs-shp__nail { opacity: .55; }

.hs-shp__panel { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hs-shp__shapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hs-shp__shape {
	display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 76px; padding: 12px 8px;
	border-radius: var(--h-r-md); border: 1px solid var(--h-line); background: var(--h-surface); color: var(--h-ink);
	font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer;
	-webkit-user-select: none; user-select: none; touch-action: manipulation;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .16s var(--h-ease-out);
}
.hs-shp__shape svg path { fill: none; stroke: currentColor; stroke-width: 2.4; }
.hs-shp__shape[aria-pressed="true"] { background: var(--h-btn); border-color: var(--h-btn); color: var(--h-btn-ink); }
.hs-shp__shape:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
	.hs-shp__shape:hover { border-color: var(--h-ink); }
	.hs-shp__shape[aria-pressed="true"]:hover { border-color: var(--h-btn); }
}
.hs-shp__lengths .h-seg__opt { min-height: 40px; font-size: 14px; }

.hs-shp__info { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: var(--h-r-lg); }
.hs-shp__info p { margin: 0; }
.hs-shp__name { font-size: 17px; font-weight: 700; color: var(--h-ink); }
.hs-shp__note { font-size: 15px; line-height: 1.6; color: var(--h-muted); }
.hs-shp__line { font-size: 14px; line-height: 1.5; color: var(--h-ink); }
.hs-shp__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 599px) {
	.hs-shp { gap: 28px; }
	.hs-shp__stage { min-height: 340px; }
	.hs-shp__actions .h-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.hs-shp__nail, .hs-shp__shape { transition: none; }
	.hs-shp__shape:active { transform: none; }
}
