/* Settings workspace: fixed orientation, compact content, help on demand. */
.crowdflow-control-center--settings .cfcc-settings-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.crowdflow-control-center--settings .crowdflow-control-center__header {
  margin: 0 0 28px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.crowdflow-control-center--settings .crowdflow-control-center__header::before { display: none; }
.crowdflow-control-center--settings .crowdflow-control-center__header h1 { font-size: 1.7rem; font-weight: 650; line-height: 1.25; }
.crowdflow-control-center--settings .crowdflow-control-center__header > .crowdflow-control-center__lead { margin-top: 7px; font-size: .86rem; }
.crowdflow-control-center--settings .cfcc-settings-sidebar { position: sticky; top: 24px; min-width: 0; max-height: calc(100dvh - 48px); overflow: auto; }
.admin-bar .crowdflow-control-center--settings .cfcc-settings-sidebar { top: 56px; max-height: calc(100dvh - 80px); }
.crowdflow-control-center--settings .crowdflow-control-center__tabs {
  position: static;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
  margin: 0;
  padding: 7px;
  overflow: visible;
  border-radius: 14px;
  box-shadow: none;
}
.crowdflow-control-center--settings .crowdflow-control-center__tab {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 5px;
  justify-content: start;
  min-height: 46px;
  width: 100%;
  padding: 12px 10px;
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 550;
  line-height: 1.4;
  white-space: normal;
}
.crowdflow-control-center--settings .cfcc-section-icon { display: flex; align-items: center; }
.cfcc-section-icon svg { width: 19px; height: 19px; }
.crowdflow-control-center--settings .crowdflow-control-center__tab.is-active {
  color: #ffd2bd !important;
  background: rgba(255, 106, 36, .14);
  border-color: rgba(255, 106, 36, .24);
}
.crowdflow-control-center--settings .crowdflow-control-center__tab-badge { grid-column: 2; width: fit-content; font-size: .61rem; padding: 2px 5px; }
.crowdflow-control-center--settings .cfcc-settings-account-link {
  display: grid; grid-template-columns: 1fr auto; gap: 4px;
  margin: 16px 8px 0; padding: 14px 9px; border-top: 1px solid var(--cfcc-line);
  color: var(--cfcc-ink-soft) !important; font-size: .82rem; text-decoration: none;
}
.cfcc-settings-account-link small { grid-column: 1 / -1; color: var(--cfcc-muted); font-size: .7rem; }
.crowdflow-control-center--settings .crowdflow-control-center__settings-panel { padding: 24px; border-radius: 16px; }
.crowdflow-control-center--settings .crowdflow-control-center__panel-header { margin: 0 0 20px; padding-bottom: 16px; }
.crowdflow-control-center--settings .crowdflow-control-center__panel-header h2 { margin: 0; font-size: 1.2rem; font-weight: 620; letter-spacing: -.015em; }
.crowdflow-control-center--settings .crowdflow-control-center__settings-providers { gap: 22px; }
.crowdflow-control-center--settings .crowdflow-control-center__provider-header { margin-bottom: 15px; gap: 12px; }
.crowdflow-control-center--settings .cfcc-settings-card { padding: 20px; border-radius: 12px; }
.crowdflow-control-center--settings .cfcc-settings-card__head { gap: 12px; margin-bottom: 16px; padding-bottom: 0; border-bottom: 0; }
.crowdflow-control-center--settings .cfcc-settings-card__head :is(h2,h3) { font-size: 1rem; font-weight: 600; line-height: 1.5; }
.crowdflow-control-center--settings .cfcc-settings-card__head p { font-size: .8rem; }
.crowdflow-control-center--settings .cfcc-field { font-size: .79rem; font-weight: 500; }
.crowdflow-control-center--settings .cfcc-toggle strong,
.crowdflow-control-center--settings .cfcc-choice strong { font-weight: 550; }
.crowdflow-control-center--settings .cfcc-help { font-size: .75rem; font-weight: 400; line-height: 1.5; }
.crowdflow-control-center--settings .cfcc-savebar { margin-top: 6px; padding: 12px 14px; border-radius: 12px; }
.crowdflow-control-center--settings .cfcc-savebar > p { font-size: .74rem; font-weight: 400; }
.crowdflow-control-center--settings .cfcc-button { font-weight: 600; }
.crowdflow-control-center--settings .cfcc-settings-details { min-width: 0; border: 1px solid var(--cfcc-line); border-radius: 10px; padding: 14px 16px; }
.crowdflow-control-center--settings .cfcc-settings-details > summary { cursor: pointer; font-size: .82rem; font-weight: 550; color: var(--cfcc-ink-soft); }
.crowdflow-control-center--settings .cfcc-settings-details[open] > summary { margin-bottom: 18px; }
.crowdflow-control-center--settings .cfcc-settings-mobile { display: none; }
.cfcc-info { display: inline; font-size: .78rem; font-weight: 400; letter-spacing: normal; text-transform: none; }
.crowdflow-control-center--settings .cfcc-info__button {
  display: inline-flex; justify-content: center; align-items: center; vertical-align: middle;
  width: 24px; height: 24px; min-width: 24px; min-height: 24px;
  padding: 0; margin: 0 0 0 5px; border: 1px solid #766c60; border-radius: 50%;
  background: transparent; color: #d7cbbf; box-shadow: none;
  font: 600 12px/1 Georgia, serif; cursor: pointer;
}
.crowdflow-control-center--settings .cfcc-info__button:hover,
.crowdflow-control-center--settings .cfcc-info__button[aria-expanded="true"] { border-color: #ed9b73; color: #ffd2bd; background: #3d2c23; }
.crowdflow-control-center--settings .cfcc-info__button:focus-visible,
.crowdflow-control-center--settings .cfcc-settings-details > summary:focus-visible { outline: 2px solid #fba479; outline-offset: 3px; }
.cfcc-info__content { font-size: .8rem; font-weight: 400; line-height: 1.6; }
.cfcc-info__content--floating {
  position: fixed; z-index: 100000; display: block;
  width: max-content; max-width: min(330px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto;
  padding: 13px 16px; color: #f4e9df; background: #302923;
  border: 1px solid #6e5646; border-radius: 10px;
  box-shadow: 0 8px 26px rgba(0,0,0,.3); font-family: inherit; text-align: left;
  white-space: normal; overflow-wrap: break-word;
}
.cfcc-info__content[hidden], .cfcc-info__button[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .crowdflow-control-center--settings .cfcc-settings-layout { grid-template-columns: 204px minmax(0, 1fr); gap: 16px; }
  .crowdflow-control-center--settings .crowdflow-control-center__settings-panel { padding: 18px; }
}
@media (max-width: 780px) {
  .crowdflow-control-center.crowdflow-control-center--settings { padding: 24px 14px 40px; }
  .crowdflow-control-center--settings .cfcc-settings-layout { display: block; }
  .crowdflow-control-center--settings .cfcc-settings-sidebar { z-index: 25; top: 8px; margin-bottom: 16px; max-height: none; overflow: visible; background: #11100e; border-radius: 12px; }
  .admin-bar .crowdflow-control-center--settings .cfcc-settings-sidebar { top: 8px; max-height: none; }
  .crowdflow-control-center--settings .crowdflow-control-center__header { margin-bottom: 18px; padding: 0 2px; }
  .crowdflow-control-center--settings .crowdflow-control-center__header h1 { font-size: 1.5rem; }
  .crowdflow-control-center--settings .crowdflow-control-center__tabs { flex-direction: row; overflow-x: auto; }
  .crowdflow-control-center--settings .crowdflow-control-center__tab { width: auto; min-width: 150px; }
  .crowdflow-control-center--settings.cfcc-settings-enhanced .crowdflow-control-center__tabs { display: none; }
  .crowdflow-control-center--settings .cfcc-settings-mobile:not([hidden]) { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--cfcc-line); border-radius: 12px; }
  .cfcc-settings-mobile > span { font-size: .72rem; color: var(--cfcc-muted); }
  .crowdflow-control-center--settings .cfcc-settings-mobile select { flex: 1; width: 0; min-width: 0; height: 40px; padding: 0 24px 0 8px; margin: 0; border: 0; background-color: #1d1b18; border-radius: 7px; color: #f7f3ed; font-size: .86rem; }
  .crowdflow-control-center--settings .cfcc-settings-account-link { display: none; }
  .crowdflow-control-center--settings .crowdflow-control-center__settings-panel { padding: 16px 12px; }
  .crowdflow-control-center--settings .cfcc-settings-card { padding: 16px 12px; }
  .crowdflow-control-center--settings .cfcc-settings-card__head { flex-direction: row; align-items: flex-start; }
  .crowdflow-control-center--settings .cfcc-savebar { bottom: 8px; padding: 10px; }
}
.crowdflow-control-center--settings .cfcc-info,
.crowdflow-control-center--settings .cfcc-info__button > span { display: inline; }
.crowdflow-control-center--settings .cfcc-dependent-fields.is-disabled { display: none; }
.crowdflow-control-center--settings .cfcc-savebar > button:last-child { margin-inline-start: auto; }
.crowdflow-control-center--settings .cfcc-settings-disclosure { min-width: 0; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--cfcc-line); border-radius: 10px; }
.crowdflow-control-center--settings .cfcc-settings-disclosure > summary { cursor: pointer; font-size: .82rem; font-weight: 550; color: var(--cfcc-ink-soft); }
.crowdflow-control-center--settings .cfcc-settings-disclosure[open] > summary { margin-bottom: 16px; }
.crowdflow-control-center--settings .cfcc-settings-disclosure > summary:focus-visible { outline: 2px solid #fba479; outline-offset: 4px; }
.crowdflow-control-center--settings [data-cfcc-reveal-fields][hidden] { display: none !important; }
.crowdflow-control-center--settings .cfcc-savebar > button[type="submit"] { margin-inline-start: auto; }

/* Smaller help controls; label and icon share one row, including narrow screens. */
.crowdflow-control-center--settings .cfcc-info-row { display: inline-grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; max-width: 100%; vertical-align: middle; }
.crowdflow-control-center--settings .cfcc-info-row__text { min-width: 0; }
.crowdflow-control-center--settings .cfcc-info-row > .cfcc-info { white-space: nowrap; }
.crowdflow-control-center--settings .cfcc-info__button { position: relative; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; font-size: 10px; }
.crowdflow-control-center--settings .cfcc-info__button::before { content: ''; position: absolute; inset: -3px; }
.cfcc-info__content--floating { max-width: min(280px, calc(100vw - 24px)); padding: 10px 12px; font-size: .75rem; line-height: 1.5; }
.crowdflow-control-center--settings .djtk-paid-configuration { margin-top: 0; }
.crowdflow-control-center--settings #crowdflow-musikwunsch-feedback { scroll-margin-top: 96px; }
