/* TASK766: Subject-style searchable hierarchical category chooser within Verb profile. */
#verb-profile .verb-category-field-766{position:relative;min-width:0}
#verb-profile .verb-category-field-766>[data-category-picker-766]{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:8px 12px;border:1px solid rgba(126,177,232,.32);border-radius:11px;background:#08234b;color:#edf5ff;font:inherit;cursor:pointer}
#verb-profile .verb-category-field-766>[data-category-picker-766]:focus-visible{outline:2px solid #69b4ff;outline-offset:2px}
#verb-profile .verb-category-field-766>[data-category-picker-766]:disabled{opacity:.75;cursor:default}
#verb-profile .verb-category-popover-766{position:absolute;top:calc(100% + 5px);left:0;width:100%;min-width:min(340px,80vw);max-height:min(470px,65vh);display:flex;flex-direction:column;z-index:30010;box-sizing:border-box;border:1px solid rgba(130,184,250,.4);border-radius:13px;background:#09284e;box-shadow:0 14px 38px #00132eaa;color:#eaf4ff;overflow:hidden}
#verb-profile .verb-category-popover-title-766,#verb-profile .verb-category-popover-bottom-766{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px}
#verb-profile .verb-category-popover-title-766 button{background:transparent;color:#fff;border:0;font-size:21px;cursor:pointer}
#verb-profile .verb-category-popover-search-766{display:flex;align-items:center;gap:6px;margin:0 10px 8px;border:1px solid #5b95cf8a;border-radius:10px;padding:6px 10px}
#verb-profile .verb-category-popover-search-766 input{background:transparent;border:0;outline:none;width:100%;min-width:0;color:#fff;font:inherit}
#verb-profile .verb-category-popover-list-766{flex:1;overflow-y:auto;min-height:60px;padding:4px 8px;overscroll-behavior:contain}
#verb-profile .verb-category-popover-row-766{display:flex;align-items:stretch;margin:2px 0;padding-left:calc(var(--depth,0)*13px)}
#verb-profile .verb-category-popover-row-766 button{background:transparent;color:#eaf4ff;border:0;border-radius:7px;cursor:pointer}
#verb-profile .verb-category-popover-row-766 button:first-child{width:26px;flex:none}
#verb-profile .verb-category-popover-row-766 button:last-child{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:8px;gap:5px}
#verb-profile .verb-category-popover-row-766 button[aria-pressed=true]{background:rgba(54,137,231,.43)}
#verb-profile .verb-category-popover-row-766 button:last-child:hover{background:rgba(56,128,215,.25)}
#verb-profile .verb-category-popover-row-766 small{display:block;opacity:.65;font-size:10px;margin-top:3px}
#verb-profile .verb-category-popover-bottom-766{border-top:1px solid #ffffff24}
#verb-profile .verb-category-popover-bottom-766 [data-vcp-path]{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;opacity:.8}
#verb-profile .verb-category-popover-bottom-766 button{border:0;border-radius:9px;background:#1684ed;color:#fff;padding:9px 12px;white-space:nowrap;font-weight:700;cursor:pointer}

/* TASK770 — bounded nested picker geometry: no touching borders. */
#verb-profile .verb-profile-card-767[data-verb-card="taxonomy"] .verb-profile-fields-767{grid-template-columns:minmax(0,1fr)!important}
#verb-profile .verb-profile-card-767[data-verb-card="taxonomy"] .atosy-subject-detail-v5-edit-field{grid-column:1/-1!important}
#verb-profile .verb-profile-card-767[data-verb-card="taxonomy"] .verb-category-field-766,
#verb-profile .verb-profile-card-767[data-verb-card="taxonomy"] [data-category-picker-766]{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
#verb-profile .verb-category-popover-766{width:100%!important;min-width:0!important;max-width:100%!important}
#verb-profile .verb-category-popover-search-766{position:relative;display:flex!important;align-items:center!important;gap:9px!important;margin:12px 12px 10px!important;padding:0 12px!important;min-height:38px;box-sizing:border-box;border-radius:10px}
#verb-profile .verb-category-popover-search-766>span{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 14px!important;width:14px!important;height:18px!important;line-height:18px!important;margin:0!important;padding:0!important;transform:none!important}
#verb-profile .verb-category-popover-search-766 input{position:static!important;display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:34px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important}
#verb-profile .verb-category-popover-list-766{padding:6px 12px 10px!important}


