/* Shared photographs on class lists and category hubs. */
body .polish-class-photo{display:block!important;position:relative!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;overflow:hidden!important;background:#08263f!important}
body .polish-class-photo img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transform:none!important;filter:none!important}
body .polish-photo-academy img,body .polish-photo-women img{object-position:50% 100%!important}
body .polish-photo-gochon img{inset:auto!important;top:-40.2778%!important;left:0!important;width:100%!important;height:auto!important;clip-path:inset(28.5185% 0 22.5926% 0)!important;object-fit:initial!important}
body .category-class-card{border-color:#d4dfe6!important;border-radius:0!important;box-shadow:none!important}
body .category-class-body{padding:24px!important}
body .category-class-card .summary-heading strong{font-size:25px!important;line-height:1.35!important;letter-spacing:-.04em}
body .category-class-card .hero-detail-link{min-height:48px;display:flex;align-items:center;color:#08263f!important}

/* Coach selection and the individual profile share the same canonical anchors. */
body #main-content #coaches {
  --staff-ink: #10272c;
  --staff-muted: #50615e;
  --staff-line: #c6cfca;
  --staff-paper: #f6f7f2;
  --staff-accent: #f2cd49;
  padding: 18px 0 clamp(46px, 6vw, 80px) !important;
  background: var(--staff-paper) !important;
}
body #main-content #coaches .frame {
  width: min(calc(100% - 64px), 1192px) !important;
  max-width: none !important;
  margin-inline: auto;
  padding: 0 !important;
}
body #main-content #coaches .route-backbar {
  min-height: 36px;
  margin: 0 0 10px !important;
}
body #coaches .staff-heading {
  margin-bottom: clamp(17px, 2vw, 28px);
  border-bottom: 2px solid var(--staff-ink);
  padding: 0 0 14px;
}
body #main-content #coaches .staff-heading h1 {
  margin: 0;
  color: var(--staff-ink);
  font: 865 clamp(2.25rem, 4.4vw, 3.6rem)/1.12 var(--club-type);
  letter-spacing: -.06em;
}
body #coaches .staff-directory {
  display: grid;
  grid-template-columns: minmax(204px, 21%) minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 3vw, 42px);
}
body #coaches .staff-index {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--staff-line);
}
body #coaches .staff-index a {
  display: grid;
  align-content: center;
  position: relative;
  gap: 3px;
  min-width: 0;
  min-height: 68px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--staff-line);
  color: var(--staff-ink) !important;
  text-decoration: none;
}
body #main-content #coaches .staff-index b {
  color: inherit !important;
  font: 760 1.1rem/1.3 var(--club-type);
  letter-spacing: -.035em;
}
body #main-content #coaches .staff-index small {
  color: var(--staff-muted) !important;
  font-size: .83rem;
  line-height: 1.45;
  word-break: keep-all;
}
body #coaches .staff-index a:hover { background: #e8ede7; }
body #main-content #coaches .staff-index a[aria-current] {
  background: var(--staff-ink);
  color: #fff !important;
  border-color: var(--staff-ink);
}
body #coaches .staff-index a[aria-current]::before {
  content: "";
  position: absolute;
  left: 0;
  inset-block: 11px;
  width: 3px;
  background: var(--staff-accent);
}
body #main-content #coaches .staff-index a[aria-current] small { color: #dce7de !important; }
body #coaches .staff-panels { display: block; min-width: 0; }
body #coaches .staff-profile {
  container: coach-profile / inline-size;
  min-width: 0;
  margin: 0 0 28px;
  scroll-margin-block-start: 118px;
}
body #coaches .staff-profile[hidden] { display: none !important; }
body #coaches .staff-feature {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "photo identity" "classes classes";
  align-items: stretch;
  background: white;
}
body #coaches .staff-portrait {
  grid-area: photo;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  background: var(--staff-ink);
}
/* Let the in-flow photo set the row height, including before it finishes loading. */
body #coaches .staff-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
body #coaches .staff-identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 38px);
  background: var(--staff-ink);
  color: white;
}
body #main-content #coaches .staff-identity h2 {
  margin: 0 !important;
  color: white !important;
  font: 780 clamp(2.75rem, 4.2vw, 3.75rem)/1.14 var(--club-type) !important;
  letter-spacing: -.035em !important;
  word-break: keep-all;
}
body #main-content #coaches .staff-role {
  margin: .35rem 0 0;
  color: var(--staff-accent) !important;
  font: 650 .96rem/1.45 var(--club-type);
  letter-spacing: 0;
  word-break: keep-all;
}
body #coaches .staff-highlights {
  display: grid;
  gap: .25rem;
  margin: 1rem 0 0;
  padding: .8rem 0 0;
  border-top: 1px solid #52666a;
  list-style: none;
}
body #main-content #coaches .staff-highlights li {
  margin: 0;
  color: #edf3f1 !important;
  font: 510 1.0625rem/1.5 var(--club-type);
  letter-spacing: -.01em;
  word-break: keep-all;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
