.svoa-profile .org681g{padding:18px;color:#edf6ff;background:radial-gradient(ellipse at 30% 10%,#103666,#04132d 70%);border:1px solid #87c4ff33;border-radius:18px;font:12px/1.6 Arial,sans-serif}.org681g p{color:#adc8e8}.org681g .org-selectors,.org681g .org-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.org681g label{display:grid;gap:6px;flex:1;min-width:180px}.org681g :is(button,input,select){color:#edf6ff;border:1px solid #87c4ffa6;border-radius:18px;padding:9px 14px;background:linear-gradient(135deg,#1f65c447,#0d377e61);box-shadow:inset 0 1px 0 #ffffff1f;font:inherit}.org681g option{background:#08254d}.org681g button{cursor:pointer;transition:filter .18s}.org681g button:hover{filter:brightness(1.25)}.org681g :focus-visible{outline:2px solid #9fd6ff;outline-offset:3px}.org681g .org-canvas{height:420px;position:relative;overflow:hidden;touch-action:none;cursor:grab;background:radial-gradient(circle,#87c4ff20 1px,transparent 1px);background-size:24px 24px;border:1px solid #87c4ff33;border-radius:14px}.org681g .org-world{position:absolute;transform-origin:0 0}.org681g .org-edges{position:absolute;overflow:visible;pointer-events:none}.org681g path{fill:none;stroke:#65baff;stroke-width:2;filter:drop-shadow(0 0 5px #329dff)}.org681g .org-node{position:absolute;width:180px;height:155px;text-align:center;transition:filter .2s,opacity .2s}.org681g .org-node svg{display:block;width:105px;height:105px;margin:auto;filter:drop-shadow(0 0 12px #008cff66)}.org681g .org-node strong{position:absolute;top:35px;left:0;right:0;font-size:24px;color:#b8e7ff;pointer-events:none}.org681g .org-node span{display:block;overflow-wrap:anywhere}.org681g .org-node:hover{filter:brightness(1.3)}.org681g .org-dim{opacity:.25}.org681g select:disabled{opacity:.7}@media(prefers-reduced-motion:reduce){.org681g *{transition:none!important}}

/* TASK681J: bounded six/eight-track Subject toolbar; existing menu DOM and handlers retained. */
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;
 padding:7px 0;box-sizing:border-box;width:100%;min-width:0;max-width:100%;
 overflow:visible;container-type:inline-size;align-items:center;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs:has(.chain-split.is-expanded){
 grid-template-columns:repeat(8,minmax(0,1fr));
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs > :is([role="tab"],.chain-split){
 box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:36px;min-height:36px;margin:0;flex:none;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs :is([role="tab"],.chain-mode-menu button){
 box-sizing:border-box;flex:none;width:100%;min-width:0;max-width:100%;height:36px;min-height:36px;margin:0;padding:8px clamp(2px,1cqi,9px);font:700 clamp(9px,1.8cqi,12px)/18px Arial,sans-serif;letter-spacing:normal;white-space:nowrap;text-align:center;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs > .chain-split{
 display:grid;grid-template-columns:minmax(0,1fr);position:relative;gap:3px;justify-content:normal;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs .chain-split > [role="tab"]{
 grid-column:1;padding-inline:4px 22px;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs .chain-toggle{
 position:absolute;top:0;right:0;box-sizing:border-box;flex:none;width:22px;min-width:0;max-width:22px;height:36px;min-height:36px;padding:0;margin:0;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs .chain-toggle span{
 font:16px/18px Arial,sans-serif;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs .chain-split .chain-mode-menu{
 display:none;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs > .chain-split.is-expanded{
 grid-column:span 3;grid-template-columns:subgrid;background-size:calc((100% - 6px)/3) 100%;background-repeat:no-repeat;box-shadow:none;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs .chain-split.is-expanded .chain-toggle{
 right:auto;left:calc((100% - 6px)/3 - 22px);
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs .chain-split.is-expanded .chain-mode-menu{
 display:contents;
}
html body :is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile):is(#information-detail-overlay,.svoa-native-profile)[data-source-entity-type="SUBJECT"] .svoa-profile .svoa-tabs [role="tab"]:hover{
 filter:brightness(1.2);background-color:#87c4ff18;
}
.svoa-profile .org681g{padding:12px;line-height:1.4}
.org681g .org-selectors,.org681g .org-tools{gap:8px;margin-bottom:10px}
.org681g label{gap:4px;min-width:160px}
.org681g small{font-size:10px;font-weight:normal;color:#adc8e8;margin-left:4px}
.org681g :is(button,input,select){padding:6px 10px;min-width:0;max-width:100%;box-sizing:border-box}
.org681g [role="status"]{margin:6px 0}
.org681g [hidden]{display:none!important}

/* TASK683: canonical select chevron inset for the two Organization fields. */
.org681g .org-selectors select[data-parent]{
 appearance:none;-webkit-appearance:none;padding-right:42px;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235a7898' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),linear-gradient(135deg,#1f65c447,#0d377e61);
 background-repeat:no-repeat;background-position:calc(100% - 13px) 50%,0 0;background-size:18px 18px,100% 100%;
}

/* TASK685: anchored, searchable parent comboboxes. */
.org681g .org-parent-field{position:relative;flex:1;min-width:180px;display:grid;gap:5px}
.org681g .org-combo{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;text-align:left;padding:7px 13px;border-radius:10px}
.org681g .org-combo [data-value]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.org681g .org-chevron{display:block;flex:0 0 18px;width:18px;height:18px;margin:0;align-self:center;color:#5a7898}
.org681g .org-combo:disabled{opacity:.7;cursor:default}
.org681g .org-popup{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:100;min-width:220px;padding:8px;background:#08254d;border:1px solid #87c4ff70;border-radius:12px;box-shadow:0 16px 40px #00102999}
.org681g .org-popup input{width:100%;border-radius:8px;margin-bottom:6px}
.org681g [data-options]{max-height:250px;overflow:auto;overscroll-behavior:contain}
.org681g [role=option]{display:block;width:100%;text-align:left;border:0;border-radius:6px;background:transparent;box-shadow:none;padding:7px 9px}
.org681g [role=option]:hover,.org681g [role=option][aria-selected=true]{background:#2360a766}
.org681g .org-group{padding:9px 9px 4px;color:#9bc9fa;font-size:11px;font-weight:700}

/* TASK688: accessible Subject View navigation target. */
.org681g .org-node[data-subject-id]{cursor:pointer}
.org681g .org-node[data-subject-id]:is(:hover,:focus-visible){filter:brightness(1.15) drop-shadow(0 0 7px #65baff55)}

/* TASK716: status optics only; layout, hit targets, names and connections stay intact. */
.org681g .org-node:is([data-org-status="ended"],[data-org-status="issue"],[data-org-status="unknown"]){filter:none!important}
.org681g .org-node:is([data-org-status="ended"],[data-org-status="issue"],[data-org-status="unknown"])>svg{filter:none!important;opacity:.55}
.org681g .org-node:is([data-org-status="ended"],[data-org-status="issue"],[data-org-status="unknown"])>svg :not(defs):not(defs *){filter:none!important}
.org681g .org-node:is([data-org-status="ended"],[data-org-status="issue"],[data-org-status="unknown"])>svg [filter*="glow"]{display:none}
.org681g .org-node:is([data-org-status="ended"],[data-org-status="issue"])>strong{opacity:.7}
.org681g .org-node .org-status-icon{position:absolute;top:6px;right:28px;width:24px;height:24px;color:#ff555f;overflow:visible}
.org681g .org-node[data-org-status="issue"] .org-status-icon{color:#ffd34d}
.org681g .org-node .org-status-icon svg{width:24px;height:24px;margin:0;filter:none;fill:#081b35;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.org681g .org-status-icon svg path{stroke:currentColor;filter:none}

/* TASK793 — empty Create canvas is intentional, not a global org chart.
   Keep the standard SVOA dark glass appearance and readable spacing. */
.org681g .org-canvas[data-empty="true"]::after {
  content:"Chọn cấp trên trực tiếp hoặc cấp trên cao nhất để xem sơ đồ dự kiến";
  box-sizing:border-box;
  position:absolute;
  inset:24px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:24px;
  color:#b8d5f4;
  font-size:13px;
  font-weight:600;
  line-height:1.6;
  letter-spacing:.01em;
  border:1px dashed rgba(122,186,252,.25);
  border-radius:12px;
  background:rgba(8,35,75,.12);
  pointer-events:none;
}
.org681g .org-node.org-draft-793 {
  filter:drop-shadow(0 0 6px rgba(56,175,241,.35));
}
.org681g .org-node.org-draft-793 > span {
  color:#cae3ff;
}
