:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263d38;background:#f8f7f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{padding:calc(20px + env(safe-area-inset-top)) 22px 17px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.17em;margin:0 0 5px;color:#6f7e72}h1{font-size:26px;letter-spacing:-.8px;line-height:1.1;margin:0}.subtitle{font-size:14px;color:#6c7974;margin:7px 0 0}button,select,summary{font:inherit;cursor:pointer}button,select{min-height:46px;border:1px solid #dce1d9;border-radius:14px;background:#fffefa;color:#263d38;padding:10px 14px}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #177baf;outline-offset:3px}#refresh{font-size:27px;width:48px;height:48px}button:disabled{opacity:.6;cursor:wait}main{position:relative;height:calc(100svh - 204px);min-height:420px;max-height:950px}#map{height:100%;background:#e3e9dd}.map-tools{position:absolute;z-index:500;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.map-tools>*{pointer-events:auto}.map-tools button,.map-tools select{box-shadow:0 2px 12px #203a3015;border:0;font-size:13px;font-weight:650}.people{position:absolute;z-index:500;bottom:25px;left:14px;right:14px;max-width:540px;margin:auto;background:#fffefa;border-radius:20px;box-shadow:0 6px 30px #203a3025;padding:5px 14px 10px}#people{display:grid;grid-template-columns:1fr 1fr}.person{border:0;border-radius:0;background:transparent;text-align:left;min-width:0;padding:12px 6px;line-height:1.4}.person+.person{border-left:1px solid #eceee7;padding-left:16px}.person strong{display:block;font-size:15px}.person .dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;background:var(--person)}.person time{font-size:12px;color:#5e6c66;display:block;margin-top:2px}.person small{font-size:11px;color:#79847f;display:block}#status{font-size:11px;margin:2px 6px 0;color:#768179;line-height:1.4}footer{padding:13px 20px calc(15px + env(safe-area-inset-bottom));font-size:12px;color:#64746b}.legend{display:flex;gap:7px;align-items:center;font-size:11px}.legend i{width:21px;border-top:3px solid #177baf}.legend .estimate{border-top:3px solid #177baf;opacity:.45;margin-left:10px}details{margin-top:12px}summary{padding:5px 0;min-height:30px}details p{max-width:640px;line-height:1.6}.initial{border:3px solid #fff;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;color:white;font-weight:750;box-shadow:0 2px 10px #1234}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.leaflet-control-attribution{font-size:9px}.leaflet-top.leaflet-left{top:70px}.leaflet-popup-content{line-height:1.6}@media(min-width:760px){header{padding-left:32px;padding-right:32px}h1{font-size:30px}.map-tools{left:26px;right:26px}.people{left:26px;right:auto;width:400px}footer{padding-left:32px}main{height:calc(100svh - 212px)}}@media(max-height:700px){header{padding-top:12px;padding-bottom:12px}main{min-height:355px;height:calc(100svh - 182px)}.subtitle{margin-top:4px}}
.locate{background:#284e43!important;color:#fff!important}.locate-hint{display:block;font-size:11px;color:#177baf;margin-top:5px;font-weight:700}.overview-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.overview-actions button{font-size:12px;min-height:44px;border-radius:12px;padding:9px 12px}.overview-actions [aria-pressed=true]{background:#e8eee5;border-color:#d4dfd0}#days{display:flex;gap:7px;overflow-x:auto;padding:0 0 9px}#days:empty{display:none}#days button{white-space:nowrap;font-size:12px;min-height:40px;border:0;background:#eeeee7}#days [aria-pressed=true]{background:#284e43;color:white}.ideas-status{font-size:11px;margin:0 0 12px;line-height:1.5}.ideas-status:empty{display:none}.idea-pin{display:grid;place-items:center;position:relative;width:30px;height:30px;border:1px solid #a1ad99;background:#fffdf4;border-radius:11px;color:#47614d;box-shadow:0 2px 7px #203a3020;font-size:16px}.idea-pin small{position:absolute;right:-6px;bottom:-5px;border-radius:4px;font-size:7px;font-weight:800;padding:1px 3px;background:#e7dfce;color:#665738}.people{bottom:25px}.legend{margin-top:3px}main{height:calc(100svh - 260px)}@media(max-height:700px){main{height:calc(100svh - 245px);min-height:335px}}
.idea-pin svg{width:18px;height:18px}.idea-cluster{width:34px;height:34px;border-radius:50%;font-size:13px;font-weight:750;border:2px solid #fff;box-shadow:0 2px 9px #243d3933;background:#4a6657;color:white}
.connections{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.connections:empty{display:none}.connections button{font-size:12px;min-height:44px;background:#f3ebde;border-color:#dfd0b9;color:#73552d}.flight-pin{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fffaf0;color:#946c39;border:1px solid #c7ae86;font-size:20px;box-shadow:0 2px 8px #203a3020}

.guide-link{display:flex;align-items:center;gap:12px;margin:14px 0;padding:14px 16px;border:1px solid #dce1d9;border-radius:16px;background:#eeeee5;text-decoration:none;color:#263d38;min-height:60px}.guide-link>span:first-of-type{flex:1}.guide-link strong{display:block;font-size:14px;font-weight:650}.guide-link small{display:block;margin-top:4px;font-size:11px;color:#758077}.guide-link:focus-visible{outline:3px solid #177baf;outline-offset:3px}.guide-link:hover{background:#e7e9dc}

.family-photo-pin{display:grid;place-items:center;width:38px;height:38px;border:2px solid white;border-radius:12px;background:#315c4c;color:white;box-shadow:0 2px 8px #1234;font-size:26px;position:relative}.family-photo-pin small{position:absolute;right:-6px;top:-7px;background:#fff;color:#315c4c;border-radius:10px;padding:1px 5px;font-size:11px}#family-photo-dialog{width:calc(100% - 24px);max-width:640px;max-height:85dvh;border:0;border-radius:20px;background:#fffdf8;padding:16px;overflow:auto;overscroll-behavior:contain}#family-photo-dialog::backdrop{background:#183b3688}#family-photo-dialog header{position:sticky;top:-16px;background:#fffdf8;padding:8px 0;align-items:center;z-index:1}#family-photo-dialog h2{font-size:20px;margin:0}#family-photo-dialog figure{margin:14px 0}#family-photo-dialog img{display:block;width:100%;max-height:65dvh;object-fit:contain;border-radius:12px}#family-photo-dialog figcaption{font-size:13px;color:#52675b;margin-top:8px}

/* Phone-sized photo covers sit above their location so last-ping pins remain tappable. */
.family-photo-pin{width:52px;height:52px;border:3px solid #fffdf8;border-radius:12px;box-shadow:0 3px 12px #183b3655;font-size:25px}
.family-photo-pin::after{content:"";position:absolute;bottom:-9px;left:18px;border:5px solid transparent;border-bottom:0;border-top:7px solid #fffdf8}
.family-photo-pin img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:9px;background:#315c4c}
.family-photo-pin small{z-index:1;right:-8px;top:-9px;min-width:23px;min-height:23px;display:grid;place-items:center;border:2px solid #fffdf8;background:#284e43;color:#fff;font-size:11px;font-weight:750;box-shadow:0 1px 4px #183b3633}
.family-photo-marker:focus-visible{outline:3px solid #177baf;outline-offset:5px;border-radius:12px}
.family-photo-pin.unavailable{background:#6b7b72}
#family-photo-dialog header button{flex-shrink:0;min-width:46px;font-size:24px;margin-left:12px}

.photo-feed-status{margin:2px 0 14px;color:#64746b;font-size:12px;line-height:1.5}
#family-photo-dialog{width:calc(100% - 16px);max-width:720px;max-height:calc(100dvh - 24px);padding:16px;border-radius:22px}
#family-photo-dialog header{gap:12px;top:-16px;padding:4px 0 12px;border-bottom:1px solid #e2e7df}
#family-photo-dialog h2{font-size:23px;letter-spacing:-.6px}
#family-photo-dialog [hidden]{display:none!important}
.photo-gallery-subtitle{margin:5px 0 0;color:#64746b;font-size:12px;line-height:1.4}
.photo-gallery-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.photo-gallery-controls label{flex:1;font-size:12px;white-space:nowrap}
.photo-gallery-controls select{font-size:13px;max-width:100%;padding:9px}
.photo-gallery-controls button{font-size:12px;padding:9px 10px}
.photo-gallery-status{font-size:12px;line-height:1.6;color:#64746b;margin:12px 0}
.family-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.family-photo-grid h3{grid-column:1/-1;font-size:14px;margin:17px 0 3px}
.family-photo-grid h3:first-child{margin-top:4px}
.photo-gallery-tile{padding:0;border:0;border-radius:12px;overflow:hidden;text-align:left;min-width:0;align-self:start;background:#edf0e8}
.photo-gallery-thumb{display:grid;place-items:center;aspect-ratio:1;width:100%;color:#64746b;font-size:12px;text-align:center}
#family-photo-dialog .photo-gallery-thumb img{width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0;aspect-ratio:1}
.photo-tile-caption{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;padding:8px;line-height:1.5}
.photo-gallery-more{width:100%;margin:18px 0 4px;font-size:14px}
.photo-empty{grid-column:1/-1;text-align:center;padding:34px 14px;background:#eef1e9;border-radius:16px;font-size:15px}
.photo-empty p{font-size:13px;line-height:1.7;color:#64746b;margin-bottom:0}
.family-photo-detail{padding-top:14px}
.family-photo-detail>button{font-size:13px}
.photo-position{font-size:12px;color:#64746b;margin:14px 0 10px}
.family-photo-full{min-height:200px;display:grid;place-items:center;background:#eef1e9;border-radius:12px;color:#64746b;font-size:13px;cursor:pointer}
#family-photo-dialog .family-photo-full img{max-height:60dvh;width:100%;object-fit:contain;border-radius:12px}
.photo-caption{font-size:14px;line-height:1.5}
.photo-caption:empty{display:none}
.photo-navigation{display:flex;justify-content:space-between;gap:12px;margin:14px 0}
.photo-navigation button{flex:1;font-size:14px}
@media(min-width:600px){.family-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
