/* Table editor in the look of the Data Tables and Photo Gallery editors: the header with the actions, group tabs with
   a search, the settings in cards and switches instead of checkboxes (see admin.tables.ui.js). Layout only. */

/* ---------- Header: the name and the shortcode on the dark bar, the actions on a white bar under it ---------- */
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 16px 0;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head > .supsystic-breadcrumb-el {
  color: #9fb3c8 !important;
  font-weight: 500;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head .pts-ed-title {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableEditableLabelShell {
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff !important;
  transition: background-color 0.15s;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableEditableLabelShell:hover {
  background: rgba(255, 255, 255, 0.1);
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableLabelEditMsg {
  color: #7ff8ef !important;
  font-size: 12px;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head input[type='text'] {
  height: 30px;
  min-height: 30px;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--pts-ui-ink) !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head .pts-ed-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head .pts-ed-code .chosen-container-single .chosen-single {
  height: 30px;
  border-color: rgba(255, 255, 255, 0.25);
  line-height: 30px;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head input.ptsCopyTextCode {
  color: var(--pts-ui-ink) !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  float: none !important;
  margin: 10px -16px 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pts-ui-line);
  background: #fff;
}
/* One main action in the header: Save. The other buttons are plain even when their markup says primary */
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .button,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .button * {
  color: var(--pts-ui-text) !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .button {
  border-color: var(--pts-ui-line) !important;
  background: #fff !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .button:hover,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .button:focus,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .button:hover *,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .button:focus * {
  border-color: var(--pts-ui-accent) !important;
  color: var(--pts-ui-accent) !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableSaveBtn {
  margin-right: 4px;
  border-color: transparent !important;
  background: var(--pts-ui-navy) !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableSaveBtn,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableSaveBtn *,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableSaveBtn:hover *,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableSaveBtn:focus * {
  color: #fff !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableSaveBtn:hover,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableSaveBtn:focus {
  background: var(--pts-ui-navy-hover) !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableRemoveBtn {
  margin-left: auto;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableRemoveBtn:hover,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableRemoveBtn:focus,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableRemoveBtn:hover *,
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableRemoveBtn:focus * {
  border-color: #dc2626 !important;
  color: #dc2626 !important;
}
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head > div[style*='clear'] {
  display: none;
}

/* ---------- Settings shell ---------- */
.supsystic-plugin .pts-ed {
  margin: 0 0 18px;
  padding: 0;
}
.supsystic-plugin .supsystic-item:has(> #containerWrapper > .pts-ed) {
  padding-left: 0 !important;
}

/* Group tabs and search */
.supsystic-plugin .pts-ed .pts-ed-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin: 0 0 16px;
  padding: 6px;
  border: 1px solid var(--pts-ui-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--pts-ui-shadow);
  font-size: 13px;
  line-height: 1;
}
.supsystic-plugin .pts-ed .pts-ed-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  margin: 0;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--pts-ui-text) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab .fa {
  width: auto;
  color: var(--pts-ui-muted);
}
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab:hover {
  background: var(--pts-ui-line-soft);
  color: var(--pts-ui-ink) !important;
}
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab:focus {
  box-shadow: none;
}
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab:focus-visible {
  outline: 2px solid var(--pts-ui-accent);
  outline-offset: 1px;
}
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab.nav-tab-active,
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab.nav-tab-active:hover {
  border: 0 !important;
  background: var(--pts-ui-navy);
  color: #fff !important;
}
.supsystic-plugin .pts-ed .pts-ed-nav .nav-tab.nav-tab-active .fa {
  color: #7ff8ef;
}
.supsystic-plugin .pts-ed.is-searching .pts-ed-nav .nav-tab.nav-tab-active {
  background: none;
  color: var(--pts-ui-text) !important;
}
.supsystic-plugin .pts-ed.is-searching .pts-ed-nav .nav-tab.nav-tab-active .fa {
  color: var(--pts-ui-muted);
}
.supsystic-plugin .pts-ed .pts-ed-pro-dot {
  padding: 2px 6px;
  border: 1px solid rgba(14, 138, 147, 0.35);
  border-radius: 999px;
  background: #e6f6f7;
  color: #0b6e75;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.supsystic-plugin .pts-ed .undoButtons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 0 8px;
}
.supsystic-plugin .pts-ed .undoButtons[style*='none'] {
  display: none !important;
}
.supsystic-plugin .pts-ed .undoButtons button {
  margin: 0 !important;
}
.supsystic-plugin .pts-ed #ptsUndoProcess {
  margin: 0 0 0 6px;
  padding: 0;
  color: var(--pts-ui-muted);
  font-size: 12px;
}
.supsystic-plugin .pts-ed .pts-ed-search {
  position: relative;
  flex: 0 1 240px;
  margin: 0;
}
.supsystic-plugin .pts-ed .pts-ed-search .fa {
  position: absolute;
  top: 50%;
  left: 11px;
  transform: translateY(-50%);
  color: var(--pts-ui-muted);
  font-size: 13px;
  pointer-events: none;
}
.supsystic-plugin .pts-ed .pts-ed-search input[type='search'] {
  width: 100%;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 10px 0 32px;
  border: 1px solid var(--pts-ui-line);
  border-radius: 10px;
  background: var(--pts-ui-surface);
  box-shadow: none;
  color: var(--pts-ui-ink);
  font-size: 13px;
}
.supsystic-plugin .pts-ed .pts-ed-search input[type='search']:focus {
  border-color: var(--pts-ui-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 138, 147, 0.15);
}
.supsystic-plugin .pts-ed .pts-ed-empty {
  margin: 0 0 16px;
  padding: 28px;
  border: 1px dashed var(--pts-ui-line);
  border-radius: 14px;
  color: var(--pts-ui-muted);
  font-size: 13px;
  text-align: center;
}
.supsystic-plugin .pts-ed .pts-ed-empty[hidden] {
  display: none;
}

/* Panes: the active group as a grid of cards; while searching every group, only the matching rows */
.supsystic-plugin .pts-ed .ptsSettingsContent > div.active,
.supsystic-plugin .pts-ed .ptsSettingsContent > div > .ptsNotActiveWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  align-items: start;
  gap: 16px;
}
.supsystic-plugin .pts-ed .ptsSettingsContent > div > .ptsNotActiveWrapper,
.supsystic-plugin .pts-ed .ptsSettingsContent > div > .pts-pro-note,
.supsystic-plugin .pts-ed .pts-ed-card-wide {
  grid-column: 1 / -1;
}
.supsystic-plugin .pts-ed.is-searching .ptsSettingsContent > div {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}
.supsystic-plugin .pts-ed.is-searching .ptsSettingsContent > div.pts-ed-pane-miss {
  display: none !important;
}
.supsystic-plugin .pts-ed .pts-ed-miss,
.supsystic-plugin .pts-ed .pts-ed-card.pts-ed-card-miss {
  display: none !important;
}
.supsystic-plugin .pts-ed.is-searching .ptsSettingsContent > div > .pts-pro-note {
  display: none;
}
.supsystic-plugin .pts-ed .ptsNotActiveWrapper {
  background: none;
  opacity: 0.55;
  filter: grayscale(0.35);
  pointer-events: none;
}

/* Cards */
.supsystic-plugin .pts-ed .pts-ed-card {
  min-width: 0;
  padding: 4px 18px 8px;
  border: 1px solid var(--pts-ui-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--pts-ui-shadow);
  color: var(--pts-ui-text);
}
.supsystic-plugin .pts-ed .pts-ed-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -18px 2px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--pts-ui-line-soft);
}
.supsystic-plugin .pts-ed .pts-ed-card-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(74, 232, 234, 0.22), rgba(55, 125, 255, 0.16));
  color: #1f5fd6;
  font-size: 15px;
}
.supsystic-plugin .pts-ed .pts-ed-card-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.supsystic-plugin .pts-ed .pts-ed-card-title b {
  color: var(--pts-ui-ink);
  font-size: 14px;
  font-weight: 700;
}
.supsystic-plugin .pts-ed .pts-ed-card-title small {
  color: var(--pts-ui-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Rows: the name on the left, the control on the right */
.supsystic-plugin .pts-ed .ptsTableSetting.pts-ed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  float: none;
  width: auto;
  min-height: 52px;
  margin: 0;
  padding: 9px 0;
  font-size: 13px;
}
.supsystic-plugin .pts-ed .ptsTableSetting.pts-ed-row.ptsDisplNone {
  display: none;
}
.supsystic-plugin .pts-ed .pts-ed-row + .pts-ed-row {
  border-top: 1px solid var(--pts-ui-line-soft);
}
.supsystic-plugin .pts-ed .pts-ed-label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--pts-ui-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.supsystic-plugin .pts-ed .pts-ed-label label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
}
.supsystic-plugin .pts-ed .pts-ed-label .fa-question.supsystic-tooltip {
  margin-left: 0;
}
.supsystic-plugin .pts-ed .pts-ed-ctl {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.supsystic-plugin .pts-ed .pts-ed-unit {
  color: var(--pts-ui-muted);
  font-size: 12px;
}
.supsystic-plugin .pts-ed .pts-ed-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--pts-ui-line-soft);
  color: var(--pts-ui-ink);
  font-size: 13px;
  font-weight: 700;
}
/* Long and short labels: the cards have room for the long ones */
.supsystic-plugin .pts-ed .sup-reduce-txt {
  display: none !important;
}
.supsystic-plugin .pts-ed .sup-complete-txt {
  display: inline !important;
}
.supsystic-plugin .pts-ed input[type='text'] {
  height: 34px;
  min-height: 34px;
  text-align: center;
}
.supsystic-plugin .pts-ed input[name='params[switch_text]'] {
  width: 170px !important;
  text-align: left;
}
.supsystic-plugin .pts-ed .chosen-container,
.supsystic-plugin #containerWrapper .pts-ed .chosen-container {
  width: 170px !important;
}
.supsystic-plugin .pts-ed .pts-ed-locked .pts-ed-ctl {
  opacity: 0.6;
}
.supsystic-plugin .pts-ed .pts-ed-locked .chosen-container-single .chosen-single {
  background: var(--pts-ui-surface);
}
.supsystic-plugin .pts-ed .pts-pro-note {
  margin: 4px 0 10px;
}

