@charset "UTF-8";
.profile-cover-wrapper {
  position: relative;
  width: 100%;
  background: transparent;
  margin-top: 0;
}

.profile-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 5/1;
  background-color: transparent;
  overflow: hidden;
}

.profile-cover__picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.profile-cover__picture img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.profile-header__avatar .avatar-wrapper img {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.profile-media-pending .profile-cover__picture img,
.profile-media-pending .profile-header__avatar .avatar-wrapper img {
  opacity: 0;
  transform: translateY(6px);
}

@media (max-width: 575.98px) {
  .profile-cover {
    aspect-ratio: 16/7;
  }
}
.cover-edit-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cover-edit-btn__label {
  display: inline;
}

.cover-edit-btn:hover {
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.cover-edit-btn:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .cover-edit-btn {
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.65rem;
    font-size: 0.95rem;
    gap: 0.2rem;
  }
}
@media (max-width: 575.98px) {
  .cover-edit-btn {
    padding: 0.4rem;
    border-radius: 50%;
    gap: 0;
    width: 46px;
    height: 46px;
    aspect-ratio: 1/1;
    justify-content: center;
  }
  .cover-edit-btn i {
    font-size: 1.05rem;
    line-height: 1;
  }
  .cover-edit-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
.profile-header {
  position: relative;
  margin-top: clamp(-110px, -14vw, -140px);
  z-index: 10;
  padding: 0 1.25rem;
}

@media (max-width: 991.98px) {
  .profile-header {
    margin-top: clamp(-90px, -11vw, -110px);
  }
}
@media (max-width: 575.98px) {
  .profile-header {
    margin-top: -70px;
    padding: 0 1rem;
  }
}
.profile-header__inner {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(35px) saturate(220%);
  -webkit-backdrop-filter: blur(35px) saturate(220%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: visible;
}

.profile-header__inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
  border-radius: 32px 32px 0 0;
}

.profile-header__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 992px) {
  .profile-header__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}
.profile-header__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 992px) {
  .profile-header__main {
    flex-direction: row;
    align-items: flex-end;
    text-align: left;
    gap: 2rem;
  }
}
.profile-header__avatar {
  position: relative;
  margin-top: clamp(-5rem, -10vw, -6rem);
  flex-shrink: 0;
  z-index: 2;
}

@media (max-width: 991.98px) {
  .profile-header__avatar {
    margin-top: clamp(-4.5rem, -12vw, -5.5rem);
  }
}
.profile-header__avatar .avatar-wrapper {
  width: clamp(140px, 20vw, 180px);
  height: clamp(140px, 20vw, 180px);
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  background: #fff;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-header__avatar .avatar-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.profile-header__avatar .avatar-wrapper.no-photo {
  border-color: #fff;
}

.profile-header__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  align-items: center;
}

@media (min-width: 992px) {
  .profile-header__info {
    text-align: left;
    align-items: flex-start;
    padding-bottom: 0.5rem;
  }
}
.profile-name-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

@media (min-width: 992px) {
  .profile-name-block {
    align-items: flex-start;
  }
}
h1.profile-name {
  font-family: "Poppins", sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  color: #161f22 !important;
  background: transparent !important;
  -webkit-text-fill-color: #161f22 !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  padding-bottom: 0.1em !important;
  margin: 0 !important;
  display: block !important;
  position: relative !important;
  z-index: 5 !important;
  mix-blend-mode: normal !important;
}

.profile-header__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .profile-header__chips {
    justify-content: flex-start;
  }
}
.ph-chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.ph-chip--main {
  background: #fff;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(26, 136, 188, 0.15);
}

.ph-chip--main:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 136, 188, 0.25);
}

.ph-chip--secondary {
  background: rgba(255, 255, 255, 0.5);
  color: #1a88bc;
  border: 1px solid rgba(26, 136, 188, 0.2);
  backdrop-filter: blur(4px);
}

.ph-chip--secondary:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(26, 136, 188, 0.4);
  transform: translateY(-1px);
}

.verified-line {
  display: flex;
  align-items: center;
}

.verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(135deg, #16bd9c 0%, #1a89bc 100%);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(26, 136, 188, 0.22);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.verified-chip img {
  width: 15px;
  height: 15px;
  -o-object-fit: contain;
     object-fit: contain;
}

.verified-chip:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(26, 136, 188, 0.35);
  background: linear-gradient(135deg, #1ad4af 0%, #1e99d3 100%);
  color: #fff !important;
}

.verified-chip:active {
  transform: translateY(-1px);
}

.profile-header__location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.profile-location i {
  width: 34px;
  height: 34px;
  background: rgba(26, 136, 188, 0.1);
  color: var(--accent-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}

@media (max-width: 575.98px) {
  .profile-location i {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}
@media (min-width: 992px) {
  .profile-header__location {
    justify-content: flex-start;
  }
}
.profile-header__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  .profile-header__actions {
    align-items: flex-end;
    text-align: right;
    margin-top: 0;
    padding-bottom: 0.75rem;
    z-index: 2;
  }
}
.profile-header__actions .profile-cta {
  background-color: var(--accent-color);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(26, 136, 188, 0.24);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-header__actions .profile-cta:hover {
  background-color: var(--btn-primary-hover-bg, #147aa1);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(26, 136, 188, 0.28);
  transform: translateY(-1px);
}

.profile-header__actions .profile-cta:active {
  background-color: var(--accent-color);
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(26, 136, 188, 0.2);
}

.profile-header__actions .profile-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(26, 136, 188, 0.25), 0 10px 24px rgba(26, 136, 188, 0.24);
}

.profile-header__actions .alert {
  margin: 0;
  width: 100%;
  max-width: 460px;
}

@media (min-width: 768px) {
  .profile-header__actions .alert {
    text-align: left;
  }
}
.profile-contact-status {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
}

.pcs-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(26, 136, 188, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pcs-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.pcs-title {
  font-weight: 700;
  color: #161f22;
  font-size: 0.95rem;
  line-height: 1.2;
}

.pcs-status {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
}

.pcs-action {
  background: #161f22;
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(22, 31, 34, 0.15);
}

.pcs-action:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 31, 34, 0.25);
}

@media (max-width: 575.98px) {
  .profile-contact-status {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .pcs-content {
    text-align: center;
  }
  .pcs-action {
    width: 100%;
    text-align: center;
  }
}
.profile-cta--sticky {
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  bottom: 16px !important;
  transform: translateY(calc(100% + 18px)) scale(0.96) !important;
  opacity: 0 !important;
  z-index: 1045 !important;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, opacity 0.22s ease !important;
  pointer-events: none !important;
  border-radius: 18px !important;
  min-height: 60px !important;
  padding: 0.9rem 1.1rem !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.28) !important;
  background: linear-gradient(135deg, #16bd9c 0%, #1a89bc 100%) !important;
  border: 0 !important;
  will-change: transform, opacity;
}

.profile-cta--sticky.is-visible {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.profile-cta--sticky:hover {
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.34) !important;
}

@supports (padding-bottom: max(0px)) {
  .profile-cta--sticky {
    padding-bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
  }
}
body.modal-open .profile-cta--sticky {
  display: none !important;
}

@media (min-width: 768px) {
  .profile-cta--sticky {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .profile-cta--sticky {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    min-height: 58px !important;
    font-size: 0.95rem !important;
    padding: 0.85rem 0.95rem !important;
  }
}
.profile-owner-hint {
  border-radius: 12px;
  background: rgba(15, 118, 185, 0.06);
  padding: 0.75rem 1rem;
}

.profile-visibility-toggle {
  border: 1px solid rgba(15, 118, 185, 0.12);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(226, 242, 250, 0.6), rgba(255, 255, 255, 0.95));
}
.profile-visibility-toggle .profile-visibility-title {
  font-weight: 600;
  color: #0f172a;
}
.profile-visibility-toggle .profile-visibility-subtitle {
  color: #64748b;
}
.profile-visibility-toggle .form-check-input {
  width: 3.2rem;
  height: 1.6rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.profile-visibility-toggle .form-check-input:not(:checked) {
  background-color: rgba(148, 163, 184, 0.4);
  border-color: rgba(148, 163, 184, 0.5);
}
.profile-visibility-toggle .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.profile-visibility-toggle .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(15, 118, 185, 0.2);
}
.profile-visibility-toggle .form-check-label {
  font-weight: 600;
  transition: color 0.2s ease;
}
.profile-visibility-toggle .profile-visibility-helper {
  color: #475569;
}

.chip {
  border-radius: 999px;
  font-weight: 500;
}

a.chip {
  text-decoration: none;
}
a.chip:hover {
  opacity: 0.9;
  text-decoration: none;
}

.pc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.pc-chip i {
  color: #ef4444;
  font-size: 1.05em;
}
.pc-chip:hover {
  border-color: var(--accent-color);
  background: #fff;
  color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 137, 188, 0.15);
}

.section-edit-btn {
  border: 1px solid rgba(26, 137, 188, 0.2);
  background: rgba(26, 137, 188, 0.05);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-edit-btn:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 137, 188, 0.2);
  text-decoration: none;
  opacity: 1;
}
.section-edit-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(26, 136, 188, 0.25);
  border-radius: 8px;
}

