/* PSP 1.9.4 – presentation only; original templates, official hierarchy and POST values unchanged. */
.psp-dir{width:100%;max-width:1200px;min-width:0;margin-inline:auto;overflow:visible}
.psp-dir .psp-dir-groups{gap:32px}
.psp-dir .psp-dir-group-heading{position:relative;gap:12px;min-width:0;padding:0 0 11px;margin:0 0 18px;border:0!important;border-bottom:2px solid #d3ab66!important}
.psp-dir .psp-dir-group-heading::after{content:"";position:absolute;bottom:-2px;left:0;width:min(170px,27%);height:3px;background:#926016;border-radius:2px}
.psp-dir .psp-dir-group-heading h2{font-size:clamp(18px,2.1vw,23px)!important;color:#3e2d17!important;overflow-wrap:anywhere;min-width:0}
.psp-dir .psp-dir-group-count{font-size:12px;min-width:30px;border:1px solid #e4c999}
.psp-dir .psp-dir-grid{gap:18px}
.psp-dir .psp-dir-card{display:flex;flex-direction:column;border-radius:17px;min-width:0;box-shadow:0 5px 18px rgba(67,44,18,.08)}
.psp-dir a.psp-dir-card-link,.psp-dir a.psp-dir-card-link:hover{height:100%;display:flex;flex-direction:column;min-width:0;flex:1}
.psp-dir .psp-dir-card-body{width:100%;min-width:0;min-height:235px;flex:1;padding:12px 14px 17px;gap:1px}
.psp-dir .psp-dir-name{font-size:clamp(16px,1.4vw,18px)!important;line-height:1.32!important;min-height:0;letter-spacing:-.012em;overflow-wrap:anywhere}
/* Do not silently truncate legal official titles. Cards grow naturally. */
.psp-dir .psp-dir-designation{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;min-height:0!important;font-size:13px!important;line-height:1.5!important;margin:2px 0 9px!important;font-weight:700;overflow-wrap:anywhere}
.psp-dir .psp-dir-secondary{font-size:12px!important;line-height:1.45!important;margin:0 0 10px!important;overflow-wrap:anywhere}
.psp-dir .psp-dir-place{font-size:12px!important;margin:3px 0 5px!important}
.psp-dir .psp-dir-member-id{font-size:12px!important;line-height:1.4!important}
.psp-dir .psp-dir-level{font-size:11px!important;line-height:1.3!important;padding:5px 10px!important;margin:0 0 10px!important;white-space:normal}
.psp-dir .psp-dir-card-action{margin-top:auto;padding-top:13px;min-height:48px;font-size:13px;letter-spacing:.01em}
.psp-dir a.psp-dir-card-link:focus-visible{outline:3px solid #9b681d!important;outline-offset:-4px;border-radius:17px}
.psp-dir .psp-dir-avatar{flex-shrink:0}
.psp-dir .psp-dir-search:focus-visible{outline:3px solid #c39c51!important;outline-offset:2px}
/* Keep two readable cards on normal phones, one on very narrow screens. */
@media(max-width:1050px) and (min-width:701px){.psp-dir .psp-dir-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){
  .psp-dir{width:100%;padding:16px 12px 50px!important}
  .psp-dir .psp-dir-groups{gap:27px}
  .psp-dir .psp-dir-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .psp-dir .psp-dir-group-heading h2{font-size:18px!important;line-height:1.35!important}
  .psp-dir .psp-dir-card-cover{height:86px}
  .psp-dir .psp-dir-avatar{width:88px;height:88px;margin-top:-41px}
  .psp-dir .psp-dir-card-body{min-height:238px;padding:10px 10px 13px}
  .psp-dir .psp-dir-name{font-size:16px!important;line-height:1.3!important}
  .psp-dir .psp-dir-designation{font-size:13px!important;line-height:1.4!important}
  .psp-dir .psp-dir-secondary{font-size:12px!important}
  .psp-dir .psp-dir-member-id{font-size:12px!important}
  .psp-dir .psp-dir-level{font-size:11px!important;padding:4px 7px!important}
  .psp-dir .psp-dir-card-action{min-height:48px;padding-top:11px;font-size:12px}
  .psp-dir input.psp-dir-search{font-size:16px!important;height:52px!important}
}
@media(max-width:335px){.psp-dir .psp-dir-grid{grid-template-columns:1fr!important}.psp-dir .psp-dir-card-body{min-height:190px}}
/* Editor: good touch targets and readable text without changing saved form values. */
.psp-visual-editor{min-width:0;max-width:1200px}
.psp-visual-editor :is(button,input,select,textarea){font-family:inherit}
.psp-visual-editor .psp-visual-action,.psp-visual-editor .psp-visual-save,.psp-visual-editor .psp-visual-cancel,.psp-visual-editor .psp-visual-bottom-actions button{min-height:44px!important;font-size:13px!important}
.psp-visual-editor .psp-rich-toolbar button{min-height:42px!important;padding:9px 12px}
.psp-visual-editor :is(.psp-visual-action,.psp-visual-save,.psp-visual-cancel,.psp-rich-toolbar button,.psp-visual-gallery-add):focus-visible{outline:3px solid #bd8d30!important;outline-offset:2px}
.psp-visual-editor .psp-visual-variant :is([data-psp-field="psp_description"],[data-psp-field="psp_other_info"]){overflow-wrap:anywhere}
@media(max-width:800px){
  .psp-visual-editor{width:calc(100% - 16px)!important;margin:14px auto 64px!important}
  .psp-visual-toolbar{padding:13px!important;border-radius:12px}
  .psp-visual-actions-right{gap:10px}
  .psp-visual-editor .psp-visual-toolgroup{gap:8px}
  .psp-visual-editor .psp-visual-action{white-space:normal!important;flex:1 1 calc(50% - 8px);padding:11px 8px!important}
  .psp-visual-editor .psp-rich-toolbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;gap:8px}
  .psp-visual-editor .psp-rich-toolbar>*{flex-shrink:0}
  .psp-visual-editor .psp-rich-toolbar small{display:none}
  .psp-visual-editor .psp-visual-contact:not([hidden]){grid-template-columns:1fr}
  .psp-visual-editor .psp-visual-contact input{font-size:16px!important;min-height:44px!important}
  .psp-visual-editor .psp-visual-layout-label select{font-size:16px!important;min-height:44px!important}
  .psp-visual-editor .psp-visual-variant [data-psp-field="psp_description"]:focus{min-height:300px!important;padding:18px!important;line-height:1.65!important}
}
/* Safe mobile quick bar calls existing form actions; it adds no independent save logic. */
.psp-mobile-quickbar{display:none}
@media(max-width:800px){
  body.psp-mobile-ui-active{padding-bottom:80px}
  .psp-mobile-quickbar{position:fixed;bottom:0;left:0;right:0;z-index:10000;display:flex;align-items:center;gap:10px;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left));background:rgba(255,252,247,.97);border-top:1px solid #d8c49f;box-shadow:0 -8px 28px rgba(41,29,10,.14);backdrop-filter:blur(12px);box-sizing:border-box;font:600 12px/1.3 system-ui,sans-serif}
  .psp-mobile-quickbar button{min-height:45px;border:1px solid #b9852b;border-radius:10px;padding:9px 12px;cursor:pointer;font-size:13px;font-weight:750;background:#b9852b;color:white;flex:1}
  .psp-mobile-quickbar .psp-mobile-draft{background:#fff;color:#805317;flex:0 0 auto}
  .psp-mobile-quickbar .psp-mobile-status{color:#665945;white-space:normal;max-width:33%;font-size:11px;overflow-wrap:anywhere}
  .psp-mobile-quickbar button:focus-visible{outline:3px solid #7c5819;outline-offset:2px}
}
@media(max-width:360px){.psp-mobile-quickbar{gap:6px}.psp-mobile-quickbar .psp-mobile-status{display:none}}
@media(prefers-reduced-motion:reduce){.psp-dir .psp-dir-card,.psp-dir .psp-dir-card-action span,.psp-visual-editor *{transition:none!important;animation:none!important}}
