.office-avatar-settings-card {
  overflow: hidden;
}

.office-avatar-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.office-avatar-settings-copy h3 {
  margin-bottom: 6px;
}

.office-avatar-random-button {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.office-avatar-customizer {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 20px;
}

.office-avatar-preview {
  --skin: #dca57d;
  --hair: #51372b;
  --shirt: #4e6de0;
  --pants: #263b59;
  position: relative;
  width: 180px;
  height: 218px;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(59, 82, 115, .08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .98), rgba(232, 240, 250, .88) 68%),
    linear-gradient(150deg, #f8fbff, #e5edf8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 14px 30px rgba(42, 67, 101, .1);
}

.office-avatar-preview::before {
  content: "";
  position: absolute;
  inset: 14px 16px auto;
  height: 64px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(78, 109, 224, .12), transparent 70%);
}

.oap-shadow {
  position: absolute;
  left: 42px;
  bottom: 15px;
  width: 96px;
  height: 19px;
  border-radius: 50%;
  background: rgba(31, 43, 59, .15);
  filter: blur(3px);
}

.oap-head {
  position: absolute;
  z-index: 5;
  top: 37px;
  left: 64px;
  width: 52px;
  height: 57px;
  border-radius: 45% 45% 40% 40%;
  background: var(--skin);
  box-shadow: inset 0 -4px rgba(92, 52, 34, .08);
}

.oap-hair {
  position: absolute;
  z-index: 2;
  top: -6px;
  right: -3px;
  left: -3px;
  height: 23px;
  border-radius: 48% 48% 23% 23%;
  background: var(--hair);
}

.oap-face {
  position: absolute;
  z-index: 4;
  inset: 0;
}

.oap-face::before,
.oap-face::after {
  content: "";
  position: absolute;
  top: 29px;
  width: 5px;
  height: 6px;
  border-radius: 50%;
  background: #26394e;
}

.oap-face::before { left: 13px; }
.oap-face::after { right: 13px; }

.oap-body {
  position: absolute;
  z-index: 3;
  top: 91px;
  left: 54px;
  width: 72px;
  height: 74px;
  border-radius: 18px 18px 9px 9px;
  background: var(--shirt);
  box-shadow: inset 0 -9px rgba(0, 0, 0, .08);
}

.oap-body > .oap-arm-left,
.oap-body > .oap-arm-right {
  position: absolute;
  top: 8px;
  width: 17px;
  height: 68px;
  border-radius: 12px;
  background: linear-gradient(to bottom, var(--shirt) 0 28%, var(--skin) 28% 100%);
  transform-origin: top;
}

.oap-body > .oap-arm-left {
  left: -11px;
  transform: rotate(9deg);
}

.oap-body > .oap-arm-right {
  right: -11px;
  transform: rotate(-9deg);
}

.oap-legs {
  position: absolute;
  z-index: 2;
  top: 157px;
  left: 63px;
  display: flex;
  gap: 13px;
}

.oap-legs i {
  width: 21px;
  height: 45px;
  border-radius: 3px 3px 9px 9px;
  background: var(--pants);
}

.oap-outfit-detail,
.oap-headset,
.oap-glasses,
.oap-sunglasses,
.oap-cap,
.oap-earrings,
.oap-necklace,
.oap-watch,
.oap-badge {
  display: none;
}

/* Hair silhouettes */
.office-avatar-preview[data-hair-style="fade"] .oap-hair {
  height: 14px;
  border-radius: 42% 42% 12% 12%;
}

.office-avatar-preview[data-hair-style="long"] .oap-hair {
  height: 66px;
  border-radius: 45% 45% 22px 22px;
  box-shadow: inset 0 -10px rgba(0, 0, 0, .08);
}

.office-avatar-preview[data-hair-style="bun"] .oap-hair {
  height: 28px;
}

.office-avatar-preview[data-hair-style="bun"] .oap-hair::after {
  content: "";
  position: absolute;
  top: -17px;
  left: 15px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--hair);
}

.office-avatar-preview[data-hair-style="curls"] .oap-hair {
  top: -10px;
  left: -5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  box-shadow: 13px -5px var(--hair), 26px -4px var(--hair), 39px 0 var(--hair), 7px 10px var(--hair), 21px 8px var(--hair), 35px 10px var(--hair);
}

.office-avatar-preview[data-hair-style="afro"] .oap-hair {
  top: -22px;
  left: -12px;
  width: 76px;
  height: 60px;
  border-radius: 48%;
  box-shadow: inset 0 -8px rgba(0, 0, 0, .07);
}

.office-avatar-preview[data-hair-style="braids"] .oap-hair {
  height: 19px;
}

.office-avatar-preview[data-hair-style="braids"] .oap-hair::before,
.office-avatar-preview[data-hair-style="braids"] .oap-hair::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 8px;
  height: 55px;
  border-radius: 6px;
  background: repeating-linear-gradient(to bottom, var(--hair) 0 7px, rgba(255, 255, 255, .16) 7px 9px);
}

.office-avatar-preview[data-hair-style="braids"] .oap-hair::before { left: 3px; }
.office-avatar-preview[data-hair-style="braids"] .oap-hair::after { right: 3px; }

.office-avatar-preview[data-hair-style="ponytail"] .oap-hair {
  height: 20px;
}

