#language-switch{display:flex;flex-shrink:0;align-items:center;gap:3px;padding:3px;border:1px solid #c6d4cb;border-radius:24px;background:#fff}
#language-switch button{min-height:40px;padding:8px 12px;border:0;border-radius:20px;background:transparent;color:#244433;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#language-switch button[aria-pressed="true"]{background:#133d2a;color:#fff}
#language-switch button:focus-visible{outline:3px solid #6aab34;outline-offset:2px}
@media(max-width:600px){body>header{gap:8px}#language-switch button{padding:8px 10px;font-size:12px}}

.field-options { display:flex; gap:4px; padding:4px; margin:0 0 20px; border-radius:12px; background:var(--paper); }
.field-options button { flex:1; min-height:44px; border:0; border-radius:8px; background:transparent; color:var(--ink); }
.field-options button[aria-pressed="true"] { background:var(--green); color:white; }

.slot.half-occupied {
  background: linear-gradient(to right, #a9d9ad 50%, #fff 50%);
  color: #183d2b;
  border: 1px solid #859e87;
}
.slot.half-occupied small { display: block; margin-top: 2px; font-size: 12px; }
.slot.half-occupied:disabled { border-style: dashed; }
.slot.half-occupied.selected {
  background: linear-gradient(to right, #17482e 50%, #306943 50%);
  color: white;
  box-shadow: inset 0 0 0 2px #143923;
}
.field-rules-reader { width:min(92vw,38rem); max-height:85dvh; box-sizing:border-box; padding:0; border:0; border-radius:16px; color:var(--ink); overflow:hidden; }
.field-rules-reader[open] { display:flex; flex-direction:column; }
.field-rules-reader::backdrop { background:#10291fc4; }
.field-rules-reader > button { align-self:flex-start; margin:.75rem 1rem; flex:none; }
.field-rules-reader article { padding:0 1.25rem 1rem; overflow:auto; overscroll-behavior:contain; line-height:1.5; }
.field-rules-reader ul { padding-inline-start:1.3rem; }
.field-options .field-format { display:block; font-size:.875em; line-height:1.3; }

.header-tools { display: flex; align-items: center; gap: 6px; }
.field-location { position: relative; }
.field-location summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c6d4cb;
  border-radius: 50%;
  background: white;
  color: #133d2a;
  cursor: pointer;
  list-style: none;
}
.field-location summary::-webkit-details-marker { display: none; }
.field-location[open] summary { background: #edf4ea; }
.field-address {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: -68px;
  width: max-content;
  max-width: 85vw;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #c6d4cb;
  border-radius: 12px;
  box-shadow: 0 4px 16px #133d2a22;
  background: white;
  color: #133d2a;
  text-decoration: none;
}
.map-action { text-decoration: underline; font-size: 14px; }
