/* v3.5 prototype wheel CSS, scoped to the live birth form. No example data. */
.profile-wheels { --wh-h: 2.125rem; gap: 20px; min-width: 0; }
.profile-wheels .bf-set { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.profile-wheels .bf-set legend { padding: 0; margin-bottom: 8px; font-size: .9rem; font-weight: 700; color: var(--muted,#737383); }
.profile-wheels .seg { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; background: var(--soft2,#f2f2f7); padding: 4px; border: 1px solid var(--line,#e4e4ed); border-radius: 14px; }
.profile-wheels .seg.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.profile-wheels .seg button { min-width: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted,#737383); min-height: 42px; padding: 8px 4px; font: inherit; font-size: .9rem; font-weight: 700; }
.profile-wheels .seg button[aria-pressed="true"] { background: var(--surface,#fff); color: var(--ink,#252538); box-shadow: 0 1px 4px #1c1b2914; }
.profile-wheels .seg button:disabled { opacity: .6; cursor: default; }
.profile-wheels .bf-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; min-height: 36px; }
.profile-wheels .bf-check input { width: 20px; height: 20px; accent-color: var(--c3,#8b5cf6); }
.profile-wheels .wheels { position: relative; display: flex; gap: 2px; height: calc(var(--wh-h) * 5 + 2px); padding: 0 6px; border-radius: 18px; background: var(--soft2,#f2f2f7); border: 1px solid var(--line,#e4e4ed); overflow: hidden; user-select: none; -webkit-user-select: none; }
.profile-wheels .wh-band { position: absolute; left: 6px; right: 6px; top: calc(var(--wh-h) * 2); height: var(--wh-h); border-radius: 12px; background: var(--surface,#fff); box-shadow: 0 1px 3px #1c1b2914,inset 0 0 0 1px var(--line,#e4e4ed); pointer-events: none; }
.profile-wheels .wh-col { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; height: 100%; overflow-x: hidden; overflow-y: scroll; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-y; cursor: grab; -webkit-mask-image: linear-gradient(180deg,transparent 0%,#000 32%,#000 68%,transparent 100%); mask-image: linear-gradient(180deg,transparent 0%,#000 32%,#000 68%,transparent 100%); }
.profile-wheels .wh-col::-webkit-scrollbar { display: none; }
.profile-wheels .wh-col:focus-visible { outline: none; }
.profile-wheels .wh-col:focus-visible .wh-i.on { box-shadow: inset 0 0 0 2.5px var(--c3,#8b5cf6); border-radius: 10px; }
.profile-wheels .wh-pad { height: calc(var(--wh-h) * 2); }
.profile-wheels .wh-i { height: var(--wh-h); display: flex; align-items: center; justify-content: center; padding: 0 4px; scroll-snap-align: center; font-size: 1.02rem; font-weight: 500; color: var(--muted,#737383); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; transform-origin: 50% 50%; backface-visibility: hidden; box-sizing: border-box; }
.profile-wheels .wh-i.on { color: var(--ink,#252538); font-weight: 800; }
.profile-wheels .wh-i.off { color: var(--faint,#8b8b9a); text-decoration: line-through; }
.profile-wheels .w-date .c-year { flex-grow: 1.35; }
.profile-wheels .w-place .c-prov { flex-grow: 1.1; }
.profile-wheels .w-place .wh-i { font-size: .95rem; }
.profile-wheels .wh-sum { font-size: .94rem; font-weight: 700; color: var(--ink,#252538); line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.profile-wheels .wh-sum .small { font-weight: 500; }
.profile-wheels .small,.profile-wheels .bf-err { font-size: .88rem; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.profile-wheels .bf-err { font-weight: 700; color: var(--care,#b34d62); }
.profile-wheels .bf-other { display: grid; gap: 12px; }
.profile-wheels .f { display: grid; gap: 6px; font-size: .9rem; }
.profile-wheels input[type="text"] { width: 100%; min-width: 0; box-sizing: border-box; font-size: 1rem; border: 1px solid var(--line,#e4e4ed); background: var(--surface,#fff); color: var(--ink,#252538); border-radius: 12px; padding: 12px; }
.profile-wheels .bf-confirm { display: grid; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid var(--c3,#8b5cf6); background: var(--soft2,#f2f2f7); }
.profile-wheels .form-actions { display: grid; gap: 10px; }
.profile-wheels .form-actions button,.profile-wheels .bf-confirm button,.profile-wheels .bf-other button { min-height: 44px; font: inherit; }
.profile-wheels [hidden] { display: none !important; }
@media (max-width:480px) { .profile-wheels .small,.profile-wheels .bf-err { font-size: 0.875rem; } .profile-wheels .wh-i { font-size: 1rem; } .profile-wheels .w-place .wh-i { font-size: 0.875rem; } }
:root[data-fs="large"] .profile-wheels { --wh-h: 2.6rem; }
:root[data-motion="off"] .profile-wheels .wh-i { transform: none !important; }
@media (prefers-reduced-motion:reduce) { .profile-wheels .wh-i { transform: none !important; } }
