/* Scoped detail refinements; keep the accepted v23 surfaces and typography. */
.v26-memory-detail .detail-meta{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.v26-memory-detail .detail-meta time{text-align:left;min-width:0}
.v26-memory-detail .detail-meta>span{text-align:right;flex-shrink:0}
.v26-memory-detail .detail-writing p,.v26-story p{white-space:pre-wrap;overflow-wrap:anywhere}
.v26-memory-detail .detail-ending{margin-top:34px;padding-bottom:20px}
.v26-memory-actions .sheet-action,.v26-garment-source .sheet-action{min-height:52px;font-size:15px}
.v26-item-stage{min-height:320px;height:46dvh;max-height:480px;background:var(--wash);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:22px}
.v26-item-stage img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.v26-item-detail .detail-title{font-size:23px;margin:22px 0 14px;line-height:1.5}
.v26-fact-tags{display:flex;flex-wrap:wrap;gap:8px}
.v26-fact-tags .pill{font-size:13px;line-height:1.6}
.v26-story,.v26-related{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.v26-story h2,.v26-related h2,.v26-selected-list h2{font-size:18px;font-weight:500;margin:0 0 14px}
.v26-story p{font-size:16px;line-height:1.95;margin:0 0 12px;color:var(--ink)}
.v26-story .hint,.v26-contour-note{color:var(--muted);font-size:13px;line-height:1.9}
.v26-story>.btn{padding-left:0;min-height:48px}
.v26-detail-actions{display:grid;gap:12px;margin-top:28px}
.v26-selected-list{margin:22px 0}
.v26-selected-item{display:flex;align-items:center;gap:14px;width:100%;min-height:88px;background:transparent;border:0;border-bottom:1px solid var(--line);padding:14px 0;text-align:left;color:var(--ink)}
.v26-selected-photo{width:64px;height:70px;flex:0 0 64px;border-radius:8px;background:var(--wash);display:grid;place-items:center;padding:6px}
.v26-selected-photo img{width:100%;height:100%;object-fit:contain}
.v26-selected-photo svg{width:23px;height:23px;color:var(--pine)}
.v26-selected-item strong{display:block;font-size:15px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.v26-selected-item small{display:block;font-size:12px;color:var(--muted);line-height:1.8;margin-top:5px}
.v26-replace-label{display:flex;align-items:center;gap:4px;color:var(--pine);font-size:13px;flex-shrink:0}
.v26-replace-label svg{width:14px;height:14px}
.v26-free-look{height:auto!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;align-items:center;position:relative}
.v26-free-look>div{min-height:105px;height:130px;display:grid;place-items:center;min-width:0}
.v26-free-look>div>img{position:static!important;transform:none!important;max-width:100%!important;max-height:100%!important;width:100%;height:100%;object-fit:contain}
.v26-free-look>div>span{font-size:13px;color:var(--muted)}
.sheet.v26-catalog{height:100dvh;max-height:100dvh;top:0;bottom:0;border-radius:0;display:flex;flex-direction:column;gap:12px;padding:calc(14px + env(safe-area-inset-top)) 22px calc(16px + env(safe-area-inset-bottom));overflow:hidden}
.v26-catalog>.sheet-grip{display:none}
.v26-catalog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}
.v26-catalog-head h3{margin:0;font-size:21px}
.v26-catalog-search{min-height:48px;flex-shrink:0}
.v26-catalog-cats{display:flex;overflow-x:auto;gap:6px;flex-shrink:0;padding:3px 0 8px}
.v26-catalog-cats .chip{min-height:48px;white-space:nowrap;flex-shrink:0}
.v26-catalog-items{overflow-y:auto;flex:1;min-height:0;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 0 12px}
.v26-catalog-items .pick-cell{padding:7px;text-align:left}
.v26-catalog-items .pc-stage{height:150px}
.v26-catalog-items .pc-name{font-size:14px}
.v26-catalog-items small{font-size:12px;color:var(--muted);display:block;padding:0 5px 7px}
.v26-catalog-items .pick-cell:disabled{opacity:.55}
.v26-catalog-footer{flex-shrink:0;border-top:1px solid var(--line);padding-top:14px}
.v26-catalog-footer .hint{margin:8px 0 0;min-height:20px;text-align:center}
.v26-selected-item:focus-visible,.v26-catalog button:focus-visible{outline:2px solid var(--pine);outline-offset:3px}
@media(max-width:359px){.sheet.v26-catalog{padding-left:18px;padding-right:18px}.v26-selected-photo{width:52px;flex-basis:52px}.v26-selected-item{gap:10px}.v26-replace-label{font-size:12px}.v26-catalog-items .pc-stage{height:125px}}
@media(prefers-reduced-motion:reduce){.v26-catalog,.v26-selected-item{transition:none;animation:none}}
