/* ToastyCraft form controls: progressive styling, native semantics and submission. */
body select:not([multiple]):not([size]),#tc-key-options select{
 border:1px solid var(--line,#d8c5ae);border-radius:14px;background:var(--paper,#fffdf9);color:var(--ink,#533c30);
 min-height:46px;padding:12px 16px;font:inherit;font-weight:600;line-height:1.4;box-shadow:0 2px 5px #35251a08;
 transition:border-color .16s,box-shadow .16s;cursor:pointer;
}
body select:hover,#tc-key-options select:hover{border-color:#bc965b}
body select:focus-visible,#tc-key-options select:focus-visible,body input:focus-visible,body textarea:focus-visible{
 outline:3px solid #ce9b3b;outline-offset:3px;
}
body select:disabled{cursor:not-allowed;opacity:.6}
@supports (appearance:base-select){
 body select:not([multiple]):not([size]),#tc-key-options select,body select:not([multiple]):not([size])::picker(select){appearance:base-select}
 body select:not([multiple]):not([size])::picker(select){
  border:1px solid var(--line,#d8c5ae);border-radius:17px;padding:6px;margin-block:7px;
  background:var(--paper,#fffdf9);color:var(--ink,#533c30);box-shadow:0 15px 40px #24191135,0 3px 9px #24191118;
  min-width:anchor-size(width);max-width:calc(100vw - 24px);max-height:min(340px,60dvh);overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:#b69873 transparent;font:600 15px/1.4 Outfit,system-ui,sans-serif;
 }
 body select:not([multiple]):not([size])::picker-icon{
  content:'';width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  rotate:45deg;margin:0 3px 4px auto;opacity:.75;transition:rotate .16s;
 }
 body select:open::picker-icon{rotate:225deg;margin-bottom:-3px}
 body select:not([multiple]):not([size]) option{
  display:flex;align-items:center;gap:14px;border:1px solid transparent;border-radius:11px;min-height:44px;
  padding:11px 13px;margin:2px 0;background:transparent;color:inherit;font:inherit;cursor:pointer;white-space:normal;
 }
 body select:not([multiple]):not([size]) option:hover,body select:not([multiple]):not([size]) option:focus{
  background:var(--lavender,#eee3f5);outline:none;border-color:var(--line,#d8c5ae);
 }
 body select:not([multiple]):not([size]) option:checked{background:var(--lavender,#eee3f5);font-weight:800}
 body select:not([multiple]):not([size]) option::checkmark{content:'✓';order:1;margin-inline-start:auto;color:#ba831e;font-weight:900}
 body select:not([multiple]):not([size]) option:disabled{opacity:.45;cursor:not-allowed}
}
body input:where([type=text],[type=search],[type=email],[type=number],[type=date],[type=datetime-local]),body textarea{
 border-radius:14px;border-color:var(--line,#d8c5ae);color:var(--ink,#533c30);background-color:var(--paper,#fffdf9);
}
.edition-choice input[type=radio]{
 appearance:none;-webkit-appearance:none;display:inline-block;width:19px;height:19px;min-width:19px;min-height:19px;
 padding:0;border:2px solid #9e8877;border-radius:50%;background:var(--paper,#fffdf9);vertical-align:middle;cursor:pointer;
}
.edition-choice input[type=radio]:checked{background:#b97f2d;border-color:#b97f2d;box-shadow:inset 0 0 0 3px var(--paper,#fffdf9)}
#event-form .switch-label input[type=checkbox]{
 appearance:none;-webkit-appearance:none;width:42px;height:24px;min-width:42px;min-height:24px;border:1px solid #99867e;border-radius:99px;
 background:#8b7a75;position:relative;padding:0;cursor:pointer;vertical-align:middle;
}
#event-form .switch-label input[type=checkbox]::before{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff9ef;transition:transform .16s}
#event-form .switch-label input[type=checkbox]:checked{background:#bb811b;border-color:#bb811b}
#event-form .switch-label input[type=checkbox]:checked::before{transform:translateX(18px)}
@media(prefers-reduced-motion:reduce){body select,#event-form .switch-label input::before{transition:none}}

@supports(appearance:base-select){body select:not([multiple]):not([size]),#tc-key-options select{display:flex;align-items:center;justify-content:space-between;gap:16px}}
