.ha-dialog{width:min(1200px,96vw);max-width:96vw;max-height:92dvh;border:1px solid var(--border,#d8e3f0);border-radius:18px;padding:0;color:var(--text,#17324f);background:#fff;box-shadow:0 24px 80px #002b6040}.ha-dialog::backdrop{background:#062b6155;backdrop-filter:blur(4px)}.ha-dialog .dialog-body{padding:22px;overflow:auto;max-height:calc(92dvh - 75px)}.ha-dialog small{display:block;margin-top:4px;color:#61738c}.ha-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0}.ha-filters>input[type=search]{flex:1;min-width:190px}.ha-filters label{display:grid;gap:6px;min-width:150px}.ha-check{display:flex!important;align-items:center;gap:8px}.ha-check input{width:auto!important}.ha-summary{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid #dce5f0;border-radius:12px;margin:18px 0;overflow:hidden}.ha-summary>div{padding:13px 16px;border-right:1px solid #e5ebf3}.ha-summary b{font-size:22px;color:#0047ab}.ha-summary small{font-size:12px}.ha-table{min-width:900px;width:100%;font-size:12px}.ha-table td{vertical-align:top}.ha-table td:first-child{min-width:185px}.ha-table td:nth-child(2){max-width:220px}.ha-table td:nth-child(3),.ha-table td:nth-child(4){min-width:145px}.ha-table small{font-size:11px;line-height:1.45}.ha-warn{color:#936200!important}.ha-pagination,.ha-import-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;flex-wrap:wrap}.ha-import-action{padding:15px;background:#f1f6ff;border-radius:12px}.ha-print-frame{position:fixed;width:0;height:0;border:0;left:-9999px}.event-chip.historical-chip{border-left-style:dashed!important}.ha-dialog[open]{animation:ha-enter .16s ease-out}@keyframes ha-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:650px){.ha-summary{grid-template-columns:repeat(3,1fr)}.ha-summary>div{padding:10px}.ha-filters>*,.ha-filters label{flex:1;min-width:135px}.ha-dialog .dialog-body{padding:14px}}@media(prefers-reduced-motion:reduce){.ha-dialog[open]{animation:none}}
.ha-filters>input,.ha-filters>select{width:auto;max-width:100%}.ha-filters>select{flex:0 1 245px}.ha-filters>button{flex:0 0 auto}.ha-filters>label{flex:1 1 175px}.ha-filters>label input,.ha-filters>label select{width:100%}.ha-filters>label.ha-check{flex:0 0 auto;min-width:100px}.ha-summary+small{margin-top:-8px;margin-bottom:14px}
.ha-table{table-layout:fixed}.ha-table th,.ha-table td{white-space:normal;overflow-wrap:anywhere}.ha-table th:first-child{width:18%}.ha-table th:nth-child(2){width:22%}.ha-table th:nth-child(3),.ha-table th:nth-child(4){width:17%}.ha-table th:nth-child(5){width:7%;white-space:nowrap}.ha-table th:nth-child(6){width:19%}.ha-table td:nth-child(2){max-width:none}
