/* In2Com V170 — one accessible custom calendar overlay for date/month fields.
   The underlying input remains native type=date/month with ISO values. */
:root{--in2-date-border:#b8cfdf;--in2-date-text:#173b58;--in2-date-focus:#2486c1;--in2-date-background:#fff}
.in2-date-shell{box-sizing:border-box;display:inline-block;position:relative;max-width:100%;width:100%;vertical-align:middle}
.in2-date-shell input.in2com-date-input:is([type="date"],[type="month"]){box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:9px 46px 9px 12px!important;border:1px solid var(--in2-date-border);border-radius:10px;background:var(--in2-date-background);color:var(--in2-date-text);font:inherit;font-size:15px;line-height:1.35;box-shadow:none;color-scheme:light;transition:border-color .12s ease,box-shadow .12s ease}
.in2-date-shell input.in2com-date-input:is([type="date"],[type="month"]):hover:not(:disabled){border-color:#91b7d1}
.in2-date-shell input.in2com-date-input:is([type="date"],[type="month"]):focus-visible{outline:2px solid var(--in2-date-focus);outline-offset:2px;border-color:var(--in2-date-focus)}
.in2-date-shell input.in2com-date-input:is([type="date"],[type="month"]):disabled{background:#eef3f7;color:#637a8f;opacity:1}
.in2-date-shell input.in2com-date-input::-webkit-calendar-picker-indicator{opacity:0;pointer-events:none;display:none}
.in2-date-shell .in2-date-trigger{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%);z-index:1;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:35px!important;min-width:35px!important;max-width:35px!important;height:35px!important;min-height:35px!important;padding:6px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:7px!important;color:#4f7290!important;box-shadow:none!important;cursor:pointer}
.in2-date-shell .in2-date-trigger:hover{background:#eaf4fb!important;color:#075c97!important}
.in2-date-shell .in2-date-trigger:focus-visible{outline:2px solid #2788bf;outline-offset:0}
.in2-date-shell input:disabled+.in2-date-trigger{pointer-events:none;opacity:.45}
.in2-date-popover{box-sizing:border-box;position:fixed;top:0;left:0;width:312px;max-width:calc(100vw - 16px);z-index:2147483000;padding:13px;background:#fff;color:#173b58;border:1px solid #bfd3e2;border-radius:14px;box-shadow:0 18px 42px rgba(15,43,66,.23),0 3px 10px rgba(15,43,66,.08);font-family:inherit;font-size:14px;line-height:1.3;isolation:isolate}
.in2-date-popover *{box-sizing:border-box}
.in2-date-header{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:2px 0 12px;border-bottom:1px solid #e0eaf1;margin-bottom:11px}
.in2-date-month-label{font-size:15px;font-weight:750;text-align:center;white-space:nowrap;flex:1}
.in2-date-popover .in2-date-btn{border:0;box-shadow:none;background:transparent;color:#173b58;cursor:pointer;font:inherit;min-width:0;margin:0;line-height:1.1}
.in2-date-popover .in2-date-nav{width:30px;height:30px;border-radius:8px;font-size:24px;font-weight:400;padding:0}
.in2-date-popover .in2-date-btn:hover:not(:disabled){background:#eaf4fb;color:#065c98}
.in2-date-popover .in2-date-btn:focus-visible{outline:2px solid #2486c1;outline-offset:1px}
.in2-date-weekdays,.in2-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.in2-date-weekdays{color:#5d7588;font-weight:650;font-size:12px;padding-bottom:5px}
.in2-date-weekdays span{padding:5px 0}
.in2-date-popover .in2-date-day{height:36px;min-height:36px;width:100%;border-radius:8px;text-align:center;font-size:13px;padding:0;color:#234761}
.in2-date-popover .in2-date-day.is-adjacent{color:#9aaab6}
.in2-date-popover .in2-date-day.is-today{box-shadow:inset 0 0 0 1px #2486c1}
.in2-date-popover .in2-date-day.is-selected,.in2-date-popover .in2-date-month-choice.is-selected{background:#07669e!important;color:#fff!important;font-weight:700}
.in2-date-popover .in2-date-day:disabled,.in2-date-popover .in2-date-month-choice:disabled{opacity:.24;cursor:not-allowed}
.in2-date-footer{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #e0eaf1;margin-top:11px;padding-top:10px}
.in2-date-popover .in2-date-today,.in2-date-popover .in2-date-clear{padding:8px 12px;border-radius:7px;font-size:13px;font-weight:650}
.in2-date-popover .in2-date-clear{color:#596e7d}
.in2-date-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.in2-date-popover .in2-date-month-choice{padding:12px 4px;border-radius:9px;border:1px solid #d1e1ec;background:#f7fafc;font-weight:600}
@media(max-width:360px){.in2-date-popover{padding:9px}.in2-date-popover .in2-date-day{height:32px;min-height:32px}}
@media(prefers-reduced-motion:reduce){.in2-date-shell input{transition:none}}