.profile-experience-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.profile-experience-public-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(26, 136, 188, 0.18);
  border-radius: 999px;
  background: rgba(26, 136, 188, 0.06);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.profile-experience-public-action:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 136, 188, 0.18);
}
.profile-experience-public-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.18rem rgba(26, 136, 188, 0.22);
}
.profile-experience-public-action--danger {
  border-color: rgba(220, 38, 38, 0.18);
  background: rgba(254, 226, 226, 0.62);
  color: #dc2626;
}
.profile-experience-public-action--danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.16);
}
@media (max-width: 575.98px) {
  .profile-experience-public-action {
    min-height: 44px;
    flex: 1 1 8rem;
  }
}

.profile-location__edit {
  background: rgba(255, 255, 255, 0.65);
  color: var(--accent-color);
  border: 1px solid rgba(26, 136, 188, 0.25);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}
.profile-location__edit:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 137, 188, 0.2);
}
.profile-location__edit:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(26, 136, 188, 0.22);
}
@media (max-width: 575.98px) {
  .profile-location__edit {
    width: 100%;
    justify-content: center;
  }
}

.profile-panel-link {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.profile-completion-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(var(--accent-color-rgb, 26, 137, 188), 0.12);
  overflow: hidden;
}

.profile-completion-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.profile-completion-progress__bar[aria-valuenow="0"] {
  width: 0%;
}

.profile-completion-progress__bar[aria-valuenow="1"] {
  width: 1%;
}

.profile-completion-progress__bar[aria-valuenow="2"] {
  width: 2%;
}

.profile-completion-progress__bar[aria-valuenow="3"] {
  width: 3%;
}

.profile-completion-progress__bar[aria-valuenow="4"] {
  width: 4%;
}

.profile-completion-progress__bar[aria-valuenow="5"] {
  width: 5%;
}

.profile-completion-progress__bar[aria-valuenow="6"] {
  width: 6%;
}

.profile-completion-progress__bar[aria-valuenow="7"] {
  width: 7%;
}

.profile-completion-progress__bar[aria-valuenow="8"] {
  width: 8%;
}

.profile-completion-progress__bar[aria-valuenow="9"] {
  width: 9%;
}

.profile-completion-progress__bar[aria-valuenow="10"] {
  width: 10%;
}

.profile-completion-progress__bar[aria-valuenow="11"] {
  width: 11%;
}

.profile-completion-progress__bar[aria-valuenow="12"] {
  width: 12%;
}

.profile-completion-progress__bar[aria-valuenow="13"] {
  width: 13%;
}

.profile-completion-progress__bar[aria-valuenow="14"] {
  width: 14%;
}

.profile-completion-progress__bar[aria-valuenow="15"] {
  width: 15%;
}

.profile-completion-progress__bar[aria-valuenow="16"] {
  width: 16%;
}

.profile-completion-progress__bar[aria-valuenow="17"] {
  width: 17%;
}

.profile-completion-progress__bar[aria-valuenow="18"] {
  width: 18%;
}

.profile-completion-progress__bar[aria-valuenow="19"] {
  width: 19%;
}

.profile-completion-progress__bar[aria-valuenow="20"] {
  width: 20%;
}

.profile-completion-progress__bar[aria-valuenow="21"] {
  width: 21%;
}

.profile-completion-progress__bar[aria-valuenow="22"] {
  width: 22%;
}

.profile-completion-progress__bar[aria-valuenow="23"] {
  width: 23%;
}

.profile-completion-progress__bar[aria-valuenow="24"] {
  width: 24%;
}

.profile-completion-progress__bar[aria-valuenow="25"] {
  width: 25%;
}

.profile-completion-progress__bar[aria-valuenow="26"] {
  width: 26%;
}

.profile-completion-progress__bar[aria-valuenow="27"] {
  width: 27%;
}

.profile-completion-progress__bar[aria-valuenow="28"] {
  width: 28%;
}

.profile-completion-progress__bar[aria-valuenow="29"] {
  width: 29%;
}

.profile-completion-progress__bar[aria-valuenow="30"] {
  width: 30%;
}

.profile-completion-progress__bar[aria-valuenow="31"] {
  width: 31%;
}

.profile-completion-progress__bar[aria-valuenow="32"] {
  width: 32%;
}

.profile-completion-progress__bar[aria-valuenow="33"] {
  width: 33%;
}

.profile-completion-progress__bar[aria-valuenow="34"] {
  width: 34%;
}

.profile-completion-progress__bar[aria-valuenow="35"] {
  width: 35%;
}

.profile-completion-progress__bar[aria-valuenow="36"] {
  width: 36%;
}

.profile-completion-progress__bar[aria-valuenow="37"] {
  width: 37%;
}

.profile-completion-progress__bar[aria-valuenow="38"] {
  width: 38%;
}

.profile-completion-progress__bar[aria-valuenow="39"] {
  width: 39%;
}

.profile-completion-progress__bar[aria-valuenow="40"] {
  width: 40%;
}

.profile-completion-progress__bar[aria-valuenow="41"] {
  width: 41%;
}

.profile-completion-progress__bar[aria-valuenow="42"] {
  width: 42%;
}

.profile-completion-progress__bar[aria-valuenow="43"] {
  width: 43%;
}

.profile-completion-progress__bar[aria-valuenow="44"] {
  width: 44%;
}

.profile-completion-progress__bar[aria-valuenow="45"] {
  width: 45%;
}

.profile-completion-progress__bar[aria-valuenow="46"] {
  width: 46%;
}

