/* Domain actions align within the existing lifecycle control row. */
.lc-domain-demo .lc-focus-panel{padding:24px}
.lc-domain-demo .lc-focus-heading{margin:0 0 16px}
.lc-domain-demo .lc-domain-navigation{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap}
.lc-domain-demo #lcNextDomain{display:inline-flex;align-items:center;min-height:40px;padding-left:20px;border-left:1px solid #c8dce4;font-weight:600}
@media(max-width:850px){.lc-domain-demo .lc-city-context>.lc-shell{flex-wrap:wrap;gap:8px}.lc-domain-demo .lc-domain-navigation{justify-content:flex-start;gap:12px}.lc-domain-demo #lcNextDomain{padding-left:12px}}
@media(max-width:460px){.lc-domain-demo .lc-domain-navigation{width:100%;align-items:flex-start;flex-direction:column;gap:4px}.lc-domain-demo #lcNextDomain{border-left:0;padding-left:0}.lc-domain-demo .lc-domain-navigation a{max-width:100%;white-space:normal}}
.lc-domain-demo .lc-focus-panel .lc-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.lc-domain-demo .lc-domain-actions{margin-left:auto;display:flex;align-items:center;gap:12px;width:auto}
.lc-domain-demo .lc-domain-actions .lc-button{margin:0;min-height:44px}
.lc-domain-demo .lc-domain-city{display:flex;align-items:center;gap:10px;margin:0;font-size:.875rem;color:#0a3a66}
.lc-domain-demo .lc-domain-city select{min-height:44px;min-width:125px;padding:8px 12px;background:#fff;color:#0a3a66;border:1px solid #b8ced6;border-radius:5px;font:inherit}
.lc-domain-demo .lc-focus-panel .lc-scope{margin-top:20px;padding-top:20px;gap:16px}
.lc-domain-emblem{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;flex:0 0 210px}
.lc-domain-symbol{width:180px;height:180px;border:1px solid #83e5df55;border-radius:50%;background:#ffffff06;display:grid;place-items:center;box-shadow:0 0 0 14px #ffffff03}
.lc-domain-symbol .fd-domain-icon{width:128px;height:128px;border:0;background:none;color:#8deee2}
.lc-domain-symbol .fd-domain-icon svg{width:112px;height:112px;stroke-width:1.25}
.lc-resident-hero .lc-domain-emblem .lc-identity-actions{margin:0;width:auto;flex-direction:row;justify-content:center}
@media(max-width:1100px){.lc-domain-emblem{flex-basis:170px}.lc-domain-symbol{width:140px;height:140px}.lc-domain-symbol .fd-domain-icon{width:110px;height:110px}.lc-domain-symbol .fd-domain-icon svg{width:94px;height:94px}}
@media(max-width:850px){.lc-domain-emblem{flex-direction:row;justify-content:space-between;flex:1 1 100%;margin-left:80px}.lc-domain-symbol{width:84px;height:84px;box-shadow:none}.lc-domain-symbol .fd-domain-icon{width:66px;height:66px}.lc-domain-symbol .fd-domain-icon svg{width:60px;height:60px}}
@media(max-width:600px){.lc-domain-emblem{margin-left:0}.lc-domain-demo .lc-domain-emblem .lc-identity-actions{flex:0 1 auto}}
@media(max-width:850px){.lc-domain-demo .lc-focus-panel{padding:16px}.lc-domain-demo .lc-domain-actions{margin-left:0;flex:1;justify-content:flex-end}}
@media(max-width:600px){.lc-domain-demo .lc-focus-panel .lc-controls{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.lc-domain-demo .lc-domain-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.lc-domain-demo .lc-domain-actions .lc-button{text-align:center;justify-content:center}.lc-domain-demo .lc-mobile-preset{min-width:0}.lc-domain-demo .lc-focus-panel .lc-scope{margin-top:16px;padding-top:16px}}
@media(max-width:460px){.lc-domain-demo .lc-domain-actions{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.lc-domain-demo .lc-domain-city{display:grid;grid-template-columns:1fr;gap:6px}.lc-domain-demo .lc-domain-city select{width:100%}}

/* Keep resident and city selection close to every standard lifecycle view. */
.lc-resident-controls .lc-focus-panel{padding:24px}
.lc-resident-controls .lc-focus-heading{margin-bottom:16px}
.lc-resident-selection{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e0e8ec}
.lc-resident-selection .lc-domain-city{display:flex;align-items:center;gap:10px;margin:0;font-size:.875rem;color:#0a3a66}
.lc-resident-selection .lc-domain-city select{min-height:44px;min-width:125px;padding:8px 12px;background:#fff;color:#0a3a66;border:1px solid #b8ced6;border-radius:5px;font:inherit}
.lc-resident-selection #lcChangeResident{margin:0;min-height:44px}
@media(max-width:850px){.lc-resident-controls .lc-focus-panel{padding:16px}}
@media(max-width:600px){.lc-resident-controls .lc-domain-emblem .lc-identity-actions{flex:0 1 auto}.lc-resident-selection{align-items:end;gap:12px}.lc-resident-selection .lc-domain-city{display:grid;gap:6px;min-width:0;flex:1}.lc-resident-selection .lc-domain-city select{width:100%;min-width:0}.lc-resident-selection #lcChangeResident{max-width:50%;white-space:normal;text-align:center}}

/* Two supplied Nairobi Transport history collections. */
.lc-transport-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.lc-transport-choice{display:flex;flex-direction:column;gap:5px;padding:16px 20px;border:1px solid #bed7e1;border-radius:7px;color:#0b3b60;background:#fff;text-decoration:none}
.lc-transport-choice strong{font-size:1rem}.lc-transport-choice span{font-size:.8rem;color:#526d80}
.lc-transport-choice[aria-current="page"]{background:#eaf7f7;border-color:#00898b;box-shadow:inset 0 0 0 1px #00898b}
.lc-transport-choice:hover{text-decoration:none;background:#f2f8fa}.lc-transport-choice:focus-visible{outline:3px solid #00898b;outline-offset:3px}
@media(max-width:480px){.lc-transport-choices{gap:8px}.lc-transport-choice{padding:12px}.lc-transport-choice strong{font-size:.9rem}.lc-transport-choice span{font-size:.75rem}}
