/* Functional additions using the accepted ALL26 typography, colours and cards. */
.px-commune-control{position:relative;margin-top:1rem;min-width:0}
.px-commune-control>label{display:block;font-weight:650;margin-bottom:.5rem}
.px-commune-control>input{width:100%;min-height:48px;border:1px solid #d4e2f3;border-radius:10px;padding:.75rem 1rem;background:#fff;color:#111c45;font:inherit}
.px-commune-control [role=listbox]{position:absolute;z-index:15;inset-inline:0;top:76px;max-height:300px;overflow:auto;list-style:none;margin:0;padding:.4rem;background:white;border:1px solid #b8cdec;border-radius:12px;box-shadow:0 10px 28px #122c5326}
.px-commune-control [role=option]{display:flex;flex-direction:column;gap:.25rem;padding:.75rem;border-radius:7px;cursor:pointer;min-height:54px;overflow-wrap:anywhere}
.px-commune-control [role=option]>span{color:#536483;font-size:.85rem}
.px-commune-control [role=option][aria-selected=true],.px-commune-control [role=option]:hover{background:#eaf3ff;color:#0059ed}
.px-no-match{padding:.8rem;color:#536483}
.px-territory-coverage,.px-territory-search{margin-bottom:1.3rem}
.px-territory-coverage .px-source{margin-top:.8rem}
.px-source-record{padding:1rem 0;border-bottom:1px solid #e7eef8;overflow-wrap:anywhere}
.px-source-record:first-of-type{padding-top:0}
.px-source-record h3{font-size:1rem;line-height:1.45}
.px-act-page .px-act-main .px-reference-amount{color:#005cf3;font-size:clamp(1.25rem,2.2vw,1.85rem);font-weight:750;line-height:1.4}
.px-card-value{font-weight:650;color:#213d6c;font-size:.95rem}
.px-programme-card .px-source{font-size:.85rem;margin-top:.5rem}
.px-programme-card>div{min-width:0}
.px-programme-card h3,.px-act-page h1,.px-act-page dd{overflow-wrap:anywhere}
.px-results-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1.25rem 0}
.px-results-summary>div{background:#fff;border:1px solid #dfebf9;border-radius:12px;padding:1rem;display:flex;flex-direction:column;gap:.5rem}
.px-results-summary strong{font-size:1.6rem;color:#0060fa}
.px-results-summary span{font-size:.9rem;color:#35496e}
.px-result-context{margin-top:1rem;padding-top:.75rem;border-top:1px solid #e6edf8}
.px-result-context h3,.px-estimate-context h3{font-size:1rem;margin:1rem 0 .5rem}
.px-result-context ul{padding-left:1.25rem;line-height:1.6}
.px-result-context details{margin:.8rem 0}
.px-result-context summary{cursor:pointer;font-weight:600}
.px-estimate-context{margin-top:1rem}
.px-estimate-context dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;border-bottom:1px solid #e8edf6;padding:.6rem 0}
.px-estimate-context dd{margin:0;overflow-wrap:anywhere}
@media(max-width:767px){.px-results-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.px-results-summary>div{padding:.8rem}.px-estimate-context dl>div{grid-template-columns:1fr;gap:.35rem}.px-commune-control [role=listbox]{max-height:240px}.px-source-record h3{font-size:.95rem}}
