/* ChatGPT Ads — independent Hub tab, full-width and responsive. */
#hub-view #hub-chatgpt-ads[hidden]{display:none!important}
#hub-view #hub-chatgpt-ads{min-width:0}
#hub-view #hub-chatgpt-ads .hub-chatgpt__top-actions{display:none}
#hub-view .hub-final-actions > .hub-chatgpt__top-actions{display:none!important}
#hub-view[data-hub-section="chatgpt"] .hub-final-actions > .hub-chatgpt__top-actions{
  display:flex!important;align-items:center;gap:8px;flex-wrap:wrap
}
#hub-view[data-hub-section="chatgpt"] .hub-final-actions > [data-hub-new],
#hub-view[data-hub-section="chatgpt"] .hub-final-actions > [data-hub-refresh]{display:none!important}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%;gap:12px!important;margin:0 0 16px!important
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary article{
  display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:12px!important;align-items:center!important;min-width:0;min-height:100px!important;
  padding:16px 18px!important;border:1px solid #dfe6f0!important;border-radius:14px!important;
  background:#fff!important;box-shadow:none!important
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary article::before,
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary article::after{display:none!important}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary strong{
  color:#0e2166!important;font:700 clamp(20px,2vw,29px)/1.2 Poppins,"Open Sans",sans-serif!important
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary .hub-convention__kpi-copy{
  display:grid;gap:5px;min-width:0
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary .hub-convention__kpi-copy span{
  color:#344f70!important;font-size:12px!important;font-weight:700!important
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary .hub-convention__kpi-copy small{
  font-size:10px!important;color:#8490a4!important
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__summary .hub-convention__kpi-icon{
  display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
  background:#edf6ff;color:#1765b8;font-size:18px;font-weight:700
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__filters{margin-bottom:12px!important}
#hub-view #hub-chatgpt-ads .hub-filter-primary{grid-template-columns:minmax(240px,1fr) minmax(170px,240px) auto}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table-wrap{
  box-sizing:border-box;width:100%;max-width:none!important;margin:0!important;
  overflow-x:auto;border-radius:14px;border:1px solid #dfe6f0
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table{
  width:100%!important;min-width:1060px!important;table-layout:fixed;border-collapse:collapse
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(1){width:17%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(2){width:11%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(3){width:13%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(4){width:11%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(5){width:10%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(6){width:11%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(7){width:10%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(8){width:10%}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th:nth-child(9){width:7%;text-align:center}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table th,
#hub-view #hub-chatgpt-ads .hub-chatgpt__table td{overflow-wrap:anywhere}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table td:last-child{text-align:center}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table tbody tr{cursor:pointer}
#hub-view #hub-chatgpt-ads .hub-chatgpt__table tbody tr:focus-visible{outline:2px solid #0b7ff0;outline-offset:-2px}
#hub-view #hub-chatgpt-ads .hub-chatgpt__date-open{
  display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;
  background:#edf6ff;color:#095aa9;font-size:10px;font-weight:650;white-space:nowrap
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__pill{
  display:inline-flex;padding:5px 8px;border-radius:999px;
  background:#eef6ff;color:#0e2166;font-size:11px;font-weight:650
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__notes{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px
}
#hub-view #hub-chatgpt-ads .hub-chatgpt__actions{display:flex;align-items:center;justify-content:center;gap:6px}
#hub-view #hub-chatgpt-ads .hub-chatgpt__actions button{min-width:34px;width:34px;height:34px;padding:6px}
#hub-view #hub-chatgpt-ads .hub-chatgpt__actions svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#hub-view #hub-chatgpt-ads .hub-chatgpt__empty{text-align:center;padding:22px;color:#667085}
.hub-chatgpt__modal .hub-task-form__body{grid-template-columns:repeat(2,minmax(0,1fr))}
.hub-chatgpt__modal .hub-task-section{min-width:0}
.hub-chatgpt__modal .hub-chatgpt__renewal{display:flex;flex-direction:row;align-items:center;gap:10px;justify-content:start}
.hub-chatgpt__modal .hub-chatgpt__renewal input{width:18px!important;min-height:18px!important;height:18px}
.hub-chatgpt__modal .hub-task-field:has([name="companySearch"]){position:relative}
.hub-chatgpt__modal .hub-chatgpt__company-results{
  position:absolute;z-index:10;top:calc(100% - 5px);left:0;right:0;
  max-height:230px;overflow-y:auto;padding:5px;border:1px solid #dfe6f0;
  border-radius:10px;background:#fff;box-shadow:0 12px 24px rgba(25,48,93,.12)
}
.hub-chatgpt__modal .hub-chatgpt__company-results[hidden]{display:none}
.hub-chatgpt__modal .hub-chatgpt__company-results button{
  display:block;width:100%;padding:10px 12px;text-align:left;border:0;border-radius:7px;
  background:transparent;color:#0e2166;cursor:pointer
}
.hub-chatgpt__modal .hub-chatgpt__company-results button:hover{background:#edf6ff}
.hub-chatgpt__modal .hub-task-form__state[data-tone="error"]{color:#b42318}
@media(max-width:860px){
  #hub-view #hub-chatgpt-ads .hub-filter-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
  #hub-view #hub-chatgpt-ads .hub-filter-primary .hub-search{grid-column:1/-1}
  .hub-chatgpt__modal .hub-task-form__body{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  #hub-view #hub-chatgpt-ads .hub-chatgpt__summary{grid-template-columns:minmax(0,1fr)!important}
  #hub-view #hub-chatgpt-ads .hub-filter-primary{grid-template-columns:minmax(0,1fr)}
  #hub-view #hub-chatgpt-ads .hub-filter-primary .hub-search{grid-column:auto}
  #hub-view[data-hub-section="chatgpt"] .hub-final-actions > .hub-chatgpt__top-actions{width:100%;justify-content:flex-end}
}

/* Required-field feedback matches Google Ads from the moment the modal opens. */
.hub-chatgpt__modal [data-required-field].is-invalid > span {
  color:#b42318!important;
}
.hub-chatgpt__modal [data-required-field].is-invalid :is(input,select):not(:disabled) {
  border-color:#f04438!important;
  background:#fffafa!important;
  box-shadow:0 0 0 1px rgba(240,68,56,.10)!important;
}
.hub-chatgpt__modal [data-required-field].is-valid :is(input,select):not(:disabled) {
  border-color:#12b76a!important;
  background:#f6fef9!important;
}
.hub-chatgpt__modal [data-required-field]:is(.is-neutral,.is-disabled) > span,
.hub-chatgpt__modal [data-required-field]:is(.is-neutral,.is-disabled) small {
  color:#8995a8!important;
}
.hub-chatgpt__modal .hub-chatgpt__end-date.is-disabled {
  opacity:.68;cursor:not-allowed;
}
.hub-chatgpt__modal .hub-chatgpt__end-date.is-disabled input:disabled {
  background:#edf1f6!important;
  border-color:#d7e0eb!important;
  color:#8795aa!important;
  box-shadow:none!important;cursor:not-allowed;
}
.hub-chatgpt__modal .hub-chatgpt__renewal.is-active {
  color:#0e2166;background:#f3faf6;border-radius:10px;
}
.hub-chatgpt__modal .hub-task-form__state[data-tone="error"] {
  color:#b42318!important;
}


/* ChatGPT Ads · Sfera Studio (2026-11-03).
   Same visual primitives as Hub Google Ads, with its own SQLite fields. */
#hub-view[data-hub-section="chatgpt"] .hub-shell{
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:0!important
}
#hub-view[data-hub-section="chatgpt"] .hub-final-tabs{
  gap:22px!important;padding:0 3px!important;margin:0 0 20px!important;
  background:transparent!important;border:0!important;border-bottom:1px solid #e2e8f1!important;
  border-radius:0!important;box-shadow:none!important
}
#hub-view[data-hub-section="chatgpt"] .hub-final-tabs .hub-subnav__item{
  min-height:46px!important;padding:11px 2px 13px!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  color:#8290a5!important;font:600 11px/1.3 Poppins,"Open Sans",sans-serif!important;
  position:relative;white-space:nowrap
}
#hub-view[data-hub-section="chatgpt"] .hub-final-tabs .hub-subnav__item.is-active{
  color:#0e2166!important
}
#hub-view[data-hub-section="chatgpt"] .hub-final-tabs .hub-subnav__item.is-active:after{
  content:"";position:absolute;bottom:0;left:0;right:0;height:2px;
  background:#0b7ff0;border-radius:3px
}
#hub-view[data-hub-section="chatgpt"] .hub-final-tabs .hub-subnav__actions{
  display:none!important
}
#hub-view #hub-chatgpt-ads > :is(.hub-chatgpt__summary,.hub-chatgpt__filters,.hub-chatgpt__table-wrap),
#hub-view #hub-chatgpt-ads > .hub-state{
  display:none!important
}
#hub-view #hub-chatgpt-ads .sfera-chatgpt-studio{
  width:100%;min-width:0;padding:0 0 24px;
  background:transparent;font:400 12px/1.5 Poppins,"Open Sans",sans-serif;
  color:#1f2a44
}
#hub-view #hub-chatgpt-ads .sfera-cg-kpis{
  grid-template-columns:1.45fr repeat(3,minmax(0,1fr));
  gap:11px;margin:0 0 13px
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory{
  overflow:visible!important;border:1px solid #dfe7f2;border-radius:15px;
  background:#fff;box-shadow:0 6px 17px rgba(19,50,98,.035)
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-toolbar{
  display:flex!important;align-items:center;justify-content:space-between;
  min-height:0!important;margin:0!important;padding:9px 17px 13px!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-count{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:32px;padding:6px 13px;border:1px solid #dce7fb;border-radius:9px;
  background:#eff4ff;color:#214b9a;font:650 12px/1.3 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-toggle{
  display:grid!important;place-items:center;position:relative!important;
  min-width:41px!important;width:41px!important;height:41px!important;min-height:41px!important;
  padding:0!important;border:1px solid #dce5f0!important;border-radius:10px!important;
  background:#fff!important;color:#0e2166!important;box-shadow:none!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-toggle:is(:hover,[aria-expanded="true"]){
  border-color:#aed8fa!important;background:#f2f8ff!important;color:#0b7ff0!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-advanced{
  position:relative;display:block!important;padding:20px 22px!important;
  border-top:1px solid #e5eaf2;border-bottom:1px solid #e5eaf2;
  background:#fafbfd!important;box-shadow:none!important;border-radius:0!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-advanced[hidden]{
  display:none!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px;
  align-items:end
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid > label,
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid > .sfera-ads-filter-field{
  display:flex;flex-direction:column;gap:6px;min-width:0;
  color:#586b85;font:500 11px/1.35 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid input{
  box-sizing:border-box;min-height:40px;height:40px;width:100%;min-width:0;
  padding:7px 10px;border:1px solid #dce5f0;border-radius:8px;
  background:#fff;color:#1f2a44;box-shadow:none;
  font:400 12px/1.3 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-select__menu{
  z-index:35
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-footer{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;margin-top:18px!important;padding:16px 0 0!important;
  border-top:1px solid #e5eaf2;background:transparent!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-footer button{
  min-height:40px!important;min-width:145px!important;padding:9px 16px!important;
  border-radius:9px!important;font:600 11px/1.3 Poppins,"Open Sans",sans-serif!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-footer button[data-cg-apply]{
  border-color:#0b7ff0!important;background:#0b7ff0!important;color:#fff!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-table-scroll{
  display:block;box-sizing:border-box;width:calc(100% - 34px);max-width:calc(100% - 34px);
  margin:0 17px;padding:0;border:1px solid #e3eaf5;border-radius:12px;
  background:#f6f8fc;overflow-x:auto;overflow-y:visible;scrollbar-width:thin
}
#hub-view #hub-chatgpt-ads .sfera-cg-table{
  display:table;width:100%;min-width:1391px;table-layout:fixed;
  padding:0;margin:0;border-collapse:collapse;background:#fff
}
#hub-view #hub-chatgpt-ads .sfera-cg-table thead{
  display:table-header-group;background:#f6f8fc
}
#hub-view #hub-chatgpt-ads .sfera-cg-table thead th{
  height:48px!important;padding:0!important;vertical-align:middle!important;
  border-top:0!important;border-bottom:1px solid #dfe7f3!important;
  background:#f6f8fc!important;color:#586f91!important;
  font:700 11px/1.4 Poppins,"Open Sans",sans-serif!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-table thead th>button{
  display:flex!important;align-items:center!important;
  width:100%!important;min-height:48px!important;margin:0!important;
  padding:0 14px!important;border:0!important;background:transparent!important;
  box-shadow:none!important;color:#586f91!important;
  font:700 11px/1.4 Poppins,"Open Sans",sans-serif!important;white-space:nowrap
}
#hub-view #hub-chatgpt-ads .sfera-cg-table thead th:not(:has(button)){
  padding:0 14px!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-table td{
  height:66px!important;min-width:0;padding:15px 14px!important;
  border-bottom:1px solid #edf1f6!important;
  background:#fff!important;color:#2b4368!important;
  font:500 12px/1.48 "Open Sans",sans-serif!important;vertical-align:middle
}
#hub-view #hub-chatgpt-ads .sfera-cg-table tbody tr{
  cursor:pointer;transition:background-color .15s ease
}
#hub-view #hub-chatgpt-ads .sfera-cg-table tbody tr:hover td{
  background:#f5f8ff!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-table .sfera-ads-identity{
  min-width:0!important;max-width:100%;overflow:hidden
}
#hub-view #hub-chatgpt-ads .sfera-cg-table .sfera-ads-identity>span:last-child{
  overflow:hidden;min-width:0
}
#hub-view #hub-chatgpt-ads .sfera-cg-table .sfera-ads-identity strong{
  display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#142f60;font:700 13px/1.4 Poppins,"Open Sans",sans-serif
}
#hub-view #hub-chatgpt-ads .sfera-cg-table .hub-chatgpt__notes{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:165px
}
#hub-view #hub-chatgpt-ads .sfera-cg-table .sfera-ads-actions{
  overflow:visible!important;white-space:nowrap
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-directory__footer{
  padding:12px 17px
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-feedback:not(:empty){
  margin:0 17px 10px;padding:10px 12px
}
/* Forms and history in an Opportunity-style side drawer, not a centered modal. */
body > .hub-chatgpt__modal.hub-task-modal{
  position:fixed!important;inset:0!important;z-index:2500!important;
  display:block!important;padding:0!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-modal__panel:not(.hub-task-modal__panel--history){
  display:flex!important;flex-direction:column!important;grid-template:none!important;
  position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
  width:min(540px,100vw)!important;min-width:0!important;max-width:100vw!important;
  height:100dvh!important;max-height:100dvh!important;
  min-height:0!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;overflow:hidden!important;
  background:#f7faff!important;box-shadow:-12px 0 36px rgba(14,33,102,.17)!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-modal__panel > .hub-task-modal__header{
  flex:0 0 auto!important;padding:17px 19px!important;border-radius:0!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-modal__panel > .hub-task-modal__content{
  display:flex!important;flex:1 1 0!important;width:100%!important;
  min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-form{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  min-height:0!important;height:100%!important;overflow:hidden!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-form > .hub-task-form__body{
  display:flex!important;flex-direction:column!important;gap:10px!important;
  flex:1 1 0!important;min-height:0!important;height:auto!important;
  max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding:15px!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-section{
  flex:0 0 auto!important;width:100%!important;min-height:0!important;
  padding:14px 15px!important;margin:0!important;
  border-radius:12px!important;box-shadow:none!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-section__grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-modal__loading--inline{
  display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;
  width:auto!important;max-width:calc(100% - 32px)!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  margin:16px!important;padding:10px 12px!important;
  border:1px solid #e2e9f2!important;border-radius:9px!important;
  background:#fff!important;color:#647a96!important;
  font:500 11px/1.3 Poppins,"Open Sans",sans-serif!important;box-shadow:none!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-modal__loading-spinner{
  flex:0 0 15px;width:15px;height:15px;margin-right:9px;
  border:2px solid #dbe9f9;border-top-color:#0b7ff0;border-radius:50%;
  animation:sfera-ads-spinner .65s linear infinite
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-form > .hub-task-modal__footer{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:0 0 auto!important;min-height:70px!important;
  width:100%!important;box-sizing:border-box!important;
  margin:0!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important;
  border:0!important;border-top:1px solid #e0e7f1!important;border-radius:0!important;
  background:#f7faff!important;box-shadow:none!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-form > .hub-task-modal__footer > button{
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
  flex:0 0 auto!important;width:auto!important;min-width:125px!important;
  min-height:45px!important;padding:11px 18px!important;
  border-radius:10px!important;font:700 12px/1.3 Poppins,"Open Sans",sans-serif!important
}
body > .hub-chatgpt__modal.hub-task-modal .hub-task-form > .hub-task-modal__footer > button.btn-primary{
  min-width:170px!important;background:#0b7ff0!important;border-color:#0b7ff0!important;
  color:#fff!important;box-shadow:0 3px 10px rgba(11,127,240,.12)!important
}
@media(max-width:1150px){
 #hub-view #hub-chatgpt-ads .sfera-cg-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 #hub-view #hub-chatgpt-ads .sfera-cg-kpis>.sfera-ads-kpi--hero{grid-column:1/-1}
 #hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:860px){
 #hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 #hub-view #hub-chatgpt-ads .sfera-cg-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 #hub-view #hub-chatgpt-ads .sfera-cg-kpis>.sfera-ads-kpi--hero{grid-column:1/-1}
 #hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-table-scroll{
  width:calc(100% - 20px);max-width:calc(100% - 20px);margin:0 10px;
  background:#fff;overflow:visible
 }
 #hub-view #hub-chatgpt-ads .sfera-cg-table{
  display:block;width:100%;min-width:0
 }
 #hub-view #hub-chatgpt-ads .sfera-cg-table colgroup,
 #hub-view #hub-chatgpt-ads .sfera-cg-table thead{display:none!important}
 #hub-view #hub-chatgpt-ads .sfera-cg-table tbody{display:block}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td{
  display:block;height:auto!important;min-height:0!important;padding:0!important;
  border:0!important;overflow:visible!important
 }
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(3),
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(4){display:block!important}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(5),
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(8){display:none!important}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(3):before{content:"Gestione mensile"}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(4):before{content:"Budget giornaliero"}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(5):before{content:none!important}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(6):before{content:"Scadenza"}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(7):before{content:"Rinnovo"}
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(3):before,
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(4):before,
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(6):before,
 #hub-view #hub-chatgpt-ads .sfera-cg-table td:nth-child(7):before{
  display:block;color:#8a99ae;font-size:10px;margin-bottom:5px
 }
 #hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body > .hub-chatgpt__modal.hub-task-modal .hub-task-modal__panel:not(.hub-task-modal__panel--history){width:100vw!important}
 body > .hub-chatgpt__modal.hub-task-modal .hub-task-section__grid{grid-template-columns:minmax(0,1fr)!important}
 body > .hub-chatgpt__modal.hub-task-modal .hub-task-form > .hub-task-modal__footer > button{
  min-width:0!important;flex:1 1 0!important
 }
}
@media(max-width:450px){
 #hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-grid{grid-template-columns:minmax(0,1fr)}
 #hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-footer button{min-width:0!important;flex:1 1 0!important}
}
@media(prefers-reduced-motion:reduce){
 body > .hub-chatgpt__modal.hub-task-modal .hub-task-modal__loading-spinner{animation:none!important}
 #hub-view #hub-chatgpt-ads .sfera-cg-table tbody tr{transition:none!important}
 #hub-view #hub-chatgpt-ads .sfera-cg-kpis .sfera-ads-kpi{transition:none!important;transform:none!important}
}

/* Read-only history uses the same pinned header and its own scroll body. */
body > .hub-chatgpt__modal.hub-task-modal[data-chatgpt-history="true"] .hub-task-modal__panel > .hub-task-modal__content{
  display:block!important;flex:1 1 0!important;min-height:0!important;height:auto!important;
  overflow-y:auto!important;overflow-x:hidden!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-select__trigger:focus-visible,
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-filter-toggle:focus-visible{
  outline:2px solid #0b7ff0!important;outline-offset:2px!important
}

/* ChatGPT Ads uses only the shared pinned topbar; native controls remain
   in the DOM as safe controller entry points and are not visually duplicated. */
#hub-view[data-hub-section="chatgpt"] .hub-final-actions > .hub-chatgpt__top-actions{
  display:none!important
}
#hub-view #hub-chatgpt-ads .sfera-cg-directory .sfera-ads-select__menu [data-cg-option][aria-selected="true"]{
  background:#f2f6ff!important;color:#0b7ff0!important;font-weight:700!important
}
