/* SportCV extended profile — unified compact modal owner editing, v816. */

.scv-profile-section-nav [data-scv-profile-more="true"] { display: none !important; }
.scv-profile-section-nav-shell { overflow: visible; }
.scv-profile-section-nav {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.scv-profile-section-nav > button {
  width: auto;
  min-width: 0;
  flex: 1 1 0;
}
.scv-profile-section-nav .scv-profile-more-button[hidden] { display: none !important; }
.scv-profile-section-nav .scv-profile-more-button { display: flex !important; order: 5; }
.scv-profile-section-nav .scv-profile-more-button[aria-current="true"] { color: #1d4ed8; }
.scv-profile-section-nav .scv-profile-more-button[aria-current="true"]::after { background: #2563eb; }
.scv-profile-section-nav [data-scv-profile-tab="media"] { order: 1; }
.scv-profile-section-nav [data-scv-profile-tab="sport-details"] { order: 2; }
.scv-profile-section-nav [data-scv-profile-tab="performance"] { order: 3; }
.scv-profile-section-nav [data-scv-profile-tab="achievements"] { order: 4; }

.scv-profile-more-menu {
  position: absolute;
  z-index: 45;
  top: calc(100% + 6px);
  right: 4px;
  display: grid !important;
  width: min(300px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #d7e3ef;
  border-radius: 15px;
  padding: 7px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 43, 77, .18);
}
.scv-profile-more-menu[hidden] { display: none !important; }
.scv-profile-more-menu button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #fff;
  color: #40546a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}
.scv-profile-more-menu button:hover,
.scv-profile-more-menu button:focus-visible { background: #f1f6fd; color: #1658bd; outline: none; }
.scv-profile-more-menu button[aria-current="true"] { background: #eaf3ff; color: #1557c0; }
.scv-profile-more-menu button[aria-current="true"]::after { float: right; content: "✓"; }

.scv-extended-save,
.scv-extended-add,
.scv-extended-remove {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #c8d9e9;
  border-radius: 11px;
  padding: 9px 15px;
  background: #fff;
  color: #17436f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.scv-extended-add:hover { border-color: #91b8dd; background: #f4f9ff; }
.scv-extended-save {
  min-width: 136px;
  border-color: #0966dd;
  background: linear-gradient(135deg, #0b70ee, #075bc9);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 108, 236, .16);
}
.scv-extended-save:hover { background: linear-gradient(135deg, #0864d8, #064eaf); transform: translateY(-1px); }
.scv-extended-remove {
  min-height: 34px;
  border-color: #e7c5ca;
  border-radius: 9px;
  padding: 7px 11px;
  background: #fff;
  color: #aa2b3d;
  font-size: 11px;
  box-shadow: none;
}
.scv-extended-remove:hover { border-color: #dda2ab; background: #fff6f7; }
.scv-extended-save:focus-visible,
.scv-extended-add:focus-visible,
.scv-extended-remove:focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: 2px; }

.scv-extended-profile-panel > .card {
  overflow: hidden;
  border: 1px solid #dbe5ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 51, 84, .055);
}
.scv-extended-profile-panel > .card > .card-body { padding: 23px 24px 21px; }
.scv-extended-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 19px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8eef5;
}
.scv-extended-section-head h2.card-title {
  margin: 0;
  color: #092848;
  font-size: 21px;
  font-weight: 820;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.scv-extended-section-description {
  max-width: 690px;
  margin: 6px 0 0;
  color: #637489;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
}

.scv-extended-form { display: grid; gap: 14px; }
.scv-extended-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.scv-extended-field { display: grid; min-width: 0; gap: 7px; }
.scv-extended-field.scv-span-2 { grid-column: 1 / -1; }
.scv-extended-field > span {
  color: #304a64;
  font-size: 12px;
  font-weight: 790;
  letter-spacing: .005em;
}
.scv-extended-field input,
.scv-extended-field select,
.scv-extended-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c8d7e6;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #102b47;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.scv-extended-field textarea { min-height: 86px; resize: vertical; }
.scv-extended-field input::placeholder,
.scv-extended-field textarea::placeholder { color: #8a9aab; }
.scv-extended-field input:hover,
.scv-extended-field select:hover,
.scv-extended-field textarea:hover { border-color: #aabfd3; }
.scv-extended-field input:focus,
.scv-extended-field select:focus,
.scv-extended-field textarea:focus {
  border-color: #438ce8;
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .11);
}
.scv-extended-form.is-validated .scv-extended-field input:invalid,
.scv-extended-form.is-validated .scv-extended-field select:invalid,
.scv-extended-form.is-validated .scv-extended-field textarea:invalid { border-color: #d94a5e; }

.scv-extended-check-group {
  display: grid;
  gap: 8px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.scv-extended-check-legend { color: #304a64; font-size: 12px; font-weight: 800; }
.scv-extended-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scv-extended-check {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 7px 10px;
  background: #fff;
  color: #3a5069;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.scv-extended-check:has(input:checked) { border-color: #8ab7eb; background: #edf6ff; color: #164f95; }
.scv-extended-check input { width: 17px; height: 17px; margin: 0; accent-color: #0b6cec; }
.scv-extended-public-check {
  width: 100%;
  min-height: 44px;
  justify-self: stretch;
  justify-content: space-between;
  border-color: #c9dced;
  border-radius: 11px;
  padding: 9px 12px;
  background: #f7faff;
}
.scv-extended-public-check span { order: 1; }
.scv-extended-public-check input {
  position: relative;
  order: 2;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #aebdcb;
  cursor: pointer;
  transition: background-color .16s ease;
}
.scv-extended-public-check input::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  content: "";
  transition: transform .16s ease;
}
.scv-extended-public-check input:checked { background: #1473e6; }
.scv-extended-public-check input:checked::after { transform: translateX(16px); }

.scv-extended-repeater { display: grid; gap: 15px; }
.scv-extended-row {
  position: relative;
  display: grid;
  gap: 15px;
  overflow: hidden;
  border: 1px solid #dde6ef;
  border-radius: 16px;
  padding: 0 16px 16px;
  background: #fbfcfe;
}
.scv-extended-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #3b82e6;
  content: "";
}
.scv-extended-row-head {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -16px;
  border-bottom: 1px solid #e4ebf3;
  padding: 8px 14px 8px 19px;
  background: #f4f8fc;
}
.scv-extended-row-title { margin: 0; color: #123758; font-size: 14px; font-weight: 820; letter-spacing: -.01em; }
.scv-extended-add {
  width: 100%;
  border-style: dashed;
  border-color: #adc9e5;
  background: #f8fbff;
  color: #1559a8;
}
.scv-extended-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1px;
  border-top: 1px solid #e7edf4;
  padding-top: 13px;
}
.scv-extended-status { min-height: 20px; color: #5d7084; font-size: 12px; font-weight: 700; }
.scv-extended-status.is-error { color: #b42335; }
.scv-extended-status.is-success { color: #087443; }
.scv-extended-status.is-success::before { margin-right: 5px; content: "✓"; }

.scv-youth-safety-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 9px;
  border: 1px solid #efd599;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fffbf2;
  color: #705317;
  font-size: 12px;
  line-height: 1.45;
}
.scv-youth-safety-warning strong { color: #895c00; }
.scv-extended-row.scv-youth-public-selected { border-color: #dfb65b; box-shadow: 0 0 0 3px rgba(224, 159, 35, .09); }

.scv-extended-public-list { display: grid; gap: 0; }
.scv-extended-public-item {
  position: relative;
  border: 0;
  border-bottom: 1px solid #e7edf4;
  border-radius: 0;
  padding: 2px 0 17px 14px;
  background: transparent;
}
.scv-extended-public-item + .scv-extended-public-item { padding-top: 17px; }
.scv-extended-public-item:last-child { border-bottom: 0; padding-bottom: 1px; }
.scv-extended-public-item::before {
  position: absolute;
  top: 4px;
  bottom: 17px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: #4a8de4;
  content: "";
}
.scv-extended-public-item + .scv-extended-public-item::before { top: 19px; }
.scv-extended-public-item:last-child::before { bottom: 1px; }
.scv-extended-public-item h3 { margin: 0 0 8px; color: #113657; font-size: 15px; font-weight: 820; letter-spacing: -.012em; }
.scv-extended-public-item p { margin: 8px 0 0; color: #485f77; font-size: 13px; font-weight: 560; line-height: 1.52; white-space: pre-line; }
.scv-extended-meta { display: flex; flex-wrap: wrap; gap: 7px; color: #526b84; font-size: 11px; font-weight: 720; }
.scv-extended-meta span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  border: 1px solid #dce6ef;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f6f9fc;
}
.scv-extended-official-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 11px;
  border: 1px solid #b8d1ec;
  border-radius: 9px;
  padding: 7px 11px;
  background: #f2f8ff;
  color: #075fc9;
  font-size: 12px;
  font-weight: 780;
  text-decoration: none;
}
.scv-extended-official-link::after { margin-left: 6px; content: "↗"; }
.scv-extended-official-link:hover { background: #e8f3ff; text-decoration: underline; }

.scv-verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  border: 1px solid #9dd8b6;
  border-radius: 999px;
  padding: 3px 7px;
  background: #edfdf4;
  color: #087443;
  font-size: 10px;
  font-weight: 820;
  vertical-align: middle;
}

.scv-extended-dialog-backdrop {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 25, 47, .62);
}
.scv-extended-dialog-backdrop[hidden] { display: none !important; }
.scv-extended-dialog {
  width: min(590px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid #dce6ef;
  border-radius: 20px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 26px 75px rgba(0, 0, 0, .3);
}
.scv-extended-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.scv-extended-dialog-head h2 { margin: 0; color: #112f4d; font-size: 21px; letter-spacing: -.02em; }
.scv-extended-dialog-close { width: 40px; height: 40px; border: 1px solid #d4e0eb; border-radius: 50%; background: #f7fbff; color: #173956; font-size: 21px; cursor: pointer; }
.scv-verification-list { display: grid; gap: 8px; margin-top: 16px; }
.scv-verification-item { border: 1px solid #dbe6ef; border-radius: 11px; padding: 11px 12px; background: #f9fcff; color: #425a72; font-size: 12px; }
.scv-verification-item strong { color: #153a5e; }

@media (max-width: 900px) {
  .scv-extended-profile-panel > .card > .card-body { padding: 21px 20px 19px; }
  .scv-extended-section-head h2.card-title { font-size: 20px; }
  .scv-extended-form-grid { gap: 12px; }
}

@media (max-width: 700px) {
  .scv-extended-profile-panel > .card { border-radius: 18px; }
  .scv-extended-profile-panel > .card > .card-body { padding: 18px 16px 16px; }
  .scv-extended-section-head { display: block; margin-bottom: 16px; padding-bottom: 14px; }
  .scv-extended-section-head h2.card-title { font-size: 19px; }
  .scv-extended-section-description { font-size: 12.5px; }
  .scv-extended-form { gap: 15px; }
  .scv-extended-form-grid { grid-template-columns: 1fr; }
  .scv-extended-field.scv-span-2 { grid-column: auto; }
  .scv-extended-field input,
  .scv-extended-field select,
  .scv-extended-field textarea { font-size: 16px; }
  .scv-extended-row { padding: 0 12px 13px; border-radius: 14px; }
  .scv-extended-row-head { min-height: 49px; margin: 0 -12px; padding-left: 17px; padding-right: 11px; }
  .scv-extended-form-actions { align-items: stretch; flex-direction: column; }
  .scv-extended-form-actions button { width: 100%; }
  .scv-extended-public-item { padding-left: 12px; }
  .scv-extended-meta { gap: 6px; }
  .scv-youth-safety-warning { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .scv-extended-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scv-extended-check { min-width: 0; }
  .scv-extended-public-check { width: 100%; }
  .scv-extended-save { min-width: 0; }
}

/* v736 view-first owner sections: clean title + pencil, form only while editing. */
.scv-extended-form[hidden],
.scv-owner-section-view[hidden],
.scv-owner-section-edit[hidden] { display: none !important; }

body.owner-mode .scv-extended-profile-panel > .card {
  overflow: hidden;
  border: 1px solid #e1e7ee;
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(19, 43, 70, .035);
}
body.owner-mode .scv-extended-profile-panel > .card > .card-body { padding: 0; }
body.owner-mode .scv-extended-profile-panel .scv-extended-section-head {
  min-height: 70px;
  align-items: center;
  margin: 0;
  border-left: 4px solid #1476ef;
  border-bottom: 1px solid #c8daf0;
  padding: 14px 17px 13px 20px;
  background: #dfeeff;
}
body.owner-mode .scv-extended-profile-panel .scv-extended-section-head h2.card-title {
  color: #0b0f14;
  font-size: 23px;
  font-weight: 790;
  letter-spacing: -.035em;
  line-height: 1.1;
}
body.owner-mode .scv-extended-profile-panel .scv-extended-section-description { display: none; }
body.owner-mode .scv-extended-profile-panel [data-scv-extended-content] { padding: 16px 20px 18px; }

.scv-owner-section-edit {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  color: #66707a;
  cursor: pointer;
}
.scv-owner-section-edit:hover { background: #f2f4f7; color: #273443; }
.scv-owner-section-edit:focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: 2px; }
.scv-owner-section-edit svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scv-owner-section-view { display: grid; gap: 15px; }
.scv-owner-summary-entry {
  display: grid;
  gap: 13px;
  border-bottom: 1px solid #e9eef3;
  padding: 0 0 17px;
}
.scv-owner-summary-entry + .scv-owner-summary-entry { padding-top: 2px; }
.scv-owner-summary-entry:last-child { border-bottom: 0; padding-bottom: 0; }
.scv-owner-summary-entry-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.scv-owner-summary-entry-head-no-title { min-height: 28px; justify-content: flex-end; margin-bottom: -3px; }
.scv-owner-summary-entry h3 { margin: 0; color: #16324e; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.scv-owner-visibility {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border: 1px solid #d9e2eb;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f7f9fb;
  color: #647386;
  font-size: 10px;
  font-weight: 760;
  white-space: nowrap;
}
.scv-owner-visibility.is-public { border-color: #bfe4ce; background: #f0fbf5; color: #187143; }
.scv-owner-visibility.is-mixed { border-color: #ead79c; background: #fff9e8; color: #765a00; }
.scv-owner-header-visibility { margin-left: auto; }
.scv-owner-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 24px; }
.scv-owner-detail { display: grid; min-width: 0; gap: 3px; }
.scv-owner-detail-wide { grid-column: 1 / -1; }
.scv-owner-detail-label {
  color: #788694;
  font-size: 10.5px;
  font-weight: 780;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
}
.scv-owner-detail-value { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; color: #20384f; font-size: 14px; font-weight: 600; line-height: 1.45; white-space: pre-line; }
.scv-owner-summary-text { min-width: 0; max-width: 100%; margin: 0; overflow-wrap: anywhere; word-break: normal; color: #425b73; font-size: 14px; font-weight: 560; line-height: 1.45; white-space: pre-line; }
.scv-owner-summary-link { justify-self: start; color: #0966d8; font-size: 12px; font-weight: 760; text-decoration: underline; text-underline-offset: 3px; }
.scv-owner-summary-empty {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  color: #718095;
  font-size: 13px;
  line-height: 1.4;
}
.scv-owner-summary-empty > span { min-width: 0; flex: 1 1 220px; overflow-wrap: anywhere; word-break: normal; }
.scv-owner-summary-empty button {
  max-width: 100%;
  min-height: 38px;
  flex: 0 0 auto;
  border: 1px solid #bfd2e5;
  border-radius: 10px;
  padding: 8px 12px;
  background: #f6faff;
  color: #145cac;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
  white-space: normal;
  cursor: pointer;
}
.scv-owner-saved {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf9f2;
  color: #117442;
  font-size: 11px;
  font-weight: 800;
}

.scv-extended-form-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.scv-extended-cancel {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd8e5;
  border-radius: 11px;
  padding: 9px 16px;
  background: transparent;
  color: #40556b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}
.scv-extended-cancel:hover { background: #f4f7fa; }

/* Public sections use the same minimal hierarchy, without owner controls. */
body:not(.owner-mode) .scv-extended-profile-panel .scv-extended-section-description { display: none; }
body:not(.owner-mode) .scv-extended-profile-panel .scv-extended-section-head { margin-bottom: 16px; padding-bottom: 14px; }
body:not(.owner-mode) .scv-extended-profile-panel .scv-extended-public-item { padding-left: 0; }
body:not(.owner-mode) .scv-extended-profile-panel .scv-extended-public-item::before { display: none; }

@media (max-width: 700px) {
  body.owner-mode .scv-extended-profile-panel .scv-extended-section-head { display: flex; min-height: 68px; padding: 13px 13px 12px 16px; gap: 8px; }
  body.owner-mode .scv-extended-profile-panel .scv-extended-section-head > div:first-child { min-width: 0; flex: 1 1 auto; }
  body.owner-mode .scv-extended-profile-panel .scv-extended-section-head h2.card-title { font-size: 18px; }
  body.owner-mode .scv-owner-header-visibility { max-width: 126px; margin-left: 0; white-space: normal; text-align: center; line-height: 1.15; }
  body.owner-mode .scv-extended-profile-panel [data-scv-extended-content] { padding: 15px 16px 17px; }
  .scv-owner-section-edit { width: 42px; height: 42px; flex-basis: 42px; }
  .scv-owner-section-edit svg { width: 27px; height: 27px; }
  .scv-owner-summary-grid { grid-template-columns: 1fr; gap: 11px; }
  .scv-owner-detail-wide { grid-column: auto; }
  .scv-owner-summary-entry-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .scv-owner-summary-empty { align-items: stretch; flex-direction: column; justify-content: center; }
  .scv-owner-summary-empty button { width: 100%; }
  .scv-extended-form-buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
  .scv-extended-cancel,
  .scv-extended-form-buttons .scv-extended-save { width: 100%; }
}

/* All Owner extended-section forms use the shared modal shell. */
.scv-owner-editor-modal-body {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}
.scv-owner-extended-editor .scv-owner-modal-form {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.scv-owner-extended-editor .scv-owner-editor-scroll {
  min-height: 0;
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  overflow: auto;
  overscroll-behavior: contain;
}
.scv-owner-extended-editor .scv-extended-form-grid { gap: 10px 12px; }
.scv-owner-extended-editor .scv-extended-field { gap: 5px; }
.scv-owner-extended-editor .scv-extended-field > span { font-size: 12px; }
.scv-owner-extended-editor .scv-extended-field input,
.scv-owner-extended-editor .scv-extended-field select,
.scv-owner-extended-editor .scv-extended-field textarea {
  min-height: 44px;
  border-radius: 10px;
  padding: 9px 11px;
}
.scv-owner-extended-editor .scv-extended-field textarea { min-height: 92px; }
.scv-owner-extended-editor .scv-extended-repeater { gap: 10px; }
.scv-owner-extended-editor .scv-extended-row {
  gap: 11px;
  border-radius: 12px;
  padding: 0 12px 12px;
}
.scv-owner-extended-editor .scv-extended-row-head {
  min-height: 46px;
  margin: 0 -12px;
  padding: 7px 11px 7px 16px;
}
.scv-owner-extended-editor .scv-extended-remove { min-height: 36px; }
.scv-owner-extended-editor .scv-extended-add { min-height: 44px; }
.scv-owner-extended-editor .scv-extended-checks { gap: 7px; }
.scv-owner-extended-editor .scv-extended-check { min-height: 40px; padding: 7px 9px; }
.scv-owner-extended-editor .scv-extended-public-check { min-height: 44px; }
.scv-owner-extended-editor .scv-youth-safety-warning { padding: 9px 11px; }
.scv-owner-extended-editor .scv-extended-form-actions {
  min-height: 68px;
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 18px;
  border-top: 1px solid #e1e8f1;
  background: #fff;
}
.scv-owner-extended-editor .scv-extended-status:empty { display: none; }
.scv-owner-extended-editor .scv-extended-form-buttons { margin-left: auto; }
.scv-owner-extended-editor .scv-extended-cancel,
.scv-owner-extended-editor .scv-extended-save { min-height: 44px; border-radius: 9px; }
.scv-owner-extended-editor .scv-extended-save[disabled] { opacity: .62; transform: none; cursor: wait; }
.scv-owner-extended-editor input:disabled {
  border-color: #dce4ed;
  background: #f1f4f8;
  color: #7d8996;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .scv-owner-extended-editor .scv-owner-editor-scroll { gap: 11px; padding: 14px 12px; }
  .scv-owner-extended-editor .scv-extended-form-grid { grid-template-columns: 1fr; }
  .scv-owner-extended-editor .scv-extended-field.scv-span-2 { grid-column: auto; }
  .scv-owner-extended-editor .scv-extended-field input,
  .scv-owner-extended-editor .scv-extended-field select,
  .scv-owner-extended-editor .scv-extended-field textarea { font-size: 16px; }
  .scv-owner-extended-editor .scv-extended-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scv-owner-extended-editor .scv-youth-safety-warning { grid-template-columns: 1fr; }
  .scv-owner-extended-editor .scv-extended-form-actions {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .scv-owner-extended-editor .scv-extended-status:not(:empty) { display: block; }
  .scv-owner-extended-editor .scv-extended-form-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
  }
  .scv-owner-extended-editor .scv-extended-cancel,
  .scv-owner-extended-editor .scv-extended-form-buttons .scv-extended-save { width: 100%; }
}