.office-avatar-preview[data-hair-style="ponytail"] .oap-hair::after {
  content: "";
  position: absolute;
  top: 12px;
  right: -13px;
  width: 16px;
  height: 55px;
  border-radius: 10px 10px 13px 13px;
  background: var(--hair);
  transform: rotate(-8deg);
}

.office-avatar-preview[data-hair-style="mohawk"] .oap-hair {
  top: -22px;
  left: 19px;
  width: 15px;
  height: 38px;
  border-radius: 9px 9px 3px 3px;
  transform: skewX(-4deg);
}

.office-avatar-preview[data-hair-style="bald"] .oap-hair {
  display: none;
}

/* Outfit silhouettes */
.office-avatar-preview[data-outfit="hoodie"] .oap-body,
.office-avatar-preview[data-outfit="executive_man"] .oap-body {
  left: 51px;
  width: 78px;
}

.office-avatar-preview[data-outfit="hoodie"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="hoodie"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="executive_woman"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="executive_woman"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="blazer_skirt"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="blazer_skirt"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="executive_man"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="executive_man"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="shirt_tie"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="shirt_tie"] .oap-body > .oap-arm-right {
  background: linear-gradient(to bottom, var(--shirt) 0 68%, var(--skin) 68% 100%);
}

.office-avatar-preview[data-outfit="amess_uniform"] .oap-outfit-detail {
  display: block;
  position: absolute;
  top: 8px;
  left: 11px;
  width: 7px;
  height: 55px;
  border-radius: 5px;
  background: #f2a045;
  box-shadow: 37px 4px 0 -2px #f7f8fa;
}

.office-avatar-preview[data-outfit="hoodie"] .oap-outfit-detail {
  display: block;
  position: absolute;
  top: -5px;
  left: 14px;
  width: 50px;
  height: 33px;
  border: 6px solid rgba(0, 0, 0, .1);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

.office-avatar-preview[data-outfit="hoodie"] .oap-outfit-detail::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 7px;
  width: 34px;
  height: 15px;
  border-radius: 4px 4px 10px 10px;
  background: var(--pants);
}

.office-avatar-preview[data-outfit="executive_man"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="executive_woman"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="blazer_skirt"] .oap-outfit-detail {
  display: block;
  position: absolute;
  top: 5px;
  left: 24px;
  width: 24px;
  height: 54px;
  background: #f3f5f7;
  clip-path: polygon(0 0, 50% 24%, 100% 0, 78% 100%, 22% 100%);
}

.office-avatar-preview[data-outfit="executive_man"] .oap-outfit-detail::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 7px;
  height: 35px;
  border-radius: 4px;
  background: #25364d;
}

.office-avatar-preview[data-outfit="blazer_skirt"] .oap-legs::before,
.office-avatar-preview[data-outfit="dress"] .oap-legs::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -18px;
  left: -11px;
  width: 68px;
  height: 36px;
  background: var(--pants);
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
}

.office-avatar-preview[data-outfit="dress"] .oap-legs::before {
  height: 43px;
  background: var(--shirt);
}

.office-avatar-preview[data-outfit="dress"] .oap-legs i,
.office-avatar-preview[data-outfit="blazer_skirt"] .oap-legs i {
  background: var(--skin);
}

.office-avatar-preview[data-outfit="polo_chinos"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="shirt_tie"] .oap-outfit-detail {
  display: block;
  position: absolute;
  top: 4px;
  left: 24px;
  width: 24px;
  height: 20px;
  border-right: 8px solid #f3f5f7;
  border-left: 8px solid #f3f5f7;
  transform: perspective(20px) rotateX(-12deg);
}

.office-avatar-preview[data-outfit="shirt_tie"] .oap-outfit-detail::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 6px;
  width: 6px;
  height: 33px;
  border-radius: 4px;
  background: #25364d;
}

/* Combinable accessories */
.office-avatar-preview[data-accessories~="headset"] .oap-headset {
  display: block;
  position: absolute;
  z-index: 8;
  top: 8px;
  right: -9px;
  left: -9px;
  height: 30px;
  border: 5px solid #17283b;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}

.oap-headset::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -9px;
  width: 17px;
  height: 5px;
  border-radius: 5px;
  background: #17283b;
  transform: rotate(14deg);
}

.office-avatar-preview[data-accessories~="glasses"] .oap-glasses,
.office-avatar-preview[data-accessories~="sunglasses"] .oap-sunglasses {
  display: block;
  position: absolute;
  z-index: 9;
  top: 24px;
  left: 6px;
  width: 40px;
  height: 14px;
  border-top: 3px solid #26394e;
}

.oap-glasses::before,
.oap-glasses::after,
.oap-sunglasses::before,
.oap-sunglasses::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 14px;
  height: 11px;
  border: 3px solid #26394e;
  border-radius: 4px;
}

.oap-glasses::before,
.oap-sunglasses::before { left: 0; }
.oap-glasses::after,
.oap-sunglasses::after { right: 0; }

.oap-sunglasses::before,
.oap-sunglasses::after {
  background: #17202b;
  border-color: #17202b;
}

