.apr-dialog{width:min(1180px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--ink);box-sizing:border-box}.apr-dialog::backdrop{background:rgba(38,22,28,.4)}.apr-form{display:flex;flex-direction:column;max-height:calc(100dvh - 30px);margin:0}.apr-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:21px 24px;border-bottom:1px solid var(--border);flex-shrink:0}.apr-head h2{margin:0 0 6px;font-size:26px}.apr-head p,.apr-note,.apr-footer p{margin:0;color:var(--ink-muted);font-size:12px;line-height:1.5}.apr-head .btn{flex-shrink:0;min-height:44px}.apr-body{padding:21px 24px;overflow:auto;min-height:0;overscroll-behavior:contain}.apr-filters{display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr;gap:13px;margin-bottom:22px}.apr-filters label{display:flex;flex-direction:column;gap:7px;min-width:0}.apr-filters label>span{text-transform:uppercase;color:var(--ink-muted);font-size:11px;font-weight:600}.apr-filters input,.apr-filters select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;font:inherit;font-size:16px}.apr-result-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.apr-result-heading h3{margin:0;font-size:20px}.apr-result-heading>strong{color:#8a2045;font-size:14px}.apr-status-counts{font-size:13px;color:var(--ink-muted);line-height:1.5}.apr-presence-summary{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 10px}.apr-presence-summary>span{padding:10px 13px;background:#f8edf1;border-radius:10px;font-size:12px}.apr-presence-summary b{color:#8a2045}.apr-table-wrap{margin-top:20px;overflow-x:auto;border:1px solid var(--border);border-radius:12px}.apr-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.apr-table th,.apr-table td{text-align:left;padding:12px 10px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid var(--border);line-height:1.5}.apr-table th{font-size:10px;color:var(--ink-muted);text-transform:uppercase;background:#fbf3f6}.apr-table th:nth-child(1){width:7%}.apr-table th:nth-child(2){width:15%}.apr-table th:nth-child(3){width:20%}.apr-table th:nth-child(4){width:13%}.apr-table th:nth-child(5){width:13%}.apr-table th:nth-child(6){width:14%}.apr-table th:nth-child(7){width:18%}.apr-table tbody tr:last-child td{border-bottom:0}.apr-table small{display:block;font-size:11px;color:var(--ink-muted);margin-top:4px}.apr-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 24px;border-top:1px solid var(--border);flex-shrink:0}.apr-footer p{max-width:650px}.apr-footer .btn{min-height:46px;white-space:normal;flex-shrink:0}.apr-empty{padding:22px 16px;border:1px dashed var(--border);border-radius:12px;color:var(--ink-muted);font-size:13px}.apr-error{font-size:13px;color:#a72a41;line-height:1.5}.apr-error:empty{display:none}@media(max-width:900px){.apr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.apr-head h2{font-size:24px}.apr-footer p{max-width:60%}}@media(max-width:620px){.apr-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:15px}.apr-form{max-height:calc(100dvh - 18px)}.apr-head{padding:17px 15px;gap:10px}.apr-head h2{font-size:22px}.apr-body{padding:17px 15px}.apr-filters{gap:12px}.apr-filters label:nth-child(2){grid-column:span 2;grid-row:2}.apr-result-heading h3{font-size:19px}.apr-presence-summary{display:grid;grid-template-columns:1fr;gap:6px}.apr-table-wrap{border:0;overflow:visible}.apr-table,.apr-table tbody{display:block}.apr-table thead{display:none}.apr-table tbody{display:flex;flex-direction:column;gap:12px}.apr-table tr{display:block;border:1px solid var(--border);border-radius:12px;padding:10px 13px;background:var(--surface)}.apr-table td{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;padding:7px 0;border-bottom:0}.apr-table td::before{content:attr(data-label);color:var(--ink-muted);font-size:10px;text-transform:uppercase;line-height:1.6}.apr-table td small{grid-column:2;margin-top:-3px}.apr-footer{padding:13px 15px;flex-direction:column;align-items:stretch;gap:10px}.apr-footer p{max-width:none;font-size:11px}.apr-footer .btn{width:100%;min-height:47px}}@media print{.apr-head,.apr-filters,.apr-footer{display:none}.apr-dialog{max-height:none;width:auto;border:0}.apr-body{overflow:visible}}
