/* TASK767: Subject-inspired semantic Action cards. V fields/backend keys are unchanged. */
#verb-profile .v2-fields{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;padding:0!important}
#verb-profile .verb-profile-card-767{--tone:#398dff;--tone-bg:rgba(43,109,192,.40);border:1px solid rgba(126,174,232,.27);border-radius:19px;overflow:visible;background:linear-gradient(155deg,rgba(16,56,110,.74),rgba(6,34,76,.84));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
#verb-profile .verb-profile-card-767[data-tone=purple]{--tone:#a276ff;--tone-bg:rgba(112,68,165,.45)}
#verb-profile .verb-profile-card-767[data-tone=teal]{--tone:#21cba8;--tone-bg:rgba(22,128,119,.40)}
#verb-profile .verb-profile-card-767[data-tone=cyan]{--tone:#41b7e9;--tone-bg:rgba(31,119,149,.40)}
#verb-profile .verb-profile-card-767[data-tone=amber]{--tone:#eeb564;--tone-bg:rgba(148,108,44,.38)}
#verb-profile .verb-profile-card-767[data-tone=green]{--tone:#31c794;--tone-bg:rgba(24,125,94,.40)}
#verb-profile .verb-profile-card-head-767{display:flex;align-items:center;gap:12px;padding:13px 16px;background:var(--tone-bg);border-radius:18px 18px 0 0;border-bottom:1px solid rgba(255,255,255,.07)}
#verb-profile .verb-profile-card-icon-767{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:var(--tone);color:#fff;font-weight:800;font-size:17px}
#verb-profile .verb-profile-card-head-767 h3{font-size:14px;line-height:1.3;font-weight:750;color:#fff;margin:0 0 3px}
#verb-profile .verb-profile-card-head-767 p{font-size:10px;line-height:1.4;color:#d3e5fa;margin:0}
#verb-profile .verb-profile-card-body-767{display:grid;gap:12px;padding:14px 16px 16px}
#verb-profile .verb-profile-subcard-767{min-width:0;padding:12px;border:1px solid rgba(144,184,233,.19);background:rgba(13,47,98,.26);border-radius:14px}
#verb-profile .verb-profile-subcard-767 h4{margin:0;color:#ffffff;font-weight:750;font-size:14px;line-height:1.35;letter-spacing:0}
#verb-profile .verb-profile-fields-767{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#verb-profile .verb-profile-fields-767>.atosy-subject-detail-v5-edit-field{min-width:0}
#verb-profile .verb-profile-fields-767>.v2-wide{grid-column:1/-1}
#verb-profile .verb-profile-fields-767 input:not([type=checkbox]),#verb-profile .verb-profile-fields-767 select,#verb-profile .verb-profile-fields-767 textarea{box-sizing:border-box;width:100%}
@media(max-width:650px){#verb-profile .verb-profile-fields-767{grid-template-columns:minmax(0,1fr)}#verb-profile .verb-profile-card-body-767{padding:10px}#verb-profile .verb-profile-card-head-767{padding:12px}}

/* TASK769 — Subject-style label/control rhythm, scoped to Verb cards only. */
#verb-profile .verb-profile-fields-767 > .atosy-subject-detail-v5-edit-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 7px !important;
}
#verb-profile .verb-profile-fields-767 > .atosy-subject-detail-v5-edit-field > span:first-child {
  display: block !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}
#verb-profile .verb-profile-fields-767 > .atosy-subject-detail-v5-edit-field > :is(input,select,textarea,.verb-category-field-766) {
  margin-top: 0 !important;
}

