/* Account controls are independent of the full advertisement edit form. */
.flower-account-ui .floweralba-title-emphasis-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid var(--flower-border, #e9ebef);
  border-radius: 10px;
  background: var(--flower-surface-soft, #fafbfc);
  line-height: 1.5;
}

.flower-account-ui .floweralba-title-emphasis-row__info { min-width: 0; }
.flower-account-ui .floweralba-title-emphasis-row__label {
  display: block;
  color: var(--flower-text, #222630);
  font-size: 12px;
  font-weight: 650;
}
.flower-account-ui .floweralba-title-emphasis-row__summary {
  display: block;
  margin-top: 2px;
  color: var(--flower-text-soft, #717784);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.flower-account-ui .floweralba-title-emphasis-row.is-emphasized .floweralba-title-emphasis-row__summary { color: #9c315b; }
.flower-account-ui .floweralba-title-emphasis-row__button {
  flex: 0 0 auto;
  min-height: 40px;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid var(--flower-border-strong, #dde1e7);
  border-radius: 7px;
  background: var(--flower-surface, #fff);
  color: var(--flower-text, #222630);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.flower-account-ui .floweralba-title-emphasis-row__button:hover { border-color: #e8a2bb; background: #fff6f9; color: #9c315b; }

html.floweralba-title-emphasis-open { overflow: hidden; }

dialog.floweralba-title-emphasis {
  --fte-text: var(--flower-text, #222630);
  --fte-muted: var(--flower-text-soft, #717784);
  --fte-border: var(--flower-border, #e9ebef);
  --fte-surface: var(--flower-surface, #fff);
  --fte-soft: var(--flower-surface-soft, #fafbfc);
  --fte-accent: #ac3865;
  width: min(460px, calc(100vw - 32px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 40px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--fte-border);
  border-radius: 18px;
  background: var(--fte-surface);
  color: var(--fte-text);
  box-shadow: 0 24px 90px rgb(26 31 44 / 24%);
  font: inherit;
  line-height: 1.6;
  overflow: auto;
  overscroll-behavior: contain;
}
dialog.floweralba-title-emphasis:not([open]) { display: none; }
dialog.floweralba-title-emphasis::backdrop { background: rgb(20 25 36 / 42%); }
.floweralba-title-emphasis *, .floweralba-title-emphasis *::before, .floweralba-title-emphasis *::after { box-sizing: border-box; }
.floweralba-title-emphasis [hidden] { display: none !important; }
.floweralba-title-emphasis .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.floweralba-title-emphasis button { font: inherit; cursor: pointer; }
.floweralba-title-emphasis button:disabled { cursor: default; opacity: .48; }
.floweralba-title-emphasis :is(button, input):focus-visible { outline: 3px solid #f3bfd2; outline-offset: 3px; }
.floweralba-title-emphasis form { margin: 0; }
.floweralba-title-emphasis__header { position: relative; padding: 24px 56px 18px 24px; border-bottom: 1px solid var(--fte-border); }
.floweralba-title-emphasis__heading { margin: 0; color: var(--fte-text); font-size: 20px; font-weight: 750; line-height: 1.4; }
.floweralba-title-emphasis__description { margin: 7px 0 0; color: var(--fte-muted); font-size: 13px; }
.floweralba-title-emphasis [data-title-emphasis-name] { display: block; margin: 0 0 12px; color: var(--fte-muted); font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.floweralba-title-emphasis__close {
  position: absolute;
  top: 18px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fte-muted);
  font-size: 26px;
  line-height: 1;
}
.floweralba-title-emphasis__close:hover { background: var(--fte-soft); color: var(--fte-text); }
.floweralba-title-emphasis__body { padding: 20px 24px 22px; }
.floweralba-title-emphasis__notice { margin: 0 0 17px; padding: 11px 13px; border-radius: 9px; background: #fff3f7; color: #91445f; font-size: 12px; line-height: 1.7; }
.floweralba-title-emphasis__loading { margin: 12px 0; color: var(--fte-muted); font-size: 13px; text-align: center; }
.floweralba-title-emphasis__options { min-width: 0; margin: 0; padding: 0; border: 0; }
.floweralba-title-emphasis__options:disabled { opacity: .6; }
.floweralba-title-emphasis__option { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 13px 0; color: var(--fte-text); font-size: 14px; font-weight: 600; cursor: pointer; }
.floweralba-title-emphasis__option + .floweralba-title-emphasis__option { border-top: 1px solid var(--fte-border); }
.floweralba-title-emphasis input[type="checkbox"], .floweralba-title-emphasis input[type="radio"] { position: static; width: 17px; height: 17px; min-width: 17px; margin: 3px 0 0; padding: 0; accent-color: var(--fte-accent); opacity: 1; appearance: auto; -webkit-appearance: auto; }
.floweralba-title-emphasis__option-label { display: block; font-size: 14px; font-weight: 650; }
.floweralba-title-emphasis__option-hint { display: block; margin-top: 2px; color: var(--fte-muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.floweralba-title-emphasis__colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px 27px; }
.floweralba-title-emphasis__colors.is-disabled { opacity: .55; }
.floweralba-title-emphasis__color { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 42px; margin: 0; padding: 8px 5px; border: 1px solid var(--fte-border); border-radius: 8px; background: var(--fte-surface); color: var(--fte-text); font-size: 12px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.floweralba-title-emphasis__color:has(input:checked) { border-color: #ce7396; background: #fff5f9; box-shadow: 0 0 0 1px #ce7396; }
.floweralba-title-emphasis__color:has(input:disabled) { cursor: default; }
.floweralba-title-emphasis__color input[type="radio"] { width: 13px; height: 13px; min-width: 13px; margin: 0; }
.floweralba-title-emphasis__swatch { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: #b52b62; }
.floweralba-title-emphasis__color:has(input[value="blue"]) .floweralba-title-emphasis__swatch { background: #2859a6; }
.floweralba-title-emphasis__color:has(input[value="purple"]) .floweralba-title-emphasis__swatch { background: #7846a8; }
.floweralba-title-emphasis__preview-label { display: block; margin: 17px 0 8px; color: var(--fte-muted); font-size: 12px; font-weight: 600; }
.floweralba-title-emphasis__preview { min-height: 78px; margin: 0; padding: 15px; border: 1px solid var(--fte-border); border-radius: 10px; background: var(--fte-soft); color: var(--fte-text); font-size: 14px; font-weight: 400; line-height: 1.75; overflow-wrap: anywhere; }
.floweralba-title-emphasis__preview.has-color { color: var(--floweralba-emphasis-preview-light); }
.floweralba-title-emphasis__preview.is-bold { font-weight: 700; }
.floweralba-title-emphasis__preview.is-empty { color: var(--fte-muted); font-weight: 400; }
.floweralba-title-emphasis__message { margin: 13px 0 0; color: #267052; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.floweralba-title-emphasis__message.is-error { color: #b53045; }
.floweralba-title-emphasis__actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin: 20px -24px -22px; padding: 16px 24px; border-top: 1px solid var(--fte-border); background: var(--fte-surface); }
.floweralba-title-emphasis__cancel, .floweralba-title-emphasis__submit, .floweralba-title-emphasis__upgrade { min-height: 42px; margin: 0; padding: 9px 20px; border: 1px solid var(--fte-border); border-radius: 9px; background: var(--fte-surface); color: var(--fte-text); font-size: 13px; font-weight: 650; line-height: 1.5; }
.floweralba-title-emphasis__submit { min-width: 96px; border-color: var(--fte-accent); background: var(--fte-accent); color: #fff; }
.floweralba-title-emphasis__cancel:hover { background: var(--fte-soft); }
.floweralba-title-emphasis__submit:hover:not(:disabled) { background: #932c54; border-color: #932c54; }
.floweralba-title-emphasis__upgrade { margin-right: auto; padding: 7px 10px; border-color: #e9bfd0; background: #fff6f9; color: #963b5c; font-size: 12px; }

/* Only the first information field in the all-jobs skin receives emphasis. */
.all-listing-ad-skin .lf-item-container.floweralba-title-color-rose { --floweralba-emphasis-title-light: #b52b62; --floweralba-emphasis-title-dark: #f18bb5; }
.all-listing-ad-skin .lf-item-container.floweralba-title-color-blue { --floweralba-emphasis-title-light: #2859a6; --floweralba-emphasis-title-dark: #90b4f8; }
.all-listing-ad-skin .lf-item-container.floweralba-title-color-purple { --floweralba-emphasis-title-light: #7846a8; --floweralba-emphasis-title-dark: #c1a1e6; }
.all-listing-ad-skin .lf-item-container:is(.floweralba-title-color-rose, .floweralba-title-color-blue, .floweralba-title-color-purple) :is(.lf-contact > li:first-child, .lf-item-info > ul > li:first-child),
.all-listing-ad-skin .lf-item-container:is(.floweralba-title-color-rose, .floweralba-title-color-blue, .floweralba-title-color-purple) :is(.lf-contact > li:first-child, .lf-item-info > ul > li:first-child) :is(span, a, strong, b, em):not(.sm-icon):not(.material-icons):not(.mi):not(.fa):not([class*="icon"]):not(.emoji) { color: var(--floweralba-emphasis-title-light) !important; }
.all-listing-ad-skin .lf-item-container.floweralba-title-bold :is(.lf-contact > li:first-child, .lf-item-info > ul > li:first-child),
.all-listing-ad-skin .lf-item-container.floweralba-title-bold :is(.lf-contact > li:first-child, .lf-item-info > ul > li:first-child) :is(span, a, strong, b, em):not(.sm-icon):not(.material-icons):not(.mi):not(.fa):not([class*="icon"]):not(.emoji) { font-weight: 700 !important; }

/* Inherits the site's future color-scheme; does not enable dark mode itself. */
@supports (color: light-dark(#000, #fff)) {
  .floweralba-title-emphasis__preview.has-color { color: light-dark(var(--floweralba-emphasis-preview-light), var(--floweralba-emphasis-preview-dark)); }
  .all-listing-ad-skin .lf-item-container:is(.floweralba-title-color-rose, .floweralba-title-color-blue, .floweralba-title-color-purple) :is(.lf-contact > li:first-child, .lf-item-info > ul > li:first-child),
  .all-listing-ad-skin .lf-item-container:is(.floweralba-title-color-rose, .floweralba-title-color-blue, .floweralba-title-color-purple) :is(.lf-contact > li:first-child, .lf-item-info > ul > li:first-child) :is(span, a, strong, b, em):not(.sm-icon):not(.material-icons):not(.mi):not(.fa):not([class*="icon"]):not(.emoji) { color: light-dark(var(--floweralba-emphasis-title-light), var(--floweralba-emphasis-title-dark)) !important; }
}

@media (max-width: 480px) {
  dialog.floweralba-title-emphasis { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 15px; }
  .floweralba-title-emphasis__header { padding: 20px 52px 16px 18px; }
  .floweralba-title-emphasis__heading { font-size: 18px; }
  .floweralba-title-emphasis__body { padding: 16px 18px 18px; }
  .floweralba-title-emphasis__actions { margin: 18px -18px -18px; padding: 14px 18px; }
  .floweralba-title-emphasis__actions > button { flex: 1; }
  .floweralba-title-emphasis__colors { gap: 6px; margin-left: 0; }
  .floweralba-title-emphasis__color { min-height: 44px; padding: 8px 4px; }
}

@media (pointer: coarse) {
  .flower-account-ui .floweralba-title-emphasis-row__button { min-height: 44px; }
  .floweralba-title-emphasis__close { top: 12px; right: 10px; width: 44px; height: 44px; }
  .floweralba-title-emphasis__color,
  .floweralba-title-emphasis__cancel,
  .floweralba-title-emphasis__submit,
  .floweralba-title-emphasis__upgrade { min-height: 44px; }
}