.profile-completion-progress__bar[aria-valuenow="47"] {
  width: 47%;
}

.profile-completion-progress__bar[aria-valuenow="48"] {
  width: 48%;
}

.profile-completion-progress__bar[aria-valuenow="49"] {
  width: 49%;
}

.profile-completion-progress__bar[aria-valuenow="50"] {
  width: 50%;
}

.profile-completion-progress__bar[aria-valuenow="51"] {
  width: 51%;
}

.profile-completion-progress__bar[aria-valuenow="52"] {
  width: 52%;
}

.profile-completion-progress__bar[aria-valuenow="53"] {
  width: 53%;
}

.profile-completion-progress__bar[aria-valuenow="54"] {
  width: 54%;
}

.profile-completion-progress__bar[aria-valuenow="55"] {
  width: 55%;
}

.profile-completion-progress__bar[aria-valuenow="56"] {
  width: 56%;
}

.profile-completion-progress__bar[aria-valuenow="57"] {
  width: 57%;
}

.profile-completion-progress__bar[aria-valuenow="58"] {
  width: 58%;
}

.profile-completion-progress__bar[aria-valuenow="59"] {
  width: 59%;
}

.profile-completion-progress__bar[aria-valuenow="60"] {
  width: 60%;
}

.profile-completion-progress__bar[aria-valuenow="61"] {
  width: 61%;
}

.profile-completion-progress__bar[aria-valuenow="62"] {
  width: 62%;
}

.profile-completion-progress__bar[aria-valuenow="63"] {
  width: 63%;
}

.profile-completion-progress__bar[aria-valuenow="64"] {
  width: 64%;
}

.profile-completion-progress__bar[aria-valuenow="65"] {
  width: 65%;
}

.profile-completion-progress__bar[aria-valuenow="66"] {
  width: 66%;
}

.profile-completion-progress__bar[aria-valuenow="67"] {
  width: 67%;
}

.profile-completion-progress__bar[aria-valuenow="68"] {
  width: 68%;
}

.profile-completion-progress__bar[aria-valuenow="69"] {
  width: 69%;
}

.profile-completion-progress__bar[aria-valuenow="70"] {
  width: 70%;
}

.profile-completion-progress__bar[aria-valuenow="71"] {
  width: 71%;
}

.profile-completion-progress__bar[aria-valuenow="72"] {
  width: 72%;
}

.profile-completion-progress__bar[aria-valuenow="73"] {
  width: 73%;
}

.profile-completion-progress__bar[aria-valuenow="74"] {
  width: 74%;
}

.profile-completion-progress__bar[aria-valuenow="75"] {
  width: 75%;
}

.profile-completion-progress__bar[aria-valuenow="76"] {
  width: 76%;
}

.profile-completion-progress__bar[aria-valuenow="77"] {
  width: 77%;
}

.profile-completion-progress__bar[aria-valuenow="78"] {
  width: 78%;
}

.profile-completion-progress__bar[aria-valuenow="79"] {
  width: 79%;
}

.profile-completion-progress__bar[aria-valuenow="80"] {
  width: 80%;
}

.profile-completion-progress__bar[aria-valuenow="81"] {
  width: 81%;
}

.profile-completion-progress__bar[aria-valuenow="82"] {
  width: 82%;
}

.profile-completion-progress__bar[aria-valuenow="83"] {
  width: 83%;
}

.profile-completion-progress__bar[aria-valuenow="84"] {
  width: 84%;
}

.profile-completion-progress__bar[aria-valuenow="85"] {
  width: 85%;
}

.profile-completion-progress__bar[aria-valuenow="86"] {
  width: 86%;
}

.profile-completion-progress__bar[aria-valuenow="87"] {
  width: 87%;
}

.profile-completion-progress__bar[aria-valuenow="88"] {
  width: 88%;
}

.profile-completion-progress__bar[aria-valuenow="89"] {
  width: 89%;
}

.profile-completion-progress__bar[aria-valuenow="90"] {
  width: 90%;
}

.profile-completion-progress__bar[aria-valuenow="91"] {
  width: 91%;
}

.profile-completion-progress__bar[aria-valuenow="92"] {
  width: 92%;
}

.profile-completion-progress__bar[aria-valuenow="93"] {
  width: 93%;
}

.profile-completion-progress__bar[aria-valuenow="94"] {
  width: 94%;
}

.profile-completion-progress__bar[aria-valuenow="95"] {
  width: 95%;
}

.profile-completion-progress__bar[aria-valuenow="96"] {
  width: 96%;
}

.profile-completion-progress__bar[aria-valuenow="97"] {
  width: 97%;
}

.profile-completion-progress__bar[aria-valuenow="98"] {
  width: 98%;
}

.profile-completion-progress__bar[aria-valuenow="99"] {
  width: 99%;
}

.profile-completion-progress__bar[aria-valuenow="100"] {
  width: 100%;
}

.collapse-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  background: rgba(26, 136, 188, 0.08);
  border: 1px solid rgba(26, 136, 188, 0.15);
  border-radius: 999px;
  padding: 0.4rem 0.8rem !important;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, min-width 0.25s ease;
}
.collapse-toggle:hover {
  text-decoration: none;
  background: rgba(26, 136, 188, 0.14);
  border-color: rgba(26, 136, 188, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 136, 188, 0.15);
}
.collapse-toggle:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 136, 188, 0.12);
}
.collapse-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(26, 136, 188, 0.25);
}
.collapse-toggle, .collapse-toggle:hover, .collapse-toggle:active, .collapse-toggle:focus, .collapse-toggle:focus-visible {
  color: var(--accent-color) !important;
}
.collapse-toggle::after {
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231a88bc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 6l6 6 6-6'/%3e%3c/svg%3e");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.collapse-toggle[aria-expanded=true]::after {
  transform: rotate(180deg);
}
.collapse-toggle .toggle-label {
  display: inline-block;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.2, 0, 0, 1);
}
.collapse-toggle .toggle-label.is-changing {
  opacity: 0;
  transform: translateY(-4px);
}

.collapsible {
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.2, 0, 0, 1), opacity 0.25s ease;
  will-change: max-height;
}

.collapsible .is-collapsed {
  display: none !important;
}

.collapsible-item {
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.2, 0, 0, 1);
  will-change: opacity, transform;
}
.collapsible-item.collapsing-in {
  opacity: 0;
  transform: translateY(6px);
}
.collapsible-item.collapsing-out {
  opacity: 0;
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .collapsible,
  .collapsible-item,
  .collapse-toggle,
  .collapse-toggle .toggle-label {
    transition: none !important;
  }
}
.avatar-edit-fab {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--accent-gradient, var(--accent-color));
  box-shadow: 0 10px 24px rgba(26, 136, 188, 0.35), 0 2px 6px rgba(2, 6, 23, 0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.avatar-edit-fab i {
  font-size: 1.05rem;
  line-height: 1;
}
.avatar-edit-fab:hover {
  transform: translateX(-50%) translateY(-1px);
  box-shadow: 0 12px 28px rgba(26, 136, 188, 0.4), 0 4px 10px rgba(2, 6, 23, 0.14);
}
.avatar-edit-fab:active {
  transform: translateX(-50%) translateY(0);
}
.avatar-edit-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(26, 136, 188, 0.25), 0 10px 24px rgba(26, 136, 188, 0.35);
}
@media (max-width: 480px) {
  .avatar-edit-fab {
    width: 36px;
    height: 36px;
    bottom: 6px;
  }
  .avatar-edit-fab i {
    font-size: 0.95rem;
  }
}

