.ads-supervisor[hidden],.ads-campaign-content[hidden]{display:none!important}
#advertisingView.supervisor-active{display:block}
.ads-supervisor{padding-top:12px;color:#26364a;font-size:13px;line-height:1.6}
.sup-tabs{display:flex;gap:5px;flex-wrap:wrap;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:7px}
.sup-tabs button{border:0!important;background:transparent!important;padding:8px 12px!important;white-space:nowrap;font-size:13px!important}
.sup-tabs button[aria-selected=true]{background:#eaf3ff!important;color:#1765af!important;font-weight:600;border-radius:7px}
.sup-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px}.sup-heading h2{margin:0;font-size:21px}.sup-muted{color:#708096;font-size:12px}.sup-flash:empty{display:none}.sup-flash{padding:10px 14px;background:#edf6ff;border-radius:7px}.sup-flash.error,.sup-danger{color:#a52222}
.sup-card{background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:18px;margin-bottom:14px;min-width:0}.sup-card h3{font-size:16px;margin:0 0 10px}.sup-card p{margin:8px 0 13px}.sup-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sup-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:16px}.sup-stats>div{padding:17px;background:white;border:1px solid #dbe3ef;border-radius:10px}.sup-stats span{display:block;color:#708096}.sup-stats strong{display:block;font-size:25px;margin-top:4px}
.ads-supervisor button,.sup-dialog button{min-height:34px;border:1px solid #ced9e8;background:#fff;color:#26364a;border-radius:7px;padding:6px 12px;font-size:13px;cursor:pointer}.ads-supervisor button:disabled{opacity:.5;cursor:not-allowed}.ads-supervisor button:hover:not(:disabled),.sup-dialog button:hover{background:#f1f6fc}.ads-supervisor button:focus-visible,.sup-dialog :focus-visible{outline:2px solid #086adb;outline-offset:2px}
.sup-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 14px}.sup-toolbar input{max-width:280px;min-height:34px;border:1px solid #ced9e8;border-radius:7px;padding:6px 10px;font-size:13px}.sup-table-wrap{overflow:auto;max-width:100%}.sup-table-wrap table{width:100%;border-collapse:collapse;font-size:12px}.sup-table-wrap th{background:#f5f7fb;color:#4f6077;text-align:left;white-space:nowrap}.sup-table-wrap th,.sup-table-wrap td{padding:11px 12px;border-bottom:1px solid #e5ebf3;vertical-align:top}.sup-table-wrap td{min-width:80px;max-width:420px;overflow-wrap:anywhere}.sup-table-wrap td small{display:block;color:#7b899b;margin-top:4px}.sup-table-wrap td button{white-space:nowrap;margin:2px;font-size:12px}.sup-table-wrap td .sup-danger{color:#ae2828}
.sup-badge{display:inline-block;border-radius:5px;background:#eef3fa;color:#4a657d;padding:2px 7px;font-size:12px;white-space:nowrap}.sup-badge.warn{background:#fff4df;color:#875416}.sup-empty{padding:22px;color:#77879a;text-align:center}.sup-document{max-width:1050px;line-height:1.9}.sup-document p{white-space:pre-wrap}.sup-document h3{border-bottom:1px solid #e1e8f2;margin:24px 0 14px;padding-bottom:8px}.sup-document h4{font-size:14px;margin:20px 0 8px}.sup-document table td{max-width:600px}.sup-guidance summary, .sup-card details summary{cursor:pointer;font-weight:600}.sup-guidance[open]>summary{margin-bottom:15px}.sup-card pre,.sup-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:900px;font-size:12px}
.sup-dialog{max-width:min(850px,94vw);width:800px;max-height:88vh;border:1px solid #dbe3ef;border-radius:12px;padding:0;color:#26364a}.sup-dialog::backdrop{background:#18283a80}.sup-dialog form{display:flex;flex-direction:column;max-height:86vh}.sup-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e3eaf3}.sup-dialog h2{font-size:20px;margin:0}.sup-form-body{overflow:auto;padding:18px 22px}.sup-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sup-dialog label{display:flex;flex-direction:column;gap:5px;font-size:13px;margin-bottom:12px}.sup-dialog input,.sup-dialog select,.sup-dialog textarea{width:100%;min-height:34px;border:1px solid #ccd8e7;border-radius:6px;padding:7px 9px;font:inherit;box-sizing:border-box}.sup-dialog textarea{resize:vertical}.sup-dialog .sup-confirm{display:flex;flex-direction:row;align-items:flex-start}.sup-dialog .sup-confirm input{width:17px;min-height:17px}.sup-dialog footer{display:flex;gap:8px;justify-content:flex-end;padding:14px 20px;border-top:1px solid #e3eaf3}.sup-dialog [role=alert]{color:#ae2828;margin:0 20px}.sup-dialog [type=submit]{background:#22384f;color:white}.sup-dialog details{padding:10px 0}.sup-dialog details[open]>summary{margin-bottom:12px}
@media(max-width:1000px){.sup-stats{grid-template-columns:repeat(3,1fr)}.sup-columns{grid-template-columns:1fr}.sup-tabs{gap:0}.sup-tabs button{padding:7px 8px!important}}
@media(max-width:600px){.sup-stats{grid-template-columns:1fr 1fr}.sup-form-grid{grid-template-columns:1fr}.sup-card{padding:12px}.sup-heading{align-items:flex-start}}

.sup-parent-table>div>table{min-width:1100px;table-layout:fixed}.sup-parent-table th:first-child{width:25%}.sup-parent-table th:nth-child(2){width:11%}.sup-parent-table th:nth-child(3){width:12%}.sup-parent-table th:nth-child(4){width:13%}.sup-parent-table th:nth-child(5){width:13%}.sup-parent-table td{white-space:normal;overflow-wrap:anywhere}.sup-parent-table details{margin-top:8px}.sup-parent-table summary{cursor:pointer;color:#1775a0}.sup-parent-table p{margin:0 0 8px}.sup-parent-table details[open]{position:relative}.sup-parent-table details table{min-width:650px}

.sup-campaign-table table{min-width:1450px}.sup-campaign-table td{vertical-align:top}.sup-campaign-table td.sup-parent-cell{min-width:190px;background:#f7f9fd}.sup-campaign-table th:nth-child(2){min-width:210px}.sup-campaign-table th:nth-child(3){min-width:165px}.sup-campaign-table th:nth-child(4){min-width:165px}.sup-campaign-table td p{margin:.45rem 0}.sup-campaign-table td button{margin-top:.4rem}

.sup-parent-table.sup-campaign-table>div>table{min-width:1450px}.sup-campaign-table th:first-child{width:16%}.sup-campaign-table th:nth-child(2){width:18%}.sup-campaign-table th:nth-child(3){width:11%}.sup-campaign-table th:nth-child(4){width:13%}.sup-campaign-table th:nth-child(5){width:8%}.sup-campaign-table th:nth-child(6){width:10%}.sup-campaign-table th:nth-child(7){width:9%}.sup-campaign-table th:nth-child(8){width:15%}.sup-dialog fieldset label{flex-direction:row;align-items:center}.sup-dialog fieldset input[type=checkbox]{width:17px;min-height:17px}

/* Compact parent summary; long evidence and history stay in the detail panel. */
.sup-parent-table.sup-campaign-table>div>table{min-width:1180px}
.sup-campaign-table th:first-child{width:13%}.sup-campaign-table th:nth-child(2){width:15%;min-width:145px}.sup-campaign-table th:nth-child(3){width:12%;min-width:115px}.sup-campaign-table th:nth-child(4){width:12%;min-width:120px}.sup-campaign-table th:nth-child(5){width:8%}.sup-campaign-table th:nth-child(6){width:9%}.sup-campaign-table th:nth-child(7){width:9%}.sup-campaign-table th:nth-child(8){width:22%}
.sup-campaign-table td button{white-space:normal}.sup-campaign-table td.sup-parent-cell{min-width:135px}.sup-campaign-table details[open]{max-height:24rem;overflow:auto}.sup-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:22rem;overflow:auto}
/* Published parent rows: six columns, bounded data, no hidden legacy cells. */
.sup-parent-group{margin:20px 0;border-top:1px solid #dce4ee;padding-top:12px}
.sup-parent-group table{table-layout:fixed;width:100%;min-width:940px}
.sup-parent-group th:nth-child(1){width:18%}.sup-parent-group th:nth-child(2){width:19%}
.sup-parent-group th:nth-child(3){width:16%}.sup-parent-group th:nth-child(4){width:11%}
.sup-parent-group th:nth-child(5){width:11%}.sup-parent-group th:nth-child(6){width:25%}
.sup-parent-group td{overflow-wrap:anywhere;vertical-align:top}
.sup-common{padding:14px;background:#f7f9fc}.sup-common .sup-toolbar{flex-wrap:wrap}

/* Parent summaries stay one table; only details/history are paged. */
.sup-parent-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sup-refresh-right{margin-left:auto}
.sup-parent-table{table-layout:fixed;border-collapse:collapse;min-width:100%}.sup-parent-table th{position:relative;padding-right:16px}.sup-parent-table td{vertical-align:top;overflow-wrap:anywhere}.sup-resizer{position:absolute;right:0;top:0;width:10px;height:100%;cursor:col-resize;touch-action:none}.sup-resizer:hover,.sup-resizer:focus{background:#add3ee}.sup-parents{padding-top:12px}.sup-flash:empty{display:none}

.sup-dialog [data-viewer-tabs] button[aria-selected="true"] {
  background: #e8f2ff;
  color: #1765aa;
  border-color: #1765aa;
  font-weight: 600;
}
.sup-dialog [data-viewer-tabs] { position: sticky; top: 0; background: white; padding: 8px 0; z-index: 1; }

/* Dialog content must not inherit the application's 1800px inventory table. */
.sup-dialog .sup-table-wrap table { min-width: 0; table-layout: fixed; width: 100%; }
.sup-dialog .sup-table-wrap td { white-space: normal; height: auto; max-height: none; }
.sup-calendar { width: 100%; }
.sup-calendar-row { display: grid; grid-template-columns: 160px minmax(0,1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e5ebf3; align-items: start; }
.sup-calendar-row p { margin: 6px 0; overflow-wrap: anywhere; }
.sup-calendar-row small { display: block; color: #62738a; margin-top: 5px; }
.sup-calendar-date { white-space: normal; }
.sup-dialog [data-viewer-tabs] { top: -20px; margin-top: -20px; padding-top: 20px; }
@media(max-width:600px) { .sup-calendar-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px; } .sup-calendar-date { grid-column: 1 / -1; } }

.sup-launch-status { margin:8px 0; }
.sup-launch-error, .sup-launch-error strong, .sup-launch-error small { color:#b42318; font-weight:600; }
.sup-launch-error button { color:#b42318; border-color:#b42318; }

/* Parent operating table: compact facts; details remain in scoped dialogs. */
.sup-parents .sup-table-wrap{max-height:70vh;overflow:auto}
.sup-parent-table thead th{position:sticky;top:0;z-index:3;background:#f3f6fa}
.sup-parent-table td:first-child[rowspan]{position:sticky;left:0;z-index:2;background:white}
.sup-parent-table thead th:first-child{left:0;z-index:4}
.sup-parent-table .sup-number{font-variant-numeric:tabular-nums;text-align:right}
.sup-parent-table .sup-improved{color:#147d36;font-weight:600}.sup-parent-table .sup-worsened{color:#b42318;font-weight:600}
.sup-value-link{border:0!important;background:transparent!important;color:#126c9c!important;padding:0!important;min-height:24px!important;text-align:left;cursor:pointer}
.sup-value-link:disabled{color:#667085!important;cursor:default}.sup-period-note{font-size:12px;color:#667085;line-height:1.6}

/* Compact parent table only; dialogs and unrelated controls retain their sizing. */
.sup-parent-table th,.sup-parent-table td{padding-top:3px;padding-bottom:3px;height:auto;line-height:1.35}
#advertisingView .sup-parent-table td button{min-height:26px;padding:3px 8px;margin:0;font-size:12px;line-height:1.35}
.sup-parent-table td .sup-value-link{min-height:24px!important}
.sup-parent-table .sup-parent-name{display:block;width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.sup-parent-table td details{margin:0}

/* Stocked new parents: independent layout, not the generic fixed-column table. */
.sup-stocked-intro{margin:0 0 5px}.sup-stocked-hint{margin:0 0 12px;color:#65758a;font-size:12px}
.sup-stocked-list{display:grid;gap:10px}.sup-stocked-item{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:12px;align-items:center;padding:12px 14px;border:1px solid #dce5ef;border-radius:9px;background:#fff}
.sup-stocked-main{min-width:0}.sup-dialog details.sup-stocked-title{padding:0}.sup-stocked-title summary{font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.sup-dialog .sup-stocked-title[open]>summary{display:block;margin:0;overflow:visible}.sup-stocked-identity,.sup-stocked-facts{display:flex;gap:6px 16px;flex-wrap:wrap;margin:7px 0 0;font-size:12px;line-height:1.4}.sup-stocked-identity{color:#65758a}.sup-stocked-identity span{overflow-wrap:anywhere}.sup-stocked-facts strong{font-size:14px;color:#22384f}.sup-stocked-time{font-size:12px;color:#65758a;margin:6px 0 0;line-height:1.4}
.sup-dialog .sup-stocked-action button{white-space:nowrap;width:auto;max-width:none;text-overflow:clip;overflow:visible;padding:9px 12px;font-size:13px;color:#075bb5;background:#eff6ff;border-color:#b6d2f2}
.sup-stocked-explanation{font-size:12px;color:#65758a}.sup-stocked-explanation p{line-height:1.5}
@media(max-width:600px){.sup-stocked-item{grid-template-columns:minmax(0,1fr)}.sup-stocked-action{justify-self:end}.sup-stocked-identity{gap:4px 12px}}
