.visit-route-summary{display:flex;gap:8px;overflow:auto;padding:10px 2px;margin:0;list-style:none;scrollbar-width:thin}.visit-route-summary button{display:flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #dce3d4;border-radius:20px;background:#fffef8;padding:8px 11px;color:#365145;font:inherit;font-size:12px}.visit-route-summary b,.visit-pin-number{border-radius:50%;background:#527253;color:white;min-width:21px;height:21px;display:inline-grid;place-items:center;font-size:11px}.visit-route-summary li+li:before{content:'→';color:#95a38b;margin-right:7px}.visit-route-summary li{display:flex;align-items:center}.visit-route-note{font-size:12px;color:#75826f;margin:6px 2px 12px}.visit-pin-number{position:absolute;top:-5px;left:-7px;border:2px solid #fff;z-index:2}.memory-comments{margin-top:24px;padding-top:18px;border-top:1px solid #dfe5d8;font-size:14px;color:#365145}.comments-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.comments-heading h3{font-size:17px;margin:0}.memory-comments button{border:1px solid #dce3d4;border-radius:12px;background:#f9fbf3;padding:8px 10px;color:#365145;font:inherit;font-size:12px;cursor:pointer}.comments-help,.comments-empty{font-size:12px;line-height:1.6;color:#7b8474}.comment-row{padding:12px 0;border-bottom:1px solid #e7eadf}.comment-row>div:first-child{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.comment-row time{font-size:10px;color:#919b89;margin-left:auto}.comment-row p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:6px 0}.comment-owner{font-size:10px;border-radius:7px;background:#e4edd7;padding:3px 5px}.comment-reply{margin-left:14px;padding-left:10px;border-left:2px solid #dce6d1}.comment-actions{display:flex;gap:6px;justify-content:flex-end}.comment-actions button{border:0;background:none;padding:4px;font-size:11px}.memory-comments form{display:grid;gap:10px;margin-top:14px}.memory-comments label{display:grid;gap:5px;font-size:12px}.memory-comments input,.memory-comments textarea{font:inherit;font-size:16px;border:1px solid #dce3d4;border-radius:12px;background:#fff;padding:10px;width:100%;box-sizing:border-box;color:#304938}.comment-submit{display:flex;align-items:center;justify-content:space-between;gap:8px}.comment-submit small{font-size:10px;color:#7b8474}.comment-submit button{background:#e7f0d8;font-weight:600}.memory-comments [role=status]{font-size:12px;line-height:1.5}.day-route-editor ol{padding:0;list-style:none;display:grid;gap:8px}.route-edit-row{border:1px solid #dfe5d6;border-radius:14px;padding:10px;display:flex;align-items:center;gap:8px}.route-edit-row>div{flex:1;min-width:0}.route-edit-row b{font-size:14px;overflow-wrap:anywhere}.route-edit-row small{display:block;color:#87907c;font-size:11px}.route-edit-actions{display:flex;gap:4px}.route-edit-actions button{padding:8px;border-radius:9px;border:1px solid #dfe5d6;background:#fff;color:#527253}.day-route-editor .route-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.day-route-editor [data-route-share]{display:flex;gap:8px;align-items:center;font-size:14px;margin:16px 0}.day-route-editor .route-save-state{font-size:12px;color:#77836d}

.visit-fit{font:inherit;font-size:11px;color:#476b43;border:1px solid #dce3d4;border-radius:14px;padding:5px 8px;background:#fffef8;margin-left:6px}.diary-visit-nav{grid-column:1/-1;min-width:0}.shared-visits{min-width:0}

#memory-detail .memory-detail-head{position:sticky;top:0;z-index:5;background:#fffef9;padding-top:8px;padding-bottom:8px;margin-top:-8px}#memory-detail .memory-detail-head [data-close]{top:8px}.diary-detail .modal-close,.day-route-editor .modal-close{position:sticky;top:0;float:right;z-index:5}.day-route-editor{max-height:calc(100dvh - 36px);overflow:auto}

.moment-tabs{display:flex;gap:7px;overflow:auto;margin:8px 0 14px;padding:4px 1px 8px;scrollbar-width:thin}.moment-tabs button{flex:none;min-height:38px;border:1px solid #dce2d3;border-radius:20px;background:#f7f8f0;color:#536448;padding:7px 13px;font:inherit;font-size:13px}.moment-tabs button[aria-pressed=true]{background:#425d48;color:#fff;border-color:#425d48}.moment-tabs button:focus-visible{outline:2px solid #bd815d;outline-offset:2px}