body #coaches .staff-classes {
  grid-area: classes;
  min-width: 0;
  padding: clamp(20px, 2vw, 28px) clamp(22px, 2.5vw, 38px);
}
body #main-content #coaches :is(.staff-classes, .staff-career) h3 {
  margin: 0 !important;
  color: var(--staff-ink) !important;
  font: 720 clamp(1.125rem, 1.55vw, 1.3rem)/1.45 var(--club-type) !important;
  letter-spacing: -.025em !important;
}
body #coaches .staff-classes ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 26px;
  margin: .7rem 0 0;
  border-top: 1px solid var(--staff-line);
  padding: 0;
  list-style: none;
}
body #coaches .staff-class-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  align-content: center;
  gap: .65rem;
  min-height: 46px;
  box-sizing: border-box;
  padding: .55rem 0;
  border-bottom: 1px solid #d9e1dc;
  text-decoration: none;
}
body #main-content #coaches .staff-class-name {
  min-width: 0;
  color: var(--staff-ink) !important;
  font: 650 1.0625rem/1.5 var(--club-type);
  letter-spacing: -.02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body #coaches a.staff-class-row .staff-class-name,
body #coaches .staff-enroll {
  text-decoration: underline;
  text-decoration-color: #94a6a0;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
body #main-content #coaches .staff-class-meta {
  color: #435854 !important;
  font: 520 .9375rem/1.5 var(--club-type);
  text-align: right;
  word-break: keep-all;
}
body #coaches a.staff-class-row:hover { background: #f3f6f2; }
body #coaches a.staff-class-row:hover .staff-class-name,
body #coaches .staff-enroll:hover { text-decoration-color: currentColor; }
body #main-content #coaches .staff-enroll {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .35rem;
  color: var(--staff-ink) !important;
  font: 650 1rem/1.5 var(--club-type);
}
body #coaches .staff-career {
  padding: 0 clamp(22px, 2.5vw, 38px);
  border-top: 1px solid var(--staff-line);
  border-bottom: 1px solid var(--staff-line);
  background: white;
}
body #coaches .staff-career summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  color: var(--staff-ink) !important;
  cursor: pointer;
  list-style: none;
}
body #coaches .staff-career summary::-webkit-details-marker { display: none; }
body #coaches .staff-career summary::after {
  content: "";
  flex: 0 0 14px;
  height: 14px;
  background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
              linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
}
body #coaches .staff-career[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat;
}
body #coaches .staff-career .coach-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0 !important;
  padding: 0 0 12px;
}
body #coaches .staff-career .coach-details > div {
  display: grid;
  grid-template-columns: clamp(5rem, 17cqi, 8rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding: .75rem 0;
  border: 0;
  border-top: 1px solid #d9e1dc;
}
body #main-content #coaches .staff-career dt {
  margin: 0;
  color: #435854 !important;
  font: 650 .9375rem/1.55 var(--club-type);
  word-break: keep-all;
}
body #coaches .staff-career :is(dd, ul, li) {
  margin: 0;
  padding: 0;
  list-style: none;
}
body #coaches .staff-career ul { display: grid; gap: .25rem; }
body #main-content #coaches .staff-career li {
  color: var(--staff-ink) !important;
  font: 470 1rem/1.65 var(--club-type);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body #coaches :is(a,summary):focus-visible { outline: 3px solid #307078; outline-offset: 2px; z-index: 1; }
