.profile-link-card {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.profile-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-link-icon .icon {
  width: 25px;
  height: 25px;
}
.profile-link-card .eyebrow {
  display: block;
}
.profile-link-card strong {
  display: block;
  letter-spacing: -0.6px;
}
.profile-link-card strong > span {
  font-weight: 450;
}
.profile-link-card small {
  font-size: 10px;
  display: block;
}
.profile-link-card > .button {
  margin-left: auto;
}
.settings-panel {
  margin-bottom: 22px;
}
.settings-save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 6px 0 30px;
}
.settings-save > span {
  font-size: 10px;
  max-width: 250px;
}
.work-days {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.work-days label {
  cursor: pointer;
  flex: 1;
}
.work-days input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.work-days span {
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #898989;
}
.work-days input:focus-visible + span {
  outline: 3px solid #8a8a8a;
  outline-offset: 2px;
}
.portfolio-panel {
  margin-bottom: 24px;
}
.reviews-panel {
  margin-bottom: 24px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0 24px 25px;
}
.portfolio-image {
  position: relative;
  aspect-ratio: 1.5;
  overflow: hidden;
}
.portfolio-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-image > span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #8e8e8e;
  font-size: 10px;
}
.portfolio-image .icon {
  width: 28px;
  height: 28px;
}
.portfolio-image > .icon-button {
  position: absolute;
  top: 9px;
  right: 9px;
  background: #fffffff0;
  box-shadow: 0 2px 8px #0000000b;
}
.portfolio-image > .icon-button .icon {
  width: 15px;
  height: 15px;
}
.portfolio-item h3 {
  margin-top: 13px;
}
.portfolio-item p {
  line-height: 1.8;
  margin-top: 5px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 24px 24px;
}
.review-stars {
  font-size: 13px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}