.avatar-edit-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  color: #0f172a;
  backdrop-filter: blur(6px) saturate(170%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0.95;
}
.avatar-edit-band i {
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.avatar-edit-band .edit-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.avatar-edit-band:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #1a89bc;
  opacity: 1;
}
.avatar-edit-band:hover i {
  transform: scale(1.1);
}
.avatar-edit-band:active {
  transform: scale(0.98);
}
.avatar-edit-band:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(26, 136, 188, 0.28);
}
@media (max-width: 480px) {
  .avatar-edit-band {
    min-height: 38px;
    height: 38%;
  }
  .avatar-edit-band i {
    font-size: 1rem;
  }
  .avatar-edit-band .edit-label {
    font-size: 0.82rem;
  }
}

.verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  line-height: 1;
  white-space: nowrap;
  background: var(--accent-gradient, var(--accent-color));
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 136, 188, 0.22);
}

.btn-soft-danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.16);
  color: #dc2626;
  font-weight: 600;
}
.btn-soft-danger:hover {
  background: rgba(239, 68, 68, 0.16);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.22);
}
.btn-soft-danger:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
  outline: 0;
}

.profile-group-memberships {
  display: flex;
  flex-direction: column;
}

.profile-group-memberships__list {
  margin-top: 0.25rem;
}

.profile-group-memberships__card {
  min-height: 88px;
}

.profile-group-memberships__avatar {
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  height: 56px;
  justify-content: center;
  overflow: hidden;
  width: 56px;
}

.profile-group-memberships__avatar-image {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.profile-group-memberships__avatar-placeholder {
  color: var(--accent-color);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.profile-group-memberships__name {
  color: #0f172a;
}

.profile-group-memberships__type {
  color: #64748b;
}

#section-services .services-subsection,
#section-accompaniments .services-subsection {
  margin-top: 1.5rem;
}
#section-services .services-subsection:first-of-type,
#section-accompaniments .services-subsection:first-of-type {
  margin-top: 1.25rem;
}

