


.brow { position: relative; display: grid; grid-template-columns: calc(40 * var(--ech)) minmax(0, 1fr) auto; align-items: center; gap: calc(10 * var(--ech));
  min-height: calc(88 * var(--ech)); padding: calc(12 * var(--ech)) calc(18 * var(--ech)) calc(12 * var(--ech)) calc(14 * var(--ech)); border-radius: var(--r-3); transition: background-color .25s ease;
  -webkit-tap-highlight-color: transparent; cursor: pointer; }
.brow + .brow { margin-top: 2px; }
.brow::after { content: ""; position: absolute; left: calc(64 * var(--ech)); right: calc(18 * var(--ech)); bottom: -1px; height: 1px; background: var(--filet); }
.brow:last-of-type::after { display: none; }
.brow:hover, .brow.focus, .brow.open { background: rgba(214, 219, 235, .05); }
.brow-icon { font-size: calc(22 * var(--ech)); color: var(--platine-84); text-align: center; display: grid; place-items: center; }
.brow-icon svg { width: calc(23 * var(--ech)); height: calc(23 * var(--ech)); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }

#row-date > .brow-icon.glyph, #row-time > .brow-icon.glyph, #row-city > .brow-icon.glyph { font-size: 0; }
#row-date > .brow-icon.glyph::before, #row-time > .brow-icon.glyph::before, #row-city > .brow-icon.glyph::before {
  content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--dessin) center / contain no-repeat; mask: var(--dessin) center / contain no-repeat; }
#row-date > .brow-icon.glyph { --dessin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.75' y='5.25' width='16.5' height='15' rx='2.5'/%3E%3Cpath d='M3.75 10h16.5M8.25 3.25v4M15.75 3.25v4'/%3E%3Ccircle cx='8.5' cy='14.25' r='.6' fill='%23000'/%3E%3Ccircle cx='12' cy='14.25' r='.6' fill='%23000'/%3E%3Ccircle cx='15.5' cy='14.25' r='.6' fill='%23000'/%3E%3C/svg%3E"); }
#row-time > .brow-icon.glyph { --dessin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3.25 2'/%3E%3C/svg%3E"); }
#row-city > .brow-icon.glyph { --dessin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.25s-6.75-6.1-6.75-11.25a6.75 6.75 0 0 1 13.5 0c0 5.15-6.75 11.25-6.75 11.25z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.brow-text { display: grid; gap: calc(6 * var(--ech)); min-width: 0; }

.brow-label { font: 500 var(--t-legende)/1.4 var(--f-ui); letter-spacing: .01em; text-transform: none; color: var(--platine-66); }
.brow-label i { font-style: normal; color: var(--platine-66); }

.brow-value { font: 360 clamp(26px, 7vw, calc(30 * var(--ech)))/1.08 var(--f-titre); letter-spacing: -.008em; color: var(--platine);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 0; font-variant-numeric: lining-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brow-value.muted { color: var(--platine-66); }
.brow-chev { width: 9px; height: 9px; margin-right: 4px; border-right: 1.5px solid var(--platine-66); border-bottom: 1.5px solid var(--platine-66);
  transform: rotate(-45deg); transition: transform .3s var(--ease-ouvre); }
.brow.open .brow-chev { transform: rotate(45deg) translate(-2px, -2px); }

.brow-hit { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit;
  background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.brow-hit:focus-visible { outline: 2px solid var(--lune); outline-offset: -2px; border-radius: var(--r-3); }

.brow-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; border: 0; color-scheme: dark;
  -webkit-appearance: none; appearance: none; }
.brow-clear { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--platine-66); }
.brow-clear:hover { color: var(--platine); background: rgba(214, 219, 235, .07); }
.brow-clear svg { width: 14px; height: 14px; }

.brow.has-clear { grid-template-columns: calc(40 * var(--ech)) minmax(0, 1fr) auto; }
.brow.has-clear.filled { grid-template-columns: calc(40 * var(--ech)) minmax(0, 1fr) auto auto; }
.brow.text { cursor: text; grid-template-columns: calc(40 * var(--ech)) minmax(0, 1fr); }   
.brow-input { width: 100%; min-width: 0; height: calc(36 * var(--ech)); padding: 0; border: 0; outline: none; background: none; text-align: left;
  font: 360 clamp(26px, 7vw, calc(30 * var(--ech)))/1.08 var(--f-titre); letter-spacing: -.008em; color: var(--platine);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 0; -webkit-appearance: none; appearance: none; }
.brow-input::placeholder { color: var(--platine-66); opacity: 1; }



.wp { position: fixed; inset: 0; z-index: 90; }
.wp[hidden] { display: none !important; }


.wp.is-modal, .wp.is-modal .wp-scrim { touch-action: none; }
.wp-col { overscroll-behavior: contain; }

