/* v27.0.3 – verbindlicher Formular-, Filter- und Bedienstandard */
.cms-modern-panel{
  border:1px solid rgba(204,158,61,.28);
  border-radius:10px;
  background:linear-gradient(180deg,#121b21 0%,#0a1116 100%);
  box-shadow:0 18px 44px rgba(0,0,0,.24);
}
.cms-modern-panel__header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;
  padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.1);
}
.cms-modern-panel__title{min-width:0}
.cms-modern-panel__title h1,.cms-modern-panel__title h2,.cms-modern-panel__title h3{margin:.25rem 0 .45rem}
.cms-modern-panel__title p{max-width:820px;margin:0;color:#b7c0c5;line-height:1.55}
.cms-status-box{
  display:flex!important;align-items:center!important;gap:.7rem!important;
  padding:.7rem .85rem;border:1px solid rgba(255,255,255,.12);
  border-radius:7px;background:rgba(0,0,0,.24);white-space:nowrap;
}
.cms-status-box div{display:grid;gap:.15rem}.cms-status-box small{color:#aab4b9}
.cms-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.cms-kpi-grid article,.cms-kpi-grid>div{
  padding:1rem;border:1px solid rgba(204,158,61,.22);border-radius:7px;
  background:rgba(3,8,12,.55);
}
.cms-kpi-grid span{display:block;color:#aeb8bd;font-size:.76rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.cms-kpi-grid strong{display:block;margin-top:.3rem;font-family:Oswald,sans-serif;font-size:1.8rem;color:#f4ede1}
.cms-filter-panel{
  display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,2fr);gap:1rem;
  padding:1rem;border:1px solid rgba(255,255,255,.1);border-radius:8px;
  background:rgba(4,10,14,.58);
}
.cms-field{display:grid;align-content:start;gap:.4rem;min-width:0}
.cms-field label,.cms-choice-group legend{
  color:#d7aa49;font-size:.78rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;
}
.cms-field input,.cms-field select,.cms-field textarea,
.cms-modern-panel input[type="text"],.cms-modern-panel input[type="search"],
.cms-modern-panel input[type="email"],.cms-modern-panel input[type="url"],
.cms-modern-panel input[type="number"],.cms-modern-panel input[type="password"],
.cms-modern-panel select,.cms-modern-panel textarea{
  box-sizing:border-box;width:100%;min-height:46px;padding:.7rem .8rem;
  border:1px solid #3a4750;border-radius:6px;background:#f7f7f5;color:#10161b;
  font:inherit;line-height:1.3;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);
}
.cms-modern-panel textarea{min-height:110px;resize:vertical}
.cms-modern-panel input:focus,.cms-modern-panel select:focus,.cms-modern-panel textarea:focus{
  outline:3px solid rgba(211,164,64,.22);border-color:#d3a440;
}
.cms-choice-group{min-width:0;margin:0;padding:0;border:0}
.cms-choice-group legend{margin-bottom:.45rem}
.cms-choice-grid{display:flex;flex-wrap:wrap;gap:.5rem}
.cms-choice{
  display:inline-flex;align-items:center;gap:.5rem;min-height:42px;padding:.55rem .7rem;
  border:1px solid #3b474f;border-radius:6px;background:#111a20;color:#e9ece8;
  cursor:pointer;user-select:none;transition:border-color .16s,background .16s,transform .16s;
}
.cms-choice:hover{border-color:#c99a36;background:#182229}
.cms-choice:has(input:focus-visible){outline:3px solid rgba(211,164,64,.22)}
.cms-choice:has(input:checked){border-color:#d2a443;background:linear-gradient(180deg,#9f7524,#74531a);color:#fff}
.cms-choice input{width:18px;height:18px;margin:0;accent-color:#d2a443}
.cms-form-actions{
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.65rem;
  padding-top:1rem;border-top:1px solid rgba(255,255,255,.1);
}
.cms-modern-panel .button,.cms-modern-panel button{
  min-height:44px;touch-action:manipulation;
}
@media(max-width:900px){
  .cms-modern-panel__header,.cms-filter-panel{grid-template-columns:1fr;flex-direction:column}
  .cms-status-box{white-space:normal}
  .cms-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .cms-kpi-grid{grid-template-columns:1fr 1fr}
  .cms-choice-grid{display:grid;grid-template-columns:1fr 1fr}
  .cms-choice{width:100%;box-sizing:border-box}
  .cms-form-actions{display:grid;grid-template-columns:1fr}
  .cms-form-actions .button,.cms-form-actions button{width:100%}
}
@media(max-width:390px){.cms-kpi-grid,.cms-choice-grid{grid-template-columns:1fr}}