.services-subsection__title {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ms-modal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}
.ms-modal .modal-header {
  background: var(--accent-gradient);
  color: #fff;
  border-bottom: none;
  padding: 1.25rem 1.5rem;
  align-items: center;
}
.ms-modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.ms-modal .modal-header .btn-close:hover {
  opacity: 1;
}
.ms-modal .modal-title {
  color: inherit;
  font-weight: 700;
  font-size: 1.1rem;
}
.ms-modal .modal-body {
  padding: 1.75rem 1.75rem 1.6rem;
  overflow: visible;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
}
.ms-modal .modal-footer {
  border-top: none;
  padding: 1.1rem 1.75rem 1.6rem;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: #fff;
}
.ms-modal.profile-experience-modal .profile-experience-modal__dialog {
  max-width: min(980px, 100vw - 2rem);
}
.ms-modal.profile-experience-modal .profile-experience-modal__surface {
  background: #fff;
}
.ms-modal.profile-experience-modal .modal-header {
  padding: 1rem 1.25rem;
}
.ms-modal.profile-experience-modal .profile-experience-modal__title {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}
.ms-modal.profile-experience-modal .profile-experience-modal__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.ms-modal.profile-experience-modal .modal-title {
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-modal.profile-experience-modal .modal-body {
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, #fff 72%), radial-gradient(circle at 15% 0%, rgba(22, 189, 156, 0.12), transparent 34%);
  overflow-x: hidden;
}
.ms-modal.profile-experience-modal .modal-footer {
  padding: 1rem 1.35rem 1.2rem;
  border-top: 1px solid rgba(15, 118, 185, 0.08);
  box-shadow: 0 -18px 34px rgba(15, 23, 42, 0.06);
}
.ms-modal.profile-experience-modal .modal-footer .btn {
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-inline: 1.25rem;
}
.ms-modal.profile-experience-modal .profile-experience-modal__rows {
  display: grid;
  gap: 1rem;
}
.ms-modal.profile-experience-modal .profile-experience-modal__error {
  margin-top: 1rem;
  color: #dc2626;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
}
.ms-modal.profile-experience-modal .profile-experience-card {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(15, 118, 185, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.ms-modal.profile-experience-modal .profile-experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.ms-modal.profile-experience-modal .profile-experience-card__body {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}
.ms-modal.profile-experience-modal .profile-experience-card__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0.75rem;
}
.ms-modal.profile-experience-modal .profile-experience-field {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, rgba(248, 250, 252, 0.92));
  transition: border-color 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.ms-modal.profile-experience-modal .profile-experience-field > i {
  color: var(--accent-color);
  font-size: 1.1rem;
}
.ms-modal.profile-experience-modal .profile-experience-field:focus-within {
  border-color: rgba(26, 136, 188, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(26, 136, 188, 0.13);
  background: #fff;
}
.ms-modal.profile-experience-modal .profile-experience-field .form-control {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #0f172a;
  font-weight: 600;
}
.ms-modal.profile-experience-modal .profile-experience-field .form-control::-moz-placeholder {
  color: #64748b;
  font-weight: 500;
}
.ms-modal.profile-experience-modal .profile-experience-field .form-control::placeholder {
  color: #64748b;
  font-weight: 500;
}
.ms-modal.profile-experience-modal .profile-experience-field .form-control:focus {
  box-shadow: none;
  background: transparent;
}
.ms-modal.profile-experience-modal .profile-experience-card__dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.ms-modal.profile-experience-modal .profile-experience-date-group {
  padding: 0.75rem;
  border: 1px solid rgba(15, 118, 185, 0.12);
  border-radius: 18px;
  background: rgba(226, 242, 250, 0.28);
}
.ms-modal.profile-experience-modal .profile-experience-date-group__head {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.ms-modal.profile-experience-modal .profile-experience-date-group__fields {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(5.25rem, 0.75fr);
  gap: 0.5rem;
}
.ms-modal.profile-experience-modal .profile-experience-date-group__fields label {
  margin: 0;
  min-width: 0;
}
.ms-modal.profile-experience-modal .profile-experience-date-group__fields .form-select,
.ms-modal.profile-experience-modal .profile-experience-date-group__fields .form-control {
  min-height: 44px;
  border-radius: 14px;
  border-color: rgba(148, 163, 184, 0.38);
  color: #0f172a;
  font-weight: 600;
  background-color: #fff;
}
.ms-modal.profile-experience-modal .profile-experience-date-group__fields .form-select:focus,
.ms-modal.profile-experience-modal .profile-experience-date-group__fields .form-control:focus {
  border-color: rgba(26, 136, 188, 0.62);
  box-shadow: 0 0 0 0.2rem rgba(26, 136, 188, 0.13);
}
.ms-modal.profile-experience-modal .profile-experience-date-group__fields .form-select:disabled,
.ms-modal.profile-experience-modal .profile-experience-date-group__fields .form-control:disabled {
  color: #94a3b8;
  background-color: rgba(241, 245, 249, 0.9);
  border-color: rgba(203, 213, 225, 0.8);
}
.ms-modal.profile-experience-modal .profile-experience-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 118, 185, 0.1);
}
.ms-modal.profile-experience-modal .profile-experience-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ms-modal.profile-experience-modal .profile-experience-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(15, 118, 185, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.ms-modal.profile-experience-modal .profile-experience-toggle .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  flex: 0 0 auto;
  cursor: pointer;
}
.ms-modal.profile-experience-modal .profile-experience-toggle .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.ms-modal.profile-experience-modal .profile-experience-toggle .form-check-input:focus {
  box-shadow: 0 0 0 0.18rem rgba(26, 136, 188, 0.2);
}
@media (max-width: 767.98px) {
  .ms-modal.profile-experience-modal .profile-experience-modal__dialog {
    max-width: none;
    margin: 0.5rem;
  }
  .ms-modal.profile-experience-modal .profile-experience-modal__surface {
    min-height: calc(100vh - 1rem);
  }
  .ms-modal.profile-experience-modal .modal-header {
    padding: 0.9rem 1rem;
  }
  .ms-modal.profile-experience-modal .modal-body {
    padding: 1rem;
  }
  .ms-modal.profile-experience-modal .modal-footer {
    justify-content: stretch;
    padding: 0.85rem 1rem 1rem;
  }
  .ms-modal.profile-experience-modal .modal-footer .btn {
    flex: 1 1 0;
    min-width: 0;
  }
  .ms-modal.profile-experience-modal .profile-experience-card {
    padding: 0.9rem;
  }
  .ms-modal.profile-experience-modal .profile-experience-card__main,
  .ms-modal.profile-experience-modal .profile-experience-card__dates {
    grid-template-columns: minmax(0, 1fr);
  }
  .ms-modal.profile-experience-modal .profile-experience-date-group__fields {
    grid-template-columns: minmax(0, 1.2fr) minmax(5rem, 0.8fr);
  }
  .ms-modal.profile-experience-modal .profile-experience-card__actions {
    align-items: stretch;
  }
  .ms-modal.profile-experience-modal .profile-experience-toggles {
    flex: 1 1 100%;
  }
  .ms-modal.profile-experience-modal .profile-experience-toggle {
    flex: 1 1 8rem;
    justify-content: center;
  }
  .ms-modal.profile-experience-modal .profile-experience-modal__error {
    text-align: left;
  }
}
@media (max-width: 420px) {
  .ms-modal.profile-experience-modal .profile-experience-modal__dialog {
    margin: 0;
  }
  .ms-modal.profile-experience-modal .profile-experience-modal__surface {
    min-height: 100vh;
    border-radius: 0;
  }
  .ms-modal.profile-experience-modal .profile-experience-date-group__fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ms-modal .btn-primary, .ms-modal ~ .ms-inline-editor .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  font-weight: 700;
}
.ms-modal .btn-primary:hover, .ms-modal ~ .ms-inline-editor .btn-primary:hover {
  background: var(--btn-primary-hover-bg, #136a9a);
  border-color: var(--btn-primary-hover-bg, #136a9a);
}
.ms-modal .btn-secondary, .ms-modal ~ .ms-inline-editor .btn-secondary {
  background: #fff;
  color: var(--accent-color);
  border: 1.5px solid rgba(26, 136, 188, 0.28);
  font-weight: 600;
  border-radius: 999px;
}
.ms-modal .btn-secondary:hover, .ms-modal ~ .ms-inline-editor .btn-secondary:hover {
  background: rgba(26, 136, 188, 0.06);
  color: var(--accent-color);
  border-color: rgba(26, 136, 188, 0.35);
}
.ms-modal .btn-secondary:focus-visible, .ms-modal ~ .ms-inline-editor .btn-secondary:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(26, 136, 188, 0.22);
  outline: 0;
}
.ms-modal .btn-link {
  color: var(--accent-color);
  font-weight: 500;
}
.ms-modal .btn-link:hover {
  color: var(--btn-primary-hover-bg);
}
.ms-modal .input-group-text {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  font-weight: 600;
}
.ms-modal .form-control[readonly] {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
  color: #0f172a;
  cursor: not-allowed;
}
.ms-modal .form-control[readonly]:focus {
  box-shadow: none;
  border-color: rgba(148, 163, 184, 0.65);
}
.ms-modal #ms-summary {
  min-height: 1.5rem;
}
.ms-modal .ms-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ms-modal .ms-group-block {
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 118, 185, 0.08);
}
.ms-modal .ms-group-block:first-of-type {
  border-top: none;
  padding-top: 0;
}
.ms-modal .ms-group-title {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #475569;
  font-weight: 600;
}
.ms-modal .ms-modal__section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: max-height, opacity, transform;
}
.ms-modal .ms-modal__section + .ms-modal__section {
  margin-top: 1.5rem;
}
.ms-modal .ms-section-divider {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(15, 118, 185, 0.18);
}
.ms-modal .ms-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ms-modal .ms-section-header .ms-group-title {
  margin-bottom: 0;
}
.ms-modal .ms-options-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ms-modal .ms-options-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ms-modal .ms-options {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  row-gap: 0.45rem;
}
.ms-modal .ms-options-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ms-modal .ms-options-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ms-modal .ms-option-group-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ms-modal .ms-options-empty {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
}
.ms-modal .ms-option {
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 185, 0.2);
  background: rgba(226, 242, 250, 0.45);
  color: #0f172a;
  padding: 0.4rem 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ms-modal .ms-option:hover {
  background: rgba(15, 118, 185, 0.16);
}
.ms-modal .ms-option.is-selected {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 185, 0.26);
}
.ms-modal .ms-option.is-pending {
  box-shadow: 0 0 0 2px rgba(15, 118, 185, 0.14);
}
.ms-modal .ms-option:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
.ms-modal .ms-video-details {
  border-radius: 18px;
  padding: 1.25rem 1.4rem 1.15rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(15, 118, 185, 0.18);
  background: linear-gradient(135deg, rgba(15, 118, 185, 0.08), rgba(7, 89, 133, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 18px 36px rgba(15, 23, 42, 0.08);
}
.ms-modal .ms-video-details__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #0f75c9;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: block;
}
.ms-modal .ms-video-details__meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.ms-modal .ms-video-details__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ms-modal .ms-video-details__label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  font-weight: 600;
}
.ms-modal .ms-video-details__value {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
  flex: 1 1 auto;
  text-align: right;
}
.ms-modal .ms-video-details__value[data-role=video-title] {
  text-align: left;
}
.ms-modal .ms-video-details__pill {
  border-radius: 999px;
  background: #fff;
  padding: 0.25rem 0.9rem;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  min-width: 96px;
  text-align: center;
}
.ms-modal .ms-video-details__pill.is-soft {
  background: rgba(15, 118, 185, 0.08);
  color: #0f75c9;
  box-shadow: none;
}
.ms-modal .ms-video-details__note {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0.9rem 0 0;
}
.ms-modal .ms-video-details.is-loading .ms-video-details__value, .ms-modal .ms-video-details.is-loading .ms-video-details__pill {
  opacity: 0.7;
}
.ms-modal .ms-service-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ms-modal .ms-service-card {
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 185, 0.14);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 34px rgba(15, 118, 185, 0.14);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.24s ease;
}
.ms-modal .ms-service-card.is-pianist-only {
  border-color: rgba(252, 160, 62, 0.55);
  box-shadow: 0 22px 48px rgba(252, 160, 62, 0.18);
  background: linear-gradient(135deg, rgba(254, 243, 233, 0.92), rgba(255, 255, 255, 0.98));
}
.ms-modal .ms-service-card.is-general-service {
  border-color: rgba(26, 136, 188, 0.22);
}
.ms-modal .ms-service-card.is-price-locked {
  border-color: rgba(234, 179, 8, 0.55);
  box-shadow: 0 18px 42px rgba(234, 179, 8, 0.18);
}
.ms-modal .ms-service-card.is-price-locked .ms-price-hint {
  color: #b45309;
}
.ms-modal .ms-service-card.is-price-locked .ms-price-group {
  border-color: rgba(234, 179, 8, 0.55);
}
.ms-modal .ms-service-card.is-pending {
  box-shadow: 0 12px 24px rgba(15, 118, 185, 0.12);
  opacity: 0.88;
}
.ms-modal .ms-service-card__top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ms-modal .ms-service-card__select {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}
.ms-modal .ms-service-card__select .form-select {
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 185, 0.35);
  background: #fff;
  box-shadow: inset 0 1px 6px rgba(15, 23, 42, 0.08);
  padding: 0.65rem 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ms-modal .ms-service-card__select .form-select:focus {
  border-color: var(--accent-color, #0f75c9);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 185, 0.25);
}
.ms-modal .ms-service-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}
.ms-modal .ms-service-card__price {
  flex: 0 1 230px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ms-modal .ms-service-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0;
}
.ms-modal .ms-price-group {
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 185, 0.2);
  overflow: hidden;
  background: #fff;
}
.ms-modal .ms-price-group input {
  border: none;
  box-shadow: none;
  padding: 0.55rem 0.75rem;
  font-weight: 500;
  color: #0f172a;
}
.ms-modal .ms-price-group .input-group-text {
  border: none;
  background: transparent;
  color: var(--accent-color);
  font-weight: 600;
}
.ms-modal .ms-price-hint {
  font-size: 0.75rem;
  color: #64748b;
}
.ms-modal .service-price-disabled {
  opacity: 0.65;
}
.ms-modal .ms-service-meta {
  font-size: 0.78rem;
  color: #475569;
}
.ms-modal .ms-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(26, 136, 188, 0.12);
  color: #0f172a;
}
.ms-modal .ms-service-badge--pianists {
  background: rgba(252, 160, 62, 0.22);
  color: #FCA03E;
  box-shadow: inset 0 0 0 1px rgba(252, 160, 62, 0.4);
}
.ms-modal .ms-service-badge--general {
  background: rgba(26, 136, 188, 0.16);
  color: var(--accent-color);
}
.ms-modal .ms-remove-btn {
  border-radius: 14px;
  border-width: 1.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.65rem;
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.45);
  background: rgba(254, 226, 226, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ms-modal .ms-remove-btn:hover {
  color: #fff;
  background: #dc2626;
  border-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.28);
}
.ms-modal .ms-remove-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.22);
}
.ms-modal .ms-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ms-modal .ms-summary__intro {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 185, 0.1), rgba(59, 130, 246, 0.15));
  position: relative;
  overflow: hidden;
}
.ms-modal .ms-summary__intro::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.ms-modal .ms-summary__lead-icon {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 30px -18px rgba(15, 118, 185, 0.65);
}
.ms-modal .ms-summary__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #0f172a;
}
.ms-modal .ms-summary__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.ms-modal .ms-summary__description {
  margin: 0;
  color: #475569;
}
.ms-modal .ms-summary__meta {
  margin-left: auto;
}
.ms-modal .ms-summary__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0f172a;
  background: rgba(15, 118, 185, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.ms-modal .ms-summary__badge.is-complete {
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
}
.ms-modal .ms-summary__badge.is-pending {
  background: rgba(250, 204, 21, 0.22);
  color: #92400e;
}
.ms-modal .ms-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ms-modal .ms-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 118, 185, 0.08);
  box-shadow: 0 18px 45px -35px rgba(15, 118, 185, 0.85);
}
.ms-modal .ms-summary-item.is-pending {
  border-color: rgba(15, 118, 185, 0.16);
  box-shadow: 0 20px 48px -32px rgba(15, 118, 185, 0.55);
}
.ms-modal .ms-summary-item__body {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ms-modal .ms-summary-item__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 600;
}
.ms-modal .ms-summary-item__icon.is-complete {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}
.ms-modal .ms-summary-item__icon.is-pending {
  background: rgba(250, 204, 21, 0.18);
  color: #b45309;
}
.ms-modal .ms-summary-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ms-modal .ms-summary-item__label {
  font-weight: 600;
  color: #0f172a;
}
.ms-modal .ms-summary-item__status {
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  border: none;
}
.ms-modal .ms-summary-item__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.ms-modal .ms-summary-item__actions .btn {
  font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ms-modal .ms-summary-item__actions .btn.btn-primary {
  box-shadow: 0 12px 20px -18px rgba(15, 118, 185, 0.8);
}
.ms-modal .ms-summary-item__actions .btn:hover {
  transform: translateY(-1px);
}
.ms-modal .ms-badge-complete {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}
.ms-modal .ms-badge-pending {
  background: rgba(250, 204, 21, 0.26);
  color: #92400e;
}
.ms-modal .ms-summary__hint {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}
@media (max-width: 767.98px) {
  .ms-modal .modal-content {
    border-radius: 18px;
  }
  .ms-modal .modal-body {
    padding: 1.5rem 1.25rem 1.35rem;
  }
  .ms-modal .modal-footer {
    padding: 1rem 1.25rem 1.35rem;
    justify-content: stretch;
  }
  .ms-modal .modal-footer .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
  .ms-modal .ms-service-card {
    padding: 0.95rem 1rem;
    gap: 0.6rem;
  }
  .ms-modal .ms-service-card__top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .ms-modal .ms-service-card__price {
    flex: 1 1 auto;
    min-width: 0;
  }
  .ms-modal .ms-service-card__actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 575.98px) {
  .ms-modal .modal-dialog {
    margin: 0.75rem;
  }
  .ms-modal .modal-body {
    padding: 1.25rem 1rem;
  }
  .ms-modal .modal-footer {
    justify-content: stretch;
  }
  .ms-modal .modal-footer .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
  .ms-modal .ms-summary__intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ms-modal .ms-summary__lead-icon {
    display: none;
  }
  .ms-modal .ms-summary__copy {
    align-items: center;
    text-align: center;
  }
  .ms-modal .ms-summary__meta {
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .ms-modal .ms-summary-item {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .ms-modal .ms-summary-item__actions {
    width: 100%;
    justify-content: stretch;
  }
  .ms-modal .ms-summary-item__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ms-modal .ms-modal__section,
  .ms-modal .ms-service-card,
  .ms-modal .ms-option,
  .ms-modal .ms-remove-btn,
  .ms-modal .ms-summary-item .btn {
    transition: none !important;
  }
}

.modal.modal--stacked .modal-dialog {
  filter: blur(2px);
  opacity: 0.25;
  pointer-events: none;
}

.modal .modal-dialog {
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.availability-modal {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.availability-modal__section {
  background: linear-gradient(135deg, rgba(226, 242, 250, 0.45), rgba(255, 255, 255, 0.95));
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 185, 0.08);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 42px rgba(15, 118, 185, 0.08);
}
.availability-modal__section--list {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(226, 242, 250, 0.55));
}
.availability-modal__section--form {
  position: relative;
  overflow: hidden;
}
.availability-modal__section--form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15, 118, 185, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.availability-modal__section--form .availability-modal__section-header,
.availability-modal__section--form .availability-modal__picker {
  position: relative;
  z-index: 1;
}
.availability-modal__section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.availability-modal__section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.availability-modal__section-header--center .availability-modal__section-copy {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.availability-modal__section-header--center .availability-modal__section-title {
  margin-bottom: 0.35rem;
}
.availability-modal__section-header--center .availability-modal__section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.availability-modal__section-copy {
  width: 100%;
}
.availability-modal__section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
.availability-modal__section-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
}
.availability-modal__count-badge {
  background: rgba(15, 118, 185, 0.1);
  color: var(--accent-color);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
}
.availability-modal__count-badge.is-empty {
  background: rgba(148, 163, 184, 0.18);
  color: #475569;
  display: none;
}
.availability-modal__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.availability-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 185, 0.12);
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 118, 185, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.availability-modal__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(15, 118, 185, 0.18);
}
.availability-modal__item.is-residence {
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.18);
}
.availability-modal__item-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.availability-modal__item-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(15, 118, 185, 0.12);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.availability-modal__item.is-residence .availability-modal__item-icon {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
.availability-modal__item-name {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.95rem;
}
.availability-modal__badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #15803d;
  background: rgba(34, 197, 94, 0.16);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
}
.availability-modal__empty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 16px;
  border: 1px dashed rgba(15, 118, 185, 0.25);
  padding: 1rem 1.1rem;
  background: rgba(226, 242, 250, 0.35);
  color: #475569;
  font-size: 0.95rem;
}
.availability-modal__empty i {
  font-size: 1.35rem;
  color: var(--accent-color);
}
.availability-modal__picker {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 420px);
  position: relative;
  z-index: 1;
}
.availability-modal__picker label {
  color: #0f172a;
}
.availability-modal__suggestions {
  margin-top: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 185, 0.12);
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.9), #fff);
  box-shadow: 0 18px 42px rgba(15, 118, 185, 0.16);
  padding: 0.75rem;
}
.availability-modal__suggestions-scroll {
  max-height: 17rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
.availability-modal__suggestions-scroll::-webkit-scrollbar {
  width: 6px;
}
.availability-modal__suggestions-scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 118, 185, 0.3);
  border-radius: 999px;
}
.availability-modal__suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.availability-modal__suggestion {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(15, 118, 185, 0.05);
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
  width: 100%;
  text-align: left;
}
.availability-modal__suggestion:hover, .availability-modal__suggestion:focus, .availability-modal__suggestion.is-highlighted {
  border-color: rgba(15, 118, 185, 0.35);
  background: rgba(15, 118, 185, 0.12);
  outline: none;
  box-shadow: 0 8px 20px rgba(15, 118, 185, 0.18);
}
.availability-modal__suggestion-label {
  flex: 1;
  min-width: 0;
}
.availability-modal__suggestion .availability-modal__suggestion-tag {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  background: rgba(15, 118, 185, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: auto;
}
.availability-modal__suggestions-empty {
  margin-top: 0.5rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

.availability-notice-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--accent-color-rgb, 26, 137, 188), 0.12);
  background: linear-gradient(135deg, rgba(226, 242, 250, 0.55), rgba(255, 255, 255, 0.9));
  box-shadow: 0 12px 32px rgba(var(--accent-color-rgb, 26, 137, 188), 0.14);
}
.availability-notice-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-color-rgb, 26, 137, 188), 0.14);
  color: var(--accent-color);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.availability-notice-card__body {
  flex: 1 1 auto;
  min-width: 0;
}
.availability-notice-card__title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}
.availability-notice-card__text {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
}
.availability-notice-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
}
.availability-notice-card__cta::after {
  content: "›";
  font-weight: 900;
  line-height: 1;
}

