/* My Info: compact, readable details without changing Tour Office profiles. */
.member-profile-dialog .scoodle-player-profile.active {
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:16px; align-items:start;
}
.member-profile-dialog .scoodle-player-profile .profile-detail-card {
  margin:0; border:1px solid #d5e0dc; border-radius:8px; box-shadow:none;
}
.member-profile-dialog .scoodle-player-profile .admin-profile-section-head {
  background:#eff4f2!important; color:#163f35!important;
  padding:12px 16px!important; gap:8px; border-bottom:1px solid #d5e0dc!important;
}
.member-profile-dialog .scoodle-player-profile .admin-profile-section-head strong {
  color:#163f35!important; font:600 17px/1.3 Arial,sans-serif!important; letter-spacing:0;
}
.member-profile-dialog .scoodle-player-profile .profile-section-icon { width:20px; height:20px; flex-basis:20px; color:#163f35; }
.member-profile-dialog .scoodle-player-profile :is(.member-profile-info-view-grid,.member-profile-info-edit-grid) {
  display:grid; grid-template-columns:minmax(0,1fr);
  grid-template-areas:"name" "nickname" "phone" "email" "address";
  gap:10px; padding:14px 16px;
}
.member-profile-dialog .scoodle-player-profile :is(.member-profile-golf-view-grid,.member-profile-golf-edit-grid) {
  display:grid; grid-template-columns:minmax(0,1fr);
  grid-template-areas:"index" "ghin" "ghinName" "preference" "gender" "age" "dob" "category";
  gap:4px; padding:10px 16px;
}
.member-profile-dialog .member-profile-golf-edit-row { display:contents; }
.member-profile-dialog .admin-field.profile-golf-ghin { grid-area:ghin; }
.member-profile-dialog .admin-field.profile-golf-index { grid-area:index; }
.member-profile-dialog .admin-field.profile-golf-ghin-name { grid-area:ghinName; }
.member-profile-dialog .admin-field.profile-golf-preference { grid-area:preference; }
.member-profile-dialog .admin-field.profile-golf-gender { grid-area:gender; }
.member-profile-dialog .admin-field.profile-golf-age { grid-area:age; }
.member-profile-dialog .admin-field.profile-golf-dob { grid-area:dob; }
.member-profile-dialog .admin-field.profile-golf-category { grid-area:category; }
.member-profile-dialog .scoodle-player-profile :is(.member-profile-view-field,.admin-field) {
  grid-template-columns:minmax(0,1fr); gap:5px; width:100%; max-width:100%; min-width:0;
}
.member-profile-dialog .scoodle-player-profile :is(.member-profile-view-field,.admin-field,.profile-address-editor) > span {
  color:#304c50; font:650 13px/1.3 Arial,sans-serif!important;
}
.member-profile-dialog .scoodle-player-profile .member-profile-view-field > span::after { content:none; }
.member-profile-dialog .scoodle-player-profile .profile-label-icon { color:#57736b; width:16px; height:16px; flex-basis:16px; }
.member-profile-dialog .scoodle-player-profile .admin-profile-view-item {
  min-height:0; line-height:1.4; align-items:baseline;
}
.member-profile-dialog .scoodle-player-profile .admin-profile-view-item strong {
  color:#173449; font:400 16px/1.4 Arial,sans-serif; letter-spacing:0; overflow-wrap:anywhere;
}
.member-profile-dialog .scoodle-player-profile .profile-info-name .admin-profile-view-item strong {
  font:600 22px/1.3 Arial,sans-serif; color:#163f35;
}
.member-profile-dialog .profile-info-number { display:inline-block; margin-left:6px; color:#526962; font:600 16px/1.3 Arial,sans-serif; white-space:nowrap; }
.member-profile-dialog .scoodle-player-profile .profile-golf-index .admin-profile-view-item strong { font-size:22px; font-weight:600; }
.member-profile-dialog .scoodle-player-profile .admin-profile-view-item strong.empty { font-size:15px; color:#687774; }
.member-profile-dialog .scoodle-player-profile .admin-field :is(input:not([type=hidden]),select) {
  height:36px; min-height:36px; border-color:#afc1b9; border-radius:var(--scoodle-control-radius,6px);
  padding:6px 8px; font:400 16px/1.2 Arial,sans-serif;
}
.member-profile-dialog .scoodle-player-profile :is(.profile-golf-index,.profile-golf-age) input { max-width:76px; }
.member-profile-dialog .scoodle-player-profile .profile-golf-ghin input { max-width:var(--scoodle-field-short,110px); }
.member-profile-dialog .scoodle-player-profile .profile-address-fields {
  grid-template-columns:minmax(0,1fr) 56px 82px; gap:10px 8px;
}
.member-profile-dialog .profile-address-fields > :first-child { grid-column:1/-1; }
.member-profile-dialog .profile-address-editor { gap:8px; }
body[data-welcome-dialogs] #clubhouseModalRoot .member-profile-dialog .clubhouse-dialog-head > div:first-child { display:block; max-width:340px; }
body[data-welcome-dialogs] #clubhouseModalRoot .member-profile-dialog [data-clubhouse-modal-title] { display:inline!important; }
body[data-welcome-dialogs] #clubhouseModalRoot .member-profile-dialog [data-clubhouse-modal-subtitle] {
  display:inline!important; margin:0 0 0 8px!important; white-space:nowrap;
  font:600 17px/1.3 Arial,sans-serif!important; color:#526962!important;
}
@media(max-width:900px) {
  .member-profile-dialog .scoodle-player-profile.active { grid-template-columns:minmax(0,1fr); gap:12px; }
}
@media(max-width:600px) {
  .member-profile-dialog .scoodle-player-profile :is(.member-profile-info-view-grid,.member-profile-info-edit-grid) { padding:12px 14px; gap:10px; }
  .member-profile-dialog .scoodle-player-profile :is(.member-profile-golf-view-grid,.member-profile-golf-edit-grid) { padding:10px 14px; gap:4px; }
  .member-profile-dialog .scoodle-player-profile .admin-profile-section-head { padding:10px 14px!important; }
  body[data-welcome-dialogs] #clubhouseModalRoot .member-profile-dialog [data-clubhouse-modal-subtitle] { font-size:15px!important; margin-left:5px!important; }
  body[data-welcome-dialogs] #clubhouseModalRoot .member-profile-dialog .profile-header-photo .admin-profile-upload-button { width:44px!important; box-sizing:border-box; padding:3px 0!important; white-space:normal; text-align:center; font-size:10px!important; }
}

/* Personal details use recognizable icons; retain text for accessible labels. */
.member-profile-dialog .scoodle-player-profile .profile-info-card :is(.member-profile-view-field,.admin-field):has(>span .profile-label-icon),
.member-profile-dialog .scoodle-player-profile .profile-address-editor {
  grid-template-columns:28px minmax(0,1fr); column-gap:10px; align-items:center;
}
.member-profile-dialog .profile-info-card > :is(.member-profile-info-view-grid,.member-profile-info-edit-grid) .profile-label-icon {
  width:25px; height:25px; flex-basis:25px; color:#315d50;
}
.member-profile-dialog .profile-info-card span:has(>.profile-label-icon) > .profile-label-text {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap; border:0;
}
.member-profile-dialog .scoodle-player-profile .profile-golf-card :is(.member-profile-view-field,.admin-field) {
  grid-template-columns:132px minmax(0,1fr); align-items:center; gap:8px; min-height:27px;
}
.member-profile-dialog .scoodle-player-profile .profile-golf-card .admin-profile-view-item strong { font:400 16px/1.35 Arial,sans-serif; }
.member-profile-dialog .profile-golf-card .profile-label-text { font:inherit; color:inherit; }
.member-profile-dialog .scoodle-player-profile .profile-golf-card .admin-field.profile-golf-category { grid-template-columns:100px minmax(0,1fr); }
.member-profile-dialog .scoodle-player-profile .profile-golf-card .admin-field.profile-golf-dob { grid-template-columns:70px minmax(0,1fr); }
.member-profile-dialog .scoodle-player-profile .admin-dob-selects { grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.2fr); gap:4px; width:100%; }
.member-profile-dialog .profile-info-card .profile-address-fields { grid-column:2; }
@media(max-width:359px) {
  .member-profile-dialog .scoodle-player-profile .profile-golf-card :is(.member-profile-view-field,.admin-field) { grid-template-columns:116px minmax(0,1fr); gap:6px; }
  .member-profile-dialog .scoodle-player-profile .profile-golf-card .admin-field.profile-golf-dob { grid-template-columns:60px minmax(0,1fr); }
  .member-profile-dialog .scoodle-player-profile .profile-address-fields { grid-template-columns:minmax(0,1fr) 48px 70px; gap:8px 6px; }
}