/* TASK773: single-line field controls share exactly one size across text, numeric, enum and picker. */
#verb-profile .verb-profile-fields-767 {
  --verb-input-height-773: 44px;
}
#verb-profile .verb-profile-fields-767 > .atosy-subject-detail-v5-edit-field > :is(input:not([type="hidden"]):not([type="checkbox"]), select),
#verb-profile .verb-profile-fields-767 .verb-category-field-766 > [data-category-picker-766] {
  box-sizing: border-box !important;
  height: var(--verb-input-height-773) !important;
  min-height: var(--verb-input-height-773) !important;
  max-height: var(--verb-input-height-773) !important;
  padding-block: 0 !important;
  line-height: normal !important;
  border-radius: 12px !important;
}
#verb-profile .verb-profile-fields-767 > .atosy-subject-detail-v5-edit-field > select {
  appearance: auto;
  align-self: stretch !important;
}
#verb-profile .verb-profile-fields-767 textarea {
  height: auto !important;
  min-height: 82px !important;
  max-height: none !important;
}
#verb-profile .verb-profile-fields-767 input[type="checkbox"] {
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
}

/* TASK774: approval is a boolean switch, not a miniature text input. */
#verb-profile .verb-profile-fields-767 > .atosy-subject-detail-v5-edit-field:has(input[name="approval"]) {
  grid-column: 1 / -1;
}
#verb-profile .verb-profile-fields-767 input[name="approval"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 42px !important;
  height: 24px !important;
  min-width: 42px !important;
  min-height: 24px !important;
  max-width: 42px !important;
  max-height: 24px !important;
  display: inline-block !important;
  position: relative;
  flex: none;
  padding: 0 !important;
  border: 1px solid rgba(153,185,230,.50) !important;
  border-radius: 999px !important;
  background: #405575 !important;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
#verb-profile .verb-profile-fields-767 input[name="approval"]::before {
  content:"";
  position:absolute;
  width:18px;
  height:18px;
  top:2px;
  left:2px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 1px 4px rgba(0,0,0,.25);
  transition:transform .18s ease;
}
#verb-profile .verb-profile-fields-767 input[name="approval"]:checked {
  background: #197fe9 !important;
  border-color: #6bbaff !important;
}
#verb-profile .verb-profile-fields-767 input[name="approval"]:checked::before {
  transform:translateX(18px);
}
#verb-profile .verb-profile-fields-767 input[name="approval"]:focus-visible {
  outline:2px solid #a3dbff !important;
  outline-offset:3px;
}
#verb-profile .verb-profile-fields-767 input[name="approval"]:disabled {
  cursor:default;
}

/* TASK809: subsection title and explanation outrank field labels. */
#verb-profile .verb-profile-subcard-heading-809{display:flex;flex-direction:column;gap:3px;margin:0 0 13px}
#verb-profile .verb-profile-subcard-heading-809 h4{margin:0!important;color:#fff!important;font-size:14px!important;font-weight:750!important;line-height:1.35!important}
#verb-profile .verb-profile-subcard-heading-809 p{margin:0;color:#b9d3f0;font-size:11px;font-weight:400;line-height:1.45}
#verb-profile .verb-profile-fields-767>.atosy-subject-detail-v5-edit-field>span:first-child{font-size:12px!important;font-weight:600!important;color:#c9ddf5!important}

/* TASK825: restrained semantic glow for six major Action card icons. */
#verb-profile .verb-profile-card-767 > .verb-profile-card-head-767 .verb-profile-card-icon-767{
 position:relative;isolation:isolate;
 box-shadow:0 0 0 1px color-mix(in srgb,var(--tone) 66%,white 34%),0 0 12px 2px color-mix(in srgb,var(--tone) 52%,transparent),0 0 25px 5px color-mix(in srgb,var(--tone) 24%,transparent),inset 0 1px 1px rgba(255,255,255,.24);
 text-shadow:0 0 7px rgba(255,255,255,.40);
 transition:box-shadow .2s ease;
}
#verb-profile .verb-profile-card-767 > .verb-profile-card-head-767:hover .verb-profile-card-icon-767{
 box-shadow:0 0 0 1px color-mix(in srgb,var(--tone) 60%,white 40%),0 0 15px 3px color-mix(in srgb,var(--tone) 60%,transparent),0 0 29px 6px color-mix(in srgb,var(--tone) 30%,transparent),inset 0 1px 1px rgba(255,255,255,.3);
}
@media(prefers-reduced-motion:reduce){#verb-profile .verb-profile-card-767 .verb-profile-card-icon-767{transition:none}}
