/* Shared form controls, including Safari's button and file-input reset. */
button,input,textarea,select{-webkit-tap-highlight-color:transparent}
button,input[type=button],input[type=submit]{-webkit-appearance:none;appearance:none;font-family:inherit;cursor:pointer;touch-action:manipulation}
button:disabled,input:disabled{cursor:not-allowed;opacity:.55}
#ags-file-remove,.az-remove{min-height:44px;padding:10px 16px!important;border:1px solid #ecd9d6!important;border-radius:12px!important;background:#fff7f5!important;color:#924539!important;font-weight:600!important}
#ags-file-remove:hover,.az-remove:hover{background:#f9e9e5!important}
input[type=checkbox],input[type=radio]{accent-color:#689f26}
input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{min-width:0;box-sizing:border-box;font-size:16px!important;color:#17251b}
input[type=date],input[type=time]{-webkit-appearance:none;appearance:none;min-height:48px;max-width:100%;background-color:#fff}
input::-webkit-date-and-time-value{text-align:left}
input[type=file]::file-selector-button{font:inherit;font-weight:600;padding:12px 18px;margin-right:12px;border:1px solid #cbdcbb;border-radius:12px;background:#edf5e4;color:#35591f;cursor:pointer}
input[type=file]::-webkit-file-upload-button{font:inherit;padding:12px 18px;margin-right:12px;border:1px solid #cbdcbb;border-radius:12px;background:#edf5e4;color:#35591f;cursor:pointer}
.tc-select{position:relative;min-width:0;width:100%;text-align:left}
select.tc-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;border:0!important;white-space:nowrap!important}
button.tc-trigger{display:flex!important;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;width:100%!important;min-height:50px!important;margin:0!important;padding:13px 16px!important;border:1px solid #cbdac4!important;border-radius:13px!important;background:#fff!important;color:#243728!important;font:500 16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;text-align:left!important;box-shadow:0 2px 4px #20321b03!important;transition:border-color .18s,box-shadow .18s}
.tc-value{min-width:0;overflow-wrap:anywhere}
.tc-trigger:after{content:'';width:7px;height:7px;border-right:2px solid #63834e;border-bottom:2px solid #63834e;transform:rotate(45deg);flex-shrink:0;margin:0 3px 4px 0}
button.tc-trigger:hover,button.tc-trigger[aria-expanded=true]{border-color:#79a34e!important;box-shadow:0 0 0 3px #76bc2114!important}
.tc-trigger[aria-expanded=true]:after{transform:rotate(225deg);margin-top:7px}
.tc-trigger[aria-invalid=true]{border-color:#b33532!important}
.tc-panel{position:fixed;z-index:10000;display:flex;flex-direction:column;box-sizing:border-box;padding:7px;border:1px solid #d8e4cf;border-radius:16px;background:#fff;box-shadow:0 16px 48px #20321b24;overflow:hidden;font:400 16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#243728;text-align:left}
.tc-options{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;outline:none!important}
.tc-option{position:relative;padding:12px 38px 12px 13px;min-height:46px;box-sizing:border-box;cursor:pointer;border-radius:10px;overflow-wrap:anywhere}
.tc-option:hover,.tc-option.tc-active{background:#f0f6e9}
.tc-option[aria-selected=true]{background:#eaf4df;color:#426d1c;font-weight:600}
.tc-option[aria-selected=true]:after{content:'✓';position:absolute;right:13px;top:12px;color:#548d0d}
.tc-option[aria-disabled=true]{opacity:.45;cursor:not-allowed}
.tc-search{flex-shrink:0;width:100%;padding:12px!important;margin:0 0 6px!important;border:1px solid #d8e4cf!important;border-radius:10px!important;background:#f8faf5!important;font:inherit!important;min-height:46px}
.tc-empty{padding:12px;color:#69736c;margin:0}
@media(prefers-reduced-motion:reduce){button.tc-trigger{transition:none}}
