/* NYC Department v1.4: scoped article layout; no framework/CDN required. */
.nycd-site{--nycd-main:#0b5ba7;--nycd-deep:#082e66;--nycd-light:#c9e6fc;--nycd-pale:#edf5fd;--nycd-gold:#d9a12c;box-sizing:border-box;width:100%;max-width:100%;margin:10px auto 20px;padding:12px;background:linear-gradient(155deg,#f7faff 0%,#eaf2fb 64%,#f5f9fe 100%);color:#132e50;border:1px solid #dce8f5;border-radius:13px;font:14px/1.6 'Sarabun','Noto Sans Thai',Tahoma,Arial,sans-serif;overflow:hidden;container-type:inline-size}
.nycd-site *{box-sizing:border-box}.nycd-site.nycd-theme-teal{--nycd-main:#087b86;--nycd-deep:#06494f;--nycd-light:#c3ecee;--nycd-pale:#edfafa}.nycd-site.nycd-theme-purple{--nycd-main:#7452a5;--nycd-deep:#453374;--nycd-light:#ded5f7;--nycd-pale:#f5f1ff}.nycd-site.nycd-theme-gold{--nycd-main:#a77916;--nycd-deep:#664a12;--nycd-light:#f3dfaa;--nycd-pale:#fff8e6}
.nycd-site svg{display:block;width:20px;height:20px;flex:none}.nycd-site .nycd-banner{position:relative;display:flex;align-items:center;gap:13px;min-height:92px;padding:15px 16px;overflow:hidden;border:1px solid #89b5de;border-bottom:3px solid #e4b33e;border-radius:12px 12px 7px 7px;background:linear-gradient(112deg,var(--nycd-deep) 0%,var(--nycd-main) 68%,#5cb9ef 100%);color:white;box-shadow:0 3px 7px #0a356320;isolation:isolate}.nycd-site .nycd-banner-art{position:absolute;inset:0 0 0 auto;width:49%;z-index:-1;background:linear-gradient(125deg,transparent,#c1e8ff80),repeating-linear-gradient(135deg,transparent 0 8px,#ffffff12 8px 9px)}.nycd-site .nycd-banner-art img,.nycd-site .nycd-banner-art svg{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;object-fit:cover}.nycd-site .nycd-banner-icon{display:grid;place-items:center;width:51px;height:51px;flex:0 0 51px;border:2px solid #ffedb0;border-radius:50%;background:linear-gradient(145deg,#ffdb77,#c88a05 66%,#a46b04);color:white;box-shadow:0 3px 7px #031f5d66,inset 0 1px 2px #fff9}.nycd-site .nycd-banner-icon svg{width:28px;height:28px}.nycd-site .nycd-banner-copy{min-width:0;max-width:80%;text-shadow:0 1px 3px #062b62}.nycd-site .nycd-banner h2{margin:0!important;padding:0!important;font-family:inherit;font-size:24px;line-height:1.35;font-weight:700;color:white!important;overflow-wrap:anywhere}.nycd-site .nycd-banner p{margin:4px 0 0!important;font-size:14px;color:#f2f7ff}
.nycd-site .nycd-mission{display:flex;gap:12px;padding:13px 14px;background:linear-gradient(110deg,#fff,#e9f2fc);border:1px solid #c5d9ed;border-top:0;border-radius:0 0 10px 10px;box-shadow:0 3px 6px #153b6510}.nycd-site .nycd-mission-icon{color:var(--nycd-deep);padding-top:3px}.nycd-site .nycd-mission h3{font-size:16px;font-weight:700;margin:0 0 3px!important;color:var(--nycd-deep)}.nycd-site .nycd-mission p{font-size:13px;margin:0!important;line-height:1.7}
.nycd-site .nycd-section-title{display:flex;align-items:center;justify-content:center;gap:0;margin:17px 0 14px}.nycd-site .nycd-section-title:before,.nycd-site .nycd-section-title:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,transparent,#d5a12d)}.nycd-site .nycd-section-title:after{transform:rotate(180deg)}.nycd-site .nycd-section-title>span{position:relative;max-width:90%;padding:5px 19px;background:linear-gradient(180deg,var(--nycd-main),var(--nycd-deep));color:white;border:2px solid #efbe50;border-radius:30px;font-size:17px;font-weight:700;line-height:1.45;text-align:center;box-shadow:0 3px 6px #16477720}
.nycd-site .nycd-group{margin:16px 0 0}.nycd-site .nycd-group-lead{margin-top:0}.nycd-site .nycd-group-bar,.nycd-site .nycd-duty-bar{display:flex;align-items:center;gap:9px;min-height:32px;margin:0 0 10px!important;padding:0 12px 0 0!important;border:0;border-radius:20px;background:linear-gradient(90deg,var(--nycd-light),#eaf6ff 50%,var(--nycd-light));font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;color:var(--nycd-deep);overflow-wrap:anywhere}.nycd-site .nycd-group-icon{display:grid;place-items:center;width:36px;height:34px;border:1px solid #eaf5ff;border-radius:50%;background:linear-gradient(145deg,#319be2,var(--nycd-deep));color:white;box-shadow:0 2px 5px #153f6c30;flex:0 0 36px}.nycd-site .nycd-group-icon svg{width:19px;height:19px}.nycd-site .nycd-group-label{min-width:0;padding:5px 0}.nycd-site .nycd-group-label small{font:inherit;font-size:12px;white-space:nowrap;opacity:.88}
.nycd-site .nycd-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.nycd-site .nycd-person{min-width:0;flex:0 1 calc((100% - 20px)/3);background:linear-gradient(155deg,#fff 5%,#f1f7fd 61%,#dcecfb 100%);border:1px solid #b9d2ea;border-radius:11px;padding:10px 7px 9px;display:flex;align-items:center;flex-direction:column;text-align:center;box-shadow:0 3px 6px #123d6822,inset 0 0 0 1px #ffffffc9;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;position:relative;overflow:hidden}.nycd-site .nycd-cols-2 .nycd-person{flex-basis:calc((100% - 10px)/2)}.nycd-site .nycd-cols-4 .nycd-person{flex-basis:calc((100% - 30px)/4)}.nycd-site .nycd-portrait{position:relative;width:88px;height:104px;max-width:100%;flex:none;border:2px solid white;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#e7f0f8,#c1d7ea);box-shadow:0 1px 4px #163e6b19;display:grid;place-items:center}.nycd-site .nycd-portrait img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center 22%;max-width:none!important;margin:0!important;border:0!important}.nycd-site .nycd-avatar{color:#7698b9}.nycd-site .nycd-avatar svg{width:35px;height:35px}.nycd-site .nycd-person-info{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:7px;overflow-wrap:anywhere}.nycd-site .nycd-person-info strong{color:var(--nycd-deep);font-size:14px;line-height:1.5;font-weight:700}.nycd-site .nycd-role{font-size:11px;color:#79530b;background:linear-gradient(180deg,#fff3d2,#f8e0a4);padding:1px 10px;border-radius:20px;max-width:100%;line-height:1.7}
.nycd-site .nycd-lead .nycd-person{flex:0 1 100%;max-width:540px;min-height:142px;flex-direction:row;text-align:left;gap:17px;padding:11px 18px;border:1px solid #d8ad49;background:radial-gradient(ellipse at 100% 100%,#ffdc76 0%,transparent 39%),linear-gradient(125deg,#fff2c8,#fffdfa 34%,#f7f3e9);box-shadow:0 4px 9px #163d6426,inset 0 0 0 2px #fff7e2}.nycd-site .nycd-lead .nycd-portrait{width:107px;height:128px;border:2px solid #fff;outline:2px solid #e7b340;box-shadow:0 3px 8px #986d2355}.nycd-site .nycd-lead .nycd-person-info{align-items:flex-start;margin:0;gap:7px}.nycd-site .nycd-lead strong{font-size:18px}.nycd-site .nycd-lead-ribbon{display:flex;align-items:center;gap:6px;max-width:100%;padding:4px 19px 4px 9px;color:white;font-size:13px;font-weight:700;background:linear-gradient(180deg,#e9b841,#a9720b);clip-path:polygon(0 0,100% 0,95% 50%,100% 100%,0 100%);border-radius:4px 0 0 4px}.nycd-site .nycd-lead-ribbon svg{width:17px;height:17px}.nycd-site .nycd-ornament{display:flex;align-items:center;gap:6px;width:100px;color:#c08a23;font-size:10px}.nycd-site .nycd-ornament:before,.nycd-site .nycd-ornament:after{content:'';flex:1;height:1px;background:#d2aa4a}
.nycd-site .nycd-assistant .nycd-person{flex:0 1 calc((100% - 10px)/2);max-width:360px;min-height:104px;flex-direction:row;gap:10px;text-align:left;padding:9px 10px;background:radial-gradient(ellipse at 100% 100%,#9ed0f4 0%,transparent 44%),linear-gradient(140deg,#fff,#e7f2fc)}.nycd-site .nycd-assistant .nycd-portrait{width:72px;height:88px}.nycd-site .nycd-assistant .nycd-person-info{align-items:flex-start;margin:0}
.nycd-site .nycd-group-center{border:1px solid #edc5ce;background:linear-gradient(135deg,#fff5f7,#f9e7ec);padding:0 9px 10px;border-radius:12px;box-shadow:0 3px 7px #92274714}.nycd-site .nycd-group-center .nycd-group-bar{margin:-1px -10px 10px!important;background:linear-gradient(90deg,#cf2448,#a3203c);color:white}.nycd-site .nycd-group-center .nycd-group-icon{background:linear-gradient(145deg,#ea5875,#9c1434)}.nycd-site .nycd-center .nycd-person{background:linear-gradient(145deg,#fff,#fff5f7);border-color:#e6c9d1}
.nycd-site .nycd-duties{border:1px solid #bcd3e9;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#f7fbff,#dceaf8);box-shadow:0 3px 7px #123b641a}.nycd-site .nycd-duty-bar{border-radius:10px 10px 0 0;margin:0!important;color:white;background:linear-gradient(110deg,var(--nycd-deep),var(--nycd-main) 82%,#dcb34f 83%,#f2d67a 86%,#cde4f8 87%);padding-right:20px!important;min-height:39px;font-size:15px}.nycd-site .nycd-duty-bar .nycd-group-icon{margin-left:4px}.nycd-site .nycd-duties ol{list-style:none!important;counter-reset:nycd;padding:10px!important;margin:0!important}.nycd-site .nycd-duties li{list-style:none!important;counter-increment:nycd;display:flex;align-items:flex-start;gap:9px;border-radius:5px;padding:6px 7px;line-height:1.7;margin:0!important;font-size:13px;color:#17334d}.nycd-site .nycd-duties li:nth-child(odd){background:#ffffffb0}.nycd-site .nycd-duties li:before{content:counter(nycd);display:grid;place-items:center;flex:0 0 27px;width:27px;height:21px;border-radius:14px;background:linear-gradient(180deg,var(--nycd-main),var(--nycd-deep));color:white;font-size:12px;font-weight:700;margin-top:2px}.nycd-site .nycd-duties li>span{min-width:0;overflow-wrap:anywhere}
@media(hover:hover){.nycd-site .nycd-person:hover{transform:translateY(-3px);box-shadow:0 7px 13px #174c7830;border-color:#dbad42}}@media(prefers-reduced-motion:reduce){.nycd-site .nycd-person{transition:none;transform:none!important}}
@container(max-width:560px){.nycd-site .nycd-cols-4:not(.nycd-lead):not(.nycd-assistant) .nycd-person{flex-basis:calc((100% - 20px)/3)}}
@container(max-width:420px){.nycd-site .nycd-banner{min-height:78px;padding:11px 10px;gap:9px}.nycd-site .nycd-banner h2{font-size:20px}.nycd-site .nycd-banner-icon{width:42px;height:42px;flex-basis:42px}.nycd-site .nycd-banner-copy{max-width:82%}.nycd-site .nycd-section-title>span{font-size:15px;padding:5px 11px}.nycd-site .nycd-grid:not(.nycd-lead):not(.nycd-assistant) .nycd-person{flex-basis:calc((100% - 10px)/2)}.nycd-site .nycd-assistant .nycd-person{flex-basis:100%;max-width:100%}.nycd-site .nycd-lead .nycd-person{gap:12px;padding:10px 11px;min-height:116px}.nycd-site .nycd-lead .nycd-portrait{width:83px;height:103px}.nycd-site .nycd-lead strong{font-size:16px}.nycd-site .nycd-group-bar{font-size:14px}.nycd-site .nycd-person-info strong{font-size:13px}.nycd-site .nycd-duty-bar{font-size:13px;background:linear-gradient(110deg,var(--nycd-deep),var(--nycd-main))}}
@media(max-width:480px){.nycd-site{padding:9px}.nycd-site .nycd-grid:not(.nycd-lead):not(.nycd-assistant) .nycd-person{flex-basis:calc((100% - 10px)/2)}.nycd-site .nycd-assistant .nycd-person{flex-basis:100%;max-width:100%}}

/* Blend the graphic into the heading rather than creating a hard edge. */
.nycd-site .nycd-banner-art{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 23%);mask-image:linear-gradient(90deg,transparent 0%,#000 23%)}

/* V1.5 | artwork-led personnel directory. All rules scoped to this module. */
.nycd-site{padding:13px 13px 20px;border-radius:15px;border:1px solid #b7d5ee;position:relative;background:radial-gradient(ellipse at 50% 35%,#f5fbff 0%,#e7f3fe 68%,#cfe7fa 100%);box-shadow:inset 0 0 0 3px #ffffffa0;--nycd-gold:#d8a128}
.nycd-site .nycd-section-title{margin:21px 0 16px;gap:7px;isolation:isolate}
.nycd-site .nycd-section-title:before,.nycd-site .nycd-section-title:after{height:2px;background:linear-gradient(90deg,transparent,#b37c13 75%,#e8bc46)}
.nycd-site .nycd-section-title>span{position:relative;display:block;max-width:85%;padding:9px 29px;border:none;border-radius:0;background:none;box-shadow:none;z-index:0;font-size:18px;line-height:1.4;color:white;text-shadow:0 1px 2px #0a2b63;filter:drop-shadow(0 3px 3px #0b306643)}
.nycd-site .nycd-section-title>span:before,.nycd-site .nycd-section-title>span:after{content:'';position:absolute;inset:0;z-index:-1;clip-path:polygon(15px 0,calc(100% - 15px) 0,100% 50%,calc(100% - 15px) 100%,15px 100%,0 50%);background:linear-gradient(180deg,#fff5b9 0%,#dfa62b 28%,#ab740b 52%,#ffe597 83%,#d5a12b 100%)}
.nycd-site .nycd-section-title>span:after{inset:3px 4px;background:linear-gradient(180deg,var(--nycd-main) 0%,var(--nycd-deep) 82%,#062857 100%)}
.nycd-site .nycd-group{margin-top:17px}.nycd-site .nycd-group-lead{margin-top:0}
.nycd-site .nycd-group-bar,.nycd-site .nycd-duty-bar{min-height:33px;position:relative;color:#fff!important;border:1px solid #7eb7e4;border-radius:24px;box-shadow:0 2px 4px #124a7b25;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%2060%22%3E%3Cg%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.19%22%20fill%3D%22none%22%20stroke-width%3D%22.8%22%3E%3Cpath%20d%3D%22M15%200Q15%2015%2030%2015Q15%2015%2015%2030Q15%2015%200%2015Q15%2015%2015%200ZM45%200Q45%2015%2060%2015Q45%2015%2045%2030Q45%2015%2030%2015Q45%2015%2045%200ZM75%200Q75%2015%2090%2015Q75%2015%2075%2030Q75%2015%2060%2015Q75%2015%2075%200ZM30%2030Q30%2045%2045%2045Q30%2045%2030%2060Q30%2045%2015%2045Q30%2045%2030%2030ZM60%2030Q60%2045%2075%2045Q60%2045%2060%2060Q60%2045%2045%2045Q60%2045%2060%2030ZM90%2030Q90%2045%20105%2045Q90%2045%2090%2060Q90%2045%2075%2045Q90%2045%2090%2030Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right center/100px 60px no-repeat,linear-gradient(180deg,#459ee7 0%,var(--nycd-main) 43%,var(--nycd-deep) 100%);text-shadow:0 1px 2px #0b2d62;overflow:visible}
.nycd-site .nycd-group-bar{margin:0 0 12px!important;padding-left:0!important}.nycd-site .nycd-group-icon{margin:-4px 0 -4px -2px;width:43px;height:39px;flex-basis:43px;border:2px solid #e8f4ff;background:linear-gradient(155deg,#42b5f6 0%,var(--nycd-main) 45%,var(--nycd-deep) 88%);box-shadow:0 3px 5px #12457640,inset 0 1px 2px #ffffff8a}.nycd-site .nycd-group-icon svg{width:22px;height:22px}.nycd-site .nycd-group-label small{color:#fff;font-size:13px}
.nycd-site .nycd-grid{gap:11px}.nycd-site .nycd-person{padding:10px 7px 10px;border-radius:13px;border:1px solid #77b5e9;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2062%2054%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23aa720c%22%2F%3E%3Cstop%20offset%3D%22.3%22%20stop-color%3D%22%23f8d66a%22%2F%3E%3Cstop%20offset%3D%22.48%22%20stop-color%3D%22%23fff4cb%22%2F%3E%3Cstop%20offset%3D%22.7%22%20stop-color%3D%22%23e7ac28%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a16b0b%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%2015Q0%200%2015%200H62Q13%2013%200%2054Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M0%2041Q17%2012%2047%203%22%20stroke%3D%22%23fff5c4%22%20stroke-width%3D%221.5%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E") left top/53px 47px no-repeat,linear-gradient(145deg,#fff 4%,#f7fbff 52%,#deedfc 100%);box-shadow:0 4px 7px #19548c30,inset 0 0 0 2px #ffffffc9;flex-basis:calc((100% - 22px)/3)}
.nycd-site .nycd-cols-2 .nycd-person{flex-basis:calc((100% - 11px)/2)}.nycd-site .nycd-cols-4 .nycd-person{flex-basis:calc((100% - 33px)/4)}
.nycd-site .nycd-portrait{width:92px;height:108px;border:2px solid white;border-radius:9px;box-shadow:0 1px 3px #123d6825;background:linear-gradient(145deg,#e3edf7,#bdd6ee)}
.nycd-site .nycd-person-info{gap:5px;margin-top:7px}.nycd-site .nycd-person-info strong{font-size:14px;line-height:1.45;color:#0a2b62;word-break:normal;overflow-wrap:anywhere}.nycd-site .nycd-role{font-size:12px;font-weight:600;padding:2px 11px;background:linear-gradient(180deg,#fff4d9,#f6dda0);color:#664707;line-height:1.55}
.nycd-site .nycd-lead .nycd-person{max-width:none;flex:0 1 100%;min-height:163px;padding:12px 20px;gap:23px;border-radius:15px;border:1px solid #d8a22c;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20720%20190%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%22.8%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23a16b08%22%2F%3E%3Cstop%20offset%3D%22.24%22%20stop-color%3D%22%23f2bd3c%22%2F%3E%3Cstop%20offset%3D%22.43%22%20stop-color%3D%22%23fff2be%22%2F%3E%3Cstop%20offset%3D%22.64%22%20stop-color%3D%22%23e7ad28%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%239c6307%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22b%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%230b3b81%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23087fe0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%200H108C43%2016%2017%2046%200%2094Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M0%200H57C26%2017%209%2039%200%2070Z%22%20fill%3D%22%23fff3c7%22%20opacity%3D%22.9%22%2F%3E%3Cpath%20d%3D%22M720%20118Q658%20153%20539%20167Q460%20180%20386%20190H720Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M720%20142Q638%20172%20521%20190H720Z%22%20fill%3D%22url%28%23b%29%22%2F%3E%3Cpath%20d%3D%22M720%20132Q634%20168%20478%20190%22%20fill%3D%22none%22%20stroke%3D%22%23fff5b9%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E") left top/100% 100% no-repeat,linear-gradient(115deg,#fff6dc 0%,#fff 37%,#f5f7fc 100%);box-shadow:0 5px 9px #154b8430,inset 0 0 0 2px #fff8e2}
.nycd-site .nycd-lead .nycd-portrait{width:122px;height:142px;border:3px solid #fff9db;border-radius:15px;outline:2px solid #d8a127;box-shadow:0 0 0 4px #ffe28a,0 5px 8px #92641d55}
.nycd-site .nycd-lead .nycd-person-info{gap:8px;align-items:flex-start;position:relative;margin-top:0;padding-left:14px;border-left:1px solid #e4bf63}.nycd-site .nycd-lead .nycd-person-info strong{font-size:19px;line-height:1.35}.nycd-site .nycd-lead-ribbon{font-size:15px;min-height:30px;gap:8px;padding:3px 28px 3px 12px;border-radius:20px 0 0 20px;background:linear-gradient(180deg,#ffe48b 0%,#e4ad29 38%,#a76c05 100%);text-shadow:0 1px 2px #6b4708;clip-path:polygon(0 0,100% 0,93% 100%,0 100%)}.nycd-site .nycd-lead-ribbon svg{width:21px;height:21px}.nycd-site .nycd-ornament{width:145px;font-size:13px;color:#c18b16}.nycd-site .nycd-ornament:before,.nycd-site .nycd-ornament:after{background:linear-gradient(90deg,transparent,#c38d22)}.nycd-site .nycd-ornament:after{transform:rotate(180deg)}
.nycd-site .nycd-assistant .nycd-person{flex:0 1 calc((100% - 11px)/2);max-width:350px;min-height:106px;padding:10px 10px;gap:12px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2062%2054%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23aa720c%22%2F%3E%3Cstop%20offset%3D%22.3%22%20stop-color%3D%22%23f8d66a%22%2F%3E%3Cstop%20offset%3D%22.48%22%20stop-color%3D%22%23fff4cb%22%2F%3E%3Cstop%20offset%3D%22.7%22%20stop-color%3D%22%23e7ac28%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a16b0b%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%2015Q0%200%2015%200H62Q13%2013%200%2054Z%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M0%2041Q17%2012%2047%203%22%20stroke%3D%22%23fff5c4%22%20stroke-width%3D%221.5%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E") left top/50px 44px no-repeat,url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20150%2068%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M150%200Q140%2047%200%2068H150Z%22%20fill%3D%22%23a4d5fa%22%2F%3E%3Cpath%20d%3D%22M150%2018Q132%2054%2043%2068H150Z%22%20fill%3D%22%2365b8ef%22%20opacity%3D%22.7%22%2F%3E%3Cpath%20d%3D%22M150%2042Q125%2062%2087%2068H150Z%22%20fill%3D%22%23268fd8%22%20opacity%3D%22.6%22%2F%3E%3C%2Fsvg%3E") right bottom/120px 52px no-repeat,linear-gradient(145deg,#fff,#e6f2fe)}.nycd-site .nycd-assistant .nycd-portrait{width:79px;height:92px}.nycd-site .nycd-assistant .nycd-person-info{margin:0;align-items:flex-start}
.nycd-site .nycd-group-center{padding:0 10px 13px;border:1px solid #dba8c0;border-radius:14px;background:radial-gradient(ellipse at 45% 0%,#fff 0%,#f9e5ef 100%);box-shadow:0 4px 8px #83345820}.nycd-site .nycd-group-center .nycd-group-bar{margin:-1px -11px 13px!important;border-color:#d9a348;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%2060%22%3E%3Cg%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.19%22%20fill%3D%22none%22%20stroke-width%3D%22.8%22%3E%3Cpath%20d%3D%22M15%200Q15%2015%2030%2015Q15%2015%2015%2030Q15%2015%200%2015Q15%2015%2015%200ZM45%200Q45%2015%2060%2015Q45%2015%2045%2030Q45%2015%2030%2015Q45%2015%2045%200ZM75%200Q75%2015%2090%2015Q75%2015%2075%2030Q75%2015%2060%2015Q75%2015%2075%200ZM30%2030Q30%2045%2045%2045Q30%2045%2030%2060Q30%2045%2015%2045Q30%2045%2030%2030ZM60%2030Q60%2045%2075%2045Q60%2045%2060%2060Q60%2045%2045%2045Q60%2045%2060%2030ZM90%2030Q90%2045%20105%2045Q90%2045%2090%2060Q90%2045%2075%2045Q90%2045%2090%2030Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right center/100px 60px no-repeat,linear-gradient(180deg,#db568a 0%,#b32464 40%,#85123e 100%);text-shadow:0 1px 2px #6a1435}.nycd-site .nycd-group-center .nycd-group-icon{background:linear-gradient(155deg,#ed7ba7,#b42465 48%,#81143f);border-color:#fff0f7}.nycd-site .nycd-center .nycd-person{border-color:#d7a5c0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2062%2054%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22p%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%239d2455%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%23df83b2%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23fff0f7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23be4c80%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%2015Q0%200%2015%200H62Q13%2013%200%2054Z%22%20fill%3D%22url%28%23p%29%22%2F%3E%3Cpath%20d%3D%22M0%2041Q17%2012%2047%203%22%20stroke%3D%22%23fff0f8%22%20stroke-width%3D%221.5%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E") left top/53px 47px no-repeat,linear-gradient(145deg,#fff,#f9edf4);box-shadow:0 3px 7px #8b366329,inset 0 0 0 2px #fff}
.nycd-site .nycd-duty-bar{border-radius:10px 10px 0 0;border:0;min-height:42px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%2060%22%3E%3Cg%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.19%22%20fill%3D%22none%22%20stroke-width%3D%22.8%22%3E%3Cpath%20d%3D%22M15%200Q15%2015%2030%2015Q15%2015%2015%2030Q15%2015%200%2015Q15%2015%2015%200ZM45%200Q45%2015%2060%2015Q45%2015%2045%2030Q45%2015%2030%2015Q45%2015%2045%200ZM75%200Q75%2015%2090%2015Q75%2015%2075%2030Q75%2015%2060%2015Q75%2015%2075%200ZM30%2030Q30%2045%2045%2045Q30%2045%2030%2060Q30%2045%2015%2045Q30%2045%2030%2030ZM60%2030Q60%2045%2075%2045Q60%2045%2060%2060Q60%2045%2045%2045Q60%2045%2060%2030ZM90%2030Q90%2045%20105%2045Q90%2045%2090%2060Q90%2045%2075%2045Q90%2045%2090%2030Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right center/100px 60px no-repeat,linear-gradient(105deg,var(--nycd-deep),var(--nycd-main) 79%,#d19b25 80%,#fff1a3 84%,var(--nycd-main) 85%);padding-right:15px!important}.nycd-site .nycd-duty-bar .nycd-group-icon{margin-left:3px}.nycd-site .nycd-duties li:nth-child(even){background:#c9dff57a}
.nycd-site .nycd-end-decoration{height:29px;margin:17px -13px -20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20740%2055%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%220%22%3E%3Cstop%20stop-color%3D%22%23ad7410%22%2F%3E%3Cstop%20offset%3D%22.3%22%20stop-color%3D%22%23ffdf70%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23fff4ca%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d09a27%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22b%22%20x2%3D%221%22%20y2%3D%220%22%3E%3Cstop%20stop-color%3D%22%23073775%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23137fd0%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23073775%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%200H740V40Q620%2010%20470%206Q180%201%200%2055Z%22%20fill%3D%22url%28%23b%29%22%2F%3E%3Cpath%20d%3D%22M0%2055Q180%201%20470%206Q620%2010%20740%2040%22%20fill%3D%22none%22%20stroke%3D%22url%28%23g%29%22%20stroke-width%3D%226%22%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;transform:rotate(180deg);border-radius:12px 12px 0 0;pointer-events:none}
@container(max-width:560px){.nycd-site .nycd-cols-4:not(.nycd-lead):not(.nycd-assistant) .nycd-person{flex-basis:calc((100% - 22px)/3)}}
@container(max-width:440px){.nycd-site .nycd-section-title>span{padding:8px 23px;font-size:15px;max-width:94%}.nycd-site .nycd-lead .nycd-person{padding:12px;gap:14px;min-height:129px}.nycd-site .nycd-lead .nycd-portrait{width:86px;height:108px}.nycd-site .nycd-lead .nycd-person-info{padding-left:7px;gap:6px}.nycd-site .nycd-lead .nycd-person-info strong{font-size:16px}.nycd-site .nycd-lead-ribbon{font-size:13px;padding-right:18px}.nycd-site .nycd-grid:not(.nycd-lead):not(.nycd-assistant) .nycd-person{flex-basis:calc((100% - 11px)/2)}.nycd-site .nycd-assistant .nycd-person{flex-basis:100%;max-width:100%}.nycd-site .nycd-portrait{width:79px;height:94px}.nycd-site .nycd-person-info strong{font-size:13px}.nycd-site .nycd-group-bar{font-size:14px}.nycd-site .nycd-role{font-size:11px}.nycd-site .nycd-end-decoration{margin-left:-13px;margin-right:-13px}}
@media(max-width:480px){.nycd-site .nycd-grid:not(.nycd-lead):not(.nycd-assistant) .nycd-person{flex-basis:calc((100% - 11px)/2)}.nycd-site .nycd-assistant .nycd-person{flex-basis:100%;max-width:100%}.nycd-site .nycd-lead .nycd-person{gap:12px;padding:12px}.nycd-site .nycd-lead .nycd-portrait{width:86px;height:108px}.nycd-site .nycd-lead .nycd-person-info strong{font-size:16px}}

/* V1.6 — clear visual hierarchy and Thai typography */
.nycd-site{font-family:'Noto Sans Thai','Leelawadee UI',Tahoma,Arial,sans-serif;font-size:14px;line-height:1.65}
.nycd-site .nycd-banner h2{font-weight:650;font-size:24px}.nycd-site .nycd-banner p{font-size:14px;font-weight:450}.nycd-site .nycd-section-title>span{font-weight:650;font-size:17px;line-height:1.5}.nycd-site .nycd-group-bar,.nycd-site .nycd-duty-bar{font-size:16px;font-weight:600;min-height:36px}.nycd-site .nycd-group-label small{font-size:12px;font-weight:500}
.nycd-site .nycd-person-info strong{font-size:14px;font-weight:600;line-height:1.55}.nycd-site .nycd-role{font-size:12px;font-weight:500;line-height:1.65;padding:2px 11px}.nycd-site .nycd-lead .nycd-person-info strong{font-size:21px;font-weight:650}.nycd-site .nycd-lead .nycd-portrait{width:136px;height:158px}.nycd-site .nycd-lead .nycd-person{min-height:216px}
.nycd-site .nycd-assistant{gap:12px}.nycd-site .nycd-assistant .nycd-person{flex:0 1 calc((100% - 12px)/2);max-width:none;min-height:200px;padding:14px 12px;gap:13px;border-color:#7db4e8}.nycd-site .nycd-assistant .nycd-person:only-child{flex-basis:min(100%,460px)}.nycd-site .nycd-assistant .nycd-portrait{width:110px;height:137px}.nycd-site .nycd-assistant .nycd-person-info strong{font-size:17px;font-weight:650;line-height:1.5}.nycd-site .nycd-assistant .nycd-role{font-size:12px}
.nycd-site .nycd-staff .nycd-person,.nycd-site .nycd-center .nycd-person{padding:10px 7px 9px;min-height:0}.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:82px;height:100px}.nycd-site .nycd-duties li{font-size:14px;line-height:1.75;padding:8px 7px}.nycd-site .nycd-duties li:before{margin-top:3px}
@container(max-width:590px){.nycd-site .nycd-assistant .nycd-person{flex-basis:100%;max-width:460px;min-height:195px}.nycd-site .nycd-assistant .nycd-portrait{width:100px;height:126px}}
@container(max-width:440px){.nycd-site .nycd-lead .nycd-person{min-height:200px;gap:13px;padding:12px}.nycd-site .nycd-lead .nycd-portrait{width:105px;height:129px}.nycd-site .nycd-lead .nycd-person-info strong{font-size:17px}.nycd-site .nycd-assistant .nycd-person{min-height:184px}.nycd-site .nycd-assistant .nycd-portrait{width:95px;height:119px}.nycd-site .nycd-assistant .nycd-person-info strong{font-size:16px}.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:76px;height:93px}.nycd-site .nycd-person-info strong{font-size:13px}.nycd-site .nycd-group-bar,.nycd-site .nycd-duty-bar{font-size:14px}.nycd-site .nycd-duties li{font-size:13px}.nycd-site .nycd-section-title>span{font-size:15px}}
@media(max-width:480px){.nycd-site .nycd-assistant .nycd-person{flex-basis:100%;max-width:100%}.nycd-site .nycd-lead .nycd-portrait{width:105px;height:129px}}

/* V1.7: compact assistant cards, still a larger portrait than staff */
.nycd-site .nycd-assistant .nycd-person{min-height:132px;padding:10px 12px;gap:12px;max-width:390px}
.nycd-site .nycd-assistant .nycd-person:only-child{flex-basis:min(100%,375px)}
.nycd-site .nycd-assistant .nycd-portrait{width:92px;height:112px}
.nycd-site .nycd-assistant .nycd-person-info strong{font-size:16px;line-height:1.5}
.nycd-site .nycd-portrait img{z-index:1;display:block;opacity:1;visibility:visible}
@container(max-width:590px){.nycd-site .nycd-assistant .nycd-person{min-height:130px;max-width:375px}.nycd-site .nycd-assistant .nycd-portrait{width:90px;height:110px}}
@container(max-width:440px){.nycd-site .nycd-assistant .nycd-person{min-height:126px;padding:9px 11px;max-width:100%}.nycd-site .nycd-assistant .nycd-portrait{width:86px;height:106px}.nycd-site .nycd-assistant .nycd-person-info strong{font-size:15px}}
@media(max-width:480px){.nycd-site .nycd-assistant .nycd-person{min-height:126px;max-width:100%}.nycd-site .nycd-assistant .nycd-portrait{width:86px;height:106px}}

/* V1.8: approved horizontal leadership and compact vertical staff layout. */
.nycd-site .nycd-lead .nycd-person{flex:0 1 100%;max-width:100%;min-height:196px;padding:15px 20px;gap:20px}
.nycd-site .nycd-lead .nycd-portrait{width:124px;height:150px}
.nycd-site .nycd-lead .nycd-person-info strong{font-size:20px;line-height:1.45}
.nycd-site .nycd-assistant .nycd-person{flex:0 1 calc((100% - 12px)/2);max-width:100%;min-height:174px;padding:12px 14px;gap:13px}
.nycd-site .nycd-assistant .nycd-person:only-child{flex-basis: min(100%, 395px)}
.nycd-site .nycd-assistant .nycd-portrait{width:100px;height:124px}
.nycd-site .nycd-assistant .nycd-person-info strong{font-size:16px;line-height:1.5}
.nycd-site .nycd-staff .nycd-person,.nycd-site .nycd-center .nycd-person{min-height:146px;padding:9px 6px 8px}
.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:68px;height:82px}
.nycd-site .nycd-staff .nycd-person-info,.nycd-site .nycd-center .nycd-person-info{gap:4px;margin-top:6px}
.nycd-site .nycd-staff .nycd-person-info strong,.nycd-site .nycd-center .nycd-person-info strong{font-size:13px;line-height:1.45}
.nycd-site .nycd-staff .nycd-role,.nycd-site .nycd-center .nycd-role{font-size:11px;line-height:1.5;padding:2px 9px}
@container(max-width:590px){
 .nycd-site .nycd-lead .nycd-person{min-height:190px;padding:13px 15px;gap:17px}
 .nycd-site .nycd-lead .nycd-portrait{width:116px;height:142px}
 .nycd-site .nycd-assistant .nycd-person{flex-basis:min(100%,395px);min-height:168px}
 .nycd-site .nycd-assistant .nycd-portrait{width:96px;height:119px}
}
@container(max-width:440px){
 .nycd-site .nycd-lead .nycd-person{min-height:184px;padding:12px;gap:12px}
 .nycd-site .nycd-lead .nycd-portrait{width:105px;height:130px}
 .nycd-site .nycd-lead .nycd-person-info strong{font-size:17px}
 .nycd-site .nycd-assistant .nycd-person{flex-basis:100%;min-height:166px;padding:10px 11px;gap:11px}
 .nycd-site .nycd-assistant .nycd-portrait{width:90px;height:112px}
 .nycd-site .nycd-assistant .nycd-person-info strong{font-size:15px}
 .nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:64px;height:77px}
 .nycd-site .nycd-staff .nycd-person,.nycd-site .nycd-center .nycd-person{min-height:142px}
}
/* Fallback for older browsers without container queries. */
@media(max-width:480px){
 .nycd-site .nycd-lead .nycd-person{min-height:184px;padding:12px;gap:12px}
 .nycd-site .nycd-lead .nycd-portrait{width:105px;height:130px}
 .nycd-site .nycd-lead .nycd-person-info strong{font-size:17px}
 .nycd-site .nycd-assistant .nycd-person{flex-basis:100%;min-height:166px;padding:10px 11px;gap:11px}
 .nycd-site .nycd-assistant .nycd-portrait{width:90px;height:112px}
 .nycd-site .nycd-assistant .nycd-person-info strong{font-size:15px}
 .nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:64px;height:77px}
}

/* V1.9: natural portraits — retain original aspect ratio and pixels. */
.nycd-site .nycd-portrait {
  box-shadow: none;
  background: #eaf1f7;
  filter: none !important;
  transform: none !important;
}
.nycd-site .nycd-lead .nycd-portrait {
  outline: 1px solid #d6a12c;
  box-shadow: 0 0 0 2px #f7e5b2;
}
.nycd-site .nycd-portrait img {
  object-fit: cover !important;
  object-position: center center !important;
  image-rendering: auto !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  box-shadow: none !important;
  background: #eaf1f7 !important;
}
/* Keep card hover as a border/shadow change; portraits remain stationary. */
.nycd-site .nycd-person {
  transition: box-shadow .18s ease, border-color .18s ease;
  transform: none !important;
}
@media (hover:hover) {
  .nycd-site .nycd-person:hover { transform: none !important; }
}
@media (prefers-reduced-motion:reduce) {
  .nycd-site .nycd-person { transition:none; }
}

/* V2.1 — refined portrait frames; original photo pixels are not edited. */
.nycd-site .nycd-portrait {
  box-sizing:border-box; border:1px solid #a6c1db; outline:none;
  border-radius:10px; padding:0; background:#e1edf8;
  box-shadow:0 2px 5px rgba(15,51,92,.12);
  width:72px; height:92px; isolation:isolate;
}
.nycd-site .nycd-portrait img {
  position:absolute; inset:0; width:100%!important; height:100%!important;
  object-fit:cover!important; object-position:50% 25%!important;
  background:#e1edf8!important; border-radius:inherit!important;
  filter:none!important; image-rendering:auto!important;
  transform:none!important; opacity:1!important;
}
.nycd-site .nycd-lead .nycd-portrait {
  width:124px; height:158px; border:2px solid #d5a23b; outline:none;
  border-radius:12px; box-shadow:0 3px 8px rgba(107,79,30,.17);
}
.nycd-site .nycd-assistant .nycd-portrait {
  width:106px; height:136px; border:1px solid #80acd6;
  border-radius:11px; box-shadow:0 2px 6px rgba(20,64,111,.13);
}
.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait {
  width:72px; height:92px; border-radius:9px;
}
.nycd-site .nycd-center .nycd-portrait {border-color:#d3a8bd;background:#e9edf5;}
.nycd-site .nycd-avatar {color:#7796b1;}
.nycd-site .nycd-person:hover .nycd-portrait {transform:none!important;}
@container(max-width:590px){
 .nycd-site .nycd-lead .nycd-portrait{width:116px;height:150px}
 .nycd-site .nycd-assistant .nycd-portrait{width:100px;height:128px}
 .nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:68px;height:86px}
}
@container(max-width:440px){
 .nycd-site .nycd-lead .nycd-portrait{width:106px;height:138px}
 .nycd-site .nycd-assistant .nycd-portrait{width:92px;height:118px}
 .nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:64px;height:82px}
}
@media(max-width:480px){
 .nycd-site .nycd-lead .nycd-portrait{width:106px;height:138px}
 .nycd-site .nycd-assistant .nycd-portrait{width:92px;height:118px}
 .nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:64px;height:82px}
}

/* V2.2 — edge-to-edge photo, without altering original files. */
.nycd-site .nycd-portrait{overflow:hidden;padding:0!important;}
.nycd-site .nycd-portrait img{
  display:block;position:absolute;inset:0!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;
  padding:0!important;margin:0!important;border:0!important;
  border-radius:0!important;object-fit:cover!important;object-position:50% 25%!important;
  background:transparent!important;image-rendering:auto!important;
  filter:none!important;transform:none!important;
}

/* V2.4: native-pixel canvas rendering, with original image as fallback. */
.nycd-site .nycd-portrait img { filter:none!important; -webkit-filter:none!important; image-rendering:auto!important; }
.nycd-site .nycd-portrait .nycd-resampled-portrait { position:absolute!important; inset:0!important; width:100%!important; height:100%!important; display:block!important; margin:0!important; padding:0!important; border:0!important; z-index:2; pointer-events:none; filter:none!important; -webkit-filter:none!important; transform:none!important; image-rendering:auto!important; opacity:1!important; }
.nycd-site .nycd-portrait.nycd-resampled img { opacity:0!important; }

/* V2.6: match training-center portrait sizes to staff, other ranks unchanged. */
.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:80px;height:102px}
@container(max-width:590px){.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:76px;height:96px}}
@container(max-width:440px){.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:72px;height:92px}}
@media(max-width:480px){.nycd-site .nycd-staff .nycd-portrait,.nycd-site .nycd-center .nycd-portrait{width:72px;height:92px}}

/* V3.0: compact duties only; portrait and personnel styles unchanged */
.nycd-site .nycd-duties .nycd-duty-bar{min-height:32px;font-size:14px;gap:7px;line-height:1.45;padding-right:12px!important}
.nycd-site .nycd-duties .nycd-duty-bar .nycd-group-icon{width:30px;height:30px;flex-basis:30px}
.nycd-site .nycd-duties .nycd-duty-bar .nycd-group-icon svg{width:16px;height:16px}
.nycd-site .nycd-duties ol{padding:8px!important}
.nycd-site .nycd-duties li{font-size:13px;line-height:1.65;padding:5px 7px;gap:7px}
.nycd-site .nycd-duties li:before{width:23px;flex-basis:23px;height:19px;font-size:11px;margin-top:2px}
@container(max-width:440px){.nycd-site .nycd-duties .nycd-duty-bar{font-size:13px}.nycd-site .nycd-duties li{font-size:12.5px;line-height:1.65}}

/* V3.3: configurable watermark, never intercept clicks or alter portrait layout. */
.nycd-site .nycd-lead .nycd-person{position:relative;isolation:isolate;overflow:hidden}
.nycd-site .nycd-lead .nycd-watermark{position:absolute;right:5%;top:15%;width:var(--nycd-wm-size,64px);height:var(--nycd-wm-size,64px);color:#9e701a;opacity:var(--nycd-wm-opacity,.14);pointer-events:none;z-index:-1}
.nycd-site .nycd-watermark svg{display:block;width:100%;height:100%;stroke-width:1.25}
@container(max-width:440px){.nycd-site .nycd-lead .nycd-watermark{right:3%;top:10%;max-width:48px;max-height:48px}}

/* V3.7: gentle hover lift; no image scaling, filters or transforms. */
.nycd-site .nycd-person {
  top: 0;
  transition: top .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .nycd-site .nycd-grid .nycd-person:hover {
    top: -3px;
    z-index: 3;
    transform: none !important;
    box-shadow: 0 7px 15px rgba(19,63,110,.19), inset 0 0 0 1px rgba(255,255,255,.76);
  }
  .nycd-site .nycd-center .nycd-person:hover {
    border-color: #ce7199;
    box-shadow: 0 7px 15px rgba(133,39,83,.17), inset 0 0 0 1px rgba(255,255,255,.76);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nycd-site .nycd-person { top: 0 !important; transition: none !important; }
}

/* V3.8: compact article hit count; does not alter existing layout or portraits. */
.nycd-site .nycd-article-hits{display:flex;justify-content:flex-end;align-items:center;margin:8px 0 3px;min-width:0}
.nycd-site .nycd-hits-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;max-width:100%;border:1px solid #cbddef;border-radius:30px;background:#f7fbff;color:var(--nycd-deep);font-size:12px;line-height:1.5;box-shadow:0 1px 2px #123f7010}
.nycd-site .nycd-hits-pill svg{width:15px;height:15px;color:var(--nycd-main)}
.nycd-site .nycd-hits-pill strong{font-weight:700;font-variant-numeric:tabular-nums}

/* V3.9 compact view counter */
.nycd-site .nycd-article-hits{margin:5px 0 0}
.nycd-site .nycd-hits-pill{gap:4px;padding:2px 8px;font-size:11px;line-height:1.5;box-shadow:none}
.nycd-site .nycd-hits-pill svg{width:13px;height:13px}
.nycd-site .nycd-article-hits+.nycd-section-title{margin-top:12px}

/* V4.0 academic vision: compact text, no numbered bullets */
.nycd-site .nycd-vision .nycd-vision-text{font-size:13px;line-height:1.75;color:#17334d;margin:0!important;padding:10px 14px!important;overflow-wrap:anywhere;text-align:left;background:#ffffff80}
@container(max-width:440px){.nycd-site .nycd-vision .nycd-vision-text{font-size:12.5px;padding:9px 11px!important}}

/* V4.2: opt-in academic layouts. Classic and internal departments retain all original rules. */
.nycd-site.nycd-academic-design{--nycd-accent:#175ba5;--nycd-deep:#123555;background:#f4f7fa;border-color:#d5e2ee;box-shadow:none;padding:14px 14px 20px}
.nycd-academic-design .nycd-banner:not(.unused){min-height:112px;gap:15px}
.nycd-academic-design:not(.nycd-banner-classic) .nycd-banner{background:linear-gradient(110deg,#09294f 12%,#10436b 54%,var(--nycd-accent));border-color:#254b69;border-bottom:3px solid #e8b84d;box-shadow:0 3px 7px #163b6320}
.nycd-academic-design:not(.nycd-banner-classic) .nycd-banner-art{width:42%;background:repeating-linear-gradient(140deg,transparent 0 13px,#ffffff12 14px 15px),radial-gradient(circle at 80% 55%,#ffffff30,transparent 70%)}
.nycd-academic-design:not(.nycd-banner-classic) .nycd-banner-wave{opacity:.32}
.nycd-academic-design .nycd-academic-art-icon{position:absolute;right:12%;top:50%;transform:translateY(-50%);width:92px;height:92px;color:#fff;opacity:.38}
.nycd-academic-design .nycd-banner-art .nycd-academic-art-icon svg{width:100%!important;height:100%!important;stroke-width:1.25}
.nycd-academic-design .nycd-banner-icon{border-radius:12px;box-shadow:none;background:linear-gradient(150deg,#ffdf81,#ac750d);width:48px;height:48px;flex-basis:48px}
.nycd-academic-design .nycd-banner-copy{max-width:73%}
.nycd-academic-design .nycd-banner h2{font-size:23px}
.nycd-academic-design .nycd-banner p{font-size:13px}
.nycd-academic-design .nycd-section-title{margin:16px 0 14px}
.nycd-academic-design .nycd-group-bar,.nycd-academic-design .nycd-duty-bar{background:linear-gradient(110deg,#103758,var(--nycd-accent));border:0;border-radius:8px;min-height:32px;box-shadow:none;color:#fff!important;font-size:15px}
.nycd-academic-design .nycd-group-icon{width:34px;height:32px;flex-basis:34px;margin:0 0 0 2px;border:0;border-radius:7px;background:transparent;box-shadow:none;color:#ffe2a0}
.nycd-academic-design .nycd-group-icon svg{width:19px;height:19px}
.nycd-academic-design .nycd-person{border:1px solid #d4e0eb;background:#fff;box-shadow:0 2px 6px #143a5d0f;border-radius:12px}
.nycd-academic-design .nycd-lead .nycd-person{background:#fff;min-height:190px;border-color:#d6b05b;box-shadow:0 3px 10px #153b6210}
.nycd-academic-design .nycd-lead .nycd-person-info{border-left:0;padding-left:0}
.nycd-academic-design .nycd-lead .nycd-lead-ribbon{background:#f2dfa5;color:#725019;text-shadow:none;clip-path:none;border-radius:6px;padding:4px 12px;font-size:13px}
.nycd-academic-design .nycd-person-info strong{color:#123555}
.nycd-academic-design .nycd-assistant .nycd-person{background:#fff;border-color:#c5d7e7;max-width:410px;min-height:152px}
.nycd-academic-design .nycd-role{background:#f5f0e2;color:#6c5326}
.nycd-academic-design .nycd-group-center{border-color:#d4e0eb;background:#f8fafc;box-shadow:none;padding:0 9px 10px}
.nycd-academic-design .nycd-group-center .nycd-group-bar{margin:-1px -10px 10px!important;background:linear-gradient(110deg,#103758,var(--nycd-accent));text-shadow:none}
.nycd-academic-design .nycd-group-center .nycd-group-icon{background:transparent;border:0}
.nycd-academic-design .nycd-duties{background:#fff;border-color:#d5e1ec;box-shadow:0 2px 6px #173b6210}
.nycd-academic-design .nycd-duty-bar{border-radius:9px 9px 0 0}
.nycd-academic-design .nycd-duties li:nth-child(even){background:#f1f5f8}
.nycd-academic-design .nycd-duties li:nth-child(odd){background:#fff}
.nycd-academic-design .nycd-duties li:before{background:var(--nycd-accent)}
.nycd-academic-design .nycd-end-decoration{height:13px;margin:17px -14px -20px;background:linear-gradient(95deg,#103758 25%,var(--nycd-accent) 80%,#e6b948 80% 85%,var(--nycd-accent) 85%);transform:none;border-radius:0}
/* Modern Academic: centered portrait, editorial typography and simple section tabs. */
.nycd-academic-modern .nycd-section-title>span{background:none;color:#163e5d;text-shadow:none;filter:none;font-size:19px;padding:3px 10px}
.nycd-academic-modern .nycd-section-title>span:before,.nycd-academic-modern .nycd-section-title>span:after{display:none}
.nycd-academic-modern .nycd-lead .nycd-person{flex-direction:column;text-align:center;gap:12px;padding:17px 12px;max-width:100%;min-height:0;border-color:#d6e3e9;border-top:3px solid var(--nycd-accent);background:linear-gradient(180deg,#fff,#f9fcfe)}
.nycd-academic-modern .nycd-lead .nycd-person-info{align-items:center;gap:5px}
.nycd-academic-modern .nycd-lead .nycd-watermark{right:7%;top:14%}
.nycd-academic-modern .nycd-group-bar{background:linear-gradient(100deg,#103758,var(--nycd-accent));border-radius:8px}
/* Professional Premium: full-width dark lead card; compact official presentation. */
.nycd-academic-premium .nycd-lead .nycd-person{background:linear-gradient(128deg,#102b50 5%,#10416b 74%,#173b63);border:1px solid #d5a63e;box-shadow:0 3px 9px #153b6226}
.nycd-academic-premium .nycd-lead .nycd-person-info strong{color:#fff}
.nycd-academic-premium .nycd-lead .nycd-watermark{color:#f5df9d}
.nycd-academic-premium .nycd-lead .nycd-ornament{color:#f4d47c}
.nycd-academic-premium .nycd-lead .nycd-lead-ribbon{background:linear-gradient(145deg,#ffe49a,#d1a23c);color:#4f370c}
.nycd-academic-premium .nycd-duties li:before{background:#9b7016;border-radius:5px}
.nycd-academic-premium .nycd-assistant .nycd-person{border-bottom:3px solid #e4be67}
/* Vocational Identity: emblem-style portrait, color-coded professional headings. */
.nycd-academic-identity .nycd-section-title>span:after{background:linear-gradient(180deg,var(--nycd-accent),#133b44)}
.nycd-academic-identity .nycd-lead .nycd-person{flex-direction:column;align-items:center;text-align:center;min-height:0;gap:12px;padding:19px 12px;background:radial-gradient(ellipse at 50% 0%,#edf4f5,#fff 65%);border-color:#d6e3e4;border-bottom:3px solid var(--nycd-accent)}
.nycd-academic-identity .nycd-lead .nycd-portrait{width:158px;height:158px;border-radius:50%;border:3px solid #d7ad48;box-shadow:0 0 0 3px #f4e7ba}
.nycd-academic-identity .nycd-lead .nycd-person-info{align-items:center;gap:6px}
.nycd-academic-identity .nycd-group-bar,.nycd-academic-identity .nycd-duty-bar{background:linear-gradient(110deg,var(--nycd-accent),#143a50)}
.nycd-academic-identity .nycd-assistant .nycd-person{border-bottom:3px solid var(--nycd-accent)}
@container(max-width:440px){.nycd-academic-design .nycd-banner h2{font-size:19px}.nycd-academic-design .nycd-banner-copy{max-width:76%}.nycd-academic-design .nycd-banner-icon{width:42px;height:42px;flex-basis:42px}.nycd-academic-design .nycd-academic-art-icon{width:70px;height:70px}.nycd-academic-identity .nycd-lead .nycd-portrait{width:138px;height:138px}.nycd-academic-design .nycd-assistant .nycd-person{min-height:138px}}