.office-avatar-preview[data-accessories~="cap"] .oap-cap {
  display: block;
  position: absolute;
  z-index: 10;
  top: -10px;
  left: -7px;
  width: 66px;
  height: 22px;
  border-radius: 25px 25px 7px 7px;
  background: #315bdc;
}

.oap-cap::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -3px;
  width: 34px;
  height: 7px;
  border-radius: 0 10px 10px 0;
  background: #284dbd;
  transform: rotate(5deg);
}

.office-avatar-preview[data-accessories~="earrings"] .oap-earrings {
  display: block;
  position: absolute;
  z-index: 10;
  top: 41px;
  left: -5px;
  width: 7px;
  height: 7px;
  border: 2px solid #e7b94f;
  border-radius: 50%;
  box-shadow: 55px 0 0 -2px var(--skin), 55px 0 0 0 #e7b94f;
}

.office-avatar-preview[data-accessories~="necklace"] .oap-necklace {
  display: block;
  position: absolute;
  z-index: 7;
  top: 105px;
  left: 76px;
  width: 28px;
  height: 25px;
  border-right: 3px solid #e7b94f;
  border-bottom: 3px solid #e7b94f;
  border-left: 3px solid #e7b94f;
  border-radius: 0 0 50% 50%;
}

.office-avatar-preview[data-accessories~="watch"] .oap-watch {
  display: block;
  position: absolute;
  z-index: 9;
  top: 143px;
  left: 42px;
  width: 13px;
  height: 9px;
  border: 3px solid #d7a945;
  border-radius: 4px;
  background: #24344b;
  transform: rotate(9deg);
}

.office-avatar-preview[data-accessories~="badge"] .oap-badge {
  position: absolute;
  z-index: 9;
  top: 109px;
  left: 104px;
  display: grid;
  width: 17px;
  height: 20px;
  place-items: center;
  border-radius: 3px;
  background: #f8fafc;
  box-shadow: 0 2px 4px rgba(22, 37, 58, .18);
  color: #ef8e37;
  font-size: 8px;
  font-weight: 950;
}

