/* Monthly detail tables match the reference's compact, scrollable layout. */
.all-detail .ad-card{padding:14px;min-width:0}
.all-detail .ad-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.all-detail .table-search{max-width:100%;width:350px;padding:10px 12px;border:1px solid #cbddec;border-radius:9px;font:inherit}
.all-detail .pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.all-detail .pagination button{background:#fff;border:1px solid #cbddec;border-radius:8px;padding:8px 12px;color:#0757b7;font:inherit}
.all-detail .pagination button:disabled{opacity:.45;cursor:default}
.all-detail .ad-table{height:665px;overflow:auto;border:1px solid #e0e8ef;border-radius:10px;position:relative}
.all-detail table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
.all-detail th,.all-detail td{padding:12px;white-space:nowrap;text-align:right;border-bottom:1px solid #e6eef5}
.all-detail thead th{position:sticky;top:0;z-index:3;background:#dfeffe}
.all-detail .ad-code{position:sticky;left:0;min-width:165px;width:165px;max-width:165px;box-sizing:border-box;background:white;text-align:left;z-index:2}
.all-detail .ad-code small{display:block;color:#6d8297;font-size:10px;margin-top:4px}
.all-detail .ad-name{position:sticky;left:165px;min-width:260px;width:260px;max-width:260px;box-sizing:border-box;background:white;text-align:left;z-index:2}
.all-detail .ad-name span{display:block;max-width:236px;overflow:hidden;text-overflow:ellipsis}
.all-detail thead .ad-code,.all-detail thead .ad-name{z-index:5;background:#dfeffe}
.all-detail tfoot th,.all-detail tfoot td{position:sticky;bottom:0;top:auto;background:#eaf4ff;font-weight:800;z-index:3}
.all-detail tfoot .ad-total{left:0;z-index:5;text-align:left}
.all-detail .ad-suggestion{text-align:left;min-width:260px}
.all-detail .ad-empty{text-align:center;padding:60px;color:#6d8297}
.all-detail .ad-loading{padding:18px}
.all-detail .ad-skeleton{height:34px;margin:15px 0}
.all-detail button:focus-visible,.all-detail input:focus-visible,.all-detail .ad-table:focus-visible{outline:2px solid #0b63ce;outline-offset:2px}
@media(max-width:700px){.all-detail .ad-name{position:static;min-width:210px}.all-detail .ad-table{height:570px}.all-detail .ad-code{min-width:140px;width:140px;max-width:140px}.all-detail .pagination{gap:6px}}
