/* Türkische Datums-/Monatsauswahl (ges-tr-tarih.js, 09.10.2026). Nur mit CSS-Anchor-Positioning aktiv; sonst bleibt das native Feld. */
@supports (anchor-name:--a) and (position-anchor:--a){
  /* Das native Feld bleibt Eingabeelement (Fokus, Rahmen, Größe), sein Text in Browsersprache wird ausgeblendet. */
  input.ges-trd-input{-webkit-text-fill-color:transparent;caret-color:transparent;cursor:pointer}
  input.ges-trd-input::-webkit-datetime-edit{opacity:0}
  input.ges-trd-input::-webkit-calendar-picker-indicator{opacity:0;pointer-events:none}
  input.ges-trd-input:disabled{cursor:not-allowed}
  .ges-trd-text{position:absolute;left:anchor(left);top:anchor(top);width:anchor-size(width);height:anchor-size(height);position-visibility:anchors-visible;
    box-sizing:border-box;display:flex;align-items:center;gap:6px;overflow:hidden;white-space:nowrap;pointer-events:none;z-index:1;margin:0}
  .ges-trd-text[hidden]{display:none!important}
  .ges-trd-val{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .ges-trd-val.is-empty{opacity:.55}
  .ges-trd-text svg{flex:0 0 auto;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.7}
}
.ges-trd-pop{position:fixed;z-index:2147483600;width:272px;padding:10px;border-radius:12px;background:var(--surface,#fff);color:var(--text,#10243a);
  border:1px solid var(--line-strong,rgba(31,61,91,.22));box-shadow:var(--shadow,0 16px 42px rgba(31,56,81,.16));font:13px/1.3 inherit;font-family:inherit}
.ges-trd-pop[hidden]{display:none}
/* Popover-API: UA-Vorgaben (zentriert, inset:0) aufheben; Position setzt ges-tr-tarih.js. */
.ges-trd-pop[popover]{inset:auto;margin:0;overflow:visible}
.ges-trd-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.ges-trd-title{flex:1 1 auto;text-align:center;font-weight:750;font-size:13.5px;background:none;border:0;color:inherit;padding:6px 4px;border-radius:8px;font-family:inherit}
button.ges-trd-title{cursor:pointer}
button.ges-trd-title:hover{background:color-mix(in srgb,var(--text,#10243a) 7%,transparent)}
.ges-trd-nav{flex:0 0 auto;width:30px;height:30px;border-radius:8px;border:1px solid var(--line,rgba(31,61,91,.13));background:transparent;color:inherit;font-size:16px;line-height:1;cursor:pointer;font-family:inherit}
.ges-trd-nav:hover:not(:disabled){background:color-mix(in srgb,var(--text,#10243a) 7%,transparent)}
.ges-trd-dow,.ges-trd-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.ges-trd-dow span{text-align:center;font-size:11px;font-weight:700;color:var(--muted,#61758a);padding:2px 0 4px}
.ges-trd-months{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ges-trd-cell{height:32px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;font-size:13px;font-variant-numeric:tabular-nums;cursor:pointer;font-family:inherit}
.ges-trd-months .ges-trd-cell{height:38px;font-weight:650}
.ges-trd-cell:hover:not(:disabled){background:color-mix(in srgb,var(--text,#10243a) 8%,transparent)}
.ges-trd-cell.is-out{color:var(--muted,#61758a)}
.ges-trd-cell.is-now{border-color:var(--gold,#b97800)}
.ges-trd-cell.is-sel{background:var(--gold,#b97800);border-color:var(--gold,#b97800);color:#10243a;font-weight:750}
.ges-trd-cell:disabled{opacity:.32;cursor:not-allowed}
.ges-trd-pop button:focus-visible{outline:2px solid var(--blue,#1f6fd1);outline-offset:1px}
.ges-trd-foot{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding-top:8px;border-top:1px solid var(--line,rgba(31,61,91,.13))}
.ges-trd-foot:empty{display:none}
.ges-trd-foot button{border:1px solid var(--line,rgba(31,61,91,.13));background:transparent;color:inherit;border-radius:8px;padding:6px 10px;font-size:12.5px;font-weight:650;cursor:pointer;font-family:inherit}
.ges-trd-foot button:hover:not(:disabled){background:color-mix(in srgb,var(--text,#10243a) 7%,transparent)}
.ges-trd-foot button:disabled{opacity:.4;cursor:not-allowed}
@media print{.ges-trd-pop{display:none!important}}
