.jh-app .jh895-segments{display:flex;align-items:center;gap:4px;max-width:100%;width:100%}
.jh-app .jh895-segments input.jh895-part{flex:1 1 0;min-width:0!important;width:3.2em!important;max-width:5em;text-align:center;padding:9px 4px!important;box-sizing:border-box}
.jh-app .jh895-segments input.jh895-part-4{flex:1.7 1 0;width:5em!important;max-width:7em}
.jh-app .jh895-segments>span{flex:0 0 auto}

.jh-app .jh896-address{display:flex;flex-wrap:wrap;gap:10px 14px;flex-basis:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #c8dfd0;border-radius:10px;padding:10px 14px;margin:0}
.jh-app .jh896-address legend{font-weight:600;color:#075e30;padding:0 5px}
.jh-app .jh896-address label{display:flex;flex-direction:column;flex:1 1 160px;gap:5px;min-width:0}
.jh-app .jh896-address label:first-of-type{flex:2 1 240px}
.jh-app .jh896-address input{width:100%;box-sizing:border-box;min-width:0}
.jh-app .jh-tk-fields .jh896-address{grid-column:1/-1}

/* Compact, consistent event and shift editors. */
.jh-app form.jh897-editor{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:14px!important}
.jh-app form.jh897-editor>label{display:flex;flex-direction:column;gap:6px;margin:0!important;min-width:0}
.jh-app form.jh897-editor>label:not(.jh895-control){flex:0 1 245px}
.jh-app form.jh897-editor>label.jh897-notes,.jh-app form.jh897-editor>label:has(textarea){flex:1 0 100%!important}
.jh-app form.jh897-editor input:not([type=hidden]):not(.jh895-part),.jh-app form.jh897-editor select,.jh-app form.jh897-editor textarea{padding:10px 12px;border:1px solid #aac6b3;border-radius:7px;font:inherit;box-sizing:border-box;max-width:100%;background:#fff}
.jh-app form.jh897-editor label.jh895-control{flex:0 0 auto!important;width:auto!important;max-width:100%;gap:7px!important;background:#fff;border:1px solid #b9d6c3;border-radius:9px;padding:9px 11px!important;color:#075e30;font-weight:600}
.jh-app form.jh897-editor .jh895-segments{width:auto!important;gap:3px}
.jh-app form.jh897-editor .jh895-segments input.jh895-part{flex:0 0 auto!important;width:2.5em!important;max-width:none!important;min-height:40px!important;padding:6px 2px!important;font:inherit;font-weight:400;border:1px solid #c6d9cc;border-radius:6px;background:#fbfdfb}
.jh-app form.jh897-editor .jh895-segments input.jh895-part-4{width:4.1em!important}
.jh-app form.jh897-editor .jh-tk-buttons{display:flex;gap:10px;flex-wrap:wrap;align-self:flex-end}
@media(max-width:600px){.jh-app form.jh897-editor{gap:10px!important}.jh-app form.jh897-editor>label:not(.jh895-control){flex:1 1 180px}.jh-app form.jh897-editor label.jh895-control{padding:8px!important}}
.jh-app .jh896-address .jh897-postcode-choice[hidden]{display:none!important}
.jh-app .jh896-address .jh897-postcode-choice{flex:1 1 100%}
.jh-app .jh897-address-hint{flex-basis:100%;color:#536b5c;font-size:13px}
.jh-app .jh897-address-hint:empty{display:none}
.jh-app form.jh897-editor label{font-size:14px!important;line-height:1.45;color:#274637}
.jh-app form.jh897-editor input:not([type=hidden]),.jh-app form.jh897-editor select,.jh-app form.jh897-editor textarea{font-size:16px!important}
.jh-app form.jh897-editor>button[type=submit],.jh-app form.jh897-editor .jh-tk-buttons>button:not(.jh-tk-danger){background:#087d36;color:#fff;border:1px solid #087d36;border-radius:8px;padding:11px 16px;font:inherit;font-weight:600;cursor:pointer;min-height:44px}
.jh-app .jh-tk-participants{margin:12px 0;padding:12px;border:1px solid #c8dfd0;border-radius:10px;background:#fff}
.jh-app .jh-tk-participants>summary{cursor:pointer;font-weight:700;color:#075e30}
.jh-app .jh898-person{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:12px 0;border-bottom:1px solid #e0ece4}
.jh-app .jh898-person:last-child{border-bottom:0}
.jh-app .jh898-person>strong{flex:1 1 180px}
.jh-app .jh898-status{color:#536b5c;font-size:14px}
.jh-app .jh898-person>small{flex-basis:100%;color:#536b5c}

.jh81-pdf-dialog{width:min(900px,92vw);height:min(760px,86vh);max-width:92vw;max-height:86vh;padding:0;border:1px solid #b9d6c3;border-radius:12px;box-sizing:border-box;box-shadow:0 14px 60px #0004;background:#fff;color:#163e2a}
.jh81-pdf-dialog::backdrop{background:#10221999}
.jh81-pdf-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #d3e5d8}
.jh81-pdf-header strong{min-width:0;overflow-wrap:anywhere}
.jh81-pdf-header button{flex-shrink:0;min-height:44px;padding:8px 14px;border:1px solid #a6ceb3;border-radius:8px;background:#eaf5ed;color:#075e30;cursor:pointer;font:inherit}
.jh81-pdf-actions{display:flex;flex-wrap:wrap;gap:10px 18px;padding:8px 16px;font-size:14px}
.jh81-pdf-frame{display:block;width:100%;height:calc(100% - 118px);min-height:180px;border:0;background:#f1f4f2}
.jh81-pdf-actions a,.jh81-map-link{color:#075e30;text-decoration:underline;text-underline-offset:2px}
.jh81-pdf-dialog[open]{display:flex;flex-direction:column}
.jh81-pdf-header,.jh81-pdf-actions{flex:0 0 auto}
.jh81-pdf-header strong{max-height:4.5em;overflow:auto}
.jh81-pdf-frame{flex:1 1 auto;height:auto;min-height:0}

#jh-panel-events .jh83-child-signup{margin:18px 0 12px}
#jh-panel-events .jh83-child-signup>h4,#jh-panel-events .jh83-team-summary>h4{margin:0 0 10px;font-size:17px;font-weight:700;line-height:1.4;color:#075e30}
#jh-panel-events .jh83-team-summary{padding:14px 16px;margin:14px 0;border:1px solid #bad7c4;border-radius:10px;background:#f5f9f6}
#jh-panel-events .jh83-team-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#jh-panel-events .jh83-team-counts .jh717-count-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:0!important;padding:10px 12px;background:white;border:1px solid #d6e5db;border-radius:8px;color:#274637;min-width:0}
#jh-panel-events .jh83-team-counts strong{font-size:20px;color:#075e30;white-space:nowrap}
@media(max-width:500px){#jh-panel-events .jh83-team-summary{padding:12px}#jh-panel-events .jh83-team-counts{grid-template-columns:1fr}}
