/* GriyaCRM v60.3.92 — Safari UI Compatibility */
html.gc-safari{-webkit-text-size-adjust:100%}
.gc-safari button,.gc-safari input,.gc-safari select,.gc-safari textarea{font:inherit}
.gc-safari input[type="date"],.gc-safari input[type="datetime-local"],.gc-safari input[type="month"],.gc-safari input[type="time"]{
  -webkit-appearance:auto!important;appearance:auto!important;box-sizing:border-box;min-width:0;min-height:42px;line-height:1.2;text-align:left;color:inherit;background-color:#fff;padding-right:42px!important
}
.gc-safari input[type="date"]::-webkit-date-and-time-value,
.gc-safari input[type="datetime-local"]::-webkit-date-and-time-value,
.gc-safari input[type="month"]::-webkit-date-and-time-value,
.gc-safari input[type="time"]::-webkit-date-and-time-value{text-align:left;min-height:1.2em}
.gc-safari input[type="date"]::-webkit-datetime-edit,
.gc-safari input[type="datetime-local"]::-webkit-datetime-edit,
.gc-safari input[type="month"]::-webkit-datetime-edit,
.gc-safari input[type="time"]::-webkit-datetime-edit{display:block;padding:0}
.gc-safari .gc-picker-input.gc-has-picker-trigger::-webkit-calendar-picker-indicator{opacity:0!important;width:28px!important;cursor:pointer}
.gc-picker-host{position:relative!important}
.gc-picker-trigger{position:absolute!important;right:8px;bottom:7px;z-index:4;width:30px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;background:transparent;color:#4a687e;cursor:pointer;line-height:1}
.gc-picker-trigger:hover,.gc-picker-trigger:focus-visible{background:#eef6fb;color:#0d6ca8;outline:none;box-shadow:0 0 0 2px rgba(13,108,168,.14)}
.gc-picker-trigger i{pointer-events:none;font-size:15px}
.gc-picker-fallback-backdrop{position:fixed;inset:0;z-index:100001;background:rgba(15,38,56,.34);display:grid;place-items:center;padding:18px}
.gc-picker-fallback{width:min(430px,100%);background:#fff;border:1px solid #d9e4ec;border-radius:14px;box-shadow:0 24px 70px rgba(16,43,64,.24);overflow:hidden}
.gc-picker-fallback-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e4ebf0}
.gc-picker-fallback-head strong{font-size:15px;color:#17364f}
.gc-picker-fallback-close{width:32px;height:32px;border:0;border-radius:8px;background:#f2f6f9;color:#526f83;cursor:pointer}
.gc-picker-fallback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}
.gc-picker-fallback-grid label{display:grid;gap:6px;font-size:11px;color:#466278}
.gc-picker-fallback-grid label>span{font-weight:700}
.gc-picker-fallback-grid select{width:100%;min-height:42px;border:1px solid #d3e0e9;border-radius:8px;background:#fff;color:#17364f;padding:7px 9px}
.gc-picker-fallback-grid .gc-full{grid-column:1/-1}
.gc-picker-fallback-actions{display:flex;justify-content:space-between;gap:8px;padding:12px 16px;border-top:1px solid #e4ebf0;background:#fbfcfd}
.gc-picker-fallback-actions>span{display:flex;gap:8px;margin-left:auto}
.gc-picker-fallback button{font:inherit}
.gc-picker-fallback .gc-btn{min-height:38px;padding:0 13px;border:1px solid #d7e2ea;border-radius:8px;background:#fff;color:#456276;font-weight:600;cursor:pointer}
.gc-picker-fallback .gc-btn-primary{border-color:#0d6ed7;background:#0d6ed7;color:#fff}
.gc-safari dialog{max-width:calc(100vw - 24px);-webkit-overflow-scrolling:touch}
.gc-safari dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.gc-safari .sp-dialog{overflow-y:auto;-webkit-overflow-scrolling:touch}
.gc-safari .sp-form-grid>*{min-width:0}
@media(max-width:767px){
  .gc-safari input,.gc-safari select,.gc-safari textarea{font-size:16px!important}
  .gc-picker-fallback-grid{grid-template-columns:1fr}
  .gc-picker-fallback-grid .gc-full{grid-column:auto}
}
