/* Embed only the real advertising table, without the member shell. */
.demo-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 2px 16px;font-size:16px;font-weight:600;line-height:1.7;color:#343941}
.demo-intro>span{flex:1;min-width:0}.demo-intro .btn{flex-shrink:0;white-space:nowrap;font-size:14px!important;padding:8px 12px!important;min-height:38px}
html{scrollbar-gutter:auto!important;background:transparent!important}body{min-height:0!important;background:transparent!important;margin:0!important;padding:0!important}
.site-header,.member-site-footer,#task-pill{display:none!important}
#page-content{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important}
#page-content .panel{margin:0!important;border-radius:14px!important;box-shadow:none!important}
#page-content .ads-navigation-row{padding:12px 12px 0!important;flex-wrap:wrap!important;gap:10px!important}
#page-content .ads-navigation-row .tabs{flex:1;order:0!important}.ads-search-actions{order:1!important;width:100%;padding-bottom:12px;gap:8px!important}
#page-content #search-input{width:100%!important;min-width:0!important;flex:1;font-size:12px!important;height:34px!important}
#page-content .ads-search-actions .btn{min-width:0;font-size:12px!important;padding:6px 9px!important;white-space:nowrap}
#page-content .table-tools{padding:12px!important;min-height:0!important}.table-tools>.tools-right{display:none!important}
#page-content .ads-bulk-actions{gap:8px!important;flex-wrap:nowrap!important}#page-content .ads-bulk-actions .btn{font-size:11px!important;padding:6px 8px!important;white-space:nowrap}
#page-content .ads-bulk-actions>span{font-size:11px!important;white-space:nowrap}
#page-content .ad-data-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
#page-content .ad-data-table col.col-select{width:32px!important}#page-content .ad-data-table col.col-title{width:auto!important}
#page-content .ad-data-table col.col-automation{width:112px!important}#page-content .ad-data-table col.col-actions{width:76px!important}
#page-content .ad-data-table th{height:44px!important;padding:9px 8px!important;font-size:12px!important}
#page-content .ad-data-table td{height:70px!important;padding:10px 8px!important;font-size:13px!important}
#page-content .ad-data-table .title-link{font-size:13px!important;line-height:1.7!important}
#page-content .automation-control{gap:6px!important;justify-content:center!important}#page-content .automation-countdown,#page-content .automation-off{font-size:12px!important}
#page-content .table-actions .btn{font-size:12px!important;padding:6px!important;min-width:0!important}
#page-content .pagination{padding:12px!important;min-height:42px!important}#page-content .pagination .pages{display:none!important}
.demo-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 8px 0;color:#73777e;font-size:11px;line-height:1.8}
.demo-foot button{background:none;border:0;color:#0442d2;white-space:nowrap;font:inherit;cursor:pointer;padding:4px}
#modal{width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px)!important;border-radius:14px!important}#modal .modal-header{padding:16px!important}#modal #modal-body{padding:16px!important}#modal h2{font-size:18px!important}.modal-footer{gap:10px!important}
#toast{bottom:16px!important;max-width:calc(100% - 24px)!important;font-size:12px!important}
@media(max-width:390px){#page-content .ad-data-table col.col-automation{width:98px!important}#page-content .ad-data-table col.col-actions{width:65px!important}}

/* Keep the production expiry renderer and badges, including sorting. */
#page-content .ad-data-table col.col-expiry{width:232px!important}
#page-content .expiry-with-label{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:5px!important;white-space:normal!important}
#page-content .expiry{font-size:11px!important;white-space:nowrap!important}#page-content .remaining{font-size:10px!important}
@media(max-width:600px) and (min-width:521px){#page-content .ad-data-table col.col-expiry{width:176px!important}}
@media(max-width:520px){
 #page-content .ad-data-table,#page-content .ad-data-table thead,#page-content .ad-data-table tbody{display:block!important;width:100%!important}
 #page-content .ad-data-table colgroup{display:none!important}
 #page-content .ad-data-table tr{display:grid!important;grid-template-columns:28px minmax(0,1fr) 98px 65px;border-bottom:1px solid #e6e8ec}
 #page-content .ad-data-table th,#page-content .ad-data-table td{display:block!important;width:auto!important;height:auto!important;min-width:0!important;border:0!important}
 #page-content .ad-data-table thead tr>:nth-child(3){display:none!important}
 #page-content .ad-data-table tr>:nth-child(1){grid-column:1;grid-row:1}
 #page-content .ad-data-table tr>:nth-child(2){grid-column:2;grid-row:1}
 #page-content .ad-data-table tr>:nth-child(4){grid-column:3;grid-row:1}
 #page-content .ad-data-table tr>:nth-child(5){grid-column:4;grid-row:1}
 #page-content .ad-data-table tbody tr>:nth-child(3){grid-column:2/-1;grid-row:2;padding-top:0!important;padding-bottom:12px!important}
 #page-content .ad-data-table tbody td.empty{grid-column:1/-1;min-height:70px!important;text-align:center}
 #page-content .ad-data-table td.select-cell,#page-content .ad-data-table td:nth-child(4),#page-content .ad-data-table td:nth-child(5){display:flex!important;align-items:center;justify-content:center}
 #page-content .ad-data-table .title-link{font-size:12px!important}
}
