/* Shared by the SPA and Blade fallback screens. Keep native input semantics. */
html input:is([type="checkbox"],[type="radio"]){
  -webkit-appearance:none!important;appearance:none!important;
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;
  flex:0 0 18px!important;padding:0!important;margin:0;vertical-align:middle;
  border:1.5px solid #94A3B8!important;border-radius:5px!important;
  background-color:var(--surface,#fff)!important;background-image:none!important;
  background-position:center!important;background-size:14px 14px!important;background-repeat:no-repeat!important;
  box-shadow:0 1px 2px rgba(15,23,42,.06)!important;cursor:pointer;accent-color:var(--accent-solid,#2563EB);
  transition:background-color .15s,border-color .15s,box-shadow .15s;
}
html input[type="radio"]{border-radius:50%!important;}
html input:is([type="checkbox"],[type="radio"]):checked{
  background-color:var(--accent-solid,#2563EB)!important;border-color:var(--accent-solid,#2563EB)!important;
}
html input[type="checkbox"]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.2 3.2L13 4.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
html input[type="checkbox"]:indeterminate{
  background-color:var(--accent-solid,#2563EB)!important;border-color:var(--accent-solid,#2563EB)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}
html input[type="radio"]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3.5' fill='white'/%3E%3C/svg%3E")!important;
}
html input:is([type="checkbox"],[type="radio"])::after{content:none!important;}
html input:is([type="checkbox"],[type="radio"]):hover:not(:disabled){border-color:var(--accent-solid,#2563EB)!important;}
html input:is([type="checkbox"],[type="radio"]):focus-visible,
html select:focus-visible{outline:3px solid var(--selection-focus,rgba(37,99,235,.35))!important;outline-offset:3px;}
html input:is([type="checkbox"],[type="radio"]):disabled{opacity:.5;cursor:not-allowed;}
html input.task-check{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;flex-basis:28px!important;border-radius:8px!important;background-size:20px 20px!important;}
html select{
  color-scheme:light;accent-color:var(--accent-solid,#2563EB);border:1px solid var(--border,#D6DEE8);
  border-radius:10px;background-color:var(--surface,#fff);color:var(--text,#1F2937);font:inherit;
}
html select:not([multiple]):not([size]){
  -webkit-appearance:none;appearance:none;
  padding-right:36px!important;
  background-image:var(--select-chevron,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%232563EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"))!important;
  background-position:right 10px center!important;background-size:18px!important;background-repeat:no-repeat!important;
}
html select:disabled{opacity:.5;cursor:not-allowed;}
html[data-theme="dark"] select{color-scheme:dark;}
html[data-theme="dark"] input:is([type="checkbox"],[type="radio"]){border-color:#64748B!important;}
html[data-theme="dark"] input:is([type="checkbox"],[type="radio"]):checked,
html[data-theme="dark"] input[type="checkbox"]:indeterminate{border-color:var(--accent-solid,#3B82F6)!important;background-color:var(--accent-solid,#2563EB)!important;}
@media(forced-colors:active){
  html input:is([type="checkbox"],[type="radio"]),html select{-webkit-appearance:auto!important;appearance:auto!important;background-image:none!important;forced-color-adjust:auto;}
}
@media(prefers-reduced-motion:reduce){html input:is([type="checkbox"],[type="radio"]){transition:none;}}