.wp::before { content: ""; position: absolute; left: 0; right: 0; top: -150px; bottom: -150px; pointer-events: none;
  background: rgba(4, 7, 20, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .28s var(--ease-ouvre); }
.wp.in::before { opacity: 1; }
.wp-scrim { position: absolute; inset: 0; }
.wp-panel { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 100%; max-width: 520px; box-sizing: border-box;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: var(--r-3) var(--r-3) 0 0;
  --wp-foot: var(--nuit-1);
  background: var(--poussiere) 0 0 / 320px 320px repeat, linear-gradient(180deg, #131b42 0%, var(--wp-foot) 100%);
  border: 1px solid var(--filet); border-bottom: 0; box-shadow: inset 0 1px 0 rgba(214, 219, 235, .07);
  transform: translateY(104%); transition: transform .38s cubic-bezier(.2, .9, .25, 1); outline: none; }
.wp.in .wp-panel { transform: none; }
.wp-panel::after { content: ""; position: absolute; left: -1px; right: -1px; top: 100%; height: 150px; background: var(--wp-foot); pointer-events: none; }
.wp-panel.held { transition: none; }
.wp-grab { width: 38px; height: 5px; margin: 2px auto 10px; border-radius: 3px; background: var(--platine-44); }
.wp-head { padding: 4px 6px 12px; text-align: center; touch-action: none; }
.wp-title { margin: 0; font: 500 13px/1.4 var(--f-ui); letter-spacing: .01em; text-transform: none; color: var(--platine-66); }
.wp-big { margin: 6px 0 0; font: 360 30px/1.1 var(--f-titre); letter-spacing: -.008em; color: var(--platine);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-small { margin: 6px 0 0; font: 600 15px/1.4 var(--f-ui); color: var(--platine-84); }


.wp-wheels { position: relative; display: flex; gap: 4px; height: 220px; margin: 0 -4px; }
.wp-lens { position: absolute; left: 0; right: 0; top: 88px; height: 44px; border-radius: var(--r-2); pointer-events: none;
  background: rgba(214, 219, 235, .07); box-shadow: inset 0 0 0 1px rgba(214, 219, 235, .07); }
.wp-col { position: relative; flex: 1 1 0; min-width: 0; height: 220px; overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  perspective: 540px; outline: none; border-radius: var(--r-2); cursor: grab; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 66%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 66%, transparent 100%); }
.wp-col::-webkit-scrollbar { display: none; }
.wp-col.drag { scroll-snap-type: none; cursor: grabbing; }

.wp-col:focus-visible .wp-item.on { box-shadow: inset 0 0 0 1.5px var(--lune); border-radius: 12px; }
.wp-list { padding: 88px 0; }
.wp-item { height: 44px; line-height: 44px; scroll-snap-align: center; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 6px; font: 500 22px/44px var(--f-ui); font-variant-numeric: tabular-nums; color: var(--platine-84);
  transform-origin: 50% 50%; backface-visibility: hidden; -webkit-user-select: none; user-select: none; transition: color .15s; }
.wp-item.on { color: var(--platine); font-weight: 600; }
.wp-item.off { color: var(--platine-44); text-decoration: line-through; text-decoration-color: rgba(214, 219, 235, .22); }
.wp-day { flex-grow: .78; }
.wp-month { flex-grow: 1.7; }
.wp-month .wp-item { text-transform: capitalize; }
.wp-year { flex-grow: 1.05; }
.wp-period { flex-grow: .9; }
.wp-period .wp-item { font-size: 19px; }


.wp-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.wp .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; border: 0; border-radius: 999px;
  font: 600 16px/1.2 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: filter .15s, transform .15s var(--sortie), box-shadow .15s, color .15s; }
.wp .btn:active { transform: scale(.985); }
.wp-done { flex: 1 1 auto; padding: 0 28px; color: #0a0d1c; background: linear-gradient(180deg, #f4f5fb 0%, #d2d7e9 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 13, 28, .18); }
@media (hover: hover) and (pointer: fine) { .wp-done:hover { filter: brightness(1.06); } }
.wp-alt { flex: 1 1 auto; padding: 0 20px; white-space: normal; text-align: center; background: rgba(214, 219, 235, .04); color: var(--encre);
  box-shadow: inset 0 0 0 1.5px rgba(214, 219, 235, .5); }
@media (hover: hover) and (pointer: fine) { .wp-alt:hover { color: var(--champagne); box-shadow: inset 0 0 0 1.5px var(--champagne); } }

.wp-raison { margin: 0 4px 12px; padding: 10px 12px; border-radius: 8px; background: rgba(214, 219, 235, .09);
  box-shadow: inset 0 0 0 1px rgba(214, 219, 235, .32); font: 500 15px/1.45 var(--sans); color: var(--champagne); text-align: center; }
.wp-raison[hidden] { display: none; }
.wp-alt[hidden] { display: none; }


.wp.is-pop { inset: auto; width: 0; height: 0; }
.wp.is-pop::before, .wp.is-pop .wp-scrim, .wp.is-pop .wp-grab, .wp.is-pop .wp-panel::after { display: none; }
.wp.is-pop .wp-panel { position: fixed; bottom: auto; margin: 0; max-width: none; padding: 16px 14px 14px; border-radius: var(--r-3);
  border-bottom: 1px solid var(--filet);
  background: var(--poussiere) 0 0 / 320px 320px repeat, linear-gradient(180deg, #131b42 0%, var(--nuit-1) 100%);
  opacity: 0; transform: translateY(-8px) scale(.985); transform-origin: 50% 0; transition: opacity .2s ease, transform .24s var(--ease-ouvre); }
.wp.is-pop.in .wp-panel { opacity: 1; transform: none; }

.wp.is-pop .wp-head { padding: 0 6px 8px; }
.wp.is-pop .wp-title, .wp.is-pop .wp-big { display: none; }
.wp.is-pop .wp-small { margin: 0; }
.wp.is-pop.is-time .wp-head { display: none; }

:root[data-calme] .wp::before, :root[data-calme] .wp-panel, :root[data-calme] .wp.is-pop .wp-panel, :root[data-calme] .brow-chev { transition: none !important; }


.brow-input { text-overflow: ellipsis; }
