.r421-demo-switch{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;font-size:12px}
.r421-demo-switch>span{color:#74816f;margin-right:5px}
.r421-demo-switch>a{padding:8px 13px;color:#496746;text-decoration:none;border:1px solid #dce5d7;border-radius:6px;background:#fbfcf9}
.r421-demo-switch>a[aria-current=page]{color:#126e5e;border-color:#93b19a;background:#e8f1e5}
.r421-demo-switch>.r421-old{border:0;background:transparent;color:#7b8d74;font-size:11px;padding-left:6px}
#sample-picker[hidden]{display:none}
.r421-preview .bottom-nav button{font-size:12px;gap:3px;line-height:1.35}
.r421-preview .bottom-nav button svg{height:23px;width:23px;stroke-width:1.6}
.r421-preview .bottom-nav{padding-top:8px}
.r421-preview .nav-publish .nav-plus{height:29px;width:37px}
.r421-preview .r4-legacy-back{font-size:13px;min-height:36px}

.r421-preview.is-scanning .bottom-nav{display:none}
.r421-preview.is-scanning .legacy-frame{top:0;bottom:0;height:100%;width:100%}
.r421-preview.is-scanning .capsule,.r421-preview.is-scanning .system-bar{color:white;border-color:#ffffff50}
.r421-preview.is-scanning .capsule{background:#15241f66}
.r421-preview.is-scanning .system-bar i{border-color:white}

.phone.r421-preview.is-scanning:before{display:none}
.phone.r421-preview.is-scanning{background:#111a15}

/* Secondary task pages own their header and action dock; preserve native capsule space. */
.phone.r421-preview.r421-subpage .bottom-nav{display:none}
.phone.r421-preview.r421-subpage .legacy-frame{top:43px;bottom:0;height:calc(100% - 43px)}
.phone.r421-preview.r421-subpage:before{height:43px;background:#fff}
.phone.r421-preview.r421-subpage .system-bar{color:#294b3d}
.phone.r421-preview.r421-subpage .capsule{background:#ffffffbb;border-color:#dce4d9;color:#294b3d}
.phone.r421-preview.r421-subpage .capsule i{border-color:#dce4d9}
.r421-walkthrough{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.r421-walkthrough button{padding:8px 12px;border:1px solid #dce4d9;background:#fff;color:#276456;border-radius:6px;font-size:12px}

/* Message root keeps the five main tabs while aligning its header with the capsule. */
.phone.r421-preview.r421-message-root .legacy-frame{top:43px;bottom:78px;height:calc(100% - 121px)}
.phone.r421-preview.r421-message-root:before{height:43px;background:#fff}
.phone.r421-preview.r421-message-root .system-bar{color:#294b3d}

.r421-batch-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 17px;font-size:11px;margin:0 0 13px;color:#7e8b78}.r421-batch-links>a{color:#597d68;text-decoration:none;padding:3px 0}.r421-batch-links>span{padding:3px 0;color:#176f60}

.r421-review-identities{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;margin:0 0 14px;color:#687b6b}.r421-review-identities select,.r421-review-identities button{font:inherit;color:#315d4d;border:1px solid #d4e0d6;padding:7px 9px;background:white;border-radius:4px}.r421-review-identities small{font-size:11px;width:100%;text-align:center;color:#829080}.r421-pool-media>img,.r421-pool-media>video{display:block;width:100%;max-height:440px;object-fit:cover}.r421-pool-copy{padding:22px 76px 30px 20px;background:#f9fbf7;color:#294b3f}.r421-pool-copy>h1{font-size:24px;line-height:1.5;margin:15px 0}.r421-pool-author{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;color:inherit;font-size:16px;font-weight:600}.r421-pool-author img{height:40px;width:40px;object-fit:cover;border-radius:50%}.r421-pool-body{font-size:15px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.r421-pool-detail{display:flex;align-items:center;gap:5px;border:0;background:none;padding:10px 0;color:#126e5e;font-size:14px}.r421-pool-detail svg{height:16px;width:16px}
.phone.r421-preview.is-scanning .legacy-frame{top:0!important;bottom:0!important;height:100%!important}.phone.r421-preview.is-scanning .bottom-nav{display:none!important}

/* Same photo viewer and mounted project across recommendation and detail. */
.r421-home-image{display:block;width:100%;padding:0;border:0;background:none;text-align:inherit;color:inherit}.r41-sample .r421-home-image-hero{position:absolute;inset:0;height:var(--content-media-height,100%)}.r41-sample .r421-home-image-extra img,.r421-pool-media>.r421-home-image img{display:block;width:100%;height:auto;max-height:none;border-radius:0}.r421-home-related{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:20px 0 0;padding:13px 0;border:0;border-top:1px solid #dfe7df;border-bottom:1px solid #dfe7df;background:none;text-align:left;color:#245347}.r421-home-related span{display:flex;flex-direction:column;gap:2px;min-width:0}.r421-home-related small{font-size:12px;color:#718573}.r421-home-related strong{font-size:16px;font-weight:600}