/* px / % as one segmented control */
.supsystic-plugin .pts-ed .pts-ed-seg {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--pts-ui-field);
  border-radius: 8px;
  background: #fff;
}
.supsystic-plugin .pts-ed .pts-ed-seg label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--pts-ui-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
/* suptablesui.min.css makes every radio position: relative !important */
.supsystic-plugin .pts-ed .pts-ed-seg input[type='radio'] {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.supsystic-plugin .pts-ed .pts-ed-seg label:has(input:checked) {
  background: var(--pts-ui-navy);
  color: #fff;
}
.supsystic-plugin .pts-ed .pts-ed-seg label:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(14, 138, 147, 0.25);
}
.supsystic-plugin .pts-ed .pts-ed-choice {
  font-weight: 600;
}

/* Switches instead of checkboxes */
.supsystic-plugin .pts-ed .pts-ed-row input[type='checkbox'] {
  position: relative;
  flex: none;
  width: 36px !important;
  height: 20px !important;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.18s;
}
.supsystic-plugin .pts-ed .pts-ed-row input[type='checkbox']:before {
  content: none;
  display: none;
}
.supsystic-plugin .pts-ed .pts-ed-row input[type='checkbox']:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
  transition: transform 0.18s cubic-bezier(0.3, 0.7, 0.4, 1);
}
.supsystic-plugin .pts-ed .pts-ed-row input[type='checkbox']:hover {
  background-color: #b4c0d0;
}
.supsystic-plugin .pts-ed .pts-ed-row input[type='checkbox']:checked {
  background: linear-gradient(135deg, #4ae8ea 0%, #377dff 100%);
}
.supsystic-plugin .pts-ed .pts-ed-row input[type='checkbox']:checked:after {
  transform: translateX(16px);
}
.supsystic-plugin .pts-ed .pts-ed-row input[type='checkbox']:focus-visible {
  box-shadow: 0 0 0 3px rgba(14, 138, 147, 0.25);
  outline: none;
}

/* Color fields: a rounded swatch instead of the turned drop */
.supsystic-plugin .pts-ed .pts-ed-ctl .ptsTear {
  width: 44px;
  height: 28px;
  margin: 0;
  border: 1px solid var(--pts-ui-field);
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px #fff;
  transform: none;
  transition: border-color 0.15s;
}
.supsystic-plugin .pts-ed .pts-ed-ctl .ptsTear:hover {
  border-color: var(--pts-ui-accent);
}

/* Options of the switch */
.supsystic-plugin .pts-ed .field-options-container {
  padding: 10px 0 6px;
}
.supsystic-plugin .pts-ed .field-options-container .supRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.supsystic-plugin .pts-ed .field-options-container .supRow > div {
  float: none;
  width: auto;
  padding: 0;
}
.supsystic-plugin .pts-ed .field-options-container .ptsLabel {
  color: var(--pts-ui-text);
  font-size: 13px;
  font-weight: 600;
}
.supsystic-plugin .pts-ed .field-options-container .option-name-input {
  width: 220px;
  text-align: left;
}
.supsystic-plugin .pts-ed .field-options-container .sc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--pts-ui-navy);
  color: #fff;
  cursor: pointer;
}
.supsystic-plugin .pts-ed .field-options-list .option {
  gap: 10px;
  margin: 0 0 6px;
  padding: 6px 10px;
  border: 1px solid var(--pts-ui-line);
  border-radius: 10px;
  background: var(--pts-ui-surface);
}
.supsystic-plugin .pts-ed .field-options-list .option div {
  padding-left: 0;
}
.supsystic-plugin .pts-ed .field-options-list .option input[type='text'] {
  width: 220px;
  text-align: left;
}
.supsystic-plugin .pts-ed .field-options-list .option-drag-handler,
.supsystic-plugin .pts-ed .field-options-list .remove-option {
  color: var(--pts-ui-muted);
  cursor: pointer;
}
.supsystic-plugin .pts-ed .field-options-list .remove-option:hover {
  color: #dc2626;
}
.supsystic-plugin .pts-ed .field-options-list .checked-state label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

