[class*=" my_conf-"],
[class^="my_conf-"] {
  border-radius: 0;
}

/* WordPress Core gives code fragments an absolute 13 px size. Inside My#Conf
 * secondary copy that would make <small><code>...</code></small> larger than
 * its parent. Nested code therefore follows the surrounding small-text scale;
 * component-specific code sizes remain free to override this contract. */
:where([class*=" my_conf-"], [class^="my_conf-"]) small code,
small:where([class*=" my_conf-"], [class^="my_conf-"]) code {
  font-size: inherit;
}

/* Shared tooltip trigger and top-layer surface. The small outer line box keeps
 * an information icon from changing its field's vertical geometry; the fixed
 * portal is positioned by ui-runtime.js and cannot be clipped by scroll panes
 * or dialog bodies. */
.my_conf-tooltip {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 0;
  line-height: 1;
  vertical-align: top;
}
.my_conf-tooltip__trigger {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--my-conf-admin-muted, #646970);
  box-shadow: none;
  font-size: 0;
  line-height: 1;
  cursor: help;
}
.my_conf-tooltip__trigger .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}
.my_conf-tooltip__trigger:is(:hover, :focus-visible, [aria-expanded="true"]) {
  color: var(--my-conf-admin-primary, var(--my-conf-accent, #2271b1));
  outline: 0;
}
.my_conf-tooltip__content,
.my_conf-tooltip__content[hidden],
.my_conf-tooltip__content[data-my-conf-tooltip-source="1"] {
  display: none;
}
.my_conf-tooltip-portal {
  position: fixed;
  z-index: 2147483000;
  inset: auto;
  box-sizing: border-box;
  width: max-content;
  max-width: min(320px, calc(100vw - 16px));
  margin: 0;
  padding: 9px 11px;
  border: 0;
  border-radius: 0;
  background: var(--my-conf-admin-ink, #1d2327);
  color: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
  font-family: var(
    --my-conf-font-system,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif
  );
  font-size: 12.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  overflow-wrap: anywhere;
  white-space: normal;
}
.my_conf-tooltip-portal[hidden] {
  display: none;
}
.my_conf-grid {
  display: grid;
  gap: 14px;
}
.my_conf-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
select.my_conf-select2-native {
  display: none;
}

/* One toggle composition for Admin, dialogs and public forms. */
.my_conf-toggle-line,
.my_conf-inline-toggle,
.my_conf-state-option,
.my_conf-role-name-switch,
.my_conf-boolean-control,
.my_conf-email-library-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
}
.my_conf-toggle-line--spread {
  justify-content: space-between;
  width: 100%;
}
.my_conf-toggle-line--spread > .my_conf-switch-control {
  order: 2;
  margin-left: auto;
}
.my_conf-toggle-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
  color: var(--my-conf-admin-ink, var(--my-conf-ui-text, #1d2327));
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
}
.my_conf-toggle-copy :is(strong, small) {
  display: block;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.my_conf-toggle-copy small {
  color: var(--my-conf-admin-muted, var(--my-conf-ui-text-muted, #646970));
  font-weight: 400;
}
.my_conf-switch-control {
  position: relative;
  display: inline-block;
  visibility: visible;
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 22px;
  margin: 0;
  opacity: 1;
  cursor: pointer;
}
.my_conf-switch-control > input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.my_conf-switch-control > span {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 42px;
  height: 22px;
  border: 1px solid #8f989f;
  border-radius: 0;
  background: #a8b0b7;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.my_conf-switch-control > span::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 25%);
  content: "";
  transition: transform 150ms ease;
}
.my_conf-switch-control > input[type="checkbox"]:checked + span {
  border-color: #0d6771;
  background: #168c9a;
}
.my_conf-switch-control > input[type="checkbox"]:checked + span::after {
  transform: translateX(20px);
}
.my_conf-switch-control > input[type="checkbox"]:focus-visible + span {
  outline: 2px solid rgb(22 140 154 / 30%);
  outline-offset: 2px;
}
.my_conf-switch-control > input[type="checkbox"]:disabled + span {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Shared non-table empty state. Table emptiness remains part of table. */
.my_conf-empty-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px dashed var(--my-conf-admin-line-strong, var(--my-conf-ui-border-strong, #a7b0b7));
  background: var(--my-conf-admin-surface-soft, var(--my-conf-ui-surface-soft, #f5f7f8));
  color: var(--my-conf-admin-ink, var(--my-conf-ui-text, #1d2327));
  text-align: left;
}
.my_conf-empty-state__icon {
  align-self: start;
  width: 22px;
  height: 22px;
  color: var(--my-conf-admin-muted, var(--my-conf-ui-text-muted, #646970));
  font-size: 22px;
  line-height: 22px;
}
.my_conf-empty-state__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.my_conf-empty-state__title,
.my_conf-empty-state__message {
  display: block;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.my_conf-empty-state__message {
  color: var(--my-conf-admin-muted, var(--my-conf-ui-text-muted, #646970));
}
.my_conf-empty-state__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.my_conf-empty-state--actionable {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding: 28px 20px;
  text-align: center;
}

/* Small runtime primitives shared by every signed-in surface. */
.my_conf-page-loader {
  position: fixed;
  z-index: 2147482990;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 84%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}
.my_conf-page-loader.is-visible {
  opacity: 1;
  visibility: visible;
}
.my_conf-loader-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  overflow: visible;
  vertical-align: middle;
}
.my_conf-loader-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: my-conf-loader-icon-pulse 1.25s cubic-bezier(0.2, 0.8, 0.2, 1)
    infinite;
}
.my_conf-loader-icon--page {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 18px 30px rgb(7 28 39 / 22%));
}
.my_conf-loader-icon--table {
  width: 50px;
  height: 50px;
}
@keyframes my-conf-loader-icon-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  46% {
    transform: translateY(-2px) scale(1.045);
  }
  64% {
    transform: translateY(0) scale(0.985);
  }
}

[data-my-conf-session-warning] {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgb(18 29 39 / 68%);
  font-family: var(--font-family, inherit);
  font-size: var(--font-size, 1rem);
  font-weight: var(--font-weight, 400);
  line-height: var(--line-height, 1.55);
  letter-spacing: var(--letter-spacing, normal);
}
[data-my-conf-session-warning] > section {
  box-sizing: border-box;
  width: min(520px, 100%);
  padding: 22px;
  border-top: 5px solid var(--color-site-secondary-color, #1593a0);
  background: var(--color-site-third-color, #fff);
  color: var(--color-site-primary-color, #18232c);
  box-shadow: 0 20px 65px rgb(0 0 0 / 35%);
}
[data-my-conf-session-warning] header {
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-my-conf-session-warning] header .dashicons {
  width: 30px;
  height: 30px;
  color: #0b6f78;
  font-size: 30px;
}
[data-my-conf-session-warning] h2 {
  margin: 0;
  font-family: var(--h2-font-family, inherit);
  font-size: var(--h2-font-size, 22px);
  font-weight: var(--h2-font-weight, 600);
  line-height: var(--h2-line-height, 1.25);
}
[data-my-conf-session-warning] p {
  margin: 18px 0;
  color: #45515b;
  font-size: 16px;
}
[data-my-conf-session-warning] p strong {
  color: #18232c;
  font-variant-numeric: tabular-nums;
}
[data-my-conf-session-warning] footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .my_conf-page-loader,
  .my_conf-loader-icon img {
    animation: none;
    transition: none;
  }
}

/* Shared activity indicators */
.my_conf-activity-loader{
    display:inline-grid;
    flex:0 0 auto;
    width:16px;
    min-width:16px;
    height:16px;
    place-items:center;
    padding:0;
    border:0;
    background:transparent;
    vertical-align:middle
}
.my_conf-activity-loader img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    animation:my_conf_activity_mark 1.2s cubic-bezier(.2,.8,.2,1) infinite
}
.my_conf-activity-loader:empty{background:transparent url("../images/branding/my-conf-icon.svg") 50%/contain no-repeat}
.my_conf-activity-loader.is-button{margin-right:6px}
.my_conf-activity-loader.is-search{width:15px;height:15px;margin:0 8px 0 4px}
.my_conf-activity-loader.is-language{width:15px;height:15px;margin-left:7px}
.my_conf-activity-loader.is-table{width:50px;height:50px}
@keyframes my_conf_search_icon_activity{
    to{transform:rotate(360deg)}
}
.my_conf-search-field.is-my-conf-searching>.dashicons-search,
.my_conf-workspace__search.is-my-conf-searching>.dashicons-search{
    color:var(--my-conf-accent,var(--my-conf-admin-primary,#0c738f));
    transform-origin:50% 50%;
    animation:my_conf_search_icon_activity .9s linear infinite
}
@media (prefers-reduced-motion:reduce){
    .my_conf-search-field.is-my-conf-searching>.dashicons-search,
    .my_conf-workspace__search.is-my-conf-searching>.dashicons-search{animation:none}
}
.my_conf-template-language-loader{
    display:grid;
    justify-items:center;
    gap:10px;
    color:var(--my-conf-text,#172c3b);
    text-align:center
}
.my_conf-template-language-loader>div{display:grid;gap:3px}
.my_conf-template-language-loader>div>span{color:var(--my-conf-muted,#646970);font-size:11px}

:is(button,a.button).is-my-conf-busy{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    pointer-events:none
}
[data-my-conf-admin-language]{position:relative}
[data-my-conf-admin-language].is-my-conf-language-loading select{pointer-events:none;opacity:.76}
.my_conf-table-loader{
    position:absolute;
    z-index:12;
    display:grid;
    box-sizing:border-box;
    place-items:center;
    inset:0;
    min-height:150px;
    border:1px solid var(--my-conf-border,#c3c4c7);
    background:rgba(248,250,251,.92);
    pointer-events:none
}
.is-my-conf-table-loading{position:relative;min-height:150px;overflow:hidden;scrollbar-gutter:auto}
.is-my-conf-table-loading>:not(.my_conf-table-loader){opacity:.45;transition:opacity .12s ease}
@keyframes my_conf_activity_mark{
    0%,100%{transform:translateY(0) scale(1)}
    46%{transform:translateY(-1px) scale(1.06)}
    66%{transform:translateY(0) scale(.98)}
}
@media(prefers-reduced-motion:reduce){
    .my_conf-activity-loader img{animation:none}
}

/* Feature content for the shared password-confirmation dialog. */
.my_conf-reauthentication-dialog {
  --my-conf-dialog-width: 470px;
  z-index: 100300;
}

.my_conf-reauthentication-dialog .my_conf-dialog__surface > header {
  justify-content: flex-start;
}

.my_conf-reauthentication-dialog .my_conf-dialog__surface > header .dashicons {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.my_conf-reauthentication-dialog :is(h2, p) {
  margin: 0;
}

.my_conf-reauthentication-dialog h2 {
  font-size: 18px;
  line-height: 1.3;
}

.my_conf-reauthentication-dialog .my_conf-dialog__body {
  display: grid;
  gap: 14px;
}

.my_conf-reauthentication-dialog label {
  display: grid;
  gap: 6px;
  margin: 0;
  font-weight: 600;
}

.my_conf-reauthentication-dialog input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--my-conf-border-strong, #8c8f94);
  border-radius: 0;
  background: #fff;
  color: inherit;
  font: inherit;
}

.my_conf-reauthentication-dialog input[type="password"]:focus {
  border-color: var(--my-conf-accent-dark, #087985);
  outline: 0;
  box-shadow: 0 0 0 1px var(--my-conf-accent-dark, #087985);
}

.my_conf-reauthentication-dialog__error {
  padding: 9px 10px;
  border-left: 3px solid var(--my-conf-error, #b32d2e);
  background: #fcf0f1;
  color: #8a2424;
}

.my_conf-reauthentication-dialog .button {
  min-height: 38px;
  height: auto;
  white-space: normal;
}
