/* MyBouncer component layer, modelled on Watermelon UI (shadcn-style) components and drawn in the DESIGN.md palette.
   Loaded last on every page, so one file restyles buttons, fields, tables, badges, tabs, alerts, cards, dialogs and
   toasts across the website, the client and professional apps, the agency portal and the team console.
   Only looks change: sizes that layouts depend on, markup and behaviour stay as they are.
   Watermelon references: Button 4 (arrow), Textarea 2 (field focus), Table 6 (rounded table), Badge 12/13/15 (soft status
   pill with dot), Tabs 1 (segmented tabs), Alert 23 (soft callout), Sonner (toast), Accordion 14 (FAQ). */
:root{
  --c-blue:#276EF1;--c-blue-d:#1F5FD6;--c-blue-t:#1A56C4;--c-blue-50:#EEF4FE;--c-blue-100:#DCE8FD;
  --c-ink:#0A0B0D;--c-ink-2:#1F2329;--c-muted:#646B76;--c-muted-2:#6B717C;
  --c-line:#E3E6EB;--c-line-2:#EEF0F3;--c-line-strong:#CDD2DA;--c-alt:#F5F7FA;--c-alt-2:#F9FAFB;
  --c-ok:#16A34A;--c-ok-t:#15803D;--c-warn:#D97706;--c-warn-t:#B45309;--c-bad:#C01F2F;--c-bad-t:#B91C2C;
  --c-r:10px;--c-r-card:16px;
  --c-ring:0 0 0 3px rgba(39,110,241,.22);
  --c-xs:0 1px 2px rgba(10,11,13,.05);
  --c-sm:0 1px 3px rgba(10,11,13,.07),0 1px 2px rgba(10,11,13,.04);
  --c-lg:0 16px 40px -16px rgba(10,11,13,.25),0 2px 6px rgba(10,11,13,.05);
}

/* ================= Buttons ================= */
/* Rounded-lg shape, light shadow, clear hover, 3px focus ring. Website buttons already share this shape. */
html body :is(.btn,.cta,.submit,.btn-dark,.btn-soft,.btn-line,.btn-gold,.signout,.w-back){
  border-radius:var(--c-r)!important;font-weight:600!important;letter-spacing:0!important;
  transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s,transform .12s!important}