.em-select-search {
  position: relative;
}
.em-select-search input {
  padding-left: 2.75rem;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.em-select-search__icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s ease;
}
.em-select-search.is-open input {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 185, 0.15);
}
.em-select-search.is-open .em-select-search__icon {
  color: var(--accent-color);
}
.em-select-search.is-disabled input {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}
.em-select-search.is-disabled .em-select-search__icon {
  color: #94a3b8;
}
.em-select-search.is-loading::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(15, 118, 185, 0.2);
  border-top-color: var(--accent-color);
  animation: em-spin 0.7s linear infinite;
}

@keyframes em-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
#residence-wrapper {
  gap: 0.5rem;
}

#residence-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
#residence-line.profile-location--empty {
  color: #64748b;
}
#residence-line.profile-location--empty [data-role=residence-copy] {
  font-weight: 500;
}
#residence-line strong {
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .availability-modal {
    gap: 1rem;
  }
  .availability-modal__section {
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 14px 34px rgba(15, 118, 185, 0.08);
  }
  .availability-modal__section-header {
    gap: 0.75rem;
  }
  .availability-modal__section-title {
    font-size: 0.95rem;
  }
  .availability-modal__list {
    margin-top: 0.75rem;
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 0.35rem;
  }
  .availability-modal__item {
    padding: 0.85rem 0.95rem;
    gap: 0.75rem;
  }
  .availability-modal__item-name {
    font-size: 0.95rem;
  }
  .availability-modal__badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
  }
  .availability-modal__picker {
    width: 100%;
  }
  .em-select-search input {
    font-size: 0.95rem;
    padding-left: 2.5rem;
  }
  .availability-modal__suggestions-scroll {
    max-height: 14rem;
  }
}
@media (max-width: 480px) {
  .availability-modal__count-badge {
    display: none;
  }
}
@media (max-width: 400px) {
  .availability-modal__section {
    padding: 0.9rem 0.95rem;
  }
  .availability-modal__section-header {
    gap: 0.65rem;
  }
  .availability-modal__item {
    padding: 0.8rem 0.85rem;
    gap: 0.65rem;
    flex-wrap: wrap;
  }
  .availability-modal__item-main {
    gap: 0.6rem;
  }
  .availability-modal__item-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }
  .availability-modal__item .btn-soft-danger {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  .availability-modal__item-remove-label {
    display: none;
  }
}
.ms-location-search {
  position: relative;
  width: 100%;
}
.ms-location-search__control {
  width: 100%;
  padding: 0.35rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 185, 0.25);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 56px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ms-location-search.is-open .ms-location-search__control {
  border-color: var(--accent-color, #0f75c9);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}
.ms-location-search.has-selection .ms-location-search__control {
  border-color: rgba(15, 118, 185, 0.5);
}
.ms-location-search__icon {
  color: #0f172a;
  font-size: 1.15rem;
}
.ms-location-search__input {
  border: none;
  background: transparent;
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0;
  font-weight: 500;
  color: #0f172a;
}
.ms-location-search__input:focus {
  outline: none;
  box-shadow: none;
}
.ms-location-search__input::-webkit-search-decoration, .ms-location-search__input::-webkit-search-cancel-button, .ms-location-search__input::-webkit-search-results-button, .ms-location-search__input::-ms-clear, .ms-location-search__input::-moz-search-decoration, .ms-location-search__input::-moz-search-clear {
  display: none;
  -webkit-appearance: none;
          appearance: none;
}
.ms-location-search__clear {
  border: none;
  background: rgba(15, 118, 185, 0.08);
  color: #0f172a;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.ms-location-search__clear:hover {
  background: rgba(15, 118, 185, 0.18);
}
.ms-location-search__clear[hidden] {
  display: none !important;
}
.ms-location-search__spinner {
  display: none;
  align-items: center;
  justify-content: center;
}
.ms-location-search__spinner.is-visible {
  display: inline-flex;
}
.ms-location-search__spinner .spinner-border {
  width: 1rem;
  height: 1rem;
}
.ms-location-search__dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.18);
  padding: 0.5rem;
  z-index: 1090;
}
.ms-location-search__dropdown[hidden] {
  display: none !important;
}
.ms-location-search__portal {
  position: absolute;
  z-index: 1095;
  border-radius: 18px;
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.18);
  overflow: visible;
}
.ms-location-search__portal[hidden] {
  display: none !important;
}
.ms-location-search__status {
  font-size: 0.85rem;
  color: #475569;
  padding: 0.15rem 0.35rem;
}
.ms-location-search__results {
  margin-top: 0.25rem;
  max-height: inherit;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-right: 0.35rem;
  padding-bottom: 0.35rem;
  box-sizing: border-box;
}
.ms-location-search__option {
  border: none;
  border-radius: 14px;
  background: rgba(15, 118, 185, 0.05);
  padding: 0.6rem 0.85rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #0f172a;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ms-location-search__option:hover, .ms-location-search__option:focus, .ms-location-search__option.is-active {
  background: rgba(15, 118, 185, 0.18);
  color: #0f172a;
  outline: none;
}
.ms-location-search__option-title {
  font-size: 0.95rem;
}
.ms-location-search__option-meta {
  font-size: 0.82rem;
  color: #475569;
}

