/* V20.54.0 - advanced public org chart connections and per-node appearance */
.ocf{width:100%;min-width:0;--ocf-ink:#17324f;--ocf-muted:#68809b;--ocf-line:#9ab0ca;--ocf-blue:#2f6fb9}
.ocf *{box-sizing:border-box}
.ocf-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;font:12px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;color:#5b718c}
.ocf-zoom-tools,.ocf-mode-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ocf-mode-tools{padding:3px;border:1px solid #d6e0ec;border-radius:13px;background:#f7faff}
.ocf-mode-label{padding:0 5px 0 7px;font-weight:650;color:#587391}
.ocf-tools button{appearance:none;background:#fff;color:#244c79;border:1px solid #cfdaea;padding:7px 11px;border-radius:10px;cursor:pointer;min-height:34px;box-shadow:0 3px 10px rgba(36,76,121,.05);font:600 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;transition:.18s ease}
.ocf-mode-tools button{border-color:transparent;box-shadow:none;min-width:45px;background:transparent}
.ocf-tools button:hover{border-color:#8badcf;background:#f8fbff}
.ocf-tools button.is-active{background:#204f87;color:#fff;border-color:#204f87;box-shadow:0 8px 18px rgba(32,79,135,.18)}
.ocf-tools button:focus-visible,.ocf-node:focus-visible{outline:3px solid #4895ef;outline-offset:3px}
.ocf-hint{margin-left:auto;color:#71859b}
.ocf-tools output{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}

.ocf-viewport{position:relative;border:1px solid #dce4ef;border-radius:22px;background:radial-gradient(circle at 50% -20%,#fff 0,#f7faff 38%,#edf3f9 100%);overflow:auto;max-height:780px;min-height:430px;cursor:grab;overscroll-behavior:contain;padding:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 14px 40px rgba(30,61,96,.07);scrollbar-color:#9eb6d0 transparent;scrollbar-width:thin}
.ocf-viewport.is-panning{cursor:grabbing;user-select:none}
.ocf-spacer{position:relative;min-width:100%;min-height:420px}
.ocf-canvas{position:absolute;top:0;left:0;transform-origin:0 0;background-color:#fff;background-image:linear-gradient(#edf3f8 1px,transparent 1px),linear-gradient(90deg,#edf3f8 1px,transparent 1px);background-size:32px 32px;border:1px solid #e3eaf2;border-radius:20px;box-shadow:0 26px 70px rgba(28,52,89,.14),0 5px 18px rgba(28,52,89,.08)}
.ocf-edges{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:1}
.ocf-edges path{stroke:var(--ocf-line);fill:none;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round}
.ocf-edges .ocf-edge--dashed{stroke-dasharray:8 5}
.ocf-edges .ocf-edge--dotted{stroke-dasharray:2 6;stroke-linecap:round}
.ocf-edges .ocf-edge--flow{stroke-dasharray:9 6;animation:ocfEdgeFlow 1.4s linear infinite}
@keyframes ocfEdgeFlow{to{stroke-dashoffset:-30}}

.ocf-node{color:var(--ocf-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;overflow:visible;transition:filter .18s ease;z-index:2}
.ocf-canvas>.ocf-node{position:absolute;left:var(--ocf-x);top:var(--ocf-y);width:var(--ocf-width);height:var(--ocf-height);display:grid;place-items:stretch}
.ocf-node-surface{width:100%;height:100%;background:var(--ocf-node-bg,#fff);border:var(--ocf-node-border-width,1px) solid var(--ocf-node-border,#d2deed);border-radius:var(--ocf-node-radius,16px);color:var(--ocf-node-text,var(--ocf-ink));box-shadow:0 9px 24px rgba(36,63,100,.10);padding:14px 15px;display:flex;flex-direction:column;gap:5px;overflow:hidden;transform-origin:center;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.ocf-node[role=button]{cursor:pointer}
.ocf-node[role=button]:hover .ocf-node-surface{border-color:#5593df;box-shadow:0 16px 34px rgba(36,100,180,.16);transform:translateY(-3px)}
.ocf-node small{font-size:9px;line-height:1.25;letter-spacing:.09em;color:#6382a6;text-transform:uppercase;font-weight:700}
.ocf-title{font-size:14px;line-height:1.25;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:36px}
.ocf-subtitle{font-size:11px;color:#677f99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ocf-badge{font-size:9px;color:#6382a6;padding-top:2px}

.ocf-branch .ocf-node-surface{background:var(--ocf-node-bg,linear-gradient(135deg,#f5f9ff 0%,#eaf3ff 100%));border-color:var(--ocf-node-border,#b9d0ec);border-top:4px solid var(--ocf-node-accent,#3e7cd0);padding-top:10px;flex-direction:row;align-items:center;gap:11px}
.ocf-branch-image{width:54px;height:54px;flex:0 0 54px;border-radius:13px;object-fit:cover;background:#dce9f8;box-shadow:0 5px 14px rgba(47,111,185,.14)}
.ocf-branch-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.ocf-person{display:flex;align-items:center;gap:10px;margin-top:auto;min-height:44px}
.ocf-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;object-fit:cover;background:#e5effd;color:#3773be;border:2px solid #fff;box-shadow:0 5px 15px rgba(36,100,180,.10)}
.ocf-initial{display:grid;place-items:center;font-size:18px;font-weight:750}
.ocf-person-copy{min-width:0}
.ocf-person b{font-size:13px;line-height:1.25;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:35px}
.ocf-person span{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#677f99;margin-top:2px}
.ocf-node[hidden],.ocf-mobile-group[hidden],.ocf-mobile-branch[hidden]{display:none!important}

/* Studio-authored visual models. Visitors see the published result, not a model selector. */
.ocf-style--portraits .ocf-node:not(.ocf-branch) .ocf-node-surface{align-items:center;text-align:center;border-radius:22px;padding:12px}
.ocf-style--portraits .ocf-node:not(.ocf-branch) .ocf-person{flex-direction:column;gap:6px;margin-top:2px;width:100%}
.ocf-style--portraits .ocf-node:not(.ocf-branch) .ocf-avatar{width:70px;height:70px;flex-basis:70px}
.ocf-style--portraits .ocf-person-copy{max-width:100%;text-align:center}

.ocf-style--compact .ocf-node:not(.ocf-branch) .ocf-node-surface{padding:10px 12px;border-radius:13px}
.ocf-style--compact .ocf-person{gap:7px;min-height:38px}
.ocf-style--compact .ocf-avatar{width:38px;height:38px;flex-basis:38px}
.ocf-style--compact .ocf-title{font-size:13px}

/* Round = face-first model: only the member portrait/initial is visible. */
.ocf-style--circles .ocf-node:not(.ocf-branch){place-items:center}
.ocf-style--circles .ocf-node:not(.ocf-branch) .ocf-node-surface{width:126px;height:126px;border-radius:50%;padding:8px;align-items:center;justify-content:center;background:linear-gradient(145deg,#fff,#f0f6ff);border:3px solid #fff;box-shadow:0 13px 30px rgba(33,82,139,.17),0 0 0 1px #cadbed;overflow:visible}
.ocf-style--circles .ocf-node:not(.ocf-branch) .ocf-node-surface>small,
.ocf-style--circles .ocf-node:not(.ocf-branch) .ocf-node-surface>.ocf-title,
.ocf-style--circles .ocf-node:not(.ocf-branch) .ocf-person-copy{display:none}
.ocf-style--circles .ocf-node:not(.ocf-branch) .ocf-person{margin:0;display:block;min-height:0}
.ocf-style--circles .ocf-node:not(.ocf-branch) .ocf-avatar{display:grid;width:104px;height:104px;flex-basis:104px;border-radius:50%;border:0;box-shadow:none}

.ocf-style--squares .ocf-node:not(.ocf-branch){place-items:center}
.ocf-style--squares .ocf-node:not(.ocf-branch) .ocf-node-surface{max-width:164px;min-height:150px;align-items:center;text-align:center;border-radius:18px;padding:10px}
.ocf-style--squares .ocf-node:not(.ocf-branch) .ocf-node-surface>small{display:none}
.ocf-style--squares .ocf-node:not(.ocf-branch)>.ocf-node-surface>.ocf-title{font-size:11px;color:#5d7694;max-height:28px}
.ocf-style--squares .ocf-node:not(.ocf-branch) .ocf-person{flex-direction:column;gap:5px;margin-top:0;width:100%}
.ocf-style--squares .ocf-node:not(.ocf-branch) .ocf-avatar{width:78px;height:78px;flex-basis:78px;border-radius:15px}
.ocf-style--squares .ocf-node:not(.ocf-branch) .ocf-person b{font-size:12px}

/* Per-node overrides. inherit keeps the historical site-wide model exactly. */
.ocf-shadow--none .ocf-node-surface{box-shadow:none}
.ocf-shadow--subtle .ocf-node-surface{box-shadow:0 5px 14px rgba(36,63,100,.08)}
.ocf-shadow--medium .ocf-node-surface{box-shadow:0 14px 34px rgba(36,63,100,.16)}
.ocf-preset--executive .ocf-node-surface{border-top:5px solid var(--ocf-node-accent,#2f6fb9);box-shadow:0 16px 38px rgba(26,63,108,.17)}
.ocf-preset--vacancy .ocf-node-surface{border-style:dashed;background:var(--ocf-node-bg,#fbfcfe)}
.ocf-preset--minimal .ocf-node-surface{box-shadow:none;background:var(--ocf-node-bg,#fff);padding:10px 12px}
.ocf-preset--badge .ocf-node-surface,.ocf-preset--pill .ocf-node-surface{min-height:64px;padding:9px 13px;border-radius:999px}
.ocf-preset--department .ocf-node-surface{--ocf-node-accent:#2f6fb9}
.ocf-preset--committee .ocf-node-surface{--ocf-node-accent:#6b5fb5}
.ocf-preset--regional .ocf-node-surface{--ocf-node-accent:#26866b}
.ocf-preset--division .ocf-node-surface{--ocf-node-accent:#b86b2d}
.ocf-preset--team .ocf-node-surface{--ocf-node-accent:#4d7f9f}
.ocf-preset--header .ocf-node-surface{font-size:1.04em;border-top:6px solid var(--ocf-node-accent,#2f6fb9)}
.ocf-preset--circle:not(.ocf-branch){place-items:center}
.ocf-preset--circle:not(.ocf-branch) .ocf-node-surface{width:126px;height:126px;border-radius:50%;padding:8px;align-items:center;justify-content:center;overflow:visible}
.ocf-preset--circle:not(.ocf-branch) .ocf-node-surface>small,.ocf-preset--circle:not(.ocf-branch) .ocf-node-surface>.ocf-title,.ocf-preset--circle:not(.ocf-branch) .ocf-person-copy{display:none}
.ocf-preset--circle:not(.ocf-branch) .ocf-person{margin:0;display:block;min-height:0}
.ocf-preset--circle:not(.ocf-branch) .ocf-avatar{display:grid;width:104px;height:104px;flex-basis:104px;border-radius:50%}
.ocf-preset--square:not(.ocf-branch) .ocf-node-surface{align-items:center;text-align:center;border-radius:18px;padding:10px}
.ocf-preset--square:not(.ocf-branch) .ocf-person{flex-direction:column;gap:5px;margin-top:0;width:100%}
.ocf-preset--square:not(.ocf-branch) .ocf-avatar{width:78px;height:78px;flex-basis:78px;border-radius:15px}
.ocf-preset--portrait:not(.ocf-branch) .ocf-node-surface{align-items:center;text-align:center;border-radius:22px;padding:12px}
.ocf-preset--portrait:not(.ocf-branch) .ocf-person{flex-direction:column;gap:6px;margin-top:2px;width:100%}
.ocf-preset--portrait:not(.ocf-branch) .ocf-avatar{width:70px;height:70px;flex-basis:70px}
.ocf-preset--compact:not(.ocf-branch) .ocf-node-surface{padding:10px 12px}
.ocf-preset--compact:not(.ocf-branch) .ocf-avatar{width:38px;height:38px;flex-basis:38px}

/* A local professional/executive/minimal override restores content that a
   site-wide circles model would otherwise hide. */
.ocf-node.ocf-preset--professional:not(.ocf-branch) .ocf-node-surface>small,
.ocf-node.ocf-preset--professional:not(.ocf-branch) .ocf-node-surface>.ocf-title,
.ocf-node.ocf-preset--professional:not(.ocf-branch) .ocf-person-copy,
.ocf-node.ocf-preset--executive:not(.ocf-branch) .ocf-node-surface>small,
.ocf-node.ocf-preset--executive:not(.ocf-branch) .ocf-node-surface>.ocf-title,
.ocf-node.ocf-preset--executive:not(.ocf-branch) .ocf-person-copy,
.ocf-node.ocf-preset--minimal:not(.ocf-branch) .ocf-node-surface>small,
.ocf-node.ocf-preset--minimal:not(.ocf-branch) .ocf-node-surface>.ocf-title,
.ocf-node.ocf-preset--minimal:not(.ocf-branch) .ocf-person-copy{display:initial}
.ocf-node.ocf-preset--professional:not(.ocf-branch) .ocf-node-surface,
.ocf-node.ocf-preset--executive:not(.ocf-branch) .ocf-node-surface,
.ocf-node.ocf-preset--minimal:not(.ocf-branch) .ocf-node-surface{width:100%;height:100%;border-radius:var(--ocf-node-radius,16px);padding:14px 15px;align-items:stretch;text-align:left}
.ocf-node.ocf-preset--professional:not(.ocf-branch) .ocf-person,
.ocf-node.ocf-preset--executive:not(.ocf-branch) .ocf-person,
.ocf-node.ocf-preset--minimal:not(.ocf-branch) .ocf-person{display:flex;flex-direction:row;gap:10px;margin-top:auto;width:auto}
.ocf-node.ocf-preset--professional:not(.ocf-branch) .ocf-avatar,
.ocf-node.ocf-preset--executive:not(.ocf-branch) .ocf-avatar,
.ocf-node.ocf-preset--minimal:not(.ocf-branch) .ocf-avatar{width:46px;height:46px;flex-basis:46px;border-radius:50%}

/* 3D never changes connector coordinates; only the card surface is transformed. */
.ocf-view--3d .ocf-canvas{transform-style:preserve-3d;perspective:1400px;background-image:linear-gradient(rgba(226,235,244,.9) 1px,transparent 1px),linear-gradient(90deg,rgba(226,235,244,.9) 1px,transparent 1px),linear-gradient(180deg,#fff,#f8fbff);background-size:32px 32px,32px 32px,100% 100%}
.ocf-view--3d .ocf-edges path{stroke:#7694b8;filter:drop-shadow(0 2px 1px rgba(77,104,141,.18))}
.ocf-view--3d .ocf-node-surface{transform:perspective(900px) rotateX(2.2deg) rotateY(-2.6deg) translateY(-2px);box-shadow:14px 18px 34px rgba(27,51,83,.16),0 5px 0 rgba(198,217,239,.75);border-color:#c2d6ed}
.ocf-view--3d .ocf-node[role=button]:hover .ocf-node-surface{transform:perspective(900px) rotateX(1deg) rotateY(-1deg) translateY(-6px) scale(1.015)}
.ocf-view--3d .ocf-branch .ocf-node-surface{background:linear-gradient(145deg,#fafdff 0%,#e4effd 100%);box-shadow:15px 18px 36px rgba(27,74,128,.18),0 5px 0 #c6d9ef}
.ocf-view--3d.ocf-style--circles .ocf-node:not(.ocf-branch) .ocf-node-surface{box-shadow:13px 18px 30px rgba(27,74,128,.19),4px 7px 0 #d7e5f5,0 0 0 1px #bcd1ea}

.ocf-mobile{display:none!important}

/* V20.52.28 — mobile uses the exact Studio-published canvas, connectors and
   card model used on desktop. The viewport owns panning/zooming; the page
   itself never becomes wider than the phone. */
@media(max-width:760px){
  .ocf{max-width:100%;overflow:hidden}
  .ocf-tools{margin:0 0 10px;justify-content:space-between;gap:7px}
  .ocf-zoom-tools{display:flex;flex:1 1 auto;gap:5px;flex-wrap:nowrap;overflow-x:auto;padding:1px 0;scrollbar-width:none}
  .ocf-zoom-tools::-webkit-scrollbar{display:none}
  .ocf-zoom-tools output{min-width:40px;font-size:10px}
  .ocf-zoom-tools button{min-width:36px;min-height:34px;padding:6px 9px;white-space:nowrap;font-size:11px}
  .ocf-zoom-tools button[data-ocf-zoom="actual"]{display:none}
  .ocf-mode-tools{margin-left:auto;flex:0 0 auto;gap:3px;background:#f3f7fc}
  .ocf-mode-label{display:none}
  .ocf-mode-tools button{min-width:38px;min-height:34px;padding:6px 9px}
  .ocf-hint{display:none}
  .ocf-viewport{
    display:block;
    width:100%;
    max-width:100%;
    height:min(68dvh,620px)!important;
    min-height:500px;
    max-height:620px;
    padding:10px;
    border-radius:18px;
    overflow:auto;
    touch-action:pan-x pan-y;
    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;
    overscroll-behavior:contain;
    cursor:grab;
  }
  .ocf-spacer{min-width:100%;min-height:480px}
  .ocf-canvas{border-radius:17px}
  .ocf-node-surface{box-shadow:0 8px 22px rgba(36,63,100,.11)}
  .ocf-view--3d .ocf-node-surface{box-shadow:10px 13px 26px rgba(27,51,83,.15),0 4px 0 rgba(198,217,239,.72)}
  .ocf-mobile{display:none!important}
}

@media(max-width:420px){
  .ocf-tools{align-items:center}
  .ocf-zoom-tools button[data-ocf-zoom="fit"]{display:none}
  .ocf-viewport{min-height:470px;height:min(66dvh,560px)!important;max-height:560px;padding:8px}
}

@media(prefers-reduced-motion:reduce){
  .ocf-node-surface,.ocf-tools button{transition:none!important}
  .ocf-edge--flow{animation:none!important}
}

@media print{
  .ocf-tools,.ocf-mobile{display:none!important}
  .ocf-viewport{display:block!important;border:0;overflow:visible;max-height:none;padding:0;background:#fff;box-shadow:none}
  .ocf-canvas{box-shadow:none}
  .ocf-node{break-inside:avoid}
  .ocf-node-surface{box-shadow:none!important;transform:none!important}
}

/* Lightweight entrance motion for the published result. */
@keyframes ocfReveal{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur(0)}}
.ocf-canvas>.ocf-node{animation:ocfReveal .38s cubic-bezier(.2,.75,.2,1) both}
@media(prefers-reduced-motion:reduce){.ocf-canvas>.ocf-node{animation:none!important}}
