/* EventCentralOps v0.9.840: Internal Operations clarity and responsive polish only.
   The view attribute is a sanitized existing tab identifier; these rules never reach tenant sites.
   No controls, forms or actions are hidden, replaced, or reordered in the DOM. */
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view]{min-width:0}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] :is(.eco-platform-grid,.eco-platform-card,.eco-platform-list,.eco-platform-status-grid,.eco-platform-form,.eco-platform-form-grid){min-width:0}
/* Long tenant names, email destinations, provider identifiers and activity descriptions stay contained.
   Normal words should not be broken unless the value is one unbroken identifier. */
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-list article{min-width:0;align-items:flex-start;gap:14px}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-list article>div{min-width:0;max-width:100%}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-list article :is(strong,span,small,p,a){overflow-wrap:break-word;word-break:normal}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] :is(code,pre){overflow-wrap:anywhere;max-width:100%}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-list article details{max-width:100%;min-width:0}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-list article details .eco-platform-form{min-width:0}
/* Forms and search toolbars: generous input hit areas, predictable rows, no off-screen actions. */
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] :is(.eco-platform-form,.eco-platform-form-grid,.eco-platform-directory-filters,.eco-template-approval-filters) :is(label,input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] :is(.eco-platform-form,.eco-platform-form-grid,.eco-platform-directory-filters,.eco-template-approval-filters) label{line-height:1.48}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] :is(.eco-platform-form,.eco-platform-directory-filters,.eco-template-approval-filters) textarea{width:100%;resize:vertical}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-form :is(fieldset,details){max-width:100%;box-sizing:border-box;min-width:0}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] :is(.eco-platform-check,fieldset .eco-platform-check){display:flex;gap:10px;align-items:flex-start;min-width:0}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] :is(.eco-platform-directory-filters,.eco-template-approval-filters){row-gap:12px}
/* Health: make long status descriptions readable, keep summary badges visible. */
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-metrics article{min-width:0;overflow-wrap:break-word}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-metrics :is(span,strong,small){max-width:100%;min-width:0}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-metrics strong{font-size:clamp(21px,2vw,29px);overflow-wrap:break-word;word-break:normal}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:14px;row-gap:8px;padding:14px 15px}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid article>div{min-width:0}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid :is(strong,span:not(.eco-platform-pill)){overflow-wrap:break-word;word-break:normal;line-height:1.5}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid strong{font-size:13px}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid span:not(.eco-platform-pill){font-size:12px}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid .eco-platform-pill{justify-self:end}
/* Registry/governance records retain their real table semantics and all action controls. */
body.eco-internal-platform-host .eco-platform-shell :is(.eco-ops-template-table-scroll,.eco-ops-features-table-scroll,.eco-ops-redemptions-table-scroll){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
body.eco-internal-platform-host .eco-platform-shell :is(.eco-ops-template-table-scroll,.eco-ops-features-table-scroll,.eco-ops-redemptions-table-scroll):focus-visible{outline:3px solid #77b7a4;outline-offset:2px}
body.eco-internal-platform-host .eco-platform-shell .eco-ops-template-table-scroll .eco-template-registry-table{min-width:990px;table-layout:auto}
body.eco-internal-platform-host .eco-platform-shell .eco-ops-features-table-scroll .eco-platform-table{min-width:850px;table-layout:auto}
body.eco-internal-platform-host .eco-platform-shell .eco-ops-redemptions-table-scroll .eco-platform-table{min-width:840px;table-layout:auto}
body.eco-internal-platform-host .eco-platform-shell :is(.eco-ops-template-table-scroll,.eco-ops-features-table-scroll,.eco-ops-redemptions-table-scroll) .eco-platform-table :is(td,th){word-break:normal;hyphens:none;overflow-wrap:break-word;vertical-align:middle}
body.eco-internal-platform-host .eco-platform-shell :is(.eco-ops-template-table-scroll,.eco-ops-features-table-scroll,.eco-ops-redemptions-table-scroll) .eco-platform-table th{white-space:nowrap}
body.eco-internal-platform-host .eco-platform-shell .eco-ops-redemptions-table-scroll .eco-platform-table td:nth-child(3){overflow-wrap:anywhere;min-width:175px}
/* Communications and Support: readable two-panel work areas, no cramped composer. */
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-grid.two,
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="support"] .eco-platform-grid.two,
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="features"] .eco-platform-grid.two,
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="discounts"] .eco-platform-grid.two,
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="team"] .eco-platform-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-list article>small{white-space:normal;text-align:right}
/* Settings and integrations: do not change the saved fields or disclosure state. */
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="settings"] :is(.eco-platform-card.narrow,.eco-platform-settings-disclosure){width:min(100%,1040px);max-width:100%;box-sizing:border-box}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="settings"] :is(.eco-platform-config-section,.eco-platform-settings-disclosure){min-width:0}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="settings"] :is(.eco-platform-config-section,.eco-platform-settings-disclosure)>summary{line-height:1.5;overflow-wrap:break-word}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="integrations"] :is(.eco-int-item,.eco-internal-linked-service,.eco-int-dialog-panel){min-width:0;max-width:100%}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="integrations"] .eco-int-dialog-body{overscroll-behavior:contain}
/* At intermediate widths two independent admin forms need full-width cards. */
@media(max-width:1180px){
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-grid.two,
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="support"] .eco-platform-grid.two,
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="features"] .eco-platform-grid.two,
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="discounts"] .eco-platform-grid.two,
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="team"] .eco-platform-grid.two{grid-template-columns:minmax(0,1fr)}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-grid.two{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:800px){
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-metrics.six{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="support"] .eco-platform-list article,
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-list article,
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="team"] .eco-platform-list article{flex-wrap:wrap}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-list article>small{text-align:left}
}
@media(max-width:520px){
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-metrics.six{grid-template-columns:minmax(0,1fr)}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid article{grid-template-columns:minmax(0,1fr)}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="health"] .eco-platform-status-grid .eco-platform-pill{justify-self:start}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-directory-filters :is(button,a.eco-platform-button){min-width:0}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view] .eco-platform-form>button[type="submit"]{max-width:100%;width:100%}
  body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="settings"] .eco-platform-settings-disclosure-body{padding:0 12px 14px}
}
/* A compact, predictable filter layout in Communications, including the reset action. */
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-directory-filters{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;column-gap:12px;row-gap:12px;
}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-directory-filters>label:first-of-type{grid-column:1/-1}
body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-directory-filters>:is(button,.eco-platform-button){width:100%;justify-content:center;min-width:0}
@media(max-width:520px){
 body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-directory-filters{grid-template-columns:minmax(0,1fr)}
 body.eco-internal-platform-host .eco-platform-shell .eco-platform-content[data-eco-ops-view="communications"] .eco-platform-directory-filters>label:first-of-type{grid-column:auto}
}