/* Palette */
.office-avatar-preview[data-skin="light"] { --skin: #f1c7a8; }
.office-avatar-preview[data-skin="warm"] { --skin: #dca57d; }
.office-avatar-preview[data-skin="tan"] { --skin: #bd7e55; }
.office-avatar-preview[data-skin="brown"] { --skin: #895638; }
.office-avatar-preview[data-skin="deep"] { --skin: #55351f; }
.office-avatar-preview[data-hair="black"] { --hair: #211e22; }
.office-avatar-preview[data-hair="brown"] { --hair: #51372b; }
.office-avatar-preview[data-hair="blonde"] { --hair: #d7b15d; }
.office-avatar-preview[data-hair="auburn"] { --hair: #8f432c; }
.office-avatar-preview[data-hair="silver"] { --hair: #aeb5bf; }
.office-avatar-preview[data-hair="platinum"] { --hair: #e9dfc9; }
.office-avatar-preview[data-hair="burgundy"] { --hair: #6f2941; }
.office-avatar-preview[data-shirt="blue"] { --shirt: #4e6de0; }
.office-avatar-preview[data-shirt="teal"] { --shirt: #198d7a; }
.office-avatar-preview[data-shirt="orange"] { --shirt: #dc744a; }
.office-avatar-preview[data-shirt="pink"] { --shirt: #c85d86; }
.office-avatar-preview[data-shirt="purple"] { --shirt: #7250bb; }
.office-avatar-preview[data-shirt="navy"] { --shirt: #243d67; }
.office-avatar-preview[data-shirt="red"] { --shirt: #b83c45; }
.office-avatar-preview[data-shirt="green"] { --shirt: #278256; }
.office-avatar-preview[data-shirt="white"] { --shirt: #f0f3f6; }
.office-avatar-preview[data-shirt="black"] { --shirt: #25292f; }
.office-avatar-preview[data-shirt="cream"] { --shirt: #e9ddc7; }
.office-avatar-preview[data-pants="navy"] { --pants: #263b59; }
.office-avatar-preview[data-pants="black"] { --pants: #24282e; }
.office-avatar-preview[data-pants="denim"] { --pants: #4c6f98; }
.office-avatar-preview[data-pants="khaki"] { --pants: #a89065; }
.office-avatar-preview[data-pants="gray"] { --pants: #707883; }
.office-avatar-preview[data-pants="white"] { --pants: #e7eaee; }
.office-avatar-preview[data-pants="olive"] { --pants: #66704b; }

.office-avatar-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.office-avatar-fields label {
  display: grid;
  gap: 5px;
  color: #40516a;
  font-size: 11px;
  font-weight: 900;
}

.office-avatar-fields select {
  width: 100%;
}

.office-avatar-outfit-field {
  grid-column: 1 / -1;
}

.office-avatar-accessories-field {
  grid-column: 1 / -1;
}

.office-avatar-accessories-field > span {
  margin-top: -24px;
  margin-right: 7px;
  justify-self: end;
  color: #315bdc;
  font-size: 9px;
}

.office-avatar-accessories-field select[multiple] {
  min-height: 118px;
  padding: 6px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #fff;
}

.office-avatar-accessories-field option {
  padding: 7px 9px;
  border-radius: 6px;
  font-weight: 800;
}

.office-avatar-accessories-field small {
  color: #718096;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .office-avatar-settings-head {
    align-items: stretch;
    flex-direction: column;
  }

  .office-avatar-random-button {
    align-self: flex-start;
  }

  .office-avatar-customizer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .office-avatar-fields {
    grid-template-columns: 1fr;
  }
}

/* Detailed, rotatable avatar preview */
.office-avatar-customizer {
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
}

.office-avatar-preview-column {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.office-avatar-preview {
  width: 218px;
  height: 278px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  outline: none;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 1), rgba(235, 243, 253, .94) 57%, rgba(217, 228, 243, .96)),
    linear-gradient(150deg, #fbfdff, #e5edf8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .88), 0 18px 38px rgba(42, 67, 101, .14);
}

.office-avatar-preview:focus-visible {
  box-shadow: 0 0 0 4px rgba(49, 91, 220, .2), inset 0 0 0 1px #fff, 0 18px 38px rgba(42, 67, 101, .14);
}

.office-avatar-preview[data-dragging="true"] { cursor: grabbing; }

.office-avatar-preview::before {
  inset: 18px 20px auto;
  height: 105px;
  background: radial-gradient(circle, rgba(78, 109, 224, .14), transparent 70%);
}

.oap-floor-ring {
  position: absolute;
  left: 40px;
  bottom: 20px;
  width: 138px;
  height: 43px;
  border: 1px solid rgba(79, 111, 153, .13);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .82) 0 40%, rgba(106, 138, 181, .12) 43% 48%, transparent 50%);
}

.oap-character {
  position: absolute;
  top: 27px;
  left: 19px;
  width: 180px;
  height: 218px;
  transform: scale(1.08);
  transform-origin: 50% 100%;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), filter .32s ease;
}

.oap-shadow { bottom: 6px; }

.oap-hair-back {
  display: none;
  position: absolute;
  z-index: 4;
  top: 43px;
  left: 59px;
  width: 62px;
  height: 82px;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .13), transparent 23% 77%, rgba(0, 0, 0, .13)), var(--hair);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 77% 100%, 72% 34%, 28% 34%, 23% 100%, 0 100%);
}

.office-avatar-preview[data-hair-style="long"] .oap-hair-back {
  display: block;
}

.office-avatar-preview[data-hair-style="long"] .oap-hair {
  top: -7px;
  right: -4px;
  left: -4px;
  width: auto;
  height: 26px;
  border-radius: 50% 50% 24% 24%;
  box-shadow: inset 0 -5px rgba(0, 0, 0, .08);
}

.oap-head {
  border-radius: 46% 46% 43% 43%;
  box-shadow: inset -4px -5px rgba(92, 52, 34, .08), 0 4px 10px rgba(45, 40, 35, .08);
}

.oap-ear-left,
.oap-ear-right {
  position: absolute;
  z-index: -1;
  top: 27px;
  width: 9px;
  height: 15px;
  border-radius: 50%;
  background: var(--skin);
  box-shadow: inset 0 -2px rgba(92, 52, 34, .1);
}

.oap-ear-left { left: -6px; }
.oap-ear-right { right: -6px; }

.oap-face::before,
.oap-face::after { content: none; }

.oap-brows,
.oap-eyes,
.oap-nose,
.oap-mouth { position: absolute; display: block; }

.oap-brows {
  top: 23px;
  left: 12px;
  width: 10px;
  height: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hair), #182334 18%);
  box-shadow: 18px 0 color-mix(in srgb, var(--hair), #182334 18%);
  transform: rotate(-5deg);
}

.oap-eyes {
  top: 28px;
  left: 12px;
  width: 8px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 57% 55%, #fff 0 11%, #26394e 14% 43%, #fff 47% 100%);
  box-shadow: 20px 0 0 #fff;
}

.oap-eyes::after {
  content: "";
  position: absolute;
  left: 20px;
  width: 8px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 43% 55%, #fff 0 11%, #26394e 14% 43%, #fff 47% 100%);
}

.oap-nose {
  top: 36px;
  left: 24px;
  width: 4px;
  height: 7px;
  border-right: 2px solid rgba(95, 57, 39, .24);
  border-bottom: 2px solid rgba(95, 57, 39, .18);
  border-radius: 0 0 5px;
}

.oap-mouth {
  top: 47px;
  left: 20px;
  width: 13px;
  height: 5px;
  border-bottom: 2px solid rgba(116, 52, 55, .68);
  border-radius: 0 0 50% 50%;
}

.oap-neck {
  position: absolute;
  z-index: 4;
  top: 85px;
  left: 78px;
  width: 24px;
  height: 20px;
  border-radius: 4px 4px 9px 9px;
  background: var(--skin);
  box-shadow: inset 0 -3px rgba(92, 52, 34, .08);
}

.oap-body {
  box-shadow: inset -5px -9px rgba(0, 0, 0, .08), inset 5px 0 rgba(255, 255, 255, .04), 0 4px 8px rgba(29, 46, 69, .1);
}

.oap-body > .oap-arm-left,
.oap-body > .oap-arm-right {
  box-shadow: inset -3px 0 rgba(0, 0, 0, .07);
}

.oap-legs i {
  position: relative;
  box-shadow: inset -4px 0 rgba(0, 0, 0, .1);
}

.oap-legs i small {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 25px;
  height: 11px;
  border-radius: 6px 8px 5px 5px;
  background: #202733;
  box-shadow: inset 0 -3px rgba(0, 0, 0, .22);
}

.oap-collar { display: none; }

/* Additional wardrobe silhouettes */
.office-avatar-preview[data-outfit="bomber_jacket"] .oap-body,
.office-avatar-preview[data-outfit="denim_jacket"] .oap-body,
.office-avatar-preview[data-outfit="utility_vest"] .oap-body,
.office-avatar-preview[data-outfit="blazer_pants"] .oap-body {
  left: 51px;
  width: 78px;
}

.office-avatar-preview[data-outfit="cardigan"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="denim_jacket"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="bomber_jacket"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="athleisure"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="utility_vest"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="jumpsuit"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="blouse_trousers"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="blazer_pants"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="midi_skirt"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="vest_tie"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="summer_casual"] .oap-outfit-detail {
  display: block;
  position: absolute;
  z-index: 2;
}

.office-avatar-preview[data-outfit="cardigan"] .oap-outfit-detail {
  inset: 3px 16px 5px;
  border-right: 9px solid rgba(255, 255, 255, .24);
  border-left: 9px solid rgba(255, 255, 255, .24);
  background: linear-gradient(90deg, transparent 47%, #e9edf4 47% 53%, transparent 53%);
}

.office-avatar-preview[data-outfit="knit_sweater"] .oap-body {
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.07) 7px 9px), var(--shirt);
}

.office-avatar-preview[data-outfit="knit_sweater"] .oap-collar,
.office-avatar-preview[data-outfit="turtleneck"] .oap-collar {
  display: block;
  position: absolute;
  z-index: 5;
  top: -4px;
  left: 23px;
  width: 26px;
  height: 12px;
  border: 4px solid rgba(0, 0, 0, .11);
  border-radius: 4px 4px 10px 10px;
}

.office-avatar-preview[data-outfit="turtleneck"] .oap-collar {
  top: -8px;
  left: 21px;
  width: 30px;
  height: 17px;
  border: 0;
  border-radius: 7px;
  background: var(--shirt);
  box-shadow: inset 0 -4px rgba(0,0,0,.1);
}

.office-avatar-preview[data-outfit="denim_jacket"] .oap-outfit-detail {
  inset: 5px 8px 8px;
  border: 3px solid rgba(255,255,255,.25);
  border-top: 0;
  background: linear-gradient(90deg, transparent 48%, rgba(240,245,250,.72) 48% 52%, transparent 52%);
}

.office-avatar-preview[data-outfit="denim_jacket"] .oap-outfit-detail::after,
.office-avatar-preview[data-outfit="utility_vest"] .oap-outfit-detail::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 10px;
  width: 15px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.45);
  box-shadow: 31px 0 0 -2px var(--shirt), 31px 0 0 0 rgba(255,255,255,.45);
}

.office-avatar-preview[data-outfit="bomber_jacket"] .oap-outfit-detail {
  right: 5px;
  bottom: 7px;
  left: 5px;
  height: 8px;
  border-radius: 4px;
  background: var(--pants);
  box-shadow: 0 -51px rgba(0,0,0,.1);
}

.office-avatar-preview[data-outfit="athleisure"] .oap-outfit-detail {
  top: 0;
  bottom: 0;
  left: 32px;
  width: 8px;
  background: var(--pants);
  box-shadow: 0 0 0 2px rgba(255,255,255,.3);
}

.office-avatar-preview[data-outfit="utility_vest"] .oap-outfit-detail {
  inset: 5px 9px 7px;
  border-right: 12px solid var(--pants);
  border-left: 12px solid var(--pants);
}

.office-avatar-preview[data-outfit="jumpsuit"] .oap-outfit-detail {
  right: 3px;
  bottom: 13px;
  left: 3px;
  height: 7px;
  border-radius: 4px;
  background: var(--pants);
  box-shadow: 0 4px 0 rgba(255,255,255,.25);
}

.office-avatar-preview[data-outfit="jumpsuit"] .oap-legs i { background: var(--shirt); }

.office-avatar-preview[data-outfit="blouse_trousers"] .oap-outfit-detail,
.office-avatar-preview[data-outfit="midi_skirt"] .oap-outfit-detail {
  top: 2px;
  left: 22px;
  width: 28px;
  height: 20px;
  border-radius: 0 0 50% 50%;
  background: rgba(255,255,255,.8);
  clip-path: polygon(0 0, 50% 70%, 100% 0, 100% 25%, 50% 100%, 0 25%);
}

.office-avatar-preview[data-outfit="blazer_pants"] .oap-outfit-detail {
  top: 4px;
  left: 22px;
  width: 34px;
  height: 50px;
  background: rgba(245,247,250,.9);
  clip-path: polygon(0 0, 50% 25%, 100% 0, 76% 100%, 24% 100%);
}

.office-avatar-preview[data-outfit="midi_skirt"] .oap-legs::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -18px;
  left: -9px;
  width: 64px;
  height: 47px;
  background: var(--pants);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.office-avatar-preview[data-outfit="midi_skirt"] .oap-legs i { background: var(--skin); }

.office-avatar-preview[data-outfit="vest_tie"] .oap-outfit-detail {
  inset: 3px 12px 4px;
  background: var(--pants);
  clip-path: polygon(0 0, 35% 15%, 50% 35%, 65% 15%, 100% 0, 91% 100%, 9% 100%);
}

.office-avatar-preview[data-outfit="vest_tie"] .oap-outfit-detail::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 22px;
  width: 6px;
  height: 31px;
  border-radius: 3px;
  background: #f0a04b;
}

.office-avatar-preview[data-outfit="summer_casual"] .oap-outfit-detail {
  right: 6px;
  bottom: 12px;
  left: 6px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.65);
  box-shadow: 0 -26px 0 rgba(255,255,255,.18);
}

.office-avatar-preview[data-outfit="cardigan"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="cardigan"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="knit_sweater"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="knit_sweater"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="denim_jacket"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="denim_jacket"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="bomber_jacket"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="bomber_jacket"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="turtleneck"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="turtleneck"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="athleisure"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="athleisure"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="blazer_pants"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="blazer_pants"] .oap-body > .oap-arm-right,
.office-avatar-preview[data-outfit="vest_tie"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-outfit="vest_tie"] .oap-body > .oap-arm-right {
  background: linear-gradient(to bottom, var(--shirt) 0 72%, var(--skin) 72% 100%);
}

/* Accessories are anchored to the body part they belong to. */
.office-avatar-preview[data-accessories~="necklace"] .oap-body > .oap-necklace {
  display: block;
  position: absolute;
  z-index: 7;
  top: 6px;
  left: 21px;
  width: 30px;
  height: 27px;
  border-right: 2px solid #e7b94f;
  border-bottom: 2px solid #e7b94f;
  border-left: 2px solid #e7b94f;
  border-radius: 0 0 50% 50%;
  filter: drop-shadow(0 1px 1px rgba(85,61,11,.2));
}

.office-avatar-preview[data-accessories~="necklace"] .oap-body > .oap-necklace::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e7b94f;
}

.office-avatar-preview[data-accessories~="watch"] .oap-body > .oap-arm-left > .oap-watch {
  display: block;
  position: absolute;
  z-index: 10;
  top: auto;
  right: auto;
  bottom: 6px;
  left: 0;
  width: 12px;
  height: 9px;
  border: 3px solid #d7a945;
  border-radius: 4px;
  background: radial-gradient(circle at 35% 35%, #6c8ba9, #24344b 64%);
  transform: none;
  box-shadow: 0 1px 2px rgba(20,30,42,.3);
}

.office-avatar-preview[data-accessories~="badge"] .oap-body > .oap-badge {
  top: 14px;
  left: auto;
  right: 9px;
}

/* Four inspectable viewpoints. */
.office-avatar-preview[data-view="right"] .oap-character,
.office-avatar-preview[data-view="left"] .oap-character {
  transform: scaleX(.68) scaleY(1.08);
  filter: drop-shadow(8px 4px 8px rgba(35,51,73,.08));
}

.office-avatar-preview[data-view="left"] .oap-character { filter: drop-shadow(-8px 4px 8px rgba(35,51,73,.08)); }

.office-avatar-preview[data-view="right"] .oap-face,
.office-avatar-preview[data-view="right"] .oap-glasses,
.office-avatar-preview[data-view="right"] .oap-sunglasses,
.office-avatar-preview[data-view="left"] .oap-face,
.office-avatar-preview[data-view="left"] .oap-glasses,
.office-avatar-preview[data-view="left"] .oap-sunglasses {
  transform: scaleX(.72);
}

.office-avatar-preview[data-view="right"] .oap-eyes::after,
.office-avatar-preview[data-view="right"] .oap-brows,
.office-avatar-preview[data-view="left"] .oap-eyes::after,
.office-avatar-preview[data-view="left"] .oap-brows { display: none; }

.office-avatar-preview[data-view="right"] .oap-eyes { left: 25px; }
.office-avatar-preview[data-view="left"] .oap-eyes { left: 18px; }
.office-avatar-preview[data-view="right"] .oap-nose { left: 35px; }
.office-avatar-preview[data-view="left"] .oap-nose { left: 14px; transform: scaleX(-1); }
.office-avatar-preview[data-view="right"] .oap-mouth { left: 26px; width: 9px; }
.office-avatar-preview[data-view="left"] .oap-mouth { left: 16px; width: 9px; }

.office-avatar-preview[data-view="right"] .oap-ear-left,
.office-avatar-preview[data-view="left"] .oap-ear-right,
.office-avatar-preview[data-view="right"] .oap-body > .oap-arm-left,
.office-avatar-preview[data-view="left"] .oap-body > .oap-arm-right { opacity: .35; }

.office-avatar-preview[data-view="back"] .oap-face,
.office-avatar-preview[data-view="back"] .oap-glasses,
.office-avatar-preview[data-view="back"] .oap-sunglasses,
.office-avatar-preview[data-view="back"] .oap-necklace,
.office-avatar-preview[data-view="back"] .oap-badge,
.office-avatar-preview[data-view="back"] .oap-outfit-detail,
.office-avatar-preview[data-view="back"] .oap-cap::after { display: none !important; }

.office-avatar-preview[data-view="back"] .oap-head {
  background: linear-gradient(to bottom, var(--hair) 0 55%, var(--skin) 55% 100%);
}

.office-avatar-preview[data-view="back"][data-hair-style="long"] .oap-head { background: var(--hair); }

.office-avatar-preview[data-view="back"][data-hair-style="long"] .oap-hair-back {
  clip-path: none;
  z-index: 6;
  background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 28% 72%, rgba(0,0,0,.12)), var(--hair);
}

.office-avatar-preview[data-view="back"] .oap-body::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 10px;
  left: calc(50% - 1px);
  width: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.12);
}

.office-avatar-preview[data-view="back"] .oap-watch { transform: translateX(1px) !important; }

.office-avatar-rotation {
  display: grid;
  grid-template-columns: 38px minmax(112px, 1fr) 38px;
  align-items: center;
  gap: 7px;
  width: 210px;
}

.office-avatar-rotation button {
  display: grid;
  width: 38px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #d8e1ee;
  border-radius: 11px;
  background: #fff;
  color: #24469d;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(36,70,157,.08);
}

.office-avatar-rotation button:hover { background: #edf3ff; transform: translateY(-1px); }

.office-avatar-rotation span {
  color: #253b5a;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.office-avatar-rotate-hint {
  color: #718096;
  font-size: 9px;
  font-weight: 750;
}

@media (max-width: 760px) {
  .office-avatar-customizer { grid-template-columns: 1fr; }
}

/* Real WebGL studio. The previous CSS figure stays above only as a no-JS fallback
   contract for older cached pages; this surface is the current avatar editor. */
.office-avatar-settings-copy h3 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.office-avatar-3d-badge {
  display: inline-grid;
  min-width: 30px;
  height: 21px;
  padding: 0 7px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #315bdc, #754fd3);
  box-shadow: 0 4px 10px rgba(49, 91, 220, .22);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
}

.office-avatar-customizer {
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.office-avatar-preview-3d {
  width: 320px;
  height: 410px;
  overflow: hidden;
  border: 1px solid rgba(54, 78, 111, .13);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,1), rgba(236,243,252,.95) 52%, rgba(214,225,241,.98)),
    #edf3fa;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 20px 44px rgba(43, 65, 96, .16);
  cursor: grab;
  touch-action: none;
}

.office-avatar-preview-3d::before { display: none; }
.office-avatar-preview-3d:active { cursor: grabbing; }

.office-avatar-webgl {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

.office-avatar-preview-loading {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  justify-content: center;
  gap: 9px;
  color: #546883;
  font-size: 11px;
  font-weight: 850;
  transition: opacity .2s ease;
}

.office-avatar-preview-loading span {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(49,91,220,.22);
  border-top-color: #315bdc;
  border-radius: 50%;
  animation: office-avatar-spin .7s linear infinite;
}

.office-avatar-preview-3d[data-ready="true"] .office-avatar-preview-loading {
  visibility: hidden;
  opacity: 0;
}

.office-avatar-preview-error {
  position: absolute;
  inset: 24px;
  display: grid;
  place-items: center;
  color: #6f4250;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.office-avatar-preview-column > .office-avatar-rotate-hint {
  max-width: 300px;
  line-height: 1.5;
  text-align: center;
}

@keyframes office-avatar-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .office-avatar-customizer { grid-template-columns: 300px minmax(0, 1fr); gap: 22px; }
  .office-avatar-preview-3d { width: 286px; height: 380px; }
}

@media (max-width: 760px) {
  .office-avatar-customizer { grid-template-columns: 1fr; }
  .office-avatar-preview-3d { width: min(100%, 330px); height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  .office-avatar-preview-loading span { animation-duration: 1.4s; }
}

/* Integrated Wawa editor: the model, category bar and real part choices live in
   one visual workspace so a person never has to translate a dropdown name. */
.office-avatar-customizer {
  display: block;
  margin-top: 22px;
}

.office-avatar-studio-shell {
  overflow: hidden;
  border: 1px solid #d8e3f2;
  border-radius: 28px;
  background: #f8fbff;
  box-shadow: 0 18px 44px rgba(31, 59, 98, .1);
}

.office-avatar-category-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 11px 12px;
  border-bottom: 1px solid #dfe7f2;
  background: rgba(255,255,255,.94);
  scrollbar-width: thin;
}

.office-avatar-category-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #53657d;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.office-avatar-category-tabs button:hover {
  border-color: #d5e0ef;
  background: #f1f5fb;
  color: #1f3860;
  transform: translateY(-1px);
}

.office-avatar-category-tabs button.active {
  border-color: #ff8b5e;
  background: linear-gradient(135deg, #fff2e9, #fff8f2);
  color: #bd4d23;
  box-shadow: 0 5px 14px rgba(235, 106, 57, .14);
}

.office-avatar-studio-workspace {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.25fr);
  min-height: 520px;
}

.office-avatar-studio-workspace .office-avatar-preview-column {
  min-width: 0;
  padding: 22px 18px 16px;
  border-right: 1px solid #dfe7f2;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.98), rgba(236,243,252,.88) 58%, rgba(222,232,245,.94)),
    #edf3fa;
}

.office-avatar-studio-workspace .office-avatar-preview-3d {
  width: 100%;
  max-width: 390px;
  height: 445px;
  margin: 0 auto;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.office-avatar-studio-workspace .office-avatar-rotate-hint {
  max-width: none;
  margin: 5px auto 0;
  color: #6a7b91;
  font-size: 10px;
}

.office-avatar-editor-panel {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  min-width: 0;
  max-height: 560px;
  padding: 24px 24px 18px;
  background: #fff;
}

.office-avatar-editor-kicker {
  color: #e06a3b;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.office-avatar-editor-panel h4 {
  margin: 5px 0 0;
  color: #162c4f;
  font-size: 23px;
  line-height: 1.15;
}

.office-avatar-editor-panel > p {
  margin: 7px 0 15px;
  color: #6a7b91;
  font-size: 11px;
  line-height: 1.48;
}

.office-avatar-option-sections {
  min-height: 0;
  overflow-y: auto;
  padding: 0 5px 12px 0;
  scrollbar-width: thin;
  scrollbar-color: #c5d3e5 transparent;
}

.office-avatar-option-section + .office-avatar-option-section {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #ebf0f6;
}

.office-avatar-option-section h5 {
  margin: 0 0 10px;
  color: #314763;
  font-size: 11px;
  font-weight: 900;
}

.office-avatar-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  gap: 9px;
}

.office-avatar-option-grid[data-option-kind="color"] {
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
}

.office-avatar-option {
  position: relative;
  display: grid;
  grid-template-rows: 86px auto;
  min-width: 0;
  padding: 5px 5px 8px;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 15px;
  background: #f6f9fd;
  color: #4b6079;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.office-avatar-option:hover {
  border-color: #aebed3;
  background: #fff;
  transform: translateY(-2px);
}

.office-avatar-option.selected {
  border-color: #3f6fe0;
  background: #f2f6ff;
  box-shadow: 0 0 0 2px rgba(63,111,224,.13), 0 8px 18px rgba(47,82,144,.12);
  color: #1e4fae;
}

.office-avatar-option.selected::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #3f6fe0;
  color: #fff;
  font-size: 10px;
  box-shadow: 0 3px 8px rgba(25,63,145,.25);
}

.office-avatar-option-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 11px;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255,255,255,.75) 48%, transparent 66%) -120px 0 / 120px 100% no-repeat,
    radial-gradient(circle at 50% 34%, #fff, #e8eff8);
}

.office-avatar-option.loading .office-avatar-option-media {
  animation: office-avatar-option-shimmer 1.1s ease-in-out infinite;
}

.office-avatar-option-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .18s ease;
}

.office-avatar-option.ready .office-avatar-option-media img { opacity: 1; }

.office-avatar-option-label {
  align-self: center;
  padding: 7px 2px 0;
}

.office-avatar-option[data-none="true"] .office-avatar-option-media::before {
  content: "Ninguno";
  color: #7d8da1;
  font-size: 10px;
  font-weight: 850;
}

.office-avatar-option-grid[data-option-kind="color"] .office-avatar-option {
  grid-template-rows: 42px auto;
  padding-top: 8px;
}

.office-avatar-option-grid[data-option-kind="color"] .office-avatar-option-media {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 3px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: var(--avatar-swatch, #d8e0ea);
  box-shadow: 0 0 0 1px rgba(38,58,88,.16), inset 0 1px 4px rgba(255,255,255,.35);
}

.office-avatar-option-grid[data-option-kind="color"] .office-avatar-option.selected .office-avatar-option-media {
  box-shadow: 0 0 0 2px #3f6fe0, inset 0 1px 4px rgba(255,255,255,.35);
}

.office-avatar-editor-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid #e6edf6;
}

.office-avatar-editor-footer .status {
  min-width: 0;
  margin: 0;
  color: #657890;
  font-size: 10px;
  line-height: 1.35;
}

.office-avatar-editor-footer .primary-button {
  min-width: 150px;
  margin: 0;
}

@keyframes office-avatar-option-shimmer {
  0% { background-position: -120px 0, 0 0; }
  100% { background-position: 180px 0, 0 0; }
}

@media (max-width: 980px) {
  .office-avatar-studio-workspace { grid-template-columns: minmax(260px, .8fr) minmax(330px, 1.2fr); }
  .office-avatar-editor-panel { padding-inline: 18px; }
}

@media (max-width: 760px) {
  .office-avatar-studio-shell { border-radius: 21px; }
  .office-avatar-category-tabs { padding: 9px; }
  .office-avatar-category-tabs button { min-height: 36px; padding-inline: 13px; }
  .office-avatar-studio-workspace { grid-template-columns: 1fr; }
  .office-avatar-studio-workspace .office-avatar-preview-column {
    padding: 10px 12px 8px;
    border-right: 0;
    border-bottom: 1px solid #dfe7f2;
  }
  .office-avatar-studio-workspace .office-avatar-preview-3d {
    width: 100%;
    max-width: none;
    height: 360px;
  }
  .office-avatar-editor-panel { max-height: 520px; padding: 18px 14px 14px; }
  .office-avatar-option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .office-avatar-option-grid[data-option-kind="color"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .office-avatar-editor-footer { grid-template-columns: 1fr; }
  .office-avatar-editor-footer .primary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .office-avatar-option,
  .office-avatar-option-media img { transition: none; }
  .office-avatar-option.loading .office-avatar-option-media { animation: none; }
}