body #coaches .staff-profile:focus { outline: none; }
@container coach-profile (min-width: 36rem) and (max-width: 49.99rem) {
  body #coaches .staff-classes ul:has(> li:nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Place classes beside the portrait only when the profile itself has room. */
@container coach-profile (min-width: 50rem) {
  body #coaches .staff-feature {
    grid-template-rows: minmax(min-content, 1fr) auto;
    grid-template-areas: "photo identity" "photo classes";
  }
}
@media (max-width: 959px) {
  body #coaches .staff-directory { display: block; }
  body #coaches .staff-index {
    grid-template-columns: repeat(auto-fit, minmax(min(3.25rem, 100%), 1fr));
    margin-bottom: 16px;
    border-top: 0;
  }
  body #coaches .staff-index a {
    justify-items: center;
    min-height: 48px;
    color: var(--staff-muted) !important;
    padding: 8px 2px;
  }
  body #main-content #coaches .staff-index b { font-size: 1rem; font-weight: 620; }
  body #main-content #coaches .staff-index small { display: none; }
  body #main-content #coaches .staff-index a[aria-current] {
    color: var(--staff-ink) !important;
    background: transparent;
    border-color: var(--staff-ink);
  }
  body #main-content #coaches .staff-index a[aria-current] b { font-weight: 820; }
  body #coaches .staff-index a[aria-current]::before {
    inset: auto 0 0;
    width: auto;
    height: 2px;
    background: var(--staff-ink);
  }
  body #coaches .staff-profile { scroll-margin-block-start: 178px; }
}
@media (max-width: 639px) {
  body #main-content #coaches { padding-top: 6px !important; }
  body #main-content #coaches .frame { width: calc(100% - 28px) !important; }
  body #main-content #coaches .route-backbar { margin-bottom: 8px !important; }
  body #coaches .staff-heading { padding-bottom: 9px; margin-bottom: 7px; }
  body #main-content #coaches .staff-heading h1 { font-size: 2.15rem; }
  body #coaches .staff-index { margin-bottom: 12px; }
  body #main-content #coaches .staff-index b { font-size: clamp(.9375rem, 3.7vw, 1rem); }
  body #coaches .staff-feature {
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  }
  body #coaches .staff-identity { padding: 16px clamp(12px, 3.5vw, 20px); }
  body #main-content #coaches .staff-identity h2 { font-size: clamp(2rem, 8.6vw, 2.75rem) !important; }
  body #main-content #coaches .staff-role { font-size: .9rem; }
  body #coaches .staff-highlights { margin-top: .8rem; padding-top: .65rem; }
  body #main-content #coaches .staff-highlights li { font-size: 1rem; }
  body #coaches .staff-classes { padding: 19px 16px 20px; }
  body #coaches .staff-career { padding: 0 16px; }
  body #coaches .staff-profile { scroll-margin-block-start: 158px; }
}
@container coach-profile (max-width: 21rem) {
  body #coaches .staff-identity { padding: 12px; }
  body #coaches .staff-career .coach-details > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}
/* Give long Korean credentials their own line when little space remains beside the photo. */
@container coach-profile (min-width: 15.01rem) and (max-width: 19rem) {
  body #coaches .staff-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "photo name" "photo role" "facts facts" "classes classes";
    background: var(--staff-ink);
  }
  body #coaches .staff-identity { display: contents; }
  body #main-content #coaches .staff-identity h2 { grid-area: name; align-self: end; padding: 12px 12px 0; }
  body #main-content #coaches .staff-role { grid-area: role; align-self: start; padding: 0 12px 12px; }
  body #coaches .staff-highlights { grid-area: facts; gap: .15rem; margin: 0; padding: .65rem 1rem .8rem; }
  body #coaches .staff-classes { background: white; }
}
@container coach-profile (max-width: 15rem) {
  body #coaches .staff-feature {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "identity" "classes";
  }
  body #coaches .staff-class-row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  body #main-content #coaches .staff-class-meta { text-align: left; }
}

body .polish-seungyun-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#36516a;text-underline-offset:4px}

/* Essential contact fields first; optional questions stay out of the way. */
body .polish-application .polish-identity-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px 20px!important;margin-top:20px}
body .polish-application .polish-identity-field{min-width:0}
body .polish-application .polish-field-phone{grid-column:1/-1}
body .polish-application .polish-identity-field label{margin-top:0!important}
body .polish-application .polish-identity-field input{margin-bottom:0!important}
body .polish-application .field-hint{font-size:12px!important;line-height:1.7!important}
body .polish-application .polish-optional-fields{margin:20px 0!important;padding:0 16px!important;border:1px solid #d4dfe6!important;background:#f4f7f9!important}
body .polish-application .polish-optional-fields>summary{cursor:pointer;min-height:52px;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:#36516a;list-style:none}
body .polish-application .polish-optional-fields>summary span{font-weight:400;font-size:12px}
body .polish-application .polish-optional-fields>summary:after{content:'＋';margin-left:auto;font-size:18px}
body .polish-application .polish-optional-fields[open]>summary:after{content:'−'}
body .polish-application .polish-optional-fields>summary::-webkit-details-marker{display:none}
body .polish-application .polish-optional-fields[open]{padding-bottom:16px!important}
body .polish-application .password-control{display:flex!important;gap:6px!important;align-items:stretch!important}
body .polish-application .password-control input{min-width:0!important;flex:1!important;width:1px!important}
body .polish-application .password-control button{min-height:48px!important;flex-shrink:0!important;padding:0 10px!important;font-size:12px!important;white-space:nowrap!important;border:1px solid #b8cbd8!important;color:#08263f!important;background:#e7eff4!important}
body .polish-application #generatedPasswordStatus{color:#36516a!important;margin-top:6px}
body .polish-generated-password{padding:18px;background:#e7eff4;border:1px solid #b8cbd8;color:#08263f;line-height:1.8;margin:16px 0}
body .polish-generated-password strong{font-variant-numeric:tabular-nums;font-size:21px;letter-spacing:.05em;display:block}
body .polish-generated-password button{min-height:44px;padding:0 12px;margin-top:10px;background:#08263f;color:#fff;border:0}
@media(max-width:600px){
  body .category-class-body{padding:20px!important}
  body .category-class-card .summary-heading strong{font-size:23px!important}
  body .polish-application .polish-identity-fields{gap:10px 14px!important}
}