.review-stars .icon-button {
  margin-left: auto;
  width: 22px;
  height: 22px;
}
.review-card > p {
  line-height: 1.9;
  margin: 16px 0 18px;
}
.review-card > strong {
  display: block;
}
.review-card > small {
  display: block;
  margin-top: 5px;
}
.settings-panel ~ .form-error {
  margin: 12px 0;
}
@media (max-width: 1150px) {
  .profile-link-card small {
    font-size: 9px;
  }

  .profile-link-card > .button {
    padding: 10px 11px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .profile-link-card > .button {
    margin-left: 69px;
  }
}
@media (max-width: 700px) {
  .settings-save {
    align-items: flex-end;
  }

  .settings-save > span {
    font-size: 9px;
    max-width: 150px;
  }

  .settings-save > .button {
    font-size: 10px;
    padding: 10px 12px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .work-days {
    gap: 5px;
  }
}
.profile-link-card {
  background: #252725;
  border: 0;
  border-radius: 24px;
  padding: 27px;
  gap: 21px;
  color: #eef5e4;
}
.profile-link-icon {
  width: 55px;
  height: 55px;
  border-radius: 17px;
  background: #c7f464;
  color: #4b6e2c;
}
.profile-link-card .eyebrow {
  font-size: 8px;
  color: #adbf97;
}
.profile-link-card strong {
  font-size: 24px;
  color: #eef5e4;
  margin-top: 7px;
}
.profile-link-card strong > span {
  color: #9eb58a;
}
.profile-link-card small {
  color: #9eb38a;
  margin-top: 6px;
}
.profile-link-card > .button {
  background: #ffffff0a;
  border-color: #566b43;
  color: #cbdfb4;
  font-size: 11px;
}
.profile-link-card > .button:hover {
  background: #ffffff15;
}
.panel-form {
  padding: 0 26px 16px;
}
.work-days span {
  height: 41px;
  border-radius: 10px;
  background: #fff;
  border-color: #dfe8d3;
  font-size: 12px;
}
.work-days input:checked + span {
  background: #c7f464;
  border-color: #c7f464;
  color: #587d31;
}
.work-days input:focus-visible + span {
  outline-color: #91b94e;
}
.portfolio-grid {
  padding-left: 26px;
  padding-right: 26px;
  padding-bottom: 26px;
}
.reviews-grid {
  padding-left: 26px;
  padding-right: 26px;
  padding-bottom: 26px;
}
.portfolio-image {
  border-radius: 15px;
  background: #e6eddc;
}
.portfolio-image > .icon-button {
  border-radius: 50%;
}
.portfolio-item h3 {
  font-size: 14px;
}
.portfolio-item p {
  font-size: 11px;
}
.review-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  border: 0;
  background: #fff;
  border-radius: 17px;
  padding: 22px;
}
.review-stars {
  color: #819f5b;
}
.review-stars > span {
  color: #d9e4cd;
}
.review-card > p {
  font-size: 12px;
}
.review-card > strong {
  font-size: 12px;
}
.review-card > small {
  font-size: 9px;
}
.setting-switch {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 27px;
  background: #e9efdf;
  border-radius: 15px;
  cursor: pointer;
}
.setting-switch > div {
  flex: 1;
}
.setting-switch strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}
.setting-switch div > span {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 6px;
}
.setting-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.switch-track {
  display: block;
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 25px;
  border-radius: 14px;
  background: #bdcaac;
  transition: background 0.15s;
}
.switch-track:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.setting-switch input:checked + .switch-track {
  background: #a7d65d;
}
.setting-switch input:checked + .switch-track:after {
  transform: translateX(17px);
}
.setting-switch input:focus-visible + .switch-track {
  outline: 3px solid #90ae6d;
  outline-offset: 3px;
}
.review-card > p {
  color: #7d8177;
}
.portfolio-item p {
  color: #7d8177;
}
.settings-save > span {
  color: #7d8177;
}
.review-card > small {
  color: #7d8177;
}
.review-card > strong {
  color: inherit;
}
.portfolio-item h3 {
  color: inherit;
}
.setting-switch strong {
  color: #5e7348;
}
.setting-switch div > span {
  color: #90a37d;
}
@media (max-width: 700px) {
  .panel-form {
    padding: 0 19px 13px;
  }

  .profile-link-card {
    padding: 23px 19px;
    gap: 14px;
    border-radius: 22px;
  }

  .profile-link-card strong {
    font-size: 20px;
  }

  .profile-link-card small {
    font-size: 9px;
  }

  .profile-link-icon {
    width: 43px;
    height: 47px;
    border-radius: 14px;
  }

  .profile-link-card > .button {
    font-size: 10px;
  }

  .portfolio-grid {
    padding: 0 19px 22px;
    gap: 14px;
  }

  .reviews-grid {
    padding: 0 19px 22px;
    gap: 14px;
  }

  .portfolio-item h3 {
    font-size: 12px;
  }

  .portfolio-item p {
    font-size: 10px;
  }

  .portfolio-image {
    border-radius: 13px;
  }

  .review-card {
    padding: 20px;
    border-radius: 15px;
  }

  .review-card > p {
    font-size: 11px;
  }

  .work-days span {
    height: 39px;
    font-size: 11px;
    border-radius: 9px;
  }

  .setting-switch {
    padding: 16px;
    gap: 13px;
    border-radius: 13px;
  }

  .setting-switch strong {
    font-size: 11px;
  }

  .setting-switch div > span {
    font-size: 9px;
  }
}
.profile-page {
  padding-bottom: 100px;
}
.profile-link-card {
  flex-wrap: wrap;
}
.profile-address {
  flex: 1;
  min-width: 240px;
}
.profile-address .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.profile-address-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.6px;
}
.profile-address-field > span {
  overflow-wrap: anywhere;
}
.profile-address-field input {
  width: 12ch;
  min-width: 140px;
  max-width: 100%;
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #64734f;
  border-radius: 10px;
  background: #333b2b;
  color: #d4f79b;
  font: inherit;
}
.profile-address-field input:focus {
  outline: 2px solid #c7f464;
  outline-offset: 2px;
}
.profile-address small {
  max-width: 620px;
  line-height: 1.6;
  margin-top: 12px;
}
.profile-page .settings-save {
  position: fixed;
  right: 32px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 25;
  margin: 0;
  padding: 10px 10px 10px 20px;
  border: 1px solid #e7eadf;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 32px #25311920;
  align-items: center;
}
.profile-page .settings-save > span {
  font-size: 12px;
  max-width: 180px;
  color: #737d68;
}
.profile-page .settings-save > .is-error {
  color: #ac3939;
}
.profile-page .settings-save > .button {
  font-size: 13px;
  padding: 14px 18px;
}
@media (max-width: 700px) {
  .profile-link-card .profile-link-icon {
    display: none;
  }

  .profile-address {
    min-width: 0;
    flex-basis: 100%;
  }

  .profile-link-card > .button {
    margin-left: 0;
  }

  .profile-address small {
    font-size: 11px;
  }

  .profile-page .settings-save {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 8px 8px 8px 12px;
    gap: 12px;
  }

  .profile-page .settings-save > span {
    font-size: 10px;
  }

  .profile-page .settings-save > .button {
    flex-shrink: 0;
    font-size: 12px;
    padding: 13px;
  }
}