/* TASK803 — ergonomic picker rows: full-row click and large independent
   disclosure arrows, aligned with the navy SVOA design language. */
#verb-profile .verb-category-popover-list-766 {
  scrollbar-gutter:stable;
  overflow-anchor:none;
  overscroll-behavior:contain;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] {
  box-sizing:border-box;
  min-height:44px;
  width:100%;
  align-items:center;
  gap:3px;
  margin:2px 0;
  padding:2px 6px 2px calc(5px + var(--depth,0)*13px);
  border-radius:10px;
  cursor:pointer;
  touch-action:manipulation;
  transition:background-color .14s ease;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row]:hover {
  background:rgba(72,145,235,.13);
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row]:focus-within {
  outline:1px solid rgba(112,184,255,.5);
  outline-offset:-1px;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand],
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > .verb-category-leaf-803 {
  box-sizing:border-box;
  flex:0 0 34px;
  width:34px;
  min-width:34px;
  height:36px;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border-radius:8px;
  font-family:inherit;
  line-height:1;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand] {
  font-size:12px;
  font-weight:600;
  color:#e4f3ff;
  background:rgba(40,94,163,.13);
  cursor:pointer;
  touch-action:manipulation;
  transition:background-color .14s ease, color .14s ease;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand]:hover {
  background:rgba(73,145,232,.3);
  color:#fff;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand]:focus-visible {
  outline:2px solid #89c5ff;
  outline-offset:-2px;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > .verb-category-leaf-803 {
  color:rgba(198,224,251,.62);
  font-size:16px;
  pointer-events:none;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-pick] {
  box-sizing:border-box;
  flex:1 1 auto;
  min-width:0;
  align-self:stretch;
  min-height:38px;
  margin:0;
  padding:3px 8px;
  background:transparent;
  border:0;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  cursor:pointer;
  touch-action:manipulation;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-pick] > span:first-child {
  min-width:0;
  overflow-wrap:anywhere;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-pick] > [data-vcp-check] {
  flex:0 0 auto;
  color:#c7e6ff;
  font-weight:700;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row].is-picked-803 {
  background:rgba(54,137,231,.28);
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row].is-picked-803 > [data-vcp-pick][aria-pressed=true] {
  background:transparent;
}

/* TASK804: category typography scoped by true tree depth. */
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-pick] > span:first-child{font-weight:400}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row][style*="--depth:0"] > [data-vcp-pick] > span:first-child{font-weight:700}
#verb-profile .verb-category-popover-title-766 [data-vcp-close]{min-width:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;position:relative;z-index:1;pointer-events:auto}

