:root:where(:not([data-cje-app-root])){font:16px/1.5 system-ui,sans-serif;color:#20332d;background:#f6f8f5}
:where(:root:not([data-cje-app-root])),:where(:root:not([data-cje-app-root])) *{box-sizing:border-box}
:where(:root:not([data-cje-app-root])) body{margin:0}
:where(:root:not([data-cje-app-root])) main{max-width:50rem;margin:auto;padding:1.5rem}
:where(:root:not([data-cje-app-root])) section{background:white;border:1px solid #bccdc4;border-radius:.75rem;margin:1rem 0;padding:1rem}
:where(:root:not([data-cje-app-root])) form{display:grid;gap:.8rem}
:where(:root:not([data-cje-app-root])) label{display:grid;gap:.2rem}
:where(:root:not([data-cje-app-root])) input,:where(:root:not([data-cje-app-root])) button{font:inherit;padding:.6rem;min-height:2.8rem}
:where(:root:not([data-cje-app-root])) .actions{display:flex;flex-wrap:wrap;gap:.5rem}
:where(:root:not([data-cje-app-root])) button{border:1px solid #35614c;border-radius:.4rem;background:#e4f3e9;color:#153b2b}
:where(:root:not([data-cje-app-root])) button:disabled{opacity:.5}
:where(:root:not([data-cje-app-root])) button:focus-visible,:where(:root:not([data-cje-app-root])) input:focus-visible,:where(:root:not([data-cje-app-root])) a:focus-visible{outline:3px solid #165dba;outline-offset:2px}
:where(:root:not([data-cje-app-root])) [data-r240-status]{min-height:2em}
@media (max-width:620px){:where(:root:not([data-cje-app-root])) main{padding:1rem}
:where(:root:not([data-cje-app-root])) .actions{display:grid}
:where(:root:not([data-cje-app-root])) button{width:100%}
}

/* CJE domain composition: G3-B v1.6 approved, opt-in data-cje-app. */
body:where([data-cje-app])[data-cje-surface=memo]{background:var(--cje-color-surface);}
body:where([data-cje-app])[data-cje-surface=memo]>#g8-shared-header{display:none;}
:where([data-cje-app]) .cje-memo-community{--cje-memo-gap:var(--cje-color-surface-subtle);width:min(1240px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:216px minmax(0,1fr) 324px;align-items:start;min-height:calc(100dvh - 0px);}
:where([data-cje-app]) .cje-memo-community button:not(.cje-journey-action),:where([data-cje-app]) .cje-memo-campaign,:where([data-cje-app]) .cje-memo-topic-links>button,:where([data-cje-app]) .cje-memo-post-tags>button{background:none;}
:where([data-cje-app]) .cje-memo-rail{position:sticky;top:80px;height:calc(100dvh - 80px);display:flex;flex-direction:column;padding:20px 22px 18px 0;min-width:0;overflow:auto;scrollbar-width:none;}
:where([data-cje-app]) .cje-memo-rail nav{display:grid;gap:4px;}
:where([data-cje-app]) .cje-memo-rail nav>a,:where([data-cje-app]) .cje-memo-rail nav>button{min-height:47px;display:flex;align-items:center;gap:15px;padding:9px 13px;text-align:left;font-size:14px;border-radius:999px;color:var(--cje-color-text-primary);position:relative;width:100%;white-space:nowrap;}
:where([data-cje-app]) .cje-memo-rail nav :is(a,button):hover{background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-rail nav [aria-current=page]{font-weight:600;color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-rail nav [aria-current=page]:before{content:"";position:absolute;left:0;width:2px;height:22px;border-radius:2px;background:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-rail nav .i{width:23px;height:23px;}
:where([data-cje-app]) .cje-memo-share-cta{margin-top:20px;width:100%;font-size:12px;min-height:46px;padding:10px 13px;white-space:nowrap;}
:where([data-cje-app]) .cje-memo-share-cta .i{width:17px;height:17px;}
:where([data-cje-app]) .cje-memo-rail-bottom{margin-top:auto;padding-top:23px;}
:where([data-cje-app]) .cje-memo-theme{display:flex;align-items:center;gap:10px;color:var(--cje-color-text-secondary);font-size:10px;min-height:40px;padding:0 13px;margin-bottom:14px;}
:where([data-cje-app]) .cje-memo-theme .i{width:17px;height:17px;}
:where([data-cje-app]) .cje-memo-myself{display:flex;align-items:center;gap:10px;width:100%;padding:10px 7px;text-align:left;min-width:0;}
:where([data-cje-app]) .cje-memo-myself>span:not(.cje-memo-avatar){min-width:0;flex:1;}
:where([data-cje-app]) .cje-memo-myself strong{font-size:11px;font-weight:600;display:block;white-space:nowrap;}
:where([data-cje-app]) .cje-memo-myself small{display:block;font-size:10px;color:var(--cje-color-text-secondary);line-height:1.7;}
:where([data-cje-app]) .cje-memo-myself>.i:last-child{width:15px;height:15px;}
:where([data-cje-app]) .cje-memo-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:600;letter-spacing:.03em;flex:none;background:var(--cje-color-surface-subtle);color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-avatar.sage{background:color-mix(in srgb,var(--cje-color-action-primary) 13%,var(--cje-color-surface));}
:where([data-cje-app]) .cje-memo-avatar.clay{background:color-mix(in srgb,var(--cje-kind-stays-accent,#915740) 15%,var(--cje-color-surface));color:var(--cje-kind-stays-accent,#915740);}
:where([data-cje-app]) .cje-memo-avatar.gold{background:color-mix(in srgb,var(--cje-color-accent) 23%,var(--cje-color-surface));color:var(--cje-color-text-primary);}
:where([data-cje-app]) .cje-memo-avatar.ink{background:var(--cje-color-action-primary);color:var(--cje-color-on-action);}
:where([data-cje-app]) .cje-memo-stream{min-width:0;border-inline:1px solid var(--cje-color-border);min-height:calc(100dvh - 0px);padding-bottom:1px;}
:where([data-cje-app]) .cje-memo-icon{display:inline-grid;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;border-radius:50%;padding:0;color:var(--cje-color-action-primary);flex:none;}
:where([data-cje-app]) .cje-memo-icon .i{width:20px;height:20px;}
:where([data-cje-app]) .cje-memo-icon:hover{background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-composer{display:flex;gap:13px;padding:20px 22px 15px;border-bottom:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-composer>div{flex:1;min-width:0;}
:where([data-cje-app]) .cje-memo-composer-prompt{display:block;padding:6px 0 21px;text-align:left;font-size:16px;color:var(--cje-color-text-secondary);line-height:1.65;width:100%;}
:where([data-cje-app]) .cje-memo-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;}
:where([data-cje-app]) .cje-memo-composer-bottom>div{display:flex;gap:3px;}
:where([data-cje-app]) .cje-memo-composer-bottom .cje-journey-action{min-height:36px;font-size:11px;padding:8px 20px;}
:where([data-cje-app]) .cje-memo-composer .cje-memo-icon{width:48px;min-width:48px;height:48px;min-height:48px;}
:where([data-cje-app]) .cje-memo-composer .cje-memo-icon>.i{width:24px;height:24px;}
:where([data-cje-app]) .cje-memo-post-list{display:grid;gap:12px;background:var(--cje-memo-gap);padding:12px 0;}
:where([data-cje-app]) .cje-memo-post{display:flex;gap:12px;padding:21px 22px 16px;border-block:1px solid var(--cje-color-border);background:var(--cje-color-surface);min-width:0;}
:where([data-cje-app]) .cje-memo-avatar-button{padding:0;align-self:start;border-radius:50%;flex:none;}
:where([data-cje-app]) .cje-memo-post-content{min-width:0;flex:1;}
:where([data-cje-app]) .cje-memo-author-line{display:flex;align-items:center;gap:6px;min-width:0;font-size:10px;line-height:1.8;color:var(--cje-color-text-secondary);flex-wrap:wrap;}
:where([data-cje-app]) .cje-memo-author-name{padding:0;color:var(--cje-color-text-primary);font-size:12px;font-weight:600;text-align:left;}

:where([data-cje-app]) .cje-memo-edit{margin-left:auto;display:grid;place-items:center;min-width:29px;min-height:29px;margin-block:-5px;}
:where([data-cje-app]) .cje-memo-edit .i{width:14px;height:14px;}
:where([data-cje-app]) .cje-memo-post-copy{display:block;margin:5px 0 0;}
:where([data-cje-app]) .cje-memo-post-copy h2{font-size:16px;line-height:1.5;letter-spacing:-.025em;font-weight:600;margin-bottom:5px;}
:where([data-cje-app]) .cje-memo-post-copy p{font-size:13px;line-height:1.8;color:var(--cje-color-text-primary);}
:where([data-cje-app]) .cje-memo-post-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:7px;}
:where([data-cje-app]) .cje-memo-post-tags button{font-size:11px;color:var(--cje-color-action-primary);padding:2px 0;}
:where([data-cje-app]) .cje-memo-post-tags button:hover{text-decoration:underline;text-underline-offset:3px;}
:where([data-cje-app]) .cje-memo-post-photo{display:block;border-radius:16px;overflow:hidden;margin-top:13px;border:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-post-photo>img{width:100%;aspect-ratio:1.4;object-fit:cover;transition:filter .2s;}
:where([data-cje-app]) .cje-memo-post-photo:hover>img{filter:brightness(.96);}
:where([data-cje-app]) .cje-memo-post-actions{display:flex;justify-content:flex-start;gap:18px;margin:8px -5px 0;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-post-actions>button{display:flex;align-items:center;gap:7px;min-width:38px;min-height:39px;padding:5px;font-size:10px;border-radius:999px;}
:where([data-cje-app]) .cje-memo-post-actions .i{width:18px;height:18px;}
:where([data-cje-app]) .cje-memo-post-actions>button:hover,:where([data-cje-app]) .cje-memo-post-actions>[aria-pressed=true]{color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-post-actions>[aria-pressed=true]>.i{fill:color-mix(in srgb,var(--cje-color-action-primary) 13%,transparent);}
:where([data-cje-app]) .cje-memo-right{position:sticky;top:98px;min-width:0;padding:0 0 34px 26px;margin-top:18px;max-height:calc(100dvh - 100px);overflow:auto;scrollbar-width:none;}
:where([data-cje-app]) .cje-memo-search{display:flex;position:relative;margin-bottom:20px;border:1px solid var(--cje-color-border-strong);border-radius:999px;align-items:center;background:var(--cje-color-surface);padding:0 5px 0 14px;min-width:0;}
:where([data-cje-app]) .cje-memo-search:focus-within{border-color:var(--cje-r7-stay-active-accent,var(--cje-color-accent));}
:where([data-cje-app]) .cje-memo-search>label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;border:0;outline:0;box-shadow:none;}
:where([data-cje-app]) .cje-memo-search>label>.i{width:17px;height:17px;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-search input{font-size:12px;width:100%;min-width:0;height:45px;border:0;background:none;outline:0;box-shadow:none;}
:where([data-cje-app]) .cje-memo-search input:focus{outline:0;box-shadow:none;border:0;}
:where([data-cje-app]) .cje-memo-search>button{height:36px;min-width:34px;display:grid;place-items:center;color:var(--cje-color-action-primary);border-radius:50%;background:none;}
:where([data-cje-app]) .cje-memo-search>button .i{width:16px;height:16px;}
:where([data-cje-app]) .cje-memo-search>button:hover{background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-promotion{border-radius:17px;border:1px solid var(--cje-color-border);overflow:hidden;background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-promo-image{height:143px;position:relative;}
:where([data-cje-app]) .cje-memo-promo-image>img{width:100%;height:100%;object-fit:cover;}
:where([data-cje-app]) .cje-memo-promo-image>span{position:absolute;top:12px;left:12px;background:var(--cje-color-surface);padding:4px 8px;border-radius:999px;font-size:7px;letter-spacing:.08em;}
:where([data-cje-app]) .cje-memo-promotion>div:last-child{padding:19px 20px 14px;}
:where([data-cje-app]) .cje-memo-kicker{font-size:8px;color:var(--cje-color-text-secondary);letter-spacing:.03em;margin-bottom:9px;}
:where([data-cje-app]) .cje-memo-promotion h3{font-size:25px;line-height:1.25;letter-spacing:-.04em;}
:where([data-cje-app]) .cje-memo-promotion h3+p{font-size:10px;line-height:1.85;color:var(--cje-color-text-secondary);margin:11px 0 5px;}
:where([data-cje-app]) .cje-memo-promotion .cje-journey-text-link{font-size:10px;min-height:35px;}
:where([data-cje-app]) .cje-memo-promotion .cje-journey-text-link .i{width:15px;height:15px;}
:where([data-cje-app]) .cje-memo-campaigns{border:1px solid var(--cje-color-border);border-radius:17px;margin-top:19px;padding:19px 17px 15px;}
:where([data-cje-app]) .cje-memo-side-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;}
:where([data-cje-app]) .cje-memo-side-heading h2{font-size:19px;letter-spacing:-.04em;}
:where([data-cje-app]) .cje-memo-side-heading .i{width:17px;height:17px;color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-campaign{display:flex;align-items:start;text-align:left;width:100%;padding:13px 0;gap:10px;}
:where([data-cje-app]) .cje-memo-campaign>span:nth-child(2){flex:1;min-width:0;}
:where([data-cje-app]) .cje-memo-campaign small{font-size:8px;color:var(--cje-color-text-secondary);display:block;line-height:1.6;}
:where([data-cje-app]) .cje-memo-campaign strong{font-size:12px;line-height:1.65;display:block;font-weight:600;margin:2px 0;}
:where([data-cje-app]) .cje-memo-campaign>span>span{font-size:9px;color:var(--cje-color-text-secondary);display:block;line-height:1.7;}
:where([data-cje-app]) .cje-memo-campaign>.i{width:12px;height:12px;align-self:center;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-campaign:hover strong{text-decoration:underline;text-underline-offset:3px;}
:where([data-cje-app]) .cje-memo-campaign-icon{width:31px;height:31px;display:grid;place-items:center;flex:none;background:var(--cje-color-surface-subtle);color:var(--cje-color-action-primary);border-radius:50%;margin-top:4px;}
:where([data-cje-app]) .cje-memo-campaign-icon .i{width:17px;height:17px;}
:where([data-cje-app]) .cje-memo-campaign-icon.gold{background:color-mix(in srgb,var(--cje-color-accent) 20%,var(--cje-color-surface));}
:where([data-cje-app]) .cje-memo-topic-links{display:flex;flex-wrap:wrap;gap:4px 10px;padding-top:12px;}
:where([data-cje-app]) .cje-memo-topic-links>button{font-size:9px;padding:2px 0;color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-topic-links>button:hover{text-decoration:underline;}
:where([data-cje-app]) .cje-memo-ad{display:flex;align-items:center;gap:12px;border:1px solid var(--cje-color-border);border-radius:16px;margin-top:19px;padding:12px;}
:where([data-cje-app]) .cje-memo-ad>img{width:72px;height:88px;object-fit:cover;border-radius:9px;}
:where([data-cje-app]) .cje-memo-ad>div{min-width:0;}
:where([data-cje-app]) .cje-memo-ad span{font-size:8px;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-ad h3{font-size:15px;margin:5px 0 2px;line-height:1.5;}
:where([data-cje-app]) .cje-memo-ad .cje-journey-text-link{font-size:9px;min-height:30px;}
:where([data-cje-app]) .cje-memo-ad .cje-journey-text-link .i{width:13px;height:13px;}
:where([data-cje-app]) .cje-memo-side-note{font-size:8px;color:var(--cje-color-text-secondary);line-height:1.85;margin:16px 5px 0;}
:where([data-cje-app]) .cje-memo-right-footer{display:flex;flex-wrap:wrap;gap:5px 12px;color:var(--cje-color-text-secondary);font-size:8px;padding:15px 5px 0;}
:where([data-cje-app]) .cje-memo-feed-end{padding:35px 22px 45px;display:grid;justify-items:center;gap:10px;color:var(--cje-color-text-secondary);font-size:10px;text-align:center;}
:where([data-cje-app]) .cje-memo-feed-end>.i{width:25px;height:25px;}
:where([data-cje-app]) .cje-memo-feed-end .cje-journey-text-link{font-size:11px;}
:where([data-cje-app]) .cje-memo-empty{padding:45px 28px;text-align:center;}
:where([data-cje-app]) .cje-memo-empty>.i{width:32px;height:32px;color:var(--cje-color-action-primary);margin-bottom:18px;}
:where([data-cje-app]) .cje-memo-empty h2{font-size:23px;line-height:1.5;}
:where([data-cje-app]) .cje-memo-empty p{font-size:12px;color:var(--cje-color-text-secondary);margin:13px auto 18px;line-height:1.8;max-width:360px;}
:where([data-cje-app]) .cje-memo-inline-status,:where([data-cje-app]) .cje-memo-search-result{padding:13px 22px;background:var(--cje-color-surface-subtle);color:var(--cje-color-action-primary);font-size:11px;border-bottom:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-search-result{display:flex;align-items:center;justify-content:space-between;gap:10px;}
:where([data-cje-app]) .cje-memo-search-result .cje-memo-icon{width:28px;height:28px;min-height:28px;min-width:28px;}
:where([data-cje-app]) .cje-memo-mobile-nav{display:none;}
:where([data-cje-app]) .cje-memo-journey-link{display:flex;align-items:center;gap:12px;padding:19px 17px;border:1px solid var(--cje-color-border);border-radius:14px;margin-top:25px;}
:where([data-cje-app]) .cje-memo-journey-link>span{flex:1;min-width:0;}
:where([data-cje-app]) .cje-memo-journey-link small{display:block;color:var(--cje-color-text-secondary);font-size:9px;margin-bottom:5px;}
:where([data-cje-app]) .cje-memo-journey-link strong{display:block;font-size:14px;line-height:1.6;}
:where([data-cje-app]) .cje-memo-journey-link>.i{width:20px;height:20px;color:var(--cje-color-action-primary);}

:where([data-cje-app]) .cje-memo-author-preview{display:grid;gap:14px;}
:where([data-cje-app]) .cje-memo-author-preview small{font-size:10px;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-photo-picker{margin:0;border:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;min-width:0;}
:where([data-cje-app]) .cje-memo-photo-picker legend{font-size:11px;margin-bottom:10px;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-photo-picker label{position:relative;min-width:0;text-align:center;padding:5px;border:1px solid var(--cje-color-border);border-radius:10px;cursor:pointer;}
:where([data-cje-app]) .cje-memo-photo-picker input{position:absolute;top:8px;left:8px;accent-color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-photo-picker img,:where([data-cje-app]) .cje-memo-photo-picker label>span{width:100%;aspect-ratio:1.2;object-fit:cover;border-radius:6px;display:grid;place-items:center;background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-photo-picker label:has(input:checked){border-color:var(--cje-r7-stay-active-accent,var(--cje-color-accent));}
:where([data-cje-app]) .cje-memo-photo-picker small{font-size:9px;display:block;line-height:1.6;margin-top:5px;}
:where([data-cje-app]) .cje-memo-campaign-cover{width:100%;height:220px;object-fit:cover;border-radius:13px;margin-bottom:22px;}
:where([data-cje-app]) .cje-memo-offers{max-width:360px;margin:auto;}
:where([data-cje-app]) .cje-memo-text-thumb{display:grid;place-items:center;background:var(--cje-color-surface-subtle);height:130px;border-radius:12px;color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-stream>.cje-memo-editor{width:100%;padding:23px 22px 40px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-layout{display:flex;flex-direction:column;gap:23px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-layout>.cje-profile-form{width:100%;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-post-context{position:static;width:100%;display:none;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor .cje-journey-heading{margin-bottom:24px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor h1{font-size:29px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions{width:100%;font-size:11px;gap:10px;flex-wrap:wrap;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions .cje-journey-action{font-size:10px;padding:10px 11px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions .cje-journey-text-link{font-size:10px;margin-left:auto;}
@media (max-width:1120px){
:where([data-cje-app]) .cje-memo-community{width:min(900px,calc(100% - 36px));grid-template-columns:86px minmax(0,1fr) 280px;}
:where([data-cje-app]) .cje-memo-rail{padding-right:16px;align-items:center;}
:where([data-cje-app]) .cje-memo-rail nav>a,:where([data-cje-app]) .cje-memo-rail nav>button{width:49px;height:49px;padding:12px;justify-content:center;}
:where([data-cje-app]) .cje-memo-rail nav :is(a,button)>span,:where([data-cje-app]) .cje-memo-share-cta>span,:where([data-cje-app]) .cje-memo-theme>span,:where([data-cje-app]) .cje-memo-myself>span:not(.cje-memo-avatar),:where([data-cje-app]) .cje-memo-myself>.i:last-child{display:none;}
:where([data-cje-app]) .cje-memo-share-cta{width:46px;padding:10px;}
:where([data-cje-app]) .cje-memo-rail-bottom{display:grid;justify-items:center;}
:where([data-cje-app]) .cje-memo-theme{padding:0;justify-content:center;}
:where([data-cje-app]) .cje-memo-myself{padding:0;justify-content:center;min-height:45px;}
:where([data-cje-app]) .cje-memo-right{padding-left:19px;}
:where([data-cje-app]) .cje-memo-promotion>div:last-child{padding-inline:16px;}
:where([data-cje-app]) .cje-memo-promotion h3{font-size:23px;}
:where([data-cje-app]) .cje-memo-campaigns{padding-inline:14px;}
:where([data-cje-app]) .cje-memo-side-heading h2{font-size:17px;}
}
@media (max-width:960px){
:where([data-cje-app]) .cje-memo-community{width:min(730px,calc(100% - 32px));grid-template-columns:83px minmax(0,1fr);}
:where([data-cje-app]) .cje-memo-right{display:none;}
}
@media (max-width:680px){
:where([data-cje-app]) .cje-memo-community{display:block;width:100%;padding-bottom:calc(62px + env(safe-area-inset-bottom));}
:where([data-cje-app]) .cje-memo-rail{display:none;}
:where([data-cje-app]) .cje-memo-stream{border:0;min-height:calc(100dvh - 0px - 62px);}
:where([data-cje-app]) .cje-memo-composer{padding:17px 16px 12px;gap:11px;}
:where([data-cje-app]) .cje-memo-composer>.cje-memo-avatar{width:34px;height:34px;font-size:10px;}
:where([data-cje-app]) .cje-memo-composer-prompt{font-size:14px;padding-top:2px;padding-bottom:14px;max-width:275px;}
:where([data-cje-app]) .cje-memo-composer-bottom .cje-journey-action{font-size:10px;padding:7px 16px;min-height:34px;}
:where([data-cje-app]) .cje-memo-post{padding:18px 15px 8px;gap:10px;}
:where([data-cje-app]) .cje-memo-post .cje-memo-avatar{width:34px;height:34px;font-size:10px;}
:where([data-cje-app]) .cje-memo-author-line{font-size:9px;gap:4px;}
:where([data-cje-app]) .cje-memo-author-name{font-size:11px;}
:where([data-cje-app]) .cje-memo-post-copy{margin-top:5px;}
:where([data-cje-app]) .cje-memo-post-copy h2{font-size:15px;line-height:1.5;margin-bottom:5px;}
:where([data-cje-app]) .cje-memo-post-copy p{font-size:12px;line-height:1.85;}
:where([data-cje-app]) .cje-memo-post-photo{border-radius:13px;margin-top:11px;}
:where([data-cje-app]) .cje-memo-post-photo>img{aspect-ratio:1.18;}
:where([data-cje-app]) .cje-memo-post-tags{gap:6px 9px;margin-top:5px;}
:where([data-cje-app]) .cje-memo-post-tags button{font-size:10px;}
:where([data-cje-app]) .cje-memo-post-actions>button{font-size:9px;gap:5px;min-height:40px;}

:where([data-cje-app]) .cje-memo-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:30;background:var(--cje-color-surface);padding:5px 6px max(5px,env(safe-area-inset-bottom));border-top:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-mobile-nav>a,:where([data-cje-app]) .cje-memo-mobile-nav>button{display:grid;justify-items:center;align-content:center;gap:4px;min-height:51px;min-width:0;color:var(--cje-color-text-secondary);font-size:8px;background:none;position:relative;}
:where([data-cje-app]) .cje-memo-mobile-nav .i{width:21px;height:21px;}
:where([data-cje-app]) .cje-memo-mobile-nav>[aria-current=page]{color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-mobile-nav>[aria-current=page]:before{content:"";position:absolute;bottom:0;height:1px;width:22px;background:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-mobile-nav>[data-memo-action=compose]>.i{background:var(--cje-color-action-primary);color:var(--cje-color-on-action);width:30px;height:30px;padding:5px;border-radius:50%;margin-top:-9px;}
:where([data-cje-app]) .cje-memo-feed-end{padding-bottom:32px;font-size:9px;}
:where([data-cje-app]) .cje-memo-empty{padding:35px 24px;}
:where([data-cje-app]) .cje-memo-empty h2{font-size:22px;}
:where([data-cje-app]) .cje-memo-search-result,:where([data-cje-app]) .cje-memo-inline-status{padding-inline:16px;font-size:10px;}
:where([data-cje-app]) .cje-memo-journey-link{padding:16px 13px;gap:10px;}
:where([data-cje-app]) .cje-memo-journey-link strong{font-size:13px;}
:where([data-cje-app]) .cje-memo-journey-link small{font-size:8px;}

:where([data-cje-app]) .cje-memo-photo-picker{gap:5px;}
:where([data-cje-app]) .cje-memo-photo-picker label{padding:4px;}
:where([data-cje-app]) .cje-memo-photo-picker small{font-size:8px;}
:where([data-cje-app]) .cje-memo-photo-picker input{top:6px;left:6px;width:12px;height:12px;}
:where([data-cje-app]) .cje-memo-campaign-cover{height:180px;}
:where([data-cje-app]) .cje-memo-search input{font-size:16px;}
:where([data-cje-app]) .cje-memo-stream>.cje-memo-editor{padding:20px 16px 150px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions{bottom:calc(62px + env(safe-area-inset-bottom));padding:12px 14px;background:var(--cje-color-surface);z-index:31;display:grid;grid-template-columns:1fr;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions .cje-journey-action{font-size:10px;padding-inline:6px;min-height:43px;white-space:nowrap;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions .cje-journey-action .i{width:16px;height:16px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions .cje-journey-text-link{font-size:10px;min-height:32px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor .cje-journey-heading{gap:13px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor h1{font-size:27px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-topline{gap:6px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-topline .cje-journey-text-link{font-size:9px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-topline .i{width:15px;height:15px;}
body:where([data-cje-app])[data-cje-surface=memo] #toast{bottom:calc(75px + env(safe-area-inset-bottom));}
}
@media (max-width:350px){
:where([data-cje-app]) .cje-memo-post{padding-inline:12px;gap:8px;}
:where([data-cje-app]) .cje-memo-post .cje-memo-avatar{width:30px;height:30px;font-size:9px;}
:where([data-cje-app]) .cje-memo-post-copy h2{font-size:14px;}

:where([data-cje-app]) .cje-memo-composer-prompt{font-size:13px;}
:where([data-cje-app]) .cje-memo-composer{padding-inline:12px;}
:where([data-cje-app]) .cje-memo-post-actions>button{font-size:8px;min-width:32px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions .cje-journey-action{font-size:9px;}
:where([data-cje-app]) .cje-memo-stream .cje-memo-editor-actions .cje-journey-action .i{width:14px;height:14px;}
}
@media (prefers-reduced-motion:reduce){
:where([data-cje-app]) .cje-memo-community *{scroll-behavior:auto;transition:none;}
}

/* MEMO authoring and reactions extend the shared form and popup vocabulary. */
:where([data-cje-app]) .cje-memo-like-wrapper{position:relative;display:flex;min-width:0;}
:where([data-cje-app]) .cje-memo-like-wrapper>button{display:flex;align-items:center;gap:7px;min-width:38px;min-height:39px;padding:5px;font-size:10px;border-radius:999px;touch-action:pan-y;-webkit-user-select:none;user-select:none;}
:where([data-cje-app]) .cje-memo-like-wrapper>button[aria-pressed=true]{color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-reaction-emoji{font-size:18px;line-height:1;}
:where([data-cje-app]) .cje-memo-reactions{position:absolute;left:-5px;bottom:calc(100% + 6px);display:flex;gap:2px;padding:6px;border:1px solid var(--cje-color-border);border-radius:999px;background:var(--cje-color-surface);box-shadow:0 6px 24px #19392c20;z-index:12;}
:where([data-cje-app]) .cje-memo-reactions[hidden]{display:none;}
:where([data-cje-app]) .cje-memo-reactions>button{display:grid;place-items:center;width:40px;height:42px;min-width:40px;padding:0;border-radius:50%;font-size:24px;background:var(--cje-color-surface);transition:transform .14s ease;}
:where([data-cje-app]) .cje-memo-reactions>button:hover,:where([data-cje-app]) .cje-memo-reactions>button:focus-visible{transform:translateY(-3px);background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-reactions>button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--cje-color-action-primary);}

:where([data-cje-app]) .cje-memo-comment-label{font-size:9px;letter-spacing:.03em;color:var(--cje-color-text-secondary);}

:where([data-cje-app]) .cje-memo-attachment-panel{min-width:0;}
:where([data-cje-app]) .cje-memo-attachment-panel>summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;min-height:44px;font-size:12px;color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-attachment-panel>summary::-webkit-details-marker{display:none;}
:where([data-cje-app]) .cje-memo-attachment-panel>summary>.i{width:18px;height:18px;}
:where([data-cje-app]) .cje-memo-attachment-panel>summary>.i:last-child{margin-left:auto;}
:where([data-cje-app]) .cje-memo-attachment-panel>div{padding-top:14px;}
:where([data-cje-app]) .cje-memo-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 0;}
:where([data-cje-app]) .cje-memo-attachments:empty{display:none;}
:where([data-cje-app]) .cje-memo-attachments>:only-child{grid-column:1/-1;max-height:440px;}
:where([data-cje-app]) .cje-memo-attachments :is(img,video){width:100%;aspect-ratio:1.2;object-fit:cover;border-radius:14px;border:1px solid var(--cje-color-border);background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-device-status{display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.6;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-device-status>.i{width:14px;height:14px;flex:none;}
:where([data-cje-app]) [data-memo-draft] .cje-journey-entity-buttons{display:flex;gap:10px;}
:where([data-cje-app]) [data-memo-draft] .cje-journey-entity-buttons .cje-journey-action{font-size:12px;min-height:44px;padding:10px 16px;}
@media(max-width:680px){:where([data-cje-app]) .cje-memo-reactions{left:0;gap:0;}:where([data-cje-app]) .cje-memo-reactions>button{width:40px;min-width:40px;}:where([data-cje-app]) [data-memo-draft] .cje-journey-entity-buttons .cje-journey-action{font-size:11px;padding-inline:12px;}}
@media(prefers-reduced-motion:reduce){:where([data-cje-app]) .cje-memo-reactions>button{transition:none;}}

/* Three composition intents share one editor and one place selection state. */
:where([data-cje-app]) .cje-memo-compose-choices{display:flex;align-items:center;gap:8px;padding-bottom:5px;}
:where([data-cje-app]) .cje-memo-compose-choices>.cje-memo-icon{border:0;border-radius:12px;width:48px;min-width:48px;height:48px;min-height:48px;}
:where([data-cje-app]) .cje-memo-place-picker{display:grid;gap:10px;min-width:0;}
:where([data-cje-app]) .cje-memo-nearby-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;}
:where([data-cje-app]) .cje-memo-nearby-head>span{font-size:11px;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-locate{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:6px;min-width:0;min-height:36px;width:auto;padding:6px 10px;border:1px solid var(--cje-color-border);border-radius:999px;white-space:nowrap;background:var(--cje-color-surface);color:var(--cje-color-action-primary);font-size:11px;line-height:1.4;text-decoration:none;}
:where([data-cje-app]) .cje-memo-locate>span{display:inline;font:inherit;white-space:nowrap;}
:where([data-cje-app]) .cje-memo-locate:hover{border-color:var(--cje-color-action-primary);background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-locate:disabled{opacity:.6;cursor:wait;}
:where([data-cje-app]) .cje-memo-nearby-head .i{width:15px;height:15px;}
:where([data-cje-app]) .cje-memo-nearby-status{font-size:11px;line-height:1.7;color:var(--cje-color-text-secondary);margin:0;}
:where([data-cje-app]) .cje-memo-nearby-list{display:grid;gap:7px;min-width:0;}
:where([data-cje-app]) .cje-memo-nearby-list>button{display:flex;align-items:center;gap:8px;width:100%;min-width:0;text-align:left;border:1px solid var(--cje-color-border);border-radius:12px;background:var(--cje-color-surface);color:var(--cje-color-text-primary);padding:9px 12px;min-height:44px;}
:where([data-cje-app]) .cje-memo-nearby-list>button[aria-pressed=true]{border-color:var(--cje-color-action-primary);background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-nearby-list>button>.i{width:16px;height:16px;flex:none;color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-nearby-list>button>span{flex:1;min-width:0;font-size:12px;line-height:1.5;}
:where([data-cje-app]) .cje-memo-nearby-list>button>small{flex:none;font-size:10px;color:var(--cje-color-text-secondary);}
@media(max-width:680px){:where([data-cje-app]) .cje-memo-composer-bottom{flex-wrap:wrap;}:where([data-cje-app]) .cje-memo-composer-bottom>.cje-journey-action{margin-left:auto;}}

/* MEMO header: brand, four compact feed selectors, notification and search. */
:where([data-cje-app]) .cje-memo-masthead{position:sticky;top:0;z-index:40;width:min(1240px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:216px minmax(0,1fr) 324px;align-items:center;min-height:80px;background:var(--cje-color-surface);border-bottom:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-brand{display:block;justify-self:start;color:var(--cje-color-action-primary);font-size:32px;font-weight:750;line-height:1;letter-spacing:-.07em;padding:8px 12px;}
:where([data-cje-app]) .cje-memo-brand>span{display:block;font-size:7px;font-weight:500;letter-spacing:.16em;line-height:1.4;margin-top:7px;}
:where([data-cje-app]) .cje-memo-header-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;justify-self:center;width:min(100%,340px);height:100%;}
:where([data-cje-app]) .cje-memo-header-tabs>button{position:relative;display:grid;place-items:center;min-height:56px;padding:10px 6px;border:0;background:none;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-header-tabs .i{width:24px;height:24px;stroke-width:2.5px;}
:where([data-cje-app]) .cje-memo-header-tabs>[aria-pressed=true]{color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-header-tabs>[aria-pressed=true]:after{content:"";position:absolute;height:2px;bottom:-1px;left:25%;right:25%;background:currentColor;border-radius:2px;}
:where([data-cje-app]) .cje-memo-tab-tooltip{position:absolute;left:50%;top:calc(100% + 2px);transform:translateX(-50%);padding:6px 10px;border-radius:8px;background:var(--cje-color-text-primary);color:var(--cje-color-surface);font-size:10px;line-height:1.4;white-space:nowrap;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .14s ease;z-index:2;}
:where([data-cje-app]) .cje-memo-header-tabs>button:is(:hover,:focus-visible)>.cje-memo-tab-tooltip{visibility:visible;opacity:1;}
:where([data-cje-app]) .cje-memo-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-width:0;padding-left:18px;}

:where([data-cje-app]) .cje-memo-notifications{position:relative;}
:where([data-cje-app]) .cje-memo-notifications>.i{stroke-width:2.3px;}
:where([data-cje-app]) .cje-memo-notifications>span{position:absolute;right:0;top:0;display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:var(--cje-color-accent);color:var(--cje-color-text-primary);font-size:8px;font-weight:700;border:2px solid var(--cje-color-surface);}

/* Strong, intent-specific compose glyphs, including the shared editor. */
:where([data-cje-app]) [data-memo-action=compose-device]{--cje-memo-intent:#e63859;}
:where([data-cje-app]) [data-memo-action=compose-library]{--cje-memo-intent:#54a765;}
:where([data-cje-app]) [data-memo-action=compose-location]{--cje-memo-intent:#dc6381;}
:where([data-cje-app]) :is([data-memo-action=compose-device],[data-memo-action=compose-library],[data-memo-action=compose-location]){color:var(--cje-memo-intent);}
:where([data-cje-app]) :is([data-memo-action=compose-device],[data-memo-action=compose-library],[data-memo-action=compose-location])>.i{width:24px;height:24px;stroke-width:0;}
:where([data-cje-app]) :is([data-memo-action=compose-device],[data-memo-action=compose-library],[data-memo-action=compose-location]):hover{background:color-mix(in srgb,var(--cje-memo-intent) 10%,var(--cje-color-surface));}
:root[data-theme=dark] :where([data-cje-app]) [data-memo-action=compose-device]{--cje-memo-intent:#f18eaf;}
:root[data-theme=dark] :where([data-cje-app]) [data-memo-action=compose-library]{--cje-memo-intent:#7ccda7;}
:root[data-theme=dark] :where([data-cje-app]) [data-memo-action=compose-location]{--cje-memo-intent:#a3afff;}

/* New stories remain horizontal cards; their arrows never cover the post body. */
:where([data-cje-app]) .cje-memo-stories{min-width:0;padding:16px 0 20px;border-bottom:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-stories-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 22px 12px;}
:where([data-cje-app]) .cje-memo-stories-heading h2{font-size:13px;line-height:1.5;font-weight:650;}
:where([data-cje-app]) .cje-memo-stories-heading>span{font-size:8px;line-height:1.5;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-stories-window{position:relative;min-width:0;}
:where([data-cje-app]) .cje-memo-stories-track{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 22px 4px;scroll-padding-inline:22px;}
:where([data-cje-app]) .cje-memo-stories-track::-webkit-scrollbar{display:none;}
:where([data-cje-app]) .cje-memo-story{flex:0 0 126px;position:relative;min-width:0;height:190px;overflow:hidden;border-radius:15px;scroll-snap-align:start;background:var(--cje-color-action-primary);border:1px solid var(--cje-color-border);isolation:isolate;}
:where([data-cje-app]) .cje-memo-story:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#10251bcc);z-index:-1;}
:where([data-cje-app]) .cje-memo-story-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;}
:where([data-cje-app]) .cje-memo-story-blank{position:absolute;inset:0;background:linear-gradient(135deg,#4b7862,#203d39);z-index:-2;}
:where([data-cje-app]) .cje-memo-story-avatar{position:absolute;top:12px;left:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:700;background:var(--cje-color-surface);color:var(--cje-color-action-primary);border:3px solid var(--cje-color-accent);overflow:hidden;}
:where([data-cje-app]) .cje-memo-story-avatar>img{width:100%;height:100%;object-fit:cover;}
:where([data-cje-app]) .cje-memo-story>strong{position:absolute;bottom:12px;left:12px;right:10px;color:#fff;text-shadow:0 1px 3px #0005;font-size:13px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
:where([data-cje-app]) .cje-memo-community .cje-memo-story-scroll{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;min-width:34px;display:grid;place-items:center;border:1px solid var(--cje-color-border);border-radius:50%;padding:0;background:var(--cje-color-surface);color:var(--cje-color-text-primary);box-shadow:0 3px 12px #10251b25;z-index:3;}
:where([data-cje-app]) .cje-memo-story-scroll.previous{left:7px;}
:where([data-cje-app]) .cje-memo-story-scroll.next{right:7px;}
:where([data-cje-app]) .cje-memo-story-scroll:disabled{visibility:hidden;pointer-events:none;}
:where([data-cje-app]) .cje-memo-story-scroll>.i{width:17px;height:17px;}
@media(max-width:1120px){
 :where([data-cje-app]) .cje-memo-masthead{width:min(900px,calc(100% - 36px));grid-template-columns:86px minmax(0,1fr) 280px;}
 :where([data-cje-app]) .cje-memo-brand{font-size:26px;padding:8px 0;}
 :where([data-cje-app]) .cje-memo-brand>span{font-size:6px;letter-spacing:.06em;}
 :where([data-cje-app]) .cje-memo-header-actions{padding-left:14px;gap:6px;}
}
@media(max-width:960px){
 :where([data-cje-app]) .cje-memo-masthead{width:min(730px,calc(100% - 32px));grid-template-columns:83px minmax(0,1fr) 83px;}

 :where([data-cje-app]) .cje-memo-header-actions{padding:0;gap:3px;justify-content:end;}
}
@media(max-width:680px){
 :where([data-cje-app]) .cje-memo-masthead{width:100%;grid-template-columns:50px minmax(0,1fr) 38px;gap:6px;min-height:64px;padding:0 12px;}
 :where([data-cje-app]) .cje-memo-brand{font-size:21px;padding:8px 0;}
 :where([data-cje-app]) .cje-memo-brand>span{display:none;}
 :where([data-cje-app]) .cje-memo-header-tabs{width:100%;max-width:280px;}
 :where([data-cje-app]) .cje-memo-header-tabs>button{min-height:52px;padding:8px 4px;}
 :where([data-cje-app]) .cje-memo-header-tabs .i{width:21px;height:21px;}
 :where([data-cje-app]) .cje-memo-header-actions{gap:0;}:where([data-cje-app]) .cje-memo-header-actions [data-memo-header-search]{display:none;}
 :where([data-cje-app]) .cje-memo-header-actions>.cje-memo-icon{width:32px;min-width:32px;height:40px;min-height:40px;}
 :where([data-cje-app]) .cje-memo-header-actions>.cje-memo-icon>.i{width:18px;height:18px;}
 :where([data-cje-app]) .cje-memo-notifications>span{top:1px;right:-1px;}
 :where([data-cje-app]) .cje-memo-stories-heading{padding-inline:16px;}
 :where([data-cje-app]) .cje-memo-stories-track{padding-inline:16px;scroll-padding-inline:16px;gap:8px;}
 :where([data-cje-app]) .cje-memo-story{flex-basis:112px;height:166px;border-radius:13px;}
 :where([data-cje-app]) .cje-memo-story>strong{font-size:12px;left:10px;bottom:10px;}
 :where([data-cje-app]) .cje-memo-story-avatar{width:30px;height:30px;top:10px;left:10px;font-size:8px;}
 :where([data-cje-app]) .cje-memo-stories-heading>span{font-size:7px;}
 :where([data-cje-app]) .cje-memo-post-list{gap:10px;padding-block:10px;}
 :where([data-cje-app]) .cje-memo-locate{min-height:40px;font-size:11px;padding:7px 10px;}
}

/* Filled compose artwork is local to MEMO; shared icon meanings stay intact. */
:where([data-cje-app]) .cje-memo-solid-icon{display:block;fill:currentColor;stroke:none;flex:none;}
:where([data-cje-app]) .cje-memo-compose-choices .cje-memo-solid-icon{width:24px;height:24px;}

/* One mosaic for sample posts, uploaded media and the draft preview. */
:where([data-cje-app]) .cje-memo-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(108px,18vw,170px);gap:5px;margin:14px 0 0;border-radius:16px;overflow:hidden;}
:where([data-cje-app]) .cje-memo-media-grid[data-media-count="1"]{grid-template-columns:1fr;grid-auto-rows:auto;}
:where([data-cje-app]) .cje-memo-media-grid[data-media-count="3"]>.cje-memo-media-tile:first-child{grid-row:span 2;}
:where([data-cje-app]) .cje-memo-media-tile{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;border-radius:16px;background:var(--cje-color-surface-subtle);margin:0;isolation:isolate;}
:where([data-cje-app]) .cje-memo-media-grid[data-media-count="1"]>.cje-memo-media-tile{aspect-ratio:1.4;max-height:440px;}
:where([data-cje-app]) .cje-memo-media-tile>:is(img,video){display:block;position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border:0;border-radius:inherit;}
:where([data-cje-app]) .cje-memo-media-tile>video{pointer-events:none;background:#12231c;}
:where([data-cje-app]) .cje-memo-media-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#142b23b8;color:#fff;pointer-events:none;}
:where([data-cje-app]) .cje-memo-media-play>.i{width:21px;height:21px;fill:currentColor;stroke-width:0;}
:where([data-cje-app]) .cje-memo-media-more{position:absolute;inset:0;display:grid;place-items:center;background:#10251b8f;color:#fff;font-size:26px;font-weight:600;pointer-events:none;}

/* Full MEMO reading surface. Media left, independent copy/comments column right. */
:where([data-cje-app]) .cje-memo-reader-overlay{position:fixed;inset:var(--cje-memo-viewport-top,0px) 0 auto;z-index:100;width:100vw;height:var(--cje-memo-viewport-height,100dvh);max-width:none;max-height:none;margin:0;border:0;padding:24px;background:#10211be8;color:var(--cje-color-text-primary);overflow:hidden;}
:where([data-cje-app]) .cje-memo-reader-overlay[open]{display:flex;align-items:center;justify-content:center;}
:where([data-cje-app]) .cje-memo-reader-overlay::backdrop{background:#10211b90;}
:where([data-cje-app]) .cje-memo-reader{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,410px);width:min(1440px,100%);height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:18px;background:var(--cje-color-surface);overflow:hidden;box-shadow:0 12px 70px #0004;}
:where([data-cje-app]) .cje-memo-reader-close{position:absolute;right:14px;top:14px;z-index:5;}
:where([data-cje-app]) .cje-memo-reader-media{display:flex;flex-direction:column;min-width:0;min-height:0;background:#0e1b16;}
:where([data-cje-app]) .cje-memo-reader-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;overflow:hidden;}
:where([data-cje-app]) .cje-memo-reader-stage>:is(img,video){width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block;border-radius:16px;}:where([data-cje-app]) .cje-memo-reader-stage>img{width:auto;height:auto;}
:where([data-cje-app]) .cje-memo-reader-count{position:absolute;left:18px;top:18px;padding:6px 10px;border-radius:999px;background:#0d1b16a6;color:#fff;font-size:11px;line-height:1.5;pointer-events:none;}
:where([data-cje-app]) .cje-memo-reader-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;min-width:38px;padding:0;border:0;border-radius:50%;background:#fffffff0;color:#19392c;}
:where([data-cje-app]) .cje-memo-reader-arrow.previous{left:16px;}
:where([data-cje-app]) .cje-memo-reader-arrow.next{right:16px;}
:where([data-cje-app]) .cje-memo-reader-arrow:disabled{visibility:hidden;}
:where([data-cje-app]) .cje-memo-reader-arrow>.i{width:20px;height:20px;}
:where([data-cje-app]) .cje-memo-reader-thumbnails{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;flex:none;padding:12px 16px;scrollbar-width:none;}
:where([data-cje-app]) .cje-memo-reader-thumbnails>button{position:relative;display:block;flex:none;min-width:0;width:62px;height:50px;overflow:hidden;border:2px solid transparent;border-radius:8px;padding:0;background:#314f41;color:#fff;}
:where([data-cje-app]) .cje-memo-reader-thumbnails>button[aria-pressed=true]{border-color:var(--cje-color-accent);}
:where([data-cje-app]) .cje-memo-reader-thumbnails>button>img{width:100%;height:100%;object-fit:cover;}
:where([data-cje-app]) .cje-memo-reader-thumbnails>button>.i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:19px;height:19px;fill:currentColor;filter:drop-shadow(0 1px 4px #0008);}
:where([data-cje-app]) .cje-memo-reader-no-media{display:grid;justify-items:center;gap:14px;color:#b5c9bc;font-size:14px;}
:where([data-cje-app]) .cje-memo-reader-no-media>.i{width:40px;height:40px;}
:where([data-cje-app]) .cje-memo-reader-details{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;padding:0;background:var(--cje-color-surface);}
:where([data-cje-app]) .cje-memo-reader-copy-scroll{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:64px 28px 22px;}
:where([data-cje-app]) .cje-memo-reader-author{display:flex;align-items:center;}
:where([data-cje-app]) .cje-memo-reader-author>div{min-width:0;flex:1;}
:where([data-cje-app]) .cje-memo-reader-author strong{font-size:12px;font-weight:600;}

:where([data-cje-app]) .cje-memo-reader-copy-scroll>h1{font-size:26px;line-height:1.3;letter-spacing:-.035em;margin:0 0 16px;background:none;}
:where([data-cje-app]) .cje-memo-reader-lead{font-size:14px;line-height:1.85;margin:0 0 20px;}
:where([data-cje-app]) .cje-memo-reader-body>p{font-size:13px;line-height:1.9;color:var(--cje-color-text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;}
:where([data-cje-app]) .cje-memo-reader-place{color:var(--cje-color-text-secondary);}

:where([data-cje-app]) .cje-memo-reader-copy-scroll>.cje-memo-interactions{border-block:1px solid var(--cje-color-border);padding-block:4px;margin:12px 0 20px;}

:where([data-cje-app]) .cje-memo-reader-details .cje-memo-reactions{left:-13px;}
:where([data-cje-app]) .cje-memo-reader-overlay :is(button,a):focus-visible{outline:2px solid var(--cje-color-accent);outline-offset:2px;}
@media(max-width:760px){
 :where([data-cje-app]) .cje-memo-reader-overlay{padding:0;}
 :where([data-cje-app]) .cje-memo-reader{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(100px,38%) minmax(0,1fr);border-radius:0;overflow:hidden;}
 :where([data-cje-app]) .cje-memo-reader-media{height:auto;min-height:0;}
 :where([data-cje-app]) .cje-memo-reader-close{position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;}
 :where([data-cje-app]) .cje-memo-reader-copy-scroll{padding:22px 18px 18px;}
 :where([data-cje-app]) .cje-memo-reader-copy-scroll>h1{font-size:24px;}
 :where([data-cje-app]) .cje-memo-reader-thumbnails{padding:9px 12px;gap:7px;}
 :where([data-cje-app]) .cje-memo-reader-thumbnails>button{width:54px;height:43px;}
 :where([data-cje-app]) .cje-memo-reader-count{left:12px;top:max(16px,env(safe-area-inset-top));}
 :where([data-cje-app]) .cje-memo-media-grid{grid-auto-rows:clamp(110px,30vw,160px);border-radius:13px;}:where([data-cje-app]) .cje-memo-media-tile{border-radius:13px;}
 
}

/* Desktop uses compact glyphs and counts; mobile adds labels and a separate summary. */
:where([data-cje-app]) .cje-memo-post-actions.is-icon-only :is(.cje-memo-like-wrapper>button,button[data-memo-action=comment],button[data-memo-action=save],button[data-memo-action=share]){display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-width:40px;min-height:40px;padding:6px 5px;border:0;border-radius:0;background:transparent;box-shadow:none;}
:where([data-cje-app]) .cje-memo-post-actions.is-icon-only :is(.cje-memo-like-wrapper>button,button[data-memo-action=comment],button[data-memo-action=save],button[data-memo-action=share]):is(:hover,:focus-visible){background:transparent;box-shadow:none;}

/* Post identity precedes the title; the place and timestamp share one quiet line. */
:where([data-cje-app]) .cje-memo-post-author{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:12px;}
:where([data-cje-app]) .cje-memo-author-copy{min-width:0;flex:1;}
:where([data-cje-app]) .cje-memo-post-kind{font-size:8px;line-height:1.5;font-weight:400;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-post-meta{display:flex;align-items:center;gap:6px;min-width:0;margin-top:2px;white-space:nowrap;font-size:9px;line-height:1.7;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-post-meta>a{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:55%;color:inherit;}
:where([data-cje-app]) .cje-memo-post-meta>a>span{overflow:hidden;text-overflow:ellipsis;}
:where([data-cje-app]) .cje-memo-post-meta>a>.i{width:12px;height:12px;flex:none;}
:where([data-cje-app]) .cje-memo-post-meta>time{flex:none;font-variant-numeric:tabular-nums;}
:where([data-cje-app]) .cje-memo-avatar>img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
:where([data-cje-app]) .cje-memo-post-author>.cje-memo-icon{width:28px;min-width:28px;height:32px;min-height:32px;}
:where([data-cje-app]) .cje-memo-post-author>.cje-memo-icon>.i{width:15px;height:15px;}
:where([data-cje-app]) .cje-memo-action-count{font-size:10px;line-height:1.4;min-width:1ch;font-variant-numeric:tabular-nums;}
:where([data-cje-app]) .cje-memo-post-actions .cje-memo-like-wrapper{flex:none;}
:where([data-cje-app]) .cje-memo-reader-author{gap:9px;margin-bottom:20px;}
:where([data-cje-app]) .cje-memo-reader-author .cje-memo-avatar{width:34px;height:34px;}

/* Full post discussion: article/media/comments scroll together above one fixed composer. */
:where([data-cje-app]) .cje-memo-comments-overlay{position:fixed;inset:var(--cje-memo-viewport-top,0px) 0 auto;z-index:110;width:100vw;height:var(--cje-memo-viewport-height,100dvh);max-width:none;max-height:none;margin:0;padding:20px;border:0;overflow:hidden;box-sizing:border-box;background:#10211b73;color:var(--cje-color-text-primary);}
:where([data-cje-app]) .cje-memo-comments-overlay[open]{display:flex;align-items:center;justify-content:center;}
:where([data-cje-app]) .cje-memo-comments-overlay::backdrop{background:#10211b59;}
:where([data-cje-app]) .cje-memo-comments-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(880px,100%);height:min(900px,100%);min-width:0;min-height:0;margin:0;padding:0;border:1px solid var(--cje-color-border);border-radius:20px;overflow:hidden;background:var(--cje-color-surface);box-shadow:0 16px 60px #0003;}
:where([data-cje-app]) .cje-memo-discussion-scroll{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:22px 28px;}
:where([data-cje-app]) .cje-memo-comments-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:62px;padding:10px 15px;border-bottom:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-comments-heading>h2{grid-column:2;font-size:18px;line-height:1.5;letter-spacing:-.02em;text-align:center;overflow-wrap:anywhere;}
:where([data-cje-app]) .cje-memo-comments-section [data-memo-comment-total]{font-size:11px;font-weight:400;color:var(--cje-color-text-secondary);margin-left:6px;}
:where([data-cje-app]) .cje-memo-comment-list{min-width:0;min-height:0;padding:0;}
:where([data-cje-app]) .cje-memo-comment-list>article{display:flex;align-items:start;gap:10px;min-width:0;padding:12px 0;}
:where([data-cje-app]) .cje-memo-comment-list>article+article{border-top:1px solid var(--cje-color-border);}
:where([data-cje-app]) .cje-memo-comment-list .cje-memo-avatar{width:30px;height:30px;font-size:9px;}
:where([data-cje-app]) .cje-memo-comment-list>article>div{min-width:0;flex:1;}
:where([data-cje-app]) .cje-memo-comment-list strong{font-size:12px;font-weight:600;}
:where([data-cje-app]) .cje-memo-comment-list time{display:block;font-size:9px;line-height:1.6;color:var(--cje-color-text-secondary);margin:2px 0 4px;}
:where([data-cje-app]) .cje-memo-comment-list article p{font-size:12px;line-height:1.8;margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere;}
:where([data-cje-app]) .cje-memo-comment-label,:where([data-cje-app]) .cje-memo-comment-empty{font-size:10px;line-height:1.8;color:var(--cje-color-text-secondary);}
:where([data-cje-app]) .cje-memo-comment-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));background:var(--cje-color-surface);border-top:1px solid var(--cje-color-border);box-shadow:0 -5px 18px #10251b08;min-width:0;}
:where([data-cje-app]) .cje-memo-comment-footer>form{display:flex;align-items:center;gap:10px;min-width:0;margin:0;}
:where([data-cje-app]) .cje-memo-comment-footer .selection-field{flex:1;min-width:0;padding:8px 12px;border:1px solid var(--cje-color-border);border-radius:16px;}
:where([data-cje-app]) .cje-memo-comment-footer .selection-field:focus-within{border-color:var(--cje-r7-stay-active-accent,var(--cje-color-accent));}
:where([data-cje-app]) .cje-memo-comment-footer textarea{display:block;width:100%;min-width:0;height:48px;min-height:48px;max-height:48px;padding:0;resize:none;font-size:13px;line-height:1.7;background:transparent;color:var(--cje-color-text-primary);border:0;outline:0;box-shadow:none;}
:where([data-cje-app]) .cje-memo-comment-footer>form>.cje-memo-icon{color:var(--cje-color-action-primary,#19392c);border:0;border-radius:0;background:transparent;box-shadow:none;}
:where([data-cje-app]) .cje-memo-comment-footer>form>.cje-memo-icon>.i{stroke:currentColor;}
:where([data-cje-app]) .cje-memo-comment-footer>[role=status]{font-size:9px;line-height:1.7;color:var(--cje-color-text-secondary);margin:7px 0 0;}
:where([data-cje-app]) .cje-memo-comment-footer>a{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.7;min-height:28px;margin-top:4px;color:var(--cje-color-action-primary);}
:where([data-cje-app]) .cje-memo-comment-footer>a>.i{width:13px;height:13px;}
:where([data-cje-app]) .cje-memo-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
:where([data-cje-app]) .cje-memo-comments-overlay :is(a,button):focus-visible{outline:2px solid var(--cje-color-accent);outline-offset:2px;}
@media(max-width:680px){
 :where([data-cje-app]) .cje-memo-post-meta{font-size:8px;gap:4px;}
 :where([data-cje-app]) .cje-memo-post-meta>a{max-width:50%;}
 :where([data-cje-app]) .cje-memo-post-author{gap:8px;margin-bottom:10px;}
  :where([data-cje-app]) .cje-memo-comments-overlay{padding:10px;}
 :where([data-cje-app]) .cje-memo-comments-panel{border-radius:18px;}
 :where([data-cje-app]) .cje-memo-discussion-scroll{padding:18px 16px;}
 :where([data-cje-app]) .cje-memo-comment-footer{padding-inline:12px;}
 :where([data-cje-app]) .cje-memo-comment-footer textarea{font-size:16px;}
}

/* Reader copy and inline comments share one column; the composer never scrolls away. */
:where([data-cje-app]) .cje-memo-comments-section{padding:18px 0 0;margin:16px 0 0;border:0;border-top:1px solid var(--cje-color-border);border-radius:0;background:transparent;}
:where([data-cje-app]) .cje-memo-comments-section>h3{font-size:14px;line-height:1.5;font-weight:600;margin:0 0 10px;}
:where([data-cje-app]) .cje-memo-comments-heading>.cje-dialog-close{grid-column:3;}
:where([data-cje-app]) .cje-memo-discussion-title{display:block;color:var(--cje-color-text-primary);margin:0 0 14px;}
:where([data-cje-app]) .cje-memo-discussion-title>h3{font-size:22px;line-height:1.4;font-weight:600;letter-spacing:-.025em;}
:where([data-cje-app]) .cje-memo-discussion-scroll>.cje-memo-reader-lead{font-size:13px;line-height:1.8;margin-bottom:16px;}
:where([data-cje-app]) .cje-memo-discussion-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;margin:20px 0 14px;border-radius:14px;overflow:hidden;}
:where([data-cje-app]) .cje-memo-discussion-media[data-media-count="1"]{grid-template-columns:1fr;}
:where([data-cje-app]) .cje-memo-discussion-tile{position:relative;min-width:0;min-height:0;margin:0;aspect-ratio:1.4;overflow:hidden;border-radius:14px;background:var(--cje-color-surface-subtle);}
:where([data-cje-app]) .cje-memo-discussion-tile>a{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:inherit;}
:where([data-cje-app]) .cje-memo-discussion-tile :is(img,video){display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;}
:where([data-cje-app]) .cje-memo-discussion-tile.is-video>video{object-fit:contain;background:#0e1b16;}
:where([data-cje-app]) .cje-memo-discussion-tile:last-child:nth-child(odd){grid-column:1/-1;max-height:420px;}
:where([data-cje-app]) .cje-memo-comment-footer>form>.cje-memo-avatar{width:30px;height:30px;align-self:flex-start;margin-top:8px;font-size:9px;}

/* On mobile, social totals sit above four equally sized, captioned actions. */
:where([data-cje-app]) .cje-memo-action-label,:where([data-cje-app]) .cje-memo-mobile-stats{display:none;}
@media(max-width:680px){
 :where([data-cje-app]) .cje-memo-mobile-stats{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 0 8px;font-size:10px;line-height:1.6;color:var(--cje-color-text-secondary);}
 :where([data-cje-app]) .cje-memo-reaction-total{display:inline-flex;align-items:center;gap:5px;flex:none;}
 :where([data-cje-app]) .cje-memo-reaction-badge{display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;}
 :where([data-cje-app]) .cje-memo-mobile-stats>div{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;}
 :where([data-cje-app]) .cje-memo-mobile-stats button{padding:0;min-width:0;min-height:28px;background:none;border:0;color:inherit;font:inherit;white-space:nowrap;}
 :where([data-cje-app]) .cje-memo-post-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:4px 0;border-top:1px solid var(--cje-color-border);}
 :where([data-cje-app]) .cje-memo-post-actions.is-icon-only :is(.cje-memo-like-wrapper>button,button[data-memo-action=comment],button[data-memo-action=save],button[data-memo-action=share]){width:100%;min-width:0;min-height:42px;justify-content:center;gap:4px;padding:5px 2px;}
 :where([data-cje-app]) .cje-memo-post-actions .cje-memo-action-label{display:inline;font-size:10px;font-weight:500;line-height:1.4;white-space:nowrap;}
 :where([data-cje-app]) .cje-memo-post-actions .cje-memo-action-count{display:none;}
 :where([data-cje-app]) .cje-memo-post-actions>.cje-memo-like-wrapper{display:flex;min-width:0;width:100%;}
 :where([data-cje-app]) .cje-memo-post-actions .i{width:17px;height:17px;flex:none;}
 :where([data-cje-app]) .cje-memo-discussion-title>h3{font-size:20px;}
 :where([data-cje-app]) .cje-memo-comments-heading{min-height:58px;padding:8px 10px;}
 :where([data-cje-app]) .cje-memo-comments-heading>h2{font-size:15px;}
 :where([data-cje-app]) .cje-memo-discussion-media{gap:4px;border-radius:12px;}
 :where([data-cje-app]) .cje-memo-comment-footer>form{gap:7px;}
 :where([data-cje-app]) .cje-memo-comment-footer>form>.cje-memo-avatar{width:26px;height:26px;font-size:8px;}
}