.ms-location-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 185, 0.15);
  background: #f8fafc;
}
.ms-location-summary__item {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ms-location-summary__item .label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: #475569;
}
.ms-location-summary__note {
  font-size: 0.85rem;
  color: #475569;
}
@media (max-width: 575.98px) {
  .ms-location-summary__item {
    min-width: 100%;
  }
}

.em-autocomplete {
  position: relative;
}
.em-autocomplete .form-control {
  padding-right: 2.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.em-autocomplete.is-disabled .form-control {
  background: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.6);
  color: #64748b;
  cursor: not-allowed;
}
.em-autocomplete__indicator {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  transition: transform 0.2s ease;
  font-size: 1rem;
}
.em-autocomplete.is-open .em-autocomplete__indicator {
  transform: translateY(-50%) rotate(180deg);
}
.em-autocomplete__dropdown {
  position: absolute;
  z-index: 1050;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 118, 185, 0.18);
  border: 1px solid rgba(15, 118, 185, 0.18);
  padding: 0.5rem 0;
  max-height: 18rem;
  overflow-y: auto;
}
.em-autocomplete.is-dropup .em-autocomplete__dropdown {
  top: auto;
  bottom: calc(100% + 0.35rem);
}
@supports (max-height: min(18rem, 50vh)) {
  .em-autocomplete__dropdown {
    max-height: min(18rem, 100vh - 12rem);
  }
}
.em-autocomplete__option {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.em-autocomplete__option:hover, .em-autocomplete__option:focus {
  background: rgba(15, 118, 185, 0.12);
  color: #0f172a;
  outline: none;
}
.em-autocomplete__option.is-selected {
  font-weight: 600;
  color: var(--accent-color);
}
.em-autocomplete__empty {
  padding: 0.5rem 1rem;
  color: #64748b;
  font-size: 0.9rem;
}
.em-autocomplete__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  background: rgba(15, 118, 185, 0.08);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-weight: 600;
}
.em-autocomplete.is-open .form-control {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 185, 0.12);
}

