.dap-directory-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;background:var(--brand-light);border:1px solid var(--border-color);border-radius:12px;padding:24px;margin-bottom:24px}
.dap-directory-filters>div:first-of-type{flex:2;min-width:220px}.dap-directory-filters>div{flex:1;min-width:180px}.dap-directory-filters label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.dap-directory-filters .btn{flex-shrink:0}
.dap-directory-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.dap-directory-toolbar p{color:var(--muted);font-size:14px}.dap-directory-toolbar strong{color:var(--text)}.dap-directory-modes{display:flex;gap:6px}.dap-directory-modes .btn{padding:9px 16px}.dap-directory-modes i{margin-right:5px}
.dap-directory-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}.dap-directory-school{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;background:#fff;border:1px solid var(--border-color);border-radius:12px}.dap-directory-school-main{display:flex;align-items:flex-start;gap:20px;min-width:0}.dap-directory-school-main>div{min-width:0}.dap-directory-school h2{overflow-wrap:anywhere;font-size:19px}.dap-directory-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:var(--brand-light);color:var(--brand);flex-shrink:0}.dap-directory-meta{color:var(--muted);font-size:13px;margin:8px 0 12px}.dap-directory-school-main p{font-size:13px}.dap-directory-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;flex-shrink:0}.dap-directory-actions .btn{font-size:13px;white-space:nowrap}
.dap-directory-table{border:1px solid var(--border-color);border-radius:12px;background:#fff}.dap-directory-table table{min-width:880px}.dap-directory-table thead th{background:var(--brand-light);font-size:12px;text-transform:uppercase;letter-spacing:.06em;padding:16px}.dap-directory-table tbody td,.dap-directory-table tbody th{padding:20px 16px;font-size:13px}.dap-directory-table tbody th{min-width:205px;max-width:300px;overflow-wrap:anywhere}.dap-directory-table tbody td:nth-child(5){min-width:220px;max-width:320px;overflow-wrap:anywhere}.dap-directory-table .dap-directory-actions{flex-direction:column;align-items:flex-start;font-weight:600;white-space:nowrap}.dap-directory-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:24px}
@media(max-width:991px){.dap-directory-school{align-items:flex-start;flex-direction:column}.dap-directory-actions{margin-left:68px}}
@media(max-width:600px){.dap-directory-filters{padding:20px;display:block}.dap-directory-filters>div{margin-bottom:16px}.dap-directory-filters>.btn{margin:0 8px 8px 0}.dap-directory-toolbar{gap:12px;flex-wrap:wrap}.dap-directory-school{padding:20px;gap:20px}.dap-directory-school-main{gap:12px}.dap-directory-icon{width:36px;height:36px;border-radius:8px}.dap-directory-actions{margin-left:0}.dap-directory-school h2{font-size:17px}.dap-directory-modes .btn{padding:9px 12px}}
.dap-school-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.dap-school-map{height:500px;border:1px solid var(--border-color);border-radius:12px;z-index:1;background:var(--brand-light)}.dap-school-map .leaflet-popup-content{font-family:var(--font-body);font-size:13px;line-height:1.6}.dap-school-map .leaflet-popup-content a{font-weight:600;color:var(--brand)}.dap-school-map-schools{background:white;border:1px solid var(--border-color);border-radius:12px;padding:20px;max-height:500px;overflow:auto}.dap-school-map-schools ul{list-style:none;margin:0;padding:0}.dap-school-map-schools li{padding:16px 0;overflow-wrap:anywhere}.dap-school-map-schools li+li{border-top:1px solid var(--border-color)}.dap-school-map-schools li>a{font-weight:600;font-size:14px}.dap-school-map-schools li>p{margin-top:8px;color:var(--muted)}
.dap-profile-section{padding:28px;background:#fff;border:1px solid var(--border-color);border-radius:12px;margin-bottom:24px;scroll-margin-top:24px}.dap-profile-section>h2{margin-bottom:20px}.dap-profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.dap-profile-facts dt{font-size:12px;color:var(--muted);font-weight:500}.dap-profile-facts dd{margin-top:8px;margin-bottom:0;font-size:15px}.dap-school-profile h1{overflow-wrap:anywhere}.dap-directory-school h2 a{text-decoration:none}.dap-directory-school h2 a:hover{text-decoration:underline}
@media(max-width:991px){.dap-school-map-layout{grid-template-columns:1fr}.dap-school-map-schools{max-height:300px}.dap-school-map{height:400px}}
@media(max-width:600px){.dap-profile-section{padding:20px}.dap-profile-facts{grid-template-columns:1fr}.dap-school-map{height:340px}.dap-directory-modes{flex-wrap:wrap}}
.dap-map-icon{background:none;border:none}.dap-map-pin,.dap-map-number{display:inline-flex;align-items:center;justify-content:center;background:var(--map-colour,#245b49);color:white;font:700 14px/1 var(--font-body);border:3px solid white;border-radius:50%;width:34px;height:34px;box-shadow:0 2px 8px #173f3540;flex-shrink:0}.dap-map-cluster{display:flex;align-items:center;justify-content:center;width:96px;height:42px;border:3px solid white;border-radius:24px;background:#173f35;color:white;box-shadow:0 0 0 5px #245b4933,0 2px 8px #173f3540;font:700 13px/1 var(--font-body)}.dap-school-map .dap-map-label{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 12px/1.4 var(--font-body);color:#173f35;background:white;border:1px solid #dce2d9;border-radius:6px;box-shadow:0 2px 6px #173f351a;padding:5px 8px}.dap-map-school-title{display:flex;gap:10px;align-items:center}.dap-map-school-title>a{font-size:14px;font-weight:600}.dap-map-number{width:28px;height:28px;border-width:2px;font-size:12px}.dap-map-focus{border:0;background:none;color:var(--brand);padding:8px 0;font-size:12px;font-weight:650;text-decoration:underline;min-height:36px}.dap-school-map-schools li.is-selected{background:var(--brand-light);border-radius:8px;padding:16px 10px}.dap-map-icon:focus-visible{outline:3px solid var(--accent);outline-offset:5px;border-radius:50%}

/* Directory explorer: a compact DAP header and connected school/map panels. */
.dap-directory.is-map{width:100%;max-width:1600px;padding:24px 32px;margin:0 auto}
.dap-directory .dap-workspace-header{margin-bottom:20px}
.dap-directory .dap-workspace-header h1{font-size:clamp(24px,2.5vw,34px);letter-spacing:-.035em;margin:7px 0 8px}
.dap-directory .dap-workspace-header p{font-size:14px;color:var(--muted);margin:0}
.dap-directory .dap-directory-filters{background:white;padding:16px 20px;margin-bottom:18px;gap:16px;box-shadow:0 3px 14px #173f3505}
.dap-directory .dap-directory-filters label{font-size:12px;margin-bottom:5px}
.dap-directory .dap-directory-toolbar{margin-bottom:12px}
.dap-directory .dap-directory-modes{padding:4px;border:1px solid var(--border-color);background:white;border-radius:10px;gap:3px}
.dap-directory .dap-directory-modes .btn{border:0;padding:7px 14px;font-size:12px;border-radius:7px}
.dap-directory.is-map #directory-results{position:relative}
.dap-directory.is-map .dap-school-map-layout{grid-template-columns:340px minmax(0,1fr);gap:0;border:1px solid var(--border-color);border-radius:16px;overflow:hidden;background:white;box-shadow:0 8px 30px #173f3508}
.dap-directory.is-map .dap-school-map-layout>div{grid-column:2;grid-row:1;min-width:0;position:relative;display:flex;flex-direction:column}
.dap-directory.is-map .dap-school-map{height:clamp(440px,62vh,740px);border:0;border-radius:0;flex:1;min-height:440px}
.dap-directory.is-map .dap-school-map-schools{grid-column:1;grid-row:1;border:0;border-right:1px solid var(--border-color);border-radius:0;padding:0;max-height:clamp(480px,68vh,790px);overscroll-behavior:contain}
.dap-map-results-heading{padding:20px;background:#f1f5ee;border-bottom:1px solid var(--border-color)}
.dap-map-results-heading h2{font-size:18px;margin:6px 0 8px;font-weight:700;color:var(--brand-dark)}
.dap-map-results-heading p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.dap-directory.is-map .dap-school-map-schools li{padding:20px;transition:background .15s;border-radius:0}
.dap-directory.is-map .dap-school-map-schools li:hover{background:#f8faf6}
.dap-directory.is-map .dap-school-map-schools li.is-selected{background:#eaf0e8;box-shadow:inset 3px 0 var(--brand)}
.dap-directory.is-map .dap-map-school-title{align-items:flex-start}
.dap-directory.is-map .dap-map-school-title a{color:var(--brand-dark);font-size:15px;line-height:1.5;text-decoration:none}
.dap-map-school-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 8px}
.dap-map-school-tags span{font-size:10px;font-weight:650;padding:3px 7px;border-radius:5px;background:#f0f2ed;color:var(--muted)}
.dap-map-school-tags .dap-map-verified{background:#e7f1e7;color:var(--brand)}
.dap-school-map-schools .dap-map-address{font-size:12px;color:var(--muted);line-height:1.6;margin:4px 0 8px}
.dap-map-profile-link{float:right;font-size:12px;font-weight:650;padding:9px 0;color:var(--brand)}
.dap-directory.is-map #school-map-summary{font-size:12px;color:var(--muted);margin-bottom:12px}
.dap-directory.is-map #school-map-status{margin:0!important;padding:10px 16px;background:white;border-top:1px solid var(--border-color);font-size:11px;min-height:38px}
.dap-directory.is-map #school-map-reset{position:absolute;right:16px;top:16px;z-index:500;background:white;border:1px solid var(--border-color);box-shadow:0 2px 8px #173f351a;font-size:12px;padding:9px 13px;border-radius:8px}
.dap-directory.is-map .leaflet-control-zoom{border:1px solid var(--border-color);border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #173f351a}
.dap-directory.is-map .leaflet-control-zoom a{color:var(--brand)}
.dap-directory [aria-busy="true"]{opacity:.6;pointer-events:none}
@media(max-width:991px){.dap-directory.is-map{padding:20px}.dap-directory.is-map .dap-school-map-layout{grid-template-columns:280px minmax(0,1fr)}.dap-directory.is-map .dap-school-map-schools{max-height:550px}.dap-directory.is-map .dap-school-map{min-height:420px}.dap-directory .dap-directory-filters{gap:12px}.dap-directory-filters>div{min-width:160px}}
@media(max-width:650px){.dap-directory.is-map{padding:20px 12px}.dap-directory .dap-directory-filters{display:grid;grid-template-columns:1fr 1fr;padding:14px;gap:12px}.dap-directory .dap-directory-filters>div{min-width:0;margin:0}.dap-directory .dap-directory-filters>div:first-of-type{grid-column:1/-1}.dap-directory .dap-directory-filters>.btn{margin:0;font-size:12px}.dap-directory .dap-directory-filters>[data-directory-clear]{grid-column:1/-1;padding:4px}.dap-directory.is-map .dap-school-map-layout{display:flex;flex-direction:column}.dap-directory.is-map .dap-school-map-layout>div{order:0}.dap-directory.is-map .dap-school-map{height:360px;min-height:360px;flex:none}.dap-directory.is-map .dap-school-map-schools{order:1;max-height:400px;border-right:0;border-top:1px solid var(--border-color)}.dap-directory .dap-directory-modes .btn{padding:7px 10px}.dap-directory.is-map #school-map-reset{top:12px;font-size:11px}.dap-directory .dap-directory-toolbar{gap:8px}.dap-directory .dap-directory-toolbar p{font-size:12px}}

/* Campus profiles use one full-width map with a compact address list below. */
.dap-school-profile.container-xl{width:100%;max-width:1240px;margin-inline:auto;padding-inline:clamp(20px,4vw,48px)}
.dap-school-profile>.row{--bs-gutter-x:24px}
.dap-school-profile .row>[class*="col-"]{min-width:0}
.dap-campus-map-layout{display:flex;flex-direction:column;gap:0;border:1px solid var(--border-color);border-radius:12px;overflow:hidden;background:#fff}
.dap-campus-map-layout .dap-map-canvas{position:relative;min-width:0}
.dap-campus-map-layout .dap-school-map{width:100%;height:340px;border:0;border-radius:0}
.dap-campus-map-layout #school-map-reset{position:absolute;top:12px;right:12px;z-index:500;margin:0!important;background:white;box-shadow:0 2px 8px #173f351a;font-size:12px;padding:8px 12px}
.dap-campus-map-layout #school-map-status{margin:0!important;padding:9px 16px;font-size:11px;line-height:1.6;background:#f6f8f3;border-top:1px solid var(--border-color)}
.dap-campus-map-layout .dap-school-map-schools{padding:0;border:0;border-radius:0;max-height:none;overflow:visible}
.dap-campus-map-layout .dap-school-map-schools li,.dap-campus-map-layout .dap-school-map-schools li.is-selected{padding:20px;border-radius:0;border-top:1px solid var(--border-color)}
.dap-campus-map-layout .dap-school-map-schools li.is-selected{background:#f1f5ee}
.dap-campus-map-layout .dap-map-school-title{align-items:center;gap:10px}
.dap-campus-map-layout .dap-map-school-title h3{font-size:15px;font-weight:700;line-height:1.5;margin:0;color:var(--brand-dark)}
.dap-campus-map-layout .dap-map-number{box-shadow:none;width:26px;height:26px;font-size:11px}
.dap-campus-map-layout .dap-map-locality{font-size:11px;color:var(--muted);margin:8px 0 0}
.dap-campus-map-layout .dap-map-address{font-size:13px;line-height:1.7;margin:8px 0;color:var(--text)}
.dap-campus-map-layout .dap-map-focus{font-size:12px;text-decoration:none;padding:7px 12px;min-height:34px;margin-top:3px;border:1px solid var(--border-color);border-radius:7px;background:#fff}
.dap-campus-map-layout .dap-map-focus:hover{background:var(--brand-light);border-color:var(--brand)}
.dap-campus-map-layout .dap-map-focus:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.dap-campus-map-layout .dap-map-label{max-width:145px;font-size:11px}
@media(max-width:600px){.dap-campus-map-layout .dap-school-map{height:280px}.dap-campus-map-layout .dap-school-map-schools li,.dap-campus-map-layout .dap-school-map-schools li.is-selected{padding:16px}.dap-campus-section.dap-profile-card{padding:20px}.dap-campus-section #institution-location{font-size:20px}}
