.memory-context #app{max-width:1240px;margin:0 auto;padding:28px 24px 64px}.memories-page{color:#243e5a}.memories-breadcrumb{display:flex;gap:10px;align-items:center;font-size:14px;color:#6b7d8f;margin-bottom:30px}.memories-breadcrumb a{color:inherit}.memories-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 18px}.memories-heading h1{margin:0;font-size:38px;line-height:1.3;letter-spacing:-.5px}.memories-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center}.memories-intro{max-width:760px;font-size:17px;line-height:1.8;color:#61758b;margin:0 0 28px}.memories-search{display:flex;max-width:600px;margin-bottom:28px;gap:10px}.memories-search input{min-width:0;flex:1}.memory-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.memory-card{position:relative;overflow:hidden;border-radius:20px;background:#fff;border:1px solid #e3eaf1;box-shadow:0 4px 18px #284c6b08}.memory-card-copy{padding:26px 30px}.memory-card-copy:after{content:"→";position:absolute;right:28px;top:28px;color:#7a94ab;font-size:22px}.memory-card h2{padding-right:32px;overflow-wrap:anywhere}.memory-card h2{font-size:21px;line-height:1.4;margin:0 0 12px}.memory-card h2 a{color:inherit;text-decoration:none}.memory-card h2 a:after{content:'';position:absolute;inset:0}.memory-card:has(a:focus-visible){outline:3px solid #7daed9;outline-offset:3px}.memory-card:hover{border-color:#adc5da}.memory-card-copy>p{color:#63788d;font-size:17px;line-height:1.8;margin:0 0 18px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.memory-card footer{display:flex;flex-wrap:wrap;gap:8px 20px;color:#708399;font-size:14px;overflow-wrap:anywhere}.memory-empty{background:#fffaf6;border:1px solid #eadfd4;border-radius:22px;text-align:center;padding:54px 24px;color:#705b4d}.memory-empty>span{font:48px Georgia,serif;color:#b18c75}.memory-empty h2{font-size:23px;margin:12px 0}.memory-empty p{font-size:16px;margin-bottom:24px}.memories-pagination{display:flex;justify-content:center;gap:16px;margin-top:28px}.memory-create-layout{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:36px;margin-top:30px}.memory-guide{padding:28px 12px 28px 0}.memory-guide>span{font:64px Georgia,serif;color:#ad8065}.memory-guide h2{font-size:27px;line-height:1.5;margin:12px 0 18px}.memory-guide p{font-size:16px;line-height:1.9;color:#62768a}.memory-price{display:flex;align-items:baseline;gap:12px;margin:30px 0 8px}.memory-price strong{font-size:29px}.memory-price span{color:#697c8f}.memories-panel{background:#fff;border:1px solid #e0e9f1;border-radius:22px;padding:32px}.memories-panel label:not(.memory-confirm){display:block;margin:0 0 24px;font-size:17px;font-weight:600}.memories-panel input:not([type=checkbox]),.memories-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:10px;font:400 16px/1.6 system-ui}.memories-panel textarea{resize:vertical}.memories-panel small{display:block;color:#78899b;font-size:13px;font-weight:400;margin-top:8px;line-height:1.7}.memory-confirm{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.8;font-weight:400}.memory-confirm input{width:auto;flex:none;margin-top:6px}.memory-terms{color:#78899b;font-size:13px;line-height:1.8}.memory-form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e4ebf1;padding-top:22px;margin-top:24px}.memory-photo-preview{margin-bottom:24px}.memory-photo-preview img{max-height:240px;max-width:100%;display:block;border-radius:12px;margin-bottom:10px}#memory-error{color:#b43f3a;font-size:14px;line-height:1.7}.memory-detail .obj-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.memory-detail h1{font-size:36px;line-height:1.4;overflow-wrap:anywhere;margin:0}.memory-detail .mono{font-size:15px;color:#6b8198;overflow-wrap:anywhere}.memory-byline{color:#7c8b9b;font-size:14px}.memory-description{font-size:19px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0;max-width:860px}.memory-detail .detail-actions{flex:none}.memory-detail .uoi-citation-entry{margin:0}.memory-context [hidden]{display:none!important}
@media(max-width:900px){.memory-create-layout{grid-template-columns:1fr;gap:16px}.memory-guide{padding:0}.memory-guide>span{display:none}.memory-guide h2{font-size:23px}.memory-price{margin:18px 0}.memories-heading h1{font-size:30px}}
@media(max-width:600px){.memory-context #app{padding:22px 18px 40px}.memories-heading{align-items:flex-start;flex-direction:column;gap:18px}.memories-heading h1{font-size:29px}.memory-grid{grid-template-columns:1fr}.memories-panel{padding:22px 18px}.memory-detail .obj-head{flex-direction:column}.memory-detail h1{font-size:28px}.memory-description{font-size:17px}.memory-form-footer{flex-wrap:wrap}.memories-breadcrumb{margin-bottom:22px}.memory-empty{padding:36px 18px}}
.memory-context .memories-heading{position:static;background:transparent;border:0;padding:0;box-shadow:none;width:auto;max-width:none}
.memory-context .memories-breadcrumb{padding:0;background:transparent;border:0;box-shadow:none;width:auto;max-width:none}
.memory-context .memory-detail .obj-head{position:static;background:transparent;padding:0;border:0;box-shadow:none}

.memory-detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;margin:24px 0 0;padding-top:20px;border-top:1px solid #e5ecf2}
.memory-detail-meta p{margin:0;line-height:1.7}
.memory-detail figure.memory-photo{margin:28px 0 0}
.memory-photo-stage{display:flex;justify-content:center;align-items:center;min-width:0;padding:24px;background:#f7f8fa;border:1px solid #e6ebef;border-radius:16px;overflow:hidden;cursor:zoom-in}
.memory-detail .memory-photo-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:min(62vh,560px);object-fit:contain;border-radius:4px}
.memory-photo figcaption{display:flex;justify-content:space-between;gap:16px;margin-top:12px;font-size:13px;color:#7b8a98}
.memory-photo figcaption a{white-space:nowrap}
.memory-comments{margin-top:32px;padding-top:24px;border-top:1px solid #e5ecf2;scroll-margin-top:100px}.memory-comments>summary{cursor:pointer;font-size:20px;font-weight:600}.memory-comment{padding:20px 0;border-bottom:1px solid #e5ecf2}.memory-comment>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.memory-comment time{font-size:13px;color:#78899b}.memory-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:8px 0 0}.memory-comment-empty{color:#78899b;padding:14px 0}.memory-comments form{margin-top:22px}.memory-comments form button{margin-top:12px}.memory-comments textarea{min-height:100px}.memory-comments [role=status]{font-size:14px}.memory-detail .obj-head{flex-wrap:wrap}.memory-detail .discussion-entry.detail-actions{flex-shrink:1;justify-content:flex-start}.memory-detail .obj-head>h1{flex:1 1 280px}
@media(max-width:600px){.memory-card-copy{padding:22px}.memory-card-copy:after{right:20px;top:22px}.memory-card-copy>p{font-size:16px}.memory-card footer{font-size:13px}.memory-photo-stage{padding:12px}.memory-detail .memory-photo-stage img{max-height:55vh}.memory-detail-meta{align-items:flex-start;flex-direction:column}.memory-detail .obj-head{flex-direction:row;gap:12px}.memory-detail .detail-actions{align-self:flex-start}.memory-detail h1{font-size:27px}}

.memory-type-section{margin:0 0 30px}.memory-type-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.memory-type-heading h2{font-size:18px;margin:0}.memory-type-heading>span{font-size:13px;color:#6b8094}.memory-types{display:flex;flex-wrap:wrap;gap:10px}.memory-types a{display:inline-flex;align-items:center;gap:12px;max-width:100%;padding:12px 16px;border:1px solid #d6e3ee;border-radius:12px;background:#ffffffc9;color:#315574;text-decoration:none;transition:background .15s,border-color .15s}.memory-types a>span:first-child{overflow-wrap:anywhere}.memory-types strong{font-size:15px;font-variant-numeric:tabular-nums;min-width:24px;padding:1px 7px;background:#edf4fa;border-radius:7px;text-align:center}.memory-types a>span:last-child:not(:first-child){color:#7d96ad}.memory-types a:hover{border-color:#8eb5d7;background:#fff}.memory-types a[aria-current=page]{border-color:#2468a9;background:#2468a9;color:#fff}.memory-types a[aria-current=page] strong{background:#ffffff24;color:#fff}.memory-types a[aria-current=page]>span{color:#fff}.memory-types a:focus-visible{outline:3px solid #82b4de;outline-offset:3px}.memory-type-group{margin:0 0 28px}.memory-type-group>h2{font-size:20px;line-height:1.4;margin:0 0 14px;overflow-wrap:anywhere}.memory-object-type{font-size:14px;white-space:normal;overflow-wrap:anywhere}.memory-context .memory-type-section,.memory-context .memory-type-group{background:transparent;border:0;padding:0;box-shadow:none}.memories-panel input[list]{padding-right:36px}@media(max-width:600px){.memory-types a{padding:10px 12px;gap:8px}.memory-type-heading{gap:6px}.memory-type-group>h2{font-size:18px}}
.memory-context nav.memory-types{padding:0;margin:0;justify-content:flex-start;width:auto;max-width:none;background:transparent;border:0;box-shadow:none}.memory-context .memory-types a{font-size:16px;line-height:1.4;min-height:44px}

/* Searchable type picker: one aligned row per type, with counts at the right. */
.memory-type-field{margin-bottom:24px}.memories-panel .memory-type-field>label{margin-bottom:10px}.memory-type-picker{position:relative}.memory-type-control{position:relative}.memories-panel .memory-type-control input{margin:0;padding:13px 46px 13px 16px;border:1px solid #ccdce9;border-radius:10px;background:#fff;color:#243e5a;line-height:1.5}.memories-panel .memory-type-control input:focus{outline:0;border-color:#357bb7;box-shadow:0 0 0 3px #327eb419}.memories-panel .memory-type-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:0;margin:0;padding:0;background:transparent;border:0;border-radius:7px;color:#70859b;box-shadow:none}.memory-type-toggle:hover{background:#eef4f9}.memory-type-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.memory-type-menu{position:absolute;z-index:60;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid #dce5ee;border-radius:12px;box-shadow:0 12px 32px #203c5b18,0 2px 6px #203c5b08;overflow:hidden}.memory-type-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px 10px;color:#7a8b9e;font-size:12px;font-weight:500;border-bottom:1px solid #edf2f6}.memory-type-menu [role=listbox]{padding:6px;max-height:min(280px,42vh);overflow-y:auto;overscroll-behavior:contain}.memory-type-option{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:46px;padding:10px;border-radius:7px;cursor:pointer;color:#2c435c;font-size:16px;line-height:1.5;font-weight:400;box-sizing:border-box}.memory-type-option:hover,.memory-type-option.is-active{background:#f0f5fa}.memory-type-option[aria-selected=true]{background:#eaf3fc;color:#2369aa}.memory-type-option-name{min-width:0;overflow-wrap:anywhere}.memory-type-option-count{flex:none;min-width:32px;padding:2px 8px;border-radius:6px;background:#f0f3f7;color:#65798e;font-size:13px;font-weight:500;line-height:1.6;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}.memory-type-option[aria-selected=true] .memory-type-option-count{background:#dceafb;color:#2369aa}.memory-type-new{color:#2468a9;border-top:1px solid #edf2f6;margin-top:5px;padding-top:12px}.memory-type-plus{margin-right:7px}.memory-type-new-hint{flex:none;font-size:12px;color:#7890a6}.memory-type-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:600px){.memory-type-option{min-height:48px}.memory-type-menu-heading{padding-left:14px;padding-right:14px}}
.memory-type-menu.is-above{top:auto;bottom:calc(100% + 8px)}