.em-crop-modal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.18);
}
.em-crop-modal .modal-header {
  background: var(--accent-gradient);
  color: #fff;
  border-bottom: none;
}
.em-crop-modal .modal-title {
  color: #fff;
  font-weight: 700;
}
.em-crop-modal .modal-footer {
  border-top: none;
}
.em-crop-modal .cr-boundary {
  position: relative;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.em-crop-modal .cr-overlay {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  z-index: 5;
}
.em-crop-modal .cr-slider {
  width: 100%;
  accent-color: var(--accent-color);
}
.em-crop-modal .hint {
  font-size: 0.9rem;
  color: #6c757d;
}
.em-crop-modal .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  font-weight: 700;
}
.em-crop-modal .btn-primary:hover {
  background: var(--btn-primary-hover-bg);
  border-color: var(--btn-primary-hover-bg);
}
.em-crop-modal .btn-secondary {
  background: #fff;
  color: var(--accent-color);
  border: 1.5px solid rgba(26, 136, 188, 0.28);
  font-weight: 600;
}
.em-crop-modal .btn-secondary:hover {
  background: rgba(26, 136, 188, 0.06);
  color: var(--accent-color);
  border-color: rgba(26, 136, 188, 0.35);
}

.em-cover-crop-modal .cr-overlay {
  border-radius: 18px;
}
.em-cover-crop-modal .modal-dialog {
  max-width: min(900px, 100vw - 1.5rem);
  margin: clamp(0.75rem, 4vw, 1.5rem) auto;
}
.em-cover-crop-modal .modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1rem, 4vw, 1.5rem);
}
.em-cover-crop-modal .em-cover-cropper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.em-cover-crop-modal .em-cover-cropper .croppie-container {
  width: min(100%, 560px) !important;
}
.em-cover-crop-modal .em-cover-cropper .cr-boundary {
  margin: 0 auto;
}
.em-cover-crop-modal .em-cover-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.em-cover-crop-modal .em-cover-controls label {
  font-weight: 600;
  color: #0f172a;
}
.em-cover-crop-modal .em-cover-guidance {
  color: rgba(15, 23, 42, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0.75rem auto 0;
  max-width: min(92%, 420px);
  text-align: center;
  font-weight: 400;
}
.em-cover-crop-modal .cr-viewport {
  border-radius: 18px !important;
  box-shadow: 0 0 0 2px var(--accent-color) inset, 0 0 0 999px rgba(15, 23, 42, 0.55), 0 12px 28px rgba(15, 23, 42, 0.22);
}
.em-cover-crop-modal .cr-boundary::after {
  display: none;
}
@media (min-width: 768px) {
  .em-cover-crop-modal .modal-body {
    padding: 2rem;
    gap: 1.75rem;
  }
}
@media (min-width: 992px) {
  .em-cover-crop-modal .modal-body {
    flex-direction: row;
    align-items: flex-start;
  }
  .em-cover-crop-modal .em-cover-cropper {
    justify-content: flex-start;
  }
  .em-cover-crop-modal .em-cover-controls {
    margin: 0;
  }
}

.em-avatar-crop-modal .cr-overlay {
  border-radius: 50%;
}
.em-avatar-crop-modal .modal-dialog {
  max-width: min(720px, 100vw - 1.5rem);
  margin: clamp(0.75rem, 4vw, 1.5rem) auto;
}
.em-avatar-crop-modal .cr-viewport {
  border-radius: 50% !important;
  box-shadow: 0 0 0 2px var(--accent-color) inset, 0 0 0 999px rgba(15, 23, 42, 0.5), 0 1px 12px rgba(2, 6, 23, 0.18);
}

.avatar-wrapper .avatar-img {
  transition: opacity 0.25s ease;
  border-radius: 50% !important;
}
