body.cfr-page{margin:0;background:#f3f3f3;color:#092343;font-family:Archivo,Arial,sans-serif;font-size:18px;line-height:1.6}.cfr-page *{box-sizing:border-box}.cfr-page h1,.cfr-page h2,.cfr-page h3,.cfr-page p{margin:0 0 24px;font-family:inherit;color:inherit}.cfr-page h1{font-size:clamp(42px,5.3vw,82px);font-weight:500;line-height:1.02;letter-spacing:-.045em}.cfr-page h2{font-size:clamp(30px,3.3vw,48px);font-weight:500;line-height:1.1;letter-spacing:-.035em}.cfr-page h3{font-size:26px;line-height:1.2;font-weight:500;letter-spacing:-.02em}.cfr-page a{color:inherit;text-underline-offset:5px}.cfr-page button,.cfr-page input,.cfr-page select{font:inherit}.cfr-page a:focus-visible,.cfr-page button:focus-visible,.cfr-page summary:focus-visible,.cfr-page input:focus-visible,.cfr-page select:focus-visible{outline:3px solid #092343;outline-offset:4px}.cfr-page [hidden]{display:none!important}.cfr-skip{position:absolute;left:12px;top:-100px;padding:12px;background:white;z-index:100000}.cfr-skip:focus{top:12px}.cfr-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 4vw;border-bottom:1px solid #d3dcd6}.cfr-brand{font-weight:600;font-size:28px;text-decoration:none;letter-spacing:-1px}.cfr-brand span{display:block;font-size:12px;font-weight:400;letter-spacing:0}.cfr-header nav{display:flex;gap:28px}.cfr-header nav a{text-decoration:none;font-size:16px;padding:8px 0}.cfr-header nav a:hover{text-decoration:underline}.cfr-hero{position:relative;display:grid;grid-template-columns:1.3fr 1fr;gap:50px;background:#009FDA;color:#fff;padding:80px 6vw 30px;overflow:hidden}.cfr-hero>div:first-child{max-width:800px}.cfr-hero p{font-size:22px;max-width:620px;margin-top:30px}.cfr-page .cfr-button{display:inline-block;min-height:48px;background:#009FDA;border:1px solid transparent;color:#fff;padding:13px 22px;border-radius:4px;text-decoration:none;cursor:pointer;font-weight:500}.cfr-page .cfr-button:hover{background:#67c9e5}.cfr-hero-link{display:inline-block;margin:16px 0 0 24px;font-size:16px}.cfr-rail{position:relative;min-height:380px;display:flex;gap:38px;justify-content:center;transform:rotate(20deg);opacity:.85}.cfr-rail i{height:140%;width:3px;background:#c5df74;position:relative;top:-70px}.cfr-rail i:nth-child(even){background:#6b9d86}.cfr-rail span{position:absolute;left:20%;top:34%;font-size:45px;line-height:1.05;letter-spacing:-2px;background:#009FDA;padding:18px;transform:rotate(-20deg)}.cfr-hero .cfr-status{grid-column:1/-1;font-size:13px;max-width:none;color:#092343;border-top:1px solid #ccd5df;padding-top:20px;margin:18px 0 0}.cfr-wrap{max-width:1440px;width:88%;margin:auto}.cfr-intro{display:grid;grid-template-columns:1fr 1.2fr;gap:60px;padding:80px 0}.cfr-intro>p{max-width:740px;font-size:20px}.cfr-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #c3cfc6;padding-top:30px;gap:24px}.cfr-stats p{margin:0}.cfr-stats strong{display:block;font-size:60px;line-height:1.2;font-weight:400;letter-spacing:-3px}.cfr-section{padding:40px 0 80px;scroll-margin-top:30px}.cfr-section-head{display:flex;justify-content:space-between;gap:30px;align-items:baseline}.cfr-section-head>a{font-size:14px;flex-shrink:0}.cfr-map{display:block;width:100%;height:620px;border:1px solid #b8c8bd;background:#e5eade}.cfr-page .cfr-note{font-size:14px;color:#506176;line-height:1.5;margin:16px 0 28px}.cfr-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:16px;padding:22px;background:#fff;margin:24px 0}.cfr-filters label{font-size:14px}.cfr-filters input,.cfr-filters select{display:block;width:100%;min-width:0;height:48px;border:1px solid #a3b8aa;background:#fff;border-radius:0;padding:10px;color:#092343;margin-top:8px;font-size:16px}.cfr-filters button{height:48px;background:none;border:0;text-decoration:underline;cursor:pointer;color:inherit;font-size:15px}.cfr-record{border-top:1px solid #c0cdc2}.cfr-record:last-child{border-bottom:1px solid #c0cdc2}.cfr-record summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;padding:18px 32px 18px 0;position:relative;list-style:none}.cfr-record summary:after{content:'+';position:absolute;right:4px;font-size:24px}.cfr-record[open] summary:after{content:'−'}.cfr-record summary::-webkit-details-marker{display:none}.cfr-record summary span{font-size:18px}.cfr-record summary small{font-size:13px;color:#506176;flex-shrink:0}.cfr-record-body{padding:0 0 28px}.cfr-record dl{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:12px 0}.cfr-record dt{font-size:13px;color:#506176}.cfr-record dd{margin:4px 0 0;font-size:16px;overflow-wrap:anywhere}.cfr-record-body a{font-size:14px}.cfr-page #cfr-more{margin-top:24px}.cfr-project-section{background:#fff;padding:80px 0;scroll-margin-top:20px}.cfr-project{display:grid;grid-template-columns:1fr 1.5fr;gap:60px;border-top:1px solid #b9c8ba;margin-top:44px;padding-top:32px}.cfr-project-title>span{font-size:14px;display:block;margin-bottom:18px}.cfr-project h3{max-width:420px}.cfr-project-content>p{font-size:19px;max-width:800px}.cfr-gallery{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px}.cfr-gallery a{flex:0 0 90%;scroll-snap-align:start}.cfr-gallery img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;display:block}.cfr-page .cfr-missing{padding:20px;border:1px dashed #9aafa1;font-size:15px;color:#506176}.cfr-source-list{margin-top:24px;font-size:15px}.cfr-source-list summary{cursor:pointer;padding:12px 0;text-decoration:underline;text-underline-offset:4px}.cfr-source-list ol{padding-left:24px}.cfr-source-list li{margin-bottom:8px;overflow-wrap:anywhere}.cfr-source-list p{margin-top:18px}.cfr-downloads{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0}.cfr-downloads a{border:1px solid #9aae9e;padding:14px 18px;font-size:15px;text-decoration:none}.cfr-downloads a:hover{background:#fff}.cfr-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#009FDA;color:white;padding:32px 6vw;font-size:14px}.cfr-footer p{margin:0}@media(max-width:800px){.cfr-header{align-items:flex-start;flex-direction:column;padding:20px 6vw;gap:16px}.cfr-header nav{gap:22px;flex-wrap:wrap}.cfr-header nav a{font-size:14px}.cfr-hero{grid-template-columns:1fr;padding:48px 6vw 24px;gap:22px}.cfr-rail{display:none}.cfr-hero p{font-size:19px}.cfr-hero-link{margin-left:0;display:block}.cfr-intro{grid-template-columns:1fr;gap:20px;padding:48px 0}.cfr-intro>p{font-size:18px}.cfr-stats{gap:14px}.cfr-stats strong{font-size:42px;letter-spacing:-2px}.cfr-stats p{font-size:13px}.cfr-section{padding:28px 0 48px}.cfr-section-head{display:block}.cfr-section-head>a{display:block;margin-bottom:18px}.cfr-map{height:450px}.cfr-filters{grid-template-columns:1fr 1fr;padding:16px;gap:14px}.cfr-filters label:first-child{grid-column:1/-1}.cfr-filters button{grid-column:1/-1}.cfr-record summary{display:block}.cfr-record summary small{display:block;margin-top:5px}.cfr-record dl{grid-template-columns:1fr 1fr}.cfr-project-section{padding:48px 0}.cfr-project{grid-template-columns:1fr;gap:8px;padding-top:24px;margin-top:32px}.cfr-project-title>span{margin-bottom:10px}.cfr-project-content>p{font-size:18px}.cfr-footer{flex-wrap:wrap;align-items:flex-start}.cfr-downloads{display:grid;grid-template-columns:1fr}.cfr-page h3{font-size:24px}}@media(prefers-reduced-motion:reduce){.cfr-page *{scroll-behavior:auto!important}}

.cfr-page .cfr-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.cfr-page .cfr-hero{display:block;background:#f3f3f3;padding:0;overflow:visible}.cfr-cover{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.cfr-page .cfr-hero .cfr-status{margin:0;padding:16px 6%;border:0;color:#506176;font-size:13px}.cfr-page .cfr-intro{padding-top:48px}.cfr-page .cfr-map-heading{background:#fff;border-radius:4px;text-align:center;padding:28px;font-size:clamp(30px,3.3vw,54px);margin-bottom:28px}.cfr-map-heading span{color:#009FDA}.cfr-map-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;align-items:start}.cfr-map-card{background:#fff;padding:24px;border-radius:4px;position:relative;min-width:0}.cfr-page .cfr-map-card h3{font-size:26px;overflow-wrap:anywhere}.cfr-map-card>p{font-size:16px}.cfr-map-card>a{font-size:15px}.cfr-map-card dl{margin:20px 0}.cfr-map-card dl>div{margin:12px 0}.cfr-map-card dt{font-size:12px;color:#506176}.cfr-map-card dd{margin:2px 0;font-size:16px;overflow-wrap:anywhere}.cfr-page .cfr-map-card .cfr-button{width:100%;border-radius:4px;font-size:16px}.cfr-map-legend{margin-top:28px;padding-top:20px;border-top:1px solid #e0e5e9}.cfr-map-legend p{display:flex;align-items:center;gap:10px;font-size:14px;margin-bottom:12px}.cfr-map-legend i{width:18px;height:18px;border-radius:50%;background:#009FDA;display:inline-block;flex-shrink:0}.cfr-map-legend i.evaluation{background:#092343;border:4px solid #009FDA}.cfr-map-canvas{position:relative;min-width:0;overflow:hidden;border-radius:4px}.cfr-map-controls{position:absolute;top:12px;right:12px;display:flex;gap:6px;z-index:2}.cfr-map-controls button{background:#fff;color:#092343;border:1px solid #d6dfe5;border-radius:4px;min-width:44px;height:44px;padding:6px 12px;cursor:pointer;font-size:16px}.cfr-map-controls button:disabled{opacity:.4;cursor:default}#cfr-map{width:100%;height:auto;min-height:500px;display:block;touch-action:pan-y;background:#f3f3f3}#cfr-counties path{fill:#fff;stroke:#009FDA;stroke-width:.65;vector-effect:non-scaling-stroke}#cfr-map-points g{cursor:pointer}#cfr-map-points circle{fill:#009FDA;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}#cfr-map-points .evaluation circle{fill:#092343;stroke:#009FDA;stroke-width:3}#cfr-map-points .selected circle,#cfr-map-points g:focus circle{stroke:#092343;stroke-width:4}#cfr-map-points text{fill:#fff;font-family:Archivo,Arial,sans-serif;font-weight:600;text-anchor:middle;dominant-baseline:central;pointer-events:none}#cfr-map-points g:focus{outline:none}#cfr-map-status{font-size:13px;color:#506176;margin:12px 0;text-align:center}.cfr-page .cfr-record{border-color:#d5dfe6}.cfr-page .cfr-filters{border-radius:4px}.cfr-page .cfr-filters input,.cfr-page .cfr-filters select{border-color:#c3d0dc;border-radius:4px}.cfr-page .cfr-project-section{background:#eaeef1}.cfr-page .cfr-project{border-color:#cad5df}.cfr-page .cfr-gallery img{object-fit:contain;background:white;border-radius:4px}.cfr-page .cfr-downloads a{border-color:#c3d0dc;border-radius:4px;background:#fff}.cfr-page .cfr-footer{background:#092343}.cfr-page .cfr-button{border-radius:4px}.cfr-page .cfr-missing{border-color:#acbdcb;border-radius:4px}.cfr-page .cfr-header{border:0;background:white}.cfr-page .cfr-brand{color:#092343}@media(max-width:1100px){.cfr-map-layout{grid-template-columns:260px minmax(0,1fr)}.cfr-map-card{padding:20px}.cfr-map-card h3{font-size:22px}#cfr-map{min-height:430px}}@media(max-width:800px){.cfr-page .cfr-map-heading{padding:22px 16px;border-radius:4px;text-align:left}.cfr-map-layout{display:flex;flex-direction:column}.cfr-map-canvas{order:0;width:100%}.cfr-map-card{order:1;width:100%;padding:22px}.cfr-map-controls{top:4px;right:4px}#cfr-map{min-height:320px;height:380px}.cfr-page .cfr-hero .cfr-status{padding:12px 6%;font-size:12px}.cfr-map-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cfr-map-card dl>div{margin:0}.cfr-map-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px}.cfr-map-legend p{font-size:12px}.cfr-page .cfr-intro{padding-top:32px}}

/* Official UrbanizeHub icons, isolated from the main site's body class. */
.cfr-page .uhb-icon { display:inline-block; width:1em; height:1em; margin-left:.3em; vertical-align:-.12em; background-color:currentColor; -webkit-mask:center / contain no-repeat; mask:center / contain no-repeat; }
.cfr-page .uhb-icon--next { -webkit-mask-image:url('../icons/uhb-next-arrow-icon-stroke.svg'); mask-image:url('../icons/uhb-next-arrow-icon-stroke.svg'); }
.cfr-page .uhb-icon--download { -webkit-mask-image:url('../icons/uhb-download-icon-stroke.svg'); mask-image:url('../icons/uhb-download-icon-stroke.svg'); }
.cfr-page .cfr-icon-external { transform:rotate(-45deg); }
.cfr-page .cfr-icon-up { transform:rotate(-90deg); }

/* Boxed sticky navigation and shared side margins, following the supplied reference. */
body.cfr-page { --cfr-page-gutter:16px; --cfr-content-gutter:clamp(16px,3.5vw,60px); padding-inline:var(--cfr-page-gutter); overflow-x:clip; overflow-y:visible; }
.cfr-page .cfr-header { position:sticky; top:10px; z-index:1000; min-height:64px; margin:10px 0 12px; padding:10px 16px; border-radius:4px; background:#092343; color:#fff; gap:24px; }
.cfr-page .cfr-brand { color:#fff; font-size:24px; line-height:1.15; letter-spacing:-.6px; }
.cfr-page .cfr-brand span { margin-top:3px; font-size:11px; }
.cfr-page .cfr-header nav { gap:28px; align-items:center; }
.cfr-page .cfr-header nav a { color:#fff; }
.cfr-page .cfr-header a:focus-visible { outline-color:#67c9e5; }
.cfr-page .cfr-wrap { width:calc(100% - 2 * var(--cfr-content-gutter)); max-width:none; }
.cfr-page .cfr-hero .cfr-status { padding-inline:var(--cfr-content-gutter); }
.cfr-page .cfr-footer { padding-inline:var(--cfr-content-gutter); }
.cfr-page :is(.cfr-section,.cfr-project-section,.cfr-record) { scroll-margin-top:96px; }
@media(max-width:800px) {
 body.cfr-page { --cfr-page-gutter:10px; --cfr-content-gutter:16px; }
 .cfr-page .cfr-header { top:8px; margin-top:8px; padding:12px; flex-direction:column; align-items:flex-start; gap:8px; }
 .cfr-page .cfr-brand { font-size:22px; }
 .cfr-page .cfr-header nav { width:100%; justify-content:space-between; gap:10px; flex-wrap:nowrap; }
 .cfr-page .cfr-header nav a { white-space:nowrap; font-size:12px; padding:5px 0; }
 .cfr-page :is(.cfr-section,.cfr-project-section,.cfr-record) { scroll-margin-top:132px; }
}

/* Compact catalogue, independent of the wide map. */
.cfr-page .cfr-catalog { max-width:1120px; margin:32px auto 0; }
.cfr-page .cfr-catalog h3 { font-size:24px; margin-bottom:16px; }
.cfr-page .cfr-filters { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) auto; padding:14px 16px; gap:12px; margin:16px 0; border-radius:4px; }
.cfr-page .cfr-filters label { font-size:12px; line-height:1.4; }
.cfr-page .cfr-filters :is(input,select) { height:40px; margin-top:5px; padding:8px 10px; font-size:14px; }
.cfr-page .cfr-filters button { height:40px; font-size:13px; padding:0 4px; }
.cfr-page #cfr-count { font-size:14px; margin-bottom:12px; }
.cfr-page .cfr-record summary { padding:10px 28px 10px 0; min-height:44px; gap:16px; align-items:center; line-height:1.45; }
.cfr-page .cfr-record summary span { font-size:16px; }
.cfr-page .cfr-record summary small { font-size:12px; }
.cfr-page .cfr-record summary::after { top:50%; transform:translateY(-50%); font-size:20px; }
.cfr-page .cfr-record-body { padding-bottom:18px; }
.cfr-page .cfr-record dl { gap:12px 20px; margin:8px 0; }
.cfr-page .cfr-record dd { font-size:14px; }
.cfr-page .cfr-catalog #cfr-more { margin-top:16px; padding:10px 16px; min-height:44px; font-size:14px; }
@media(max-width:800px) {
 .cfr-page .cfr-catalog { margin-top:24px; }
 .cfr-page .cfr-filters { grid-template-columns:1fr 1fr; padding:12px; gap:10px; }
 .cfr-page .cfr-filters button { grid-column:1/-1; height:32px; }
 .cfr-page .cfr-record summary { display:flex; align-items:flex-start; gap:8px; }
 .cfr-page .cfr-record summary span { min-width:0; overflow-wrap:anywhere; }
 .cfr-page .cfr-record summary small { margin-top:2px; max-width:80px; white-space:normal; }
}

.cfr-page .cfr-catalog { scroll-margin-top:96px; }
.cfr-page .cfr-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; }
.cfr-page .cfr-pagination button { font:inherit; font-size:14px; min-height:44px; padding:8px 14px; border:1px solid #c3d0dc; border-radius:4px; background:#fff; color:#092343; cursor:pointer; }
.cfr-page .cfr-pagination button:disabled { opacity:.4; cursor:default; }
.cfr-page .cfr-pagination span { font-size:13px; text-align:center; }
.cfr-page .uhb-icon--back { -webkit-mask-image:url('../icons/uhb-back-arrow-icon-stroke.svg'); mask-image:url('../icons/uhb-back-arrow-icon-stroke.svg'); margin-left:0; margin-right:.3em; }
@media(max-width:800px) { .cfr-page .cfr-catalog { scroll-margin-top:132px; } .cfr-page .cfr-pagination { gap:6px; } .cfr-page .cfr-pagination button { font-size:12px; padding:8px; } .cfr-page .cfr-pagination span { font-size:11px; } }

/* Map opens the project directly; cover is retained as a thumbnail asset. */
.cfr-page .cfr-header { background:#009FDA; }
.cfr-page .cfr-brand { max-width:980px; font-size:clamp(20px,2vw,32px); line-height:1.15; color:#fff; }
.cfr-page .cfr-header nav { flex-shrink:0; }
.cfr-page .cfr-hero { padding:16px 0 24px; color:#092343; }
.cfr-page .cfr-hero #cfr-map { height:clamp(420px,calc(100svh - 180px),760px); min-height:0; }
@media(max-width:1100px) { .cfr-page .cfr-header { gap:16px; } .cfr-page .cfr-brand { font-size:22px; } }
@media(max-width:800px) {
 .cfr-page .cfr-brand { font-size:20px; letter-spacing:-.3px; }
 .cfr-page .cfr-hero { padding-top:8px; }
 .cfr-page .cfr-hero #cfr-map { height:380px; min-height:0; }
 .cfr-page :is(.cfr-section,.cfr-project-section,.cfr-record,.cfr-catalog) { scroll-margin-top:160px; }
}

.cfr-page .cfr-hero p { font-size:inherit; max-width:none; margin:0 0 24px; }
.cfr-page .cfr-hero .cfr-note { font-size:13px; }
.cfr-page .cfr-hero .cfr-map-legend p { font-size:14px; }
.cfr-page .cfr-hero #cfr-map-status { font-size:13px; margin:12px 0; }

/* Search and open one record instead of browsing catalogue pages. */
.cfr-page .cfr-catalog { max-width:960px; }
.cfr-page .cfr-result-choice { display:block; font-size:13px; margin:18px 0; }
.cfr-page #cfr-result { display:block; width:100%; min-height:48px; margin-top:6px; padding:10px 12px; border:1px solid #c3d0dc; border-radius:4px; background:#fff; color:#092343; font:inherit; font-size:16px; }
.cfr-page .cfr-record[open] { background:#fff; border:0; border-radius:4px; padding:12px 20px; margin-top:20px; }
.cfr-page .cfr-record[open] summary { font-weight:600; }
.cfr-page #cfr-count { color:#506176; }

/* Geographic context stays clipped to Romania and below the archive points. */
.cfr-page .cfr-cartography { pointer-events:none; }
.cfr-page .cfr-topography { opacity:.72; filter:grayscale(.9) saturate(.25); }
.cfr-page .cfr-railways { opacity:.82; }
.cfr-page #cfr-counties path { fill:none; stroke:#009FDA; stroke-opacity:.45; stroke-width:.65; }
.cfr-page .cfr-rail-toggle { position:absolute; top:14px; left:14px; z-index:2; display:flex; align-items:center; gap:8px; padding:8px 12px; background:#fff; border:1px solid #d5dfe6; border-radius:4px; font-size:13px; line-height:1.4; }
.cfr-page .cfr-rail-toggle input { accent-color:#009FDA; width:16px; height:16px; }
.cfr-page .cfr-hero .cfr-map-attribution { font-size:12px; color:#506176; line-height:1.5; margin:12px 0; }
@media(max-width:800px) { .cfr-page .cfr-rail-toggle { top:56px; left:4px; } }

/* Three equal columns: the record occupies one, the map spans two. */
@media(min-width:801px) { .cfr-page .cfr-map-layout { grid-template-columns:minmax(0,1fr) minmax(0,2fr); } }

.cfr-page .cfr-hero.cfr-wrap { width:100%; max-width:none; margin-inline:0; }

/* Reference projects flow as intact masonry cards. */
.cfr-page .cfr-project-section > .cfr-wrap { width:100%; max-width:none; }
.cfr-page .cfr-project-grid { columns:3; column-gap:22px; margin-top:32px; }
.cfr-page .cfr-project-grid .cfr-project { display:block; break-inside:avoid; margin:0 0 22px; padding:24px; border:0; border-radius:4px; background:#fff; overflow-wrap:anywhere; }
.cfr-page .cfr-project-grid .cfr-project-title > span { font-size:12px; margin-bottom:10px; color:#506176; }
.cfr-page .cfr-project-grid h3 { font-size:26px; line-height:1.15; margin-bottom:20px; }
.cfr-page .cfr-project-grid .cfr-project-content > p { font-size:16px; line-height:1.6; }
.cfr-page .cfr-project-grid .cfr-project-content > .cfr-note { font-size:12px; }
.cfr-page .cfr-project-grid .cfr-gallery { display:grid; grid-template-columns:1fr; gap:12px; }
.cfr-page .cfr-project-grid .cfr-gallery img { display:block; width:100%; height:auto; border-radius:4px; }
.cfr-page .cfr-project-grid .cfr-missing { font-size:13px; padding:14px; }
.cfr-page .cfr-project-grid .cfr-source-list { font-size:13px; }
@media(max-width:1100px) { .cfr-page .cfr-project-grid { columns:2; } }
@media(max-width:600px) { .cfr-page .cfr-project-grid { columns:1; } .cfr-page .cfr-project-grid .cfr-project { padding:20px; } }

.cfr-page #cfr-map { cursor:grab; user-select:none; }
.cfr-page #cfr-map.is-dragging, .cfr-page #cfr-map.is-dragging * { cursor:grabbing; }

/* Photo cards follow the original project sketches; unavailable media stays hidden. */
.cfr-page .cfr-map-card{border-radius:4px;padding:20px}
.cfr-page .cfr-selected-image{display:block;width:100%;height:auto;max-height:360px;object-fit:cover;border-radius:4px;margin:0 0 20px}
.cfr-page .cfr-map-card h3{font-size:clamp(26px,2.2vw,38px);font-weight:600;line-height:1.15;margin-bottom:12px}
.cfr-page .cfr-selected-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.cfr-page #cfr-selected-kind,.cfr-page #cfr-selected-open{flex:1 1 170px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 14px;border-radius:4px;font-size:16px;line-height:1.3;text-align:center}
.cfr-page #cfr-selected-kind{background:#009FDA;color:#fff;font-weight:600}
.cfr-page #cfr-selected-open{background:#fff;color:#009FDA;border:1px solid #009FDA}
.cfr-page #cfr-selected-open:hover{background:#eef9fc}

.cfr-page #cfr-selected-download{display:flex;align-items:center;justify-content:center;flex:0 0 48px;height:48px;border:1px solid #009FDA;border-radius:4px;color:#009FDA;background:#fff}
.cfr-page #cfr-selected-download:hover{background:#eef9fc}
.cfr-page #cfr-selected-download .uhb-icon{width:22px;height:22px}

/* The legend itself toggles the two layers. */
.cfr-page .cfr-map-legend{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.cfr-page .cfr-map-legend label{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 0;cursor:pointer;font-size:16px}
.cfr-page .cfr-map-legend input{position:absolute;width:1px;height:1px;opacity:0}
.cfr-page .cfr-map-legend i{position:relative;display:block;width:24px;height:24px;border:5px solid #009FDA;background:#fff;border-radius:50%;flex:0 0 24px}
.cfr-page .cfr-map-legend i.evaluation{border-color:#092343;background:#fff}
.cfr-page .cfr-map-legend i.evaluation:after{content:'';position:absolute;inset:3px;border-radius:50%;background:#092343}
.cfr-page .cfr-map-legend input:not(:checked)~i,.cfr-page .cfr-map-legend input:not(:checked)~span{opacity:.35}
.cfr-page .cfr-map-legend input:focus-visible+i{outline:3px solid #092343;outline-offset:4px}
.cfr-page #cfr-map-points .asset circle{fill:#fff;stroke:#009FDA;stroke-width:3}
.cfr-page #cfr-map-points .evaluation circle{fill:#fff;stroke:#092343;stroke-width:3}
.cfr-page #cfr-map-points .evaluation .evaluation-center{fill:#092343;stroke:none}
.cfr-page #cfr-map-points .selected>circle:first-child,.cfr-page #cfr-map-points g:focus>circle:first-child{stroke-width:5}

.cfr-page .cfr-record-image{margin:24px 0 0}.cfr-page .cfr-record-image img{display:block;width:100%;height:auto;border-radius:4px}.cfr-page .cfr-record-image figcaption{margin-top:12px}

.cfr-page .cfr-selected-image{max-height:none;object-fit:contain;background:#fff}

/* Keep the inventory beside the selected sheet, directly under the map. */
.cfr-page .cfr-map-column{min-width:0;width:100%}
.cfr-page .cfr-map-catalog{margin-top:24px}
.cfr-page .cfr-map-column .cfr-catalog{max-width:none;width:100%;margin:0}
.cfr-page .cfr-map-catalog h3{font-size:22px;margin:0 0 16px}
.cfr-page .cfr-map-canvas .cfr-map-legend{position:absolute;top:72px;right:12px;z-index:2;margin:0;padding:0;border:0;gap:10px}
.cfr-page .cfr-map-canvas .cfr-map-legend label{padding:8px 12px;background:#fff;border-radius:4px}
@media(max-width:800px){
.cfr-page .cfr-map-column{order:0}
.cfr-page .cfr-map-canvas .cfr-map-legend{position:relative;top:auto;right:auto;flex-direction:row;flex-wrap:wrap;padding-top:108px;gap:8px}
.cfr-page .cfr-map-canvas .cfr-map-legend label{font-size:14px;gap:8px;padding:8px}
.cfr-page .cfr-map-catalog{margin-top:20px}
}

/* The desktop landing fits in the first viewport; detailed records expand below. */
@media(min-width:801px){
.cfr-page .cfr-hero .cfr-map-layout{min-height:calc(100svh - 112px)}
.cfr-page .cfr-hero #cfr-map{height:max(260px,calc(100svh - 330px))}
.cfr-page .cfr-map-catalog{margin-top:8px}
.cfr-page .cfr-map-catalog h3{font-size:20px;margin-bottom:8px}
.cfr-page .cfr-map-catalog .cfr-filters{margin:8px 0;padding:10px 12px;gap:10px}
.cfr-page .cfr-hero .cfr-map-catalog #cfr-count{font-size:12px;line-height:1.4;margin:8px 0}
.cfr-page .cfr-map-card{padding:18px}
.cfr-page .cfr-selected-image{max-height:max(150px,calc(100svh - 440px));margin-bottom:14px}
.cfr-page .cfr-map-card h3{font-size:clamp(24px,2vw,32px);margin-bottom:8px}
.cfr-page .cfr-hero #cfr-selected-subtitle{font-size:15px;line-height:1.4;margin-bottom:12px}
.cfr-page .cfr-map-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}
.cfr-page .cfr-map-card dl>div{margin:0}
.cfr-page .cfr-map-card dd{font-size:14px;line-height:1.4}
.cfr-page .cfr-selected-actions{gap:8px;margin:16px 0}
.cfr-page #cfr-selected-kind,.cfr-page #cfr-selected-open{flex-basis:120px;min-height:44px;font-size:14px;padding:8px}
.cfr-page #cfr-selected-download{flex-basis:44px;height:44px}
.cfr-page .cfr-hero .cfr-map-card .cfr-note{font-size:11px;line-height:1.4;margin:12px 0}
.cfr-page .cfr-map-card>a{font-size:13px;line-height:1.4;display:block}
}

.cfr-page #cfr-selected-image-link{display:block;cursor:zoom-in}
.cfr-page .cfr-hero .cfr-map-hint{font-size:12px;line-height:1.4;margin:0 0 12px;color:#506176}
.cfr-page .cfr-contact{padding-block:48px}
.cfr-page .cfr-contact>a{display:inline-flex;align-items:center;gap:12px;color:#009FDA}
@media(min-width:801px){.cfr-page .cfr-map-catalog .cfr-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto}}

/* Keep the country clipping geometry without drawing county borders. */
.cfr-page #cfr-counties path{stroke:none}

/* Compact search and selected record share the left column. */
.cfr-page .cfr-left-column{min-width:0;width:100%}
.cfr-page .cfr-left-column .cfr-map-catalog{margin:0 0 12px}
.cfr-page .cfr-left-column .cfr-catalog{width:100%;max-width:none;margin:0}
.cfr-page .cfr-left-column .cfr-filters{grid-template-columns:minmax(0,1fr) auto;padding:12px;margin:8px 0;gap:8px}
.cfr-page .cfr-left-column .cfr-filters label:first-child{grid-column:1/-1}
.cfr-page .cfr-left-column .cfr-filters button{grid-column:auto}
.cfr-page .cfr-left-column .cfr-map-catalog h3{font-size:18px;margin-bottom:8px}
.cfr-page .cfr-left-column #cfr-count{font-size:12px;line-height:1.4;margin:8px 0}
@media(min-width:801px){
.cfr-page .cfr-hero #cfr-map{height:max(360px,calc(100svh - 166px))}
.cfr-page .cfr-left-column .cfr-selected-image{max-height:max(80px,calc(100svh - 660px));margin-bottom:10px}
.cfr-page .cfr-left-column .cfr-map-card{padding:14px}
.cfr-page .cfr-left-column .cfr-map-card h3{font-size:26px}
.cfr-page .cfr-left-column .cfr-selected-actions{margin:12px 0}
.cfr-page .cfr-left-column .cfr-map-card dl{margin:8px 0}
}
@media(max-width:800px){.cfr-page .cfr-left-column{order:1}}

/* CFRegenerare: full-colour identity on a white footer. */
.cfr-page .cfr-footer{background:#fff;color:#092343}
.cfr-footer-brand{display:block;flex:0 1 220px;max-width:100%}
.cfr-footer-brand img{display:block;width:220px;max-width:100%;height:auto}

/* Calm inventory hierarchy: compact filters and one selected record. */
.cfr-page .cfr-left-column>.cfr-map-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 14px;padding:0 8px;border:0}
.cfr-page .cfr-left-column>.cfr-map-legend label{display:flex;align-items:center;gap:8px;min-height:40px;padding:0;background:transparent;font-size:13px;cursor:pointer}
.cfr-page .cfr-left-column>.cfr-map-legend input{position:absolute;opacity:0;width:1px;height:1px}
.cfr-page .cfr-left-column>.cfr-map-legend label:has(input:focus-visible){outline:3px solid #092343;outline-offset:4px}
.cfr-page .cfr-left-column>.cfr-map-legend label:has(input:not(:checked)){opacity:.4}
.cfr-page .cfr-left-column>.cfr-map-legend i{width:20px;height:20px;border:5px solid #009FDA;border-radius:50%;background:#fff;position:relative;flex-shrink:0}
.cfr-page .cfr-left-column>.cfr-map-legend i.evaluation{border-color:#092343}
.cfr-page .cfr-left-column>.cfr-map-legend i.evaluation:after{content:'';position:absolute;inset:2px;background:#092343;border-radius:50%}
.cfr-page .cfr-map-hint{display:none}
.cfr-page .cfr-map-card .cfr-type-label{display:flex;align-items:center;gap:7px;margin:0 0 8px;font-size:12px;color:#506176}
.cfr-page .cfr-type-label:before{content:'';box-sizing:border-box;width:16px;height:16px;border:4px solid #009FDA;border-radius:50%;background:#fff;flex-shrink:0}
.cfr-page .is-evaluation .cfr-type-label:before{border-color:#092343;background:radial-gradient(circle,#092343 0 2px,#fff 2.5px)}
.cfr-page .cfr-selected-actions #cfr-selected-open{background:#009FDA;color:#fff}
@media(min-width:801px){.cfr-page .cfr-left-column .cfr-selected-image{max-height:max(100px,calc(100svh - 590px))}}

.cfr-page #cfr-selected-kind{display:flex;justify-content:flex-start;flex:none;gap:7px;min-height:0;padding:0;margin:0 0 8px;background:transparent;color:#506176;border:0;border-radius:0;font-size:12px;font-weight:400;text-align:left;line-height:1.4}

.cfr-page .cfr-left-column>.cfr-map-legend{flex-direction:row}
.cfr-page .cfr-left-column>.cfr-map-legend label{flex:0 1 auto;width:auto}
.cfr-page .is-evaluation #cfr-selected-subtitle{display:none}
@media(min-width:801px){.cfr-page .cfr-left-column .cfr-selected-image{max-height:max(100px,calc(100svh - 650px))}.cfr-page .cfr-map-catalog h3{display:none}}

/* Explicit filter state, larger preview and meaningful cluster categories. */
.cfr-page .cfr-left-column>.cfr-map-legend input{position:static;opacity:1;width:16px;height:16px;margin:0;accent-color:#009FDA;flex:0 0 16px}
.cfr-page .cfr-left-column>.cfr-map-legend label{min-height:44px}
.cfr-page #cfr-selected-kind:empty{display:none}
.cfr-page #cfr-map-points .cluster-evaluations>circle:first-child{fill:#092343;stroke:#fff;stroke-width:2}
.cfr-page #cfr-map-points .cluster-assets>circle:first-child,.cfr-page #cfr-map-points .cluster-mixed>circle:first-child{fill:#009FDA;stroke:#fff;stroke-width:2}
.cfr-page #cfr-map-points .cluster-mixed>.mixed-center{fill:#092343;stroke:none}
.cfr-page #cfr-map-points .cluster.selected>circle:first-child{stroke:#092343;stroke-width:4}
.cfr-page #cfr-map-points .cluster text{fill:#fff}
@media(min-width:801px){.cfr-page .cfr-left-column .cfr-selected-image{max-height:max(140px,calc(100svh - 610px))}}

/* Swap the two action glyphs while preserving right/down directions. */
.cfr-page #cfr-selected-open .cfr-icon-chevron-right{transform:rotate(-90deg)}
.cfr-page #cfr-selected-download .cfr-icon-arrow-down{transform:rotate(90deg)}

/* Keep both filters together, with circular symbols. */
.cfr-page .cfr-left-column>.cfr-map-legend{flex-direction:row;flex-wrap:nowrap;gap:12px;padding-inline:0}
.cfr-page .cfr-left-column>.cfr-map-legend label{flex:0 0 auto;gap:6px;white-space:nowrap}
.cfr-page .cfr-left-column>.cfr-map-legend i{box-sizing:border-box;flex:0 0 20px;width:20px;min-width:20px;height:20px;aspect-ratio:1}
@media(max-width:380px){.cfr-page .cfr-left-column>.cfr-map-legend{gap:8px}.cfr-page .cfr-left-column>.cfr-map-legend label{font-size:11px;gap:4px}}

/* Cartographic and archive credits live together in the footer. */
.cfr-page .cfr-footer{flex-wrap:wrap}
.cfr-page .cfr-footer-sources{flex:0 0 100%;min-width:0;border-top:1px solid #d5dfe6;padding-top:20px}
.cfr-page .cfr-footer-sources p{font-size:12px;line-height:1.6;margin:0 0 12px;color:#506176;overflow-wrap:anywhere}
.cfr-page .cfr-footer-sources p:last-child{margin-bottom:0}

/* The standalone archive uses the same supplied down shape for native selectors. */
.cfr-page select:not([multiple]):not([size]) {
  appearance: none;
  background-image: url('../icons/uhb-down-arrow-icon-stroke.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 13px;
  padding-right: 34px;
}
