/* OS + MALI shared choice controls; native fields retain their form contract. */
html body .os-choice-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;opacity:0!important;pointer-events:none!important}
html body .os-choice-host{display:inline-block;position:relative;min-width:0;max-width:100%;width:100%;vertical-align:middle;font:inherit;color:inherit}
html body .os-choice-react,html body .os-choice-menu{display:block;width:100%;min-width:0}
html body .os-choice-menu>.lg-button,html body .os-choice-trigger{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:48px!important;height:auto!important;padding:12px 16px!important;border-radius:16px!important;border:1px solid #85858c38!important;background:#ffffffad!important;color:var(--ink,#1d1d1f)!important;font:inherit!important;font-size:16px!important;line-height:1.35!important;box-shadow:inset 0 1px 1px #fff,0 2px 5px #19192308!important;cursor:pointer;touch-action:manipulation}
html body .os-choice-label{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-width:0}
html body .os-choice-label>span,html body .os-choice-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
html body .os-choice-label>svg,html body .os-choice-trigger>svg{width:18px;height:18px;flex:0 0 18px;opacity:.75}
html body .os-choice-menu>.lg-button:focus-visible,html body .os-choice-trigger:focus-visible{outline:2px solid currentColor!important;outline-offset:3px!important}
html body .os-choice-menu>.lg-button:disabled,html body .os-choice-trigger:disabled{opacity:.45!important;cursor:default}
html body .os-choice-card{z-index:20020!important;border-radius:24px!important;font-family:inherit;isolation:isolate;max-width:calc(100vw - 24px)!important;box-sizing:border-box;--lg-glass-bend:0;--lg-glass-dispersion:0;--lg-blur:var(--os-menu-blur,3.5px);--lg-rim-shine:var(--os-menu-rim,1);color:#1d1d1f}
html body .os-choice-card .lg-menu-surface,html body .os-date-popover{background-color:#f5f5f7a6!important;background-image:var(--lg-rim,none)!important;background-size:100% 100%!important;border-radius:24px!important;backdrop-filter:blur(6px) var(--lg-filter,saturate(1.65))!important;-webkit-backdrop-filter:blur(6px) var(--lg-filter,saturate(1.65))!important;box-shadow:0 20px 52px #19192330,0 3px 8px #1919231a,inset 0 0 0 1px #fffffff0,inset 0 2px 3px #ffffffb3,inset 0 -1px 2px #72727d38!important}
html body .os-choice-card .lg-menu-content{padding:8px!important;scrollbar-width:thin;border-radius:inherit}
html body .os-choice-card .lg-menu-item{display:flex!important;align-items:center!important;width:100%!important;min-height:46px!important;padding:11px 12px!important;margin:0!important;gap:8px!important;border:0!important;border-radius:16px!important;background:transparent!important;color:inherit!important;font:inherit!important;font-size:16px!important;line-height:1.35!important;text-align:left!important;box-shadow:none!important;white-space:normal!important}
html body .os-choice-card .lg-menu-item[hidden]{display:none!important}
html body .os-choice-card .lg-menu-plate{background:#1d1d1f1f!important;border-radius:16px!important;box-shadow:inset 0 0 0 1px #ffffff80!important}
html body .os-choice-card .lg-menu-item:is(:hover,:focus-visible){background:#1d1d1f15!important;outline:none!important}
html body .os-choice-option{display:flex;align-items:center;justify-content:space-between;width:100%;gap:16px;min-width:0}
html body .os-choice-option[data-selected=true]{font-weight:650}
html body .os-choice-check{width:20px;height:20px;flex:0 0 20px;display:block}
html body .os-choice-check svg{width:20px;height:20px;display:block}
html body .os-choice-search{box-sizing:border-box;position:sticky;top:0;z-index:2;display:block;width:100%;min-height:44px;padding:10px 12px;margin:0 0 6px;border-radius:14px;border:1px solid #85858c38;background:#fafafcf0;color:#1d1d1f;font:inherit;font-size:16px}
html body .os-date-popover{position:fixed!important;z-index:20020!important;box-sizing:border-box;padding:14px;max-width:calc(100vw - 24px);overflow:auto;color:#1d1d1f;font-family:inherit}
html body .os-date-popover header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 12px}
html body .os-date-popover header strong{text-transform:capitalize;font-size:16px}
html body .os-date-popover button{font:inherit!important;min-height:40px;min-width:40px;border:0!important;background:transparent;color:inherit;border-radius:50%;padding:7px;cursor:pointer;touch-action:manipulation;box-shadow:none!important}
html body .os-date-popover button:is(:hover,:focus-visible){background:#1d1d1f18;outline:2px solid transparent}
html body .os-date-popover button:focus-visible{outline-color:currentColor;outline-offset:-2px}
html body .os-date-popover button:disabled{opacity:.3;cursor:default}
html body .os-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
html body .os-day-grid small{font-size:12px;font-weight:600;opacity:.65;padding:5px}
html body .os-day-grid button{width:100%;aspect-ratio:1;height:auto!important;min-width:0!important;min-height:0!important;max-width:44px;justify-self:center}
html body .os-date-popover button[aria-pressed=true]{background:var(--wine)!important;color:#fff!important;font-weight:700!important;box-shadow:inset 0 1px 1px #ffffff40!important}
html body .os-date-popover footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #85858c30}
html body .os-date-popover footer button{padding:8px 15px;border-radius:999px;background:#1d1d1f0e}
html body .os-month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
html body .os-month-grid button{border-radius:14px;text-transform:capitalize}
html body .os-picker-time{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:16px}
html body .os-picker-time input{font:inherit!important;font-size:18px!important;border-radius:12px;padding:10px;background:#ffffffb0;color:inherit;border:1px solid #85858c38;min-height:44px}
html[data-theme=dark] body .os-choice-menu>.lg-button,html[data-theme=dark] body .os-choice-trigger{background:#2b2b2fa6!important;color:#f5f5f7!important;border-color:#ffffff2b!important;box-shadow:inset 0 1px 1px #ffffff38,0 2px 6px #0002!important}
html[data-theme=dark] body .os-choice-card,html[data-theme=dark] body .os-date-popover{color:#fff}
html[data-theme=dark] body .os-choice-card .lg-menu-surface,html[data-theme=dark] body .os-date-popover{background-color:#202023bd!important;box-shadow:0 20px 52px #0006,inset 0 0 0 1px #ffffff48,inset 0 2px 3px #ffffff35,inset 0 -1px 2px #0005!important}
html[data-theme=dark] body .os-choice-card .lg-menu-plate,html[data-theme=dark] body .os-choice-card .lg-menu-item:is(:hover,:focus-visible),html[data-theme=dark] body .os-date-popover button:is(:hover,:focus-visible){background:#ffffff26!important}
html[data-theme=dark] body .os-choice-search{background:#303034ed;color:#fff}
html[data-theme=dark] body .os-picker-time input{background:#303034;color:#fff;color-scheme:dark}
body:has(.paper-workspace,.paper-modal) .os-date-popover button[aria-pressed=true]{background:#743948!important}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html body .os-choice-card .lg-menu-surface,html body .os-date-popover{background:#fafafc!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-theme=dark] body .os-choice-card .lg-menu-surface,html[data-theme=dark] body .os-date-popover{background:#242427!important}}
@media print{.os-choice-card,.os-date-popover{display:none!important}}

html body .os-date-popover{background-color:#f5f5f7db!important;backdrop-filter:blur(10px) var(--lg-filter,saturate(1.65))!important;-webkit-backdrop-filter:blur(10px) var(--lg-filter,saturate(1.65))!important}
html body .os-choice-card .lg-menu-content{}
html[data-theme=dark] body .os-date-popover{background-color:#202023de!important}

html body .os-choice-host[hidden]{display:none!important}

html body .os-text-choice{display:flex;align-items:center;gap:0;border:1px solid #85858c38;border-radius:16px;min-height:48px;background:#ffffffad;box-shadow:inset 0 1px 1px #fff,0 2px 5px #19192308;overflow:hidden}
html body .os-text-choice>input{flex:1;min-width:0;width:100%;min-height:48px;height:auto;margin:0!important;padding:12px 14px!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;font:inherit;font-size:16px;color:inherit}
html body .os-text-choice-menu{flex:0 0 44px;width:44px}
html body .os-text-choice-menu>.lg-button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
html body .os-text-choice-menu svg{width:18px;height:18px}
html[data-theme=dark] body .os-text-choice{background:#2b2b2fa6;color:#f5f5f7;border-color:#ffffff2b;box-shadow:inset 0 1px 1px #ffffff38}

/* Keep every hour reachable, including in short mobile viewports. */
html body .os-choice-card{overflow:hidden!important;max-height:calc(100dvh - 24px)!important}
html body .os-choice-card .lg-menu-content{max-height:min(360px,calc(100dvh - 48px))!important;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y!important;-webkit-overflow-scrolling:touch;padding-bottom:12px!important}

/* Hidden native controls keep form semantics without contributing min-width. */
html body #app :is(input,select).os-choice-native,html body :is(input,select).os-choice-native {
 box-sizing:border-box!important;min-width:0!important;max-width:1px!important;width:1px!important;
 min-height:0!important;max-height:1px!important;height:1px!important;inset:auto!important;
 border:0!important;contain:strict!important;
}

/* Today is a reference; it never fills an empty date or replaces its selection. */
html body .os-date-popover :is(.os-day-grid,.os-month-grid) button[aria-current=date]{
 outline:2px solid var(--wine)!important;outline-offset:-3px!important;font-weight:700!important;
}
html[data-theme=dark] body .os-date-popover :is(.os-day-grid,.os-month-grid) button[aria-current=date]{outline-color:#ffb4a9!important}
html body .os-date-popover footer .os-picker-today{margin-right:auto;color:var(--wine);font-weight:600}
html[data-theme=dark] body .os-date-popover footer .os-picker-today{color:#ffb4a9}
body:has(.paper-workspace,.paper-modal) .os-date-popover :is(.os-day-grid,.os-month-grid) button[aria-current=date]{outline-color:#743948!important}

.os-choice-empty{margin:12px 16px;font-size:14px;line-height:1.5;color:var(--ink,#1d1d1f)}
.os-choice-empty[hidden]{display:none}
