.community-tabs{display:flex;gap:10px;align-items:center;padding:14px 22px;border-bottom:1px solid #c8d0bc30;position:sticky;top:0;background:#152116f5;z-index:5}.community-tabs button{background:transparent;border:0;color:#aebda4;padding:10px 18px;border-radius:24px;font:inherit;cursor:pointer}.community-tabs button.active{background:#c5d8b7;color:#172418;font-weight:700}.legal-links{display:flex;flex-wrap:wrap;gap:14px;padding:18px 0;font-size:12px}.legal-links a{color:inherit;opacity:.75}.registration-consent{display:flex!important;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8}.registration-consent input[type=checkbox]{width:18px!important;min-width:18px;min-height:18px;margin-top:4px}.registration-consent a{color:inherit;text-decoration:underline}.my-community-panel{margin:18px 0;padding:24px;border:1px solid #b6c5ac35;border-radius:18px}.my-community-links{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.my-community-panel p{opacity:.7;font-size:13px}.contact-details{display:grid;grid-template-columns:110px 1fr;gap:14px;line-height:1.8}.contact-details dt{opacity:.65}.contact-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.community-discover{padding-top:18px}.guest-feed-gate{height:65vh;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;scroll-snap-align:start;gap:20px}.registration-gate>.close{display:none}.guest-required>.scrim{pointer-events:none}.guest-limit-message{background:#c4d8b720;border-radius:12px;padding:16px;margin-bottom:22px}.guest-limit-message p{font-size:14px}.admin-pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin:18px 0;flex-wrap:wrap}.community-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}.community-filter label{display:flex;flex-direction:column;gap:7px;font-size:12px}.community-filter input,.community-filter select{min-height:40px;padding:8px;border:1px solid #d9deea;border-radius:8px;background:white;max-width:200px}.community-tabs-admin{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.admin-contact-grid{display:grid;grid-template-columns:130px 1fr;gap:12px;white-space:pre-wrap;overflow-wrap:anywhere}.admin-contact-grid dd{margin:0}.risk-note{color:#7c899b;font-size:13px;line-height:1.8}.user-preview-frame{width:100%;height:70vh;border:1px solid #e1e6ed;border-radius:12px}.admin-user-preview{width:min(100%,480px);max-height:65vh}.geo-empty{color:#9aa3b1}.community-users-avatar{width:40px;height:40px;object-fit:cover;border-radius:50%}.policy-body{background:#f3f5f0;color:#233026;margin:0;font-family:system-ui,sans-serif}.policy-document{max-width:850px;margin:40px auto;background:#fff;padding:40px;border-radius:18px;line-height:1.95}.policy-document h1{font-size:32px}.policy-document h2{font-size:20px;margin-top:32px}.policy-document a{color:#3d6444}.policy-document p{white-space:pre-wrap;overflow-wrap:anywhere}.policy-document .policy-meta{color:#718174;font-size:13px}.policy-document .policy-contact{background:#f0f4ed;padding:22px;border-radius:12px}.mobile-nav{grid-template-columns:repeat(4,1fr)!important}@media(max-width:760px){.community-tabs{justify-content:space-between;padding:8px;gap:4px;position:relative}.community-tabs button{padding:10px;font-size:14px;flex:1;white-space:nowrap}.community-discover{padding-top:0}.my-community-links .btn{flex:1;padding:12px;font-size:13px;white-space:nowrap}.my-community-panel{padding:18px}.contact-details{grid-template-columns:90px 1fr}.policy-document{margin:0;padding:24px 20px;border-radius:0}.policy-document h1{font-size:27px}.community-filter input,.community-filter select{max-width:100%}}

.recommend-toolbar,.recommend-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.recommend-toolbar{margin:0 0 16px;color:#afc59f}.recommend-controls{margin:12px 0;font-size:12px}.recommend-controls .text-button{font-size:12px;min-height:36px;padding:6px}.recommend-controls small{color:#c9deb4}.feed-caption .recommend-controls,.user-video-caption .recommend-controls{position:relative;z-index:3}
.referral-notice{position:fixed;top:max(16px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:90;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 36px);overflow:auto;padding:26px 28px 16px;border:1px solid #d7ebc24d;border-radius:22px;background:rgba(27,44,30,.87);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 18px 70px #0006;color:#edf3e7;animation:referral-arrive .24s ease-out}.referral-notice-close{position:absolute;right:10px;top:8px;width:44px;height:44px;font-size:28px;border-radius:50%;color:#d8e5ce}.referral-notice-close:hover{background:#ffffff12}.referral-notice .eyebrow{font-size:10px;margin:0 40px 12px 0}.referral-notice h2{font-size:23px;margin-bottom:12px;padding-right:20px}.referral-notice p{font-size:13px;line-height:1.8;margin-bottom:16px}.referral-notice b{color:#d7edb7}.referral-share{display:flex;gap:10px;margin:14px 0}.referral-share input{flex:1;min-width:0;max-width:100%;border:1px solid #94b17a55;border-radius:9px;background:#0b170e66;color:inherit;padding:12px;font-size:12px}.referral-share .btn{flex-shrink:0}.referral-notice small{font-size:12px;color:#bdcbb4}.referral-notice-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:12px;border-top:1px solid #d7ebc222;color:#c2cfb9;font-size:11px}.referral-notice-footer label{display:flex;gap:8px;align-items:center;min-height:38px;cursor:pointer}.referral-notice-footer input{width:17px;height:17px;accent-color:#c5dbae;margin:0}.referral-notice .referral-notice-status{font-size:11px;margin:0;min-height:0}.referral-notice .referral-notice-status:empty{display:none}.referral-entry-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--muted);font-size:12px}@keyframes referral-arrive{from{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%,0)}}@media(max-width:600px){.referral-notice{padding:23px 20px 12px;border-radius:18px}.referral-notice h2{font-size:21px}.referral-notice-footer{align-items:flex-start;flex-direction:column;gap:0}.referral-notice-footer>span{padding-bottom:7px}.referral-share{gap:8px}.referral-share .btn{padding:12px 14px}}@media(prefers-reduced-motion:reduce){.referral-notice{animation:none}}
.safety-settings-modal form#safety-form{display:grid;gap:14px;margin-top:18px}.safety-settings-modal form#safety-form label{margin:0}.safety-status,.safety-plan-purchase,.safety-daily-interaction{margin:18px 0;padding:18px;border:1px solid #405538;border-radius:16px;background:#1a2a1a}.safety-status b{color:#cce3ae}.safety-status p,.safety-plan-purchase p{margin:8px 0}.safety-plan-purchase small{display:block;margin-top:12px;line-height:1.6}.safety-plan-actions{display:flex;flex-wrap:wrap;gap:8px}
.safety-settings-modal{width:min(100%,720px)}.safety-heading{padding-right:20px}.safety-heading .eyebrow{font-size:10px;margin-bottom:10px}.safety-heading h2{font-size:25px;margin-bottom:10px}.safety-heading>p{color:var(--muted);font-size:13px;margin-bottom:20px}
.safety-status{background:linear-gradient(130deg,#293c25,#192a1b);padding:18px 20px}.safety-status>p{font-size:13px;line-height:1.8;margin:10px 0 0}.safety-status .safety-plan-actions{margin-top:14px}.safety-badge{display:inline-flex;align-items:center;border-radius:20px;padding:5px 10px;background:#c5dbae18;color:#d3e9bf;font-size:11px;line-height:1.6}
.safety-form-section{margin:0;min-width:0;padding:18px;border:1px solid var(--line);border-radius:12px}.safety-form-section legend{padding:0 7px;color:#c5dbae;font-size:13px;font-weight:600}.safety-settings-modal form#safety-form .safety-form-section>label{display:block;margin:12px 0}.safety-settings-modal .safety-description{font-size:12px;color:var(--muted);margin:0 0 14px;line-height:1.8}
.safety-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:14px}.safety-settings-modal label{font-size:12px;color:#d5dfcb}.safety-settings-modal input,.safety-settings-modal select,.safety-settings-modal textarea{font-size:13px;max-width:100%;min-width:0;min-height:44px}.safety-settings-modal .registration-consent input{min-height:18px!important;margin:3px 0 0!important}.safety-settings-modal .registration-consent{font-size:12px;line-height:1.8}.safety-settings-modal .registration-consent b{font-weight:500}.safety-settings-modal .registration-consent small{display:block;margin:3px 0 0;font-size:11px;line-height:1.6}.safety-settings-modal .safety-enable{padding-bottom:12px;border-bottom:1px solid var(--line)}
.safety-rule{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:15px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.safety-rule .safety-days{font-size:10px;color:var(--muted)}.safety-settings-modal .safety-days input{margin-top:5px;text-align:center;min-height:36px}.safety-help{display:block;font-size:11px!important;color:var(--muted);line-height:1.8!important}.safety-form-section>.safety-help{margin-bottom:0}.safety-save{padding-top:5px}.safety-save>.btn{margin-top:16px}
.safety-plan-purchase{padding:20px;background:#121e15}.safety-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.safety-subhead h3{font-size:17px;margin:0}.safety-subhead .text-button{min-height:36px;font-size:11px}.safety-test-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0;color:var(--muted);font-size:12px}.safety-test-balance b{font-size:24px;font-weight:500;margin-left:7px;color:var(--green)}
.safety-test-history{list-style:none;padding:0;margin:18px 0}.safety-test-history li{padding:14px 0;border-top:1px solid var(--line)}.safety-test-history li b{font-size:12px;font-weight:500}.safety-test-history time{display:block;font-size:10px;color:var(--muted);margin-top:5px}.safety-test-history p{font-size:11px;line-height:1.8;margin-bottom:0}.safety-row-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:7px}.safety-row-actions .text-button{min-height:36px;font-size:11px}
@media(max-width:550px){.safety-settings-modal{padding:26px 18px}.safety-heading h2{font-size:21px}.safety-form-grid{grid-template-columns:1fr}.safety-status,.safety-plan-purchase{padding:16px}.safety-form-section{padding:15px}.safety-rule{grid-template-columns:minmax(0,1fr) 76px;gap:10px}.safety-test-balance{flex-wrap:wrap}}

/* V5.53: automatic email master switch and subordinate reminder scenarios. */
.safety-settings-modal .safety-enable{padding:14px;background:#25351f;border:1px solid #526746;border-radius:10px;align-items:flex-start}
.safety-settings-modal .safety-enable b{font-size:14px;font-weight:600;color:#e1edcf}
.safety-switch-hint{font-size:12px;line-height:1.75;margin:10px 0 16px;padding:0 2px;color:#c6d9b5}
.safety-switch-hint.is-off{color:#c6c6ab}
.safety-scenarios{min-width:0;margin:0 0 0 10px;padding:4px 14px 12px 16px;border:1px solid #405538;border-left:3px solid #a7c491;border-radius:0 10px 10px 0;background:#172417;transition:background .18s,border-color .18s}
.safety-scenarios legend{font-size:12px;color:#c5dbae;padding:0 6px}
.safety-scenarios:disabled{background:#171e18;border-color:#384039}
.safety-scenarios:disabled legend,.safety-scenarios:disabled .registration-consent,.safety-scenarios:disabled .safety-days{color:#9da89a}
.safety-scenarios:disabled input{cursor:not-allowed;opacity:.65}
.safety-settings-modal .safety-scenarios .registration-consent{padding:8px 0;min-height:42px;align-items:flex-start}
.safety-country-rule{margin-top:8px!important}
.safety-save-feedback{margin:12px 0 0;padding:12px 14px;border:1px solid #8c7948;border-radius:10px;background:#322d1d;color:#eddbab;font-size:12px;line-height:1.85}
.safety-save-feedback[hidden]{display:none}
@media(max-width:550px){.safety-scenarios{margin-left:4px;padding-left:12px;padding-right:10px}.safety-settings-modal .safety-enable{padding:12px}.safety-scenarios .safety-rule{grid-template-columns:minmax(0,1fr) 68px;gap:8px}}

/* V5.54: homepage feature descriptions in requested order. */
.home-feature-notes{display:grid;gap:8px;margin:0 0 24px;padding:0 2px}
.home-feature-notes .home-safety-note{margin:0;color:var(--muted);font-size:13px;line-height:1.8;overflow-wrap:anywhere}

/* V5.55: scope compact entry styling to the discovery page. */
.home-quick-actions{margin-bottom:10px}
.home-quick-actions .home-entry-compact,.home-quick-actions small{display:none}
.home-feature-details{margin:0 0 18px;border-bottom:1px solid var(--line)}
.home-feature-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:4px 2px;list-style:none;cursor:pointer;color:#b8c9ab;font-size:12px}
.home-feature-details>summary::-webkit-details-marker{display:none}
.home-feature-details>summary::after{content:'⌄';font-size:15px;line-height:1;color:var(--green)}
.home-feature-details[open]>summary::after{content:'⌃'}
.home-feature-details>summary small{margin-left:auto;font-size:11px;color:var(--muted)}
.home-feature-details>summary:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:4px}
.home-feature-details .home-feature-notes{gap:6px;margin:4px 0 12px}
@media(max-width:760px){
 .home-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 4px}
 .home-quick-actions .home-quick-action{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0;min-height:58px;margin:0;padding:9px 4px;border-radius:9px;font-size:12px;line-height:1.25;white-space:nowrap}
 .home-quick-actions .home-entry-full{display:none}
 .home-quick-actions .home-entry-compact{display:block;font-weight:600}
 .home-quick-actions small{display:block;font-size:10px;line-height:1.3;color:inherit;opacity:.82;letter-spacing:0}
 .home-feature-details{margin-bottom:10px}
 .home-feature-details>summary{min-height:34px;font-size:11px;padding:5px 2px}
 .home-feature-details>summary small{font-size:10px}
 .home-feature-details .home-feature-notes{gap:5px;margin:4px 0 10px;padding:8px 10px;background:#1b271a;border-radius:8px}
 .home-feature-details .home-safety-note{font-size:12px;line-height:1.65}
 .home-feature-details .home-safety-note::before{margin-right:5px;font-size:10px}
}

.discover-load-status{min-height:88px;display:flex;align-items:center;justify-content:center;gap:12px;padding:18px;text-align:center;color:#acbd9f;font-size:13px;scroll-snap-align:end}.discover-load-status .text-button{min-height:44px;white-space:nowrap}

.feed-share-options{display:grid;gap:14px}.feed-share-option{padding:16px;border:1px solid #b6cda833;border-radius:14px;background:#ffffff04;min-width:0}.feed-share-option h3{font-size:16px;margin:0 0 8px}.feed-share-option .hint{font-size:12px;margin:0 0 12px}.feed-share-option input{width:100%;min-width:0;box-sizing:border-box;font-size:12px}.feed-share-option .feed-share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}@media(max-width:600px){.feed-share-option{padding:13px}.feed-share-option .btn{min-height:42px;padding:10px 14px}.feed-share-modal h2{font-size:22px}}
