/* CMS 7 only; one existing link per document, desktop tables remain tables. */
#cms .ec27-cms-id-7 .ec27-manual-search {
  margin: 20px 0 24px; padding: 20px; border: 1px solid #e0e4e8;
  border-radius: 10px; background: #f7f8fa;
}
#cms .ec27-cms-id-7 .ec27-manual-search label {
  display: block; margin: 0 0 10px; color: #272c31; font-size: 17px; font-weight: 700;
}
#cms .ec27-cms-id-7 .ec27-manual-search-controls {display: flex; gap: 10px; align-items: stretch;}
#cms .ec27-cms-id-7 .ec27-manual-search input {
  width: 100%; min-width: 0; height: 46px; padding: 10px 12px;
  border: 1px solid #b6bec8; border-radius: 6px; background: #fff;
  color: #272c31; font-family: inherit; font-size: 16px; line-height: 24px;
}
#cms .ec27-cms-id-7 .ec27-manual-search button {
  flex: 0 0 auto; min-height: 44px; padding: 9px 14px;
  border: 1px solid #c9cfd7; border-radius: 6px; background: #fff;
  color: #272c31; font-family:inherit; font-size:13px; line-height:20px; font-weight:600; cursor: pointer;
}
#cms .ec27-cms-id-7 .ec27-manual-search button:hover:not(:disabled) {border-color:#f80823; background:#fff1f4;}
#cms .ec27-cms-id-7 .ec27-manual-search button:disabled {color:#66717e; cursor:default;}
#cms .ec27-cms-id-7 .ec27-manual-search :is(input,button):focus-visible {outline:2px solid #f80823;outline-offset:3px;}
#cms .ec27-cms-id-7 .ec27-manual-search .ec27-manual-search-help {margin:10px 0 4px; font-size:13px;line-height:1.5;color:#586474;}
#cms .ec27-cms-id-7 .ec27-manual-search .ec27-manual-count {margin:0;font-size:13px;line-height:1.5;color:#272c31;font-weight:600;}
#cms .ec27-cms-id-7 .ec27-manual-search .ec27-manual-empty {margin:12px 0 0;padding:12px;border-radius:6px;background:#fff;color:#272c31;font-size:14px;line-height:1.5;}
#cms .ec27-cms-id-7 .ec27-manual-section > h3 {scroll-margin-top:150px;}
#cms .ec27-cms-id-7 .ec27-manual-section[hidden],
#cms .ec27-cms-id-7 .ec27-manual-row[hidden],
#cms .ec27-cms-id-7 .ec27-manual-empty[hidden],
#cms .ec27-cms-id-7 .ec27-cms-brand-table[hidden] {display:none!important;}
#cms .ec27-cms-id-7 .ec27-manual-search-active .ec27-manual-section > h3 {margin-top:20px;}
#cms .ec27-cms-id-7 .ec27-manual-search-active .ec27-manual-section > h3 br {display:none;}
@media (max-width:767px) {
  #cms .ec27-cms-id-7 .ec27-manual-search {padding:14px; margin:16px 0 22px;}
  #cms .ec27-cms-id-7 .ec27-manual-search label {font-size:16px;line-height:1.4;}
  #cms .ec27-cms-id-7 .ec27-manual-search-controls {gap:8px;flex-wrap:wrap;}
  #cms .ec27-cms-id-7 .ec27-manual-search input {flex:1 1 0;}
  #cms .ec27-cms-id-7 .ec27-manual-search button {flex:0 0 auto;}
  #cms .ec27-cms-id-7 .ec27-manual-section {min-width:0;}
  #cms .ec27-cms-id-7 .ec27-manual-section > h3 {margin:24px 0 12px;font-size:20px;line-height:1.35;}
  #cms .ec27-cms-id-7 .ec27-manual-section > h3 br {display:none;}
  #cms .ec27-cms-id-7 .ec27-manual-wrapper {
    display:block!important; width:100%!important; max-width:100%!important;
    min-width:0!important; padding:0!important; margin:0!important;
    border:0!important; border-radius:0!important; overflow:visible!important;
    box-shadow:none!important;
  }
  #cms .ec27-cms-id-7 .ec27-manual-table {
    display:block; width:100%!important; min-width:0!important; max-width:100%!important;
    border:0!important; margin:14px 0 20px!important; background:transparent;
  }
  #cms .ec27-cms-id-7 .ec27-manual-table > tbody {display:block;}
  #cms .ec27-cms-id-7 .ec27-manual-table .ec27-manual-table-head {display:none;}
  #cms .ec27-cms-id-7 .ec27-manual-table .ec27-manual-row {
    display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 8px;
    margin:0 0 10px; padding:14px; border:1px solid #e0e4e8!important;
    border-radius:8px; background:#fff;
  }
  #cms .ec27-cms-id-7 .ec27-manual-table .ec27-manual-row > td {
    display:block; width:auto!important; min-width:0; padding:0!important;
    border:0!important; background:transparent!important; white-space:normal;
  }
  #cms .ec27-cms-id-7 .ec27-manual-table .ec27-manual-name {
    grid-column:1 / -1; color:#272c31; font-size:14px; line-height:1.5;
    font-weight:600; overflow-wrap:anywhere;
  }
  #cms .ec27-cms-id-7 .ec27-manual-table .ec27-manual-size {
    align-self:center; color:#586474; font-size:12px; line-height:1.5;
  }
  #cms .ec27-cms-id-7 .ec27-manual-table .ec27-manual-action-cell {justify-self:end;align-self:center;}
  #cms .ec27-cms-id-7 .ec27-manual-table .ec27-manual-action {
    min-height:40px!important; max-width:100%; padding:9px 10px!important; gap:6px;
    font-size:13px; line-height:20px;
  }
}