/* The canvas under the settings */
.supsystic-plugin .pts-ed + #ptsCanvas {
  padding-top: 8px;
  border-top: 1px solid var(--pts-ui-line);
}

/* Column menu of the canvas (free version): the PRO tag on the Schedule button */
.ptsElMenu .ptsScheduleColBtn[data-pts-upsell] {
  position: relative;
}
.ptsElMenu .ptsScheduleColBtn .pts-ed-menu-pro {
  position: absolute;
  top: -7px;
  right: -8px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ae8ea, #377dff);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 13px;
  pointer-events: none;
}

@media (max-width: 782px) {
  .supsystic-plugin .pts-ed .ptsSettingsContent > div.active,
  .supsystic-plugin .pts-ed .ptsSettingsContent > div > .ptsNotActiveWrapper,
  .supsystic-plugin .pts-ed.is-searching .ptsSettingsContent > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .supsystic-plugin .pts-ed .pts-ed-search {
    flex-basis: 100%;
  }
}

/* The hidden element menus of the editor (appended to <body>) and the hover tools of the last column stick out past
   the page and gave it a horizontal scroll (also before 1.13) */
html:has(body.toplevel_page_tables-supsystic .pts-ed) {
  overflow-x: hidden;
}
/* The element menus live at the end of <body> and kept their place while hidden; a menu that grows after it was placed
   (its icons load later) stuck out of the page. A hidden menu waits at the left edge and goes away at once (no fade
   out, so it is not seen moving); on show the editor places it again (reposite) and it fades in as before. */