/* TASK826: refined taxonomy picker; levels align at row end. */
#verb-profile .verb-category-popover-766{background:linear-gradient(155deg,#0b2d55,#082345)!important;border-color:rgba(126,171,223,.32)!important;border-radius:15px!important;box-shadow:0 20px 48px rgba(0,13,35,.55)!important;color:#d3e3f6!important}
#verb-profile .verb-category-popover-title-766{border-bottom:1px solid rgba(126,171,223,.16);padding:12px 14px!important}
#verb-profile .verb-category-popover-title-766 strong{color:#e6f0fc;font-size:13px;font-weight:720}
#verb-profile .verb-category-popover-title-766 [data-vcp-close]{color:#adc6e3!important;font-size:19px!important;border-radius:9px;background:rgba(65,113,169,.12)!important}
#verb-profile .verb-category-popover-title-766 [data-vcp-close]:hover{background:rgba(71,135,206,.28)!important;color:#f0f7ff!important}
#verb-profile .verb-category-popover-search-766{background:rgba(4,27,61,.55)!important;border-color:rgba(110,160,216,.35)!important}
#verb-profile .verb-category-popover-search-766 input{color:#dbe9fa!important;font-size:12px!important}
#verb-profile .verb-category-popover-search-766 input::placeholder{color:#8aa6c8!important;opacity:1}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row]{min-height:42px;margin:2px 0;border:1px solid transparent;transition:background .15s,border-color .15s}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row]:hover{background:rgba(60,122,191,.16);border-color:rgba(114,167,226,.12)}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row].is-picked-803{background:rgba(39,104,185,.36);border-color:rgba(96,159,231,.44)}
#verb-profile .verb-category-popover-list-766 [data-vcp-pick]{color:#c5d9f0!important;font-size:12px!important}
#verb-profile .verb-category-popover-list-766 [data-vcp-pick] .vcp-name-826{min-width:0;flex:1 1 auto;font-weight:450;line-height:1.35;overflow-wrap:anywhere}
#verb-profile .verb-category-popover-list-766 [data-vcp-row][style*="--depth:0"] [data-vcp-pick] .vcp-name-826{font-weight:700;color:#e3effd}
#verb-profile .verb-category-popover-list-766 [data-vcp-pick] .vcp-level-826{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;margin:0 6px 0 auto;padding:3px 7px;border:1px solid rgba(124,166,215,.20);border-radius:999px;background:rgba(73,117,172,.14);font-size:10px!important;font-weight:500;color:#96b6d8;opacity:1;white-space:nowrap}
#verb-profile .verb-category-popover-list-766 [data-vcp-pick] [data-vcp-check]{width:15px;text-align:center;color:#9ccfff}
#verb-profile .verb-category-popover-bottom-766{background:rgba(5,26,54,.34);border-top-color:rgba(122,170,224,.23)}
#verb-profile .verb-category-popover-bottom-766 [data-vcp-path]{color:#a7c4e4;opacity:1}
#verb-profile .verb-category-popover-bottom-766 [data-vcp-confirm]{background:linear-gradient(135deg,#258bdc,#1574c6);color:#f4f9ff}

/* TASK827: compact tree rows; minimal disclosure button without mouse-focus ring. */
#verb-profile .verb-category-popover-list-766{padding:4px 9px 7px!important}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row]{
 min-height:34px!important;margin:1px 0!important;
 padding:1px 4px 1px calc(3px + var(--depth,0)*12px)!important;
 gap:2px!important;border-radius:8px!important;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand],
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > .verb-category-leaf-803{
 flex:0 0 16px!important;width:16px!important;min-width:16px!important;
 height:16px!important;min-height:16px!important;border-radius:4px!important;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand]{
 font-size:11px!important;background:rgba(40,94,163,.10)!important;
 outline:none!important;box-shadow:none!important;border:0!important;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand]:focus:not(:focus-visible){
 outline:none!important;box-shadow:none!important;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-expand]:focus-visible{
 outline:1px solid rgba(127,185,241,.65)!important;outline-offset:0!important;box-shadow:none!important;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row]:focus-within{
 outline:none!important;
}
#verb-profile .verb-category-popover-list-766 .verb-category-popover-row-766[data-vcp-row] > [data-vcp-pick]{
 min-height:30px!important;padding:2px 6px!important;gap:5px!important;
}
#verb-profile .verb-category-popover-list-766 [data-vcp-pick] .vcp-level-826{
 padding:2px 6px!important;margin-right:4px!important;font-size:9px!important;
}

/* TASK829: canonical field chevron — matches the Priority selector. */
#verb-profile .verb-category-field-766 > [data-category-picker-766] .verb-category-chevron-829{display:block;flex:0 0 8px;width:8px;height:8px;margin-right:4px;border-right:2px solid #7896b8;border-bottom:2px solid #7896b8;transform:rotate(45deg) translateY(-2px);border-radius:1px;pointer-events:none}