html body :is(.btn,.btn-line,.w-back):not(.dark):not(.ok):not(.bad):not(.primary):not(.btn-primary):not(.btn-dark):not(.btn-ghost):not(.btn-white):not(.btn-soft){
  background:#fff!important;border:1px solid var(--c-line)!important;color:var(--c-ink)!important;box-shadow:var(--c-xs)!important}
html body :is(.btn,.btn-line,.w-back):not(.dark):not(.ok):not(.bad):not(.primary):not(.btn-primary):not(.btn-dark):not(.btn-ghost):not(.btn-white):not(.btn-soft):hover{
  background:var(--c-alt)!important;border-color:var(--c-line-strong)!important}
/* primary: brand blue (the website's primary, the apps' "ok" and "primary" buttons) */
html body :is(.btn-primary,.btn.ok,.btn.primary,.btn-gold,.btn.gold){
  background:var(--c-blue)!important;border:1px solid var(--c-blue)!important;color:#fff!important;
  box-shadow:var(--c-xs),inset 0 1px 0 rgba(255,255,255,.14)!important}
html body :is(.btn-primary,.btn.ok,.btn.primary,.btn-gold,.btn.gold):hover{background:var(--c-blue-d)!important;border-color:var(--c-blue-d)!important}
html body :is(.btn-primary,.btn.ok,.btn.primary) svg{color:#fff!important}
/* dark: black buttons keep their authority, without the heavy drop shadow */
html body :is(.btn-dark,.btn.dark,.submit:not(.page .submit)){
  background:var(--c-ink)!important;border:1px solid var(--c-ink)!important;color:#fff!important;box-shadow:var(--c-xs),inset 0 1px 0 rgba(255,255,255,.08)!important}
html body :is(.btn-dark,.btn.dark,.submit:not(.page .submit)):hover{background:#262A31!important;border-color:#262A31!important;transform:none}
/* soft (secondary tinted) and danger */
html body .btn-soft{background:var(--c-blue-50)!important;border:1px solid var(--c-blue-100)!important;color:var(--c-blue-t)!important;box-shadow:none!important}
html body .btn-soft:hover{background:var(--c-blue-100)!important}
html body .btn.bad{background:#fff!important;border:1px solid #F1C6CB!important;color:var(--c-bad-t)!important;box-shadow:var(--c-xs)!important}
html body .btn.bad:hover{background:#FDF2F3!important;border-color:#E9A9B1!important}
html body :is(.btn,.submit,.cta):focus-visible{box-shadow:var(--c-ring)!important;outline:2px solid transparent!important}
html body :is(.btn,.submit,.cta):disabled,html body .btn[aria-disabled=true]{opacity:.5!important;box-shadow:none!important}

/* ================= Fields (Watermelon Textarea 2: label above, soft primary focus ring) ================= */
html body :is(input[type=text],input[type=password],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=search],input[type=url],input:not([type]),select,textarea,.input,.phone .cc,.sort-menu):not(.bare):not(.search *){
  border-radius:var(--c-r)!important;border:1px solid var(--c-line)!important;background-color:#fff!important;
  box-shadow:var(--c-xs)!important;color:var(--c-ink);font-weight:500;transition:border-color .15s,box-shadow .15s,background-color .15s}
html body .search{border-radius:var(--c-r)!important;border:1px solid var(--c-line)!important;background:#fff!important;box-shadow:var(--c-xs)!important}
html body :is(input,select,textarea,.input):not(.bare):not([type=checkbox]):not([type=radio]):not([type=range]):hover{border-color:var(--c-line-strong)!important}
html body :is(input,select,textarea,.input):not(.bare):not([type=checkbox]):not([type=radio]):not([type=range]):focus,html body .search:focus-within{
  border-color:rgba(39,110,241,.6)!important;box-shadow:var(--c-ring)!important;outline:none!important}
html body :is(.pw,.otp,.code) input:focus{border-color:rgba(39,110,241,.6)!important;box-shadow:var(--c-ring)!important}
html body :is(input,select,textarea)::placeholder{color:var(--c-muted-2)!important;font-weight:400!important;opacity:1}
html body :is(input,select,textarea):disabled{background-color:var(--c-alt)!important;color:var(--c-muted)!important;box-shadow:none!important;cursor:not-allowed}
html body :is(.field.invalid,.ff) :is(input,select,textarea)[aria-invalid=true],html body .field.invalid :is(input,select),html body .input.err{
  border-color:var(--c-bad)!important;box-shadow:0 0 0 3px rgba(192,31,47,.14)!important}
html body :is(label,.fld label,.field label,.ff label){letter-spacing:0}

/* ================= Dropdowns, date and time pickers: one consistent look on every page =================
   Native controls are kept (they work with keyboards, screen readers and phone pickers); only their look changes:
   a chevron on dropdowns, calendar and clock buttons on date and time fields, tinted focus on the part being edited. */
html body select:not(.bare):not([multiple]):not([size]):not(.rk-lang select){-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646B76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important;
  padding-right:40px!important;cursor:pointer;text-overflow:ellipsis;color-scheme:light}
html body select:not(.bare):not([multiple]):not([size]):not(.rk-lang select):focus{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important}
html body select:not(.bare) option{color:var(--c-ink);background-color:#fff;font-weight:500}
html body select:not(.bare) option:disabled{color:var(--c-muted-2)}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare){cursor:pointer;font-variant-numeric:tabular-nums;color-scheme:light;accent-color:var(--c-blue);border-radius:var(--c-r)!important;border:1px solid var(--c-line)!important;background-color:#fff!important;box-shadow:var(--c-xs)!important}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-calendar-picker-indicator{width:18px;height:18px;padding:6px;margin:0 -4px 0 6px;border-radius:8px;cursor:pointer;opacity:1;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646B76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E") center/18px 18px no-repeat;color:transparent;transition:background-color .15s}
html body input[type=time]:not(.bare)::-webkit-calendar-picker-indicator{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646B76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare):hover::-webkit-calendar-picker-indicator,html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare):focus::-webkit-calendar-picker-indicator{background-color:var(--c-blue-50);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")}
html body input[type=time]:not(.bare):hover::-webkit-calendar-picker-indicator,html body input[type=time]:not(.bare):focus::-webkit-calendar-picker-indicator{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit{padding:0}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-fields-wrapper{padding:0}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-text{color:var(--c-muted-2);padding:0 2px}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-day-field:focus,html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-month-field:focus,html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-year-field:focus,
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-hour-field:focus,html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-minute-field:focus,html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)::-webkit-datetime-edit-ampm-field:focus{background-color:var(--c-blue-50);color:var(--c-blue-t);border-radius:4px;outline:none}
html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]):not(.bare)[aria-invalid=true],html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month]).err{border-color:var(--c-bad)!important;box-shadow:0 0 0 3px rgba(192,31,47,.14)!important}
@media (prefers-reduced-motion:reduce){html body :is(input[type=date],input[type=time],input[type=datetime-local],input[type=month])::-webkit-calendar-picker-indicator{transition:none}}

/* ================= Tables (Watermelon Table 6: rounded card, shaded header, quiet rows) ================= */
html body table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
html body :is(.tbl,.tbl-wrap):has(table),html body table.tbl{border:1px solid var(--c-line)!important;border-radius:14px!important;overflow:hidden;box-shadow:var(--c-xs)!important;background:#fff!important}
html body :is(.tbl,.tbl-wrap) table{border:0!important}
/* a table that already sits inside a card drops its own frame (no card inside a card) */
html body :is(.box,.card) :is(.tbl,.tbl-wrap):has(table),html body :is(.box,.card) table.tbl{border:0!important;border-radius:0!important;box-shadow:none!important}
html body table thead th,html body table tr:first-child>th{
  background:var(--c-alt-2)!important;color:var(--c-muted)!important;font-size:12px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 var(--c-line);border-bottom:0!important;white-space:nowrap}
html body table tbody td{border-bottom:1px solid var(--c-line-2)}
html body table tbody tr:last-child td{border-bottom:0}
html body table tbody tr:hover td{background:var(--c-alt-2)!important}
html body table tfoot td{background:var(--c-alt-2);font-weight:600;box-shadow:inset 0 1px 0 var(--c-line)}

/* ================= Status badges (Watermelon Badge 12 / 13 / 15: soft tint, dot, no border) ================= */
html body :is(.pill,.badge,.tag,.st,.bs-badge){
  display:inline-flex;align-items:center;gap:6px;border:0!important;border-radius:999px!important;font-size:12px!important;font-weight:600!important;
  letter-spacing:0!important;text-transform:none!important;line-height:1.5;white-space:nowrap;background:#F1F3F5;color:var(--c-muted)}
html body :is(.pill,.badge,.tag,.st,.bs-badge):not(:has(i,svg,img))::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
html body :is(.pill,.badge,.tag,.st):is(.ok,.verified,.approved,.confirmed,.done,.resolved,.paid,.active,.p-ok,.green){background:rgba(22,163,74,.10)!important;color:var(--c-ok-t)!important}
html body :is(.pill,.badge,.tag,.st):is(.pending,.wait,.act,.new,.matching,.requested,.progress,.info,.p-wait,.w,.blue){background:rgba(39,110,241,.10)!important;color:var(--c-blue-t)!important}
html body :is(.pill,.badge,.tag,.st):is(.rejected,.bad,.late,.open,.alert,.err,.no,.cancelled,.expired,.p-bad,.red){background:rgba(192,31,47,.09)!important;color:var(--c-bad-t)!important}
html body :is(.pill,.badge,.tag,.st):is(.warn,.lowacc,.expiring,.p-warn,.amber,.suspended){background:rgba(217,119,6,.11)!important;color:var(--c-warn-t)!important}
html body :is(.pill,.badge,.tag,.st):is(.none,.missing,.incomplete,.closed,.p-mute,.muted){background:#F1F3F5!important;color:var(--c-muted)!important}
html body :is(.pill,.badge):is(.p-dark,.dark){background:var(--c-ink)!important;color:#fff!important}
html body .pill i{width:6px!important;height:6px!important}

/* ================= Chips (Watermelon Badge 22: outline, selected turns tinted) ================= */
html body .chip{border-radius:999px!important;border:1px solid var(--c-line)!important;background:#fff!important;color:var(--c-ink-2)!important;font-weight:600!important;box-shadow:var(--c-xs);transition:background-color .15s,border-color .15s,color .15s}
html body .chip:hover{border-color:var(--c-line-strong)!important;background:var(--c-alt)!important}
html body :is(.chip.on,.chip[aria-pressed=true],.chip[aria-selected=true]){background:var(--c-blue-50)!important;border-color:var(--c-blue-100)!important;color:var(--c-blue-t)!important;box-shadow:none}
html body .pro .chip{box-shadow:none}
html body .pro .chip:not(.ok){background:var(--c-blue-50)!important;border-color:transparent!important;color:var(--c-blue-t)!important}
html body .pro .chip.ok{background:rgba(22,163,74,.10)!important;border-color:transparent!important;color:var(--c-ok-t)!important}

/* ================= Tabs (Watermelon Tabs 1: muted track, active tab lifts onto a white pill) ================= */
html body :is(.main .tabs,.main-inner .tabs,.bz-tabs,.tabs2,.page .tabs,.seg,body>main .tabs){
  display:flex;flex-wrap:wrap;width:fit-content;max-width:100%;gap:4px!important;padding:4px!important;background:#F1F3F6!important;border:0!important;border-radius:14px!important;box-shadow:none!important}
html body :is(.main .tabs,.main-inner .tabs,.bz-tabs,.tabs2,.page .tabs,.seg,body>main .tabs) :is(button,a,.tab){
  border:0!important;background:transparent!important;border-radius:10px!important;color:var(--c-muted)!important;font-weight:600!important;box-shadow:none!important;margin:0!important;transition:background-color .15s,color .15s,box-shadow .15s}
html body :is(.main .tabs,.main-inner .tabs,.bz-tabs,.tabs2,.page .tabs,.seg,body>main .tabs) :is(button,a,.tab):hover{color:var(--c-ink)!important}
html body :is(.main .tabs,.main-inner .tabs,.bz-tabs,.tabs2,.page .tabs,.seg,body>main .tabs) :is([aria-selected=true],.on,.active){
  background:#fff!important;color:var(--c-blue-t)!important;box-shadow:var(--c-sm)!important}
html body :is(.bz-tabs,.tabs2){flex-wrap:nowrap;overflow-x:auto}
html body .tabs2 button span{opacity:.7}
/* sign out: red outline button with an icon, always on its own line below the profile menu */
html body .signout{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;margin:20px 0 0!important;padding:0 18px!important;
  background:#fff!important;border:1px solid #F3C5CB!important;color:#C01F2F!important;font-size:14px!important;box-shadow:var(--c-xs)!important;cursor:pointer}
html body .signout:hover{background:#FCE9EB!important;border-color:#E9A3AD!important}
html body .signout svg{width:16px;height:16px;flex:none;color:currentColor!important}
/* phones: segmented tabs stay on one row and scroll sideways instead of wrapping into a grey block */
@media (max-width:640px){
  html body :is(.main .tabs,.main-inner .tabs,.bz-tabs,.tabs2,body>main .tabs):not(.page .tabs){flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body :is(.main .tabs,.main-inner .tabs,.bz-tabs,.tabs2,body>main .tabs):not(.page .tabs)::-webkit-scrollbar{display:none}
  html body :is(.main .tabs,.main-inner .tabs,.bz-tabs,.tabs2,body>main .tabs):not(.page .tabs) :is(button,a,.tab){flex:none!important;white-space:nowrap}
}
/* sign-in role switch: two equal halves across the card */
html body .page .tabs{display:flex;flex-wrap:nowrap;width:100%}
html body .page .tabs button{flex:1 1 0!important;min-width:0;min-height:40px;padding:8px 10px!important;white-space:nowrap}

/* ================= Alerts and notes (Watermelon Alert 23: borderless soft callout) ================= */
html body :is(.note,.notice,.alert:not(.pill):not(.badge),.res-bar,.banner.wait){border:0!important;border-radius:12px!important;background:rgba(39,110,241,.07)!important;color:var(--c-ink-2)!important;box-shadow:none!important}
html body :is(.alert.bad:not(.pill):not(.badge),.form-error.show,.form-error:not(:empty),.banner.bad,.note.bad){border:0!important;border-radius:12px!important;background:rgba(192,31,47,.08)!important;color:var(--c-bad-t)!important}
html body :is(.alert.ok:not(.pill):not(.badge),.page .done,.note.ok){border:0!important;border-radius:12px!important;background:rgba(22,163,74,.09)!important;color:var(--c-ok-t)!important}
html body :is(.banner.warn,.note.warn){border:0!important;border-radius:12px!important;background:rgba(217,119,6,.10)!important;color:#92400E!important}

/* ================= Cards (Watermelon Card: hairline border, light shadow) ================= */
html body :is(.card,.box,.stat,.kpi,.booking,.job,.ent-card,.duty,.review,.bs-box,.item,.near-card,.convo-list,.thread,.bk,.doc):not(.tile){
  border-color:var(--c-line)!important;box-shadow:var(--c-xs)!important}
html body :is(.card,.booking,.job,.near-card,.kpi,.bk):not(.tile):hover{box-shadow:var(--c-sm)!important;border-color:var(--c-line-strong)!important}
html body :is(.kpi,.stat) :is(b,strong){font-variant-numeric:tabular-nums}

/* ================= Dialogs, drawers and overlays ================= */
html body :is(dialog,.mdl,.ofc){border-radius:20px!important;box-shadow:var(--c-lg)!important;border:1px solid var(--c-line)!important}
html body dialog::backdrop,html body :is(.mbg,.ofb,.ob-bg,.scrim){background:rgba(10,11,13,.42)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}

/* ================= Toasts (Watermelon Sonner: white card, hairline border, soft shadow) ================= */
html body :is(.toast,#toast){background:#fff!important;color:var(--c-ink)!important;border:1px solid var(--c-line)!important;border-radius:12px!important;box-shadow:var(--c-lg)!important;font-weight:500}
html body :is(.toast,#toast) svg{color:var(--c-blue)!important}

/* ================= Dropdown menus and tooltips ================= */
html body :is(.dd-panel,.sort-menu-list,.popover){border:1px solid var(--c-line)!important;border-radius:14px!important;box-shadow:var(--c-lg)!important}
html body [data-tip]::after{border-radius:8px!important;font-weight:600}

/* ================= Empty states and skeletons ================= */
html body .empty{color:var(--c-muted)}
html body .empty img{opacity:.8}

/* ================= Avatars ================= */
html body :is(.av,.avatar,.ava):not(.me .av){box-shadow:0 0 0 2px #fff,0 0 0 3px var(--c-line-2)}

@media (prefers-reduced-motion:reduce){html body :is(.btn,.chip,.submit){transition:none!important}}


/* ================= Our own pop-ups for dropdowns, dates and times (pickers.js) =================
   With a mouse or trackpad the browser's pop-ups are replaced by these; on touch screens the device pickers open. */
@media (pointer:fine){
  html body :is(input[type=date],input[type=time]):not(.bare)::-webkit-calendar-picker-indicator{display:none!important}
  html body input[type=date]:not(.bare){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646B76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:18px 18px!important;padding-right:40px!important}
  html body input[type=time]:not(.bare){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646B76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:18px 18px!important;padding-right:40px!important}
  html body input[type=date]:not(.bare):is(:focus,.pk-open){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")!important}
  html body input[type=time]:not(.bare):is(:focus,.pk-open){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")!important}
}
html body :is(select,input).pk-open{border-color:rgba(39,110,241,.6)!important;box-shadow:var(--c-ring)!important}
html body select.pk-open:not(.bare){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E")!important}
.pkp{position:fixed;z-index:2147483647;background:#fff;border:1px solid var(--c-line);border-radius:14px;box-shadow:var(--c-lg);font:500 14px/1.35 Inter,system-ui,sans-serif;color:var(--c-ink);
  max-height:min(340px,62vh);display:flex;flex-direction:column;overflow:hidden;animation:pkp-in .14s cubic-bezier(.2,.7,.2,1)}
@keyframes pkp-in{from{opacity:0;transform:translateY(-4px)}}
.pkl{overflow:auto;padding:6px;outline:none;overscroll-behavior:contain;scrollbar-width:thin}
.pko{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:8px 10px;border-radius:9px;cursor:pointer;user-select:none}
.pko span{overflow:hidden;text-overflow:ellipsis}
.pko.act{background:var(--c-blue-50)}
.pko[aria-selected=true]{color:var(--c-blue-t);font-weight:600}
.pko svg{flex:none;color:var(--c-blue)}
.pko[aria-disabled=true]{color:var(--c-muted-2);cursor:not-allowed;background:none}
.pkg{font-size:12px;font-weight:600;color:var(--c-muted);padding:10px 10px 4px}
.pkp-time .pko{font-variant-numeric:tabular-nums}
/* calendar */
.pkp-date{padding:12px;overflow:auto}
.pkc-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.pkc-h b{font-family:var(--font-head,Manrope,Inter,sans-serif);font-size:15px;font-weight:700}
.pkc-n{width:34px;height:34px;border-radius:10px;border:1px solid var(--c-line);background:#fff;display:grid;place-items:center;color:var(--c-ink);cursor:pointer}
.pkc-n:hover:not(:disabled){background:var(--c-alt)}
.pkc-n:disabled{opacity:.35;cursor:not-allowed}
.pkc-w,.pkc-g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.pkc-w span{font-size:12px;font-weight:600;color:var(--c-muted);text-align:center;padding:6px 0}
.pkd{height:36px;border:0;border-radius:10px;background:none;font:inherit;font-size:13.5px;font-variant-numeric:tabular-nums;color:var(--c-ink);cursor:pointer}
.pkd:hover:not(:disabled){background:var(--c-blue-50);color:var(--c-blue-t)}
.pkd.out{color:var(--c-muted-2)}
.pkd.today{box-shadow:inset 0 0 0 1.5px var(--c-blue-100);font-weight:700}
.pkd.on{background:var(--c-blue)!important;color:#fff!important;font-weight:700}
.pkd:disabled{color:#C5CAD3;cursor:not-allowed;text-decoration:line-through;text-decoration-color:rgba(197,202,211,.7)}
.pkd:focus-visible,.pkc-n:focus-visible,.pkc-a:focus-visible{outline:2px solid var(--c-blue);outline-offset:1px}
.pkc-f{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--c-line-2)}
.pkc-a{height:32px;padding:0 12px;border-radius:9px;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--c-blue-t);cursor:pointer}
.pkc-a:hover:not(:disabled){background:var(--c-blue-50)}
.pkc-a:disabled{color:var(--c-muted-2);cursor:not-allowed}
/* small windows: the pop-up becomes a sheet along the bottom */
.pkp.sheet{left:8px!important;right:8px;bottom:8px;top:auto!important;width:auto!important;max-height:70vh;border-radius:16px;animation-name:pkp-up}
@keyframes pkp-up{from{opacity:0;transform:translateY(12px)}}
@media (prefers-reduced-motion:reduce){.pkp{animation:none}}