body > .ptsElMenu:not(.active) {
  left: 0 !important;
  transition: none;
}
@media (max-width: 782px) {
  .supsystic-plugin #supsystic-breadcrumbs.pts-ed-head .pts-ed-code {
    flex-wrap: wrap;
    max-width: 100%;
    margin-left: 0;
  }
  .supsystic-plugin #supsystic-breadcrumbs.pts-ed-head input.ptsCopyTextCode {
    max-width: 100%;
    min-width: 0;
  }
  .supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell .ptsTableRemoveBtn {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .supsystic-plugin .pts-ed .ptsTableSetting.pts-ed-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .supsystic-plugin .pts-ed .pts-ed-label {
    flex: 1 1 150px;
  }
  .supsystic-plugin .pts-ed .pts-ed-ctl {
    margin-left: auto;
  }
  .supsystic-plugin .pts-ed .pts-ed-card {
    padding-right: 14px;
    padding-left: 14px;
  }
  .supsystic-plugin .pts-ed .pts-ed-card-head {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }
  .pts-up-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Main, Design and Toggle stay on one line next to the menu rail */
  .supsystic-plugin .pts-ed .pts-ed-groups {
    gap: 2px;
  }
  .supsystic-plugin .pts-ed .pts-ed-nav .nav-tab {
    gap: 5px;
    padding: 0 9px;
  }
}

/* The white bar of the actions lines up with the content under it: 40px from the menu rail and 30px on the right
   (10px from 782px down), as the frame of every tab */
.supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell {
  padding: 12px 30px 12px 40px;
}
@media (max-width: 782px) {
  .supsystic-plugin #supsystic-breadcrumbs.pts-ed-head #ptsTableMainControllsShell {
    padding-right: 10px;
  }
}

/* The hidden tools of the cells (333px wide, on the right of each cell) took room in the page and gave it a horizontal
   overflow on narrow windows: out of the layout while they are hidden */
.supsystic-content #ptsCanvas .ptsCellEditBtnsShell.ptsShowSmooth:not(.active) {
  display: none;
}
/* The source menus of the editor (cloned for each element) are never shown: out of the layout. Hidden menus are not
   wider than the window, and in the preview the Monthly / Yearly switch fits a phone */
#ptsTableEditorFooter > .ptsElMenu {
  display: none;
}
body > .ptsElMenu:not(.active) {
  max-width: 100vw;
  overflow: hidden;
}
.supsystic-content #ptsCanvas .ptsSwitchWrapper .ptsSwitchContent {
  min-width: 0 !important;
  max-width: 100%;
}
