/* RRN App UI. Everything visual applies only at <=767px and only after app.js adds html.rna */
.rna-el{display:none}
html.rna-tr .hd{top:var(--rna-trh)!important}
.rna-swipe,.rna-txt{display:contents}
.rna-dots{display:none}
@media (max-width:767px){
html.rna{--rna-g:#006039;--rna-gd:#06281b;--rna-gold:#c9a24a;--rna-bg:#f4f3ee;--rna-line:#e6e3da;--rna-tab:calc(66px + env(safe-area-inset-bottom,0px));-webkit-tap-highlight-color:transparent}
html.rna body{padding-bottom:var(--rna-tab)!important;background:#fff}

/* hide the old floating controls, replaced by the tab bar */
html.rna .rnwa,html.rna .totop,html.rna .rn-bar,html.rna .hd .mbtn,html.rna .hd .nv{display:none!important}
html.rna #rtspBar,html.rna .rnlp-st{bottom:calc(var(--rna-tab) + 32px)!important}

/* app bar */
html.rna .hd{background:rgba(255,255,255,.94)!important;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--rna-line)}
html.rna .hd .hd-in{display:flex!important;align-items:center;gap:8px;min-height:58px;height:58px;padding:0 12px!important}
html.rna .hd .logo{min-width:0;flex:1}
html.rna .hd .logo .lg{width:36px;height:36px;flex:0 0 36px;border-radius:11px}
html.rna .hd .logo .lt{min-width:0}
html.rna .hd .logo small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.rna .rna-ib{display:flex!important;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;margin:0;border:0;border-radius:50%;background:var(--rna-bg);color:var(--rna-gd);cursor:pointer;text-decoration:none}
html.rna .rna-ib svg{width:20px;height:20px}

/* bottom tab bar */
html.rna .rna-tabs{display:grid!important;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;height:var(--rna-tab);padding:0 4px env(safe-area-inset-bottom,0px);background:rgba(255,255,255,.96);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-top:1px solid var(--rna-line);box-shadow:0 -8px 24px rgba(6,40,27,.07);z-index:100000}
html.rna .rna-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;margin:0;padding:0;border:0;background:none;box-shadow:none;color:#6b6b6b;font:500 11px/1.2 "Helvetica Neue",Helvetica,Arial,sans-serif;text-decoration:none;cursor:pointer}
html.rna .rna-tab i{display:flex;align-items:center;justify-content:center;width:52px;height:30px;border-radius:99px;font-style:normal;transition:background .2s,transform .15s}
html.rna .rna-tab svg{width:22px;height:22px}
html.rna .rna-tab.on{color:var(--rna-g);font-weight:700}
html.rna .rna-tab.on i{background:rgba(0,96,57,.12)}
html.rna .rna-tab:active i{transform:scale(.9)}
html.rna .rna-tab.rna-wa i{width:54px;height:54px;margin-top:-24px;border-radius:50%;background:#25d366;color:#fff;border:4px solid #fff;box-sizing:content-box;box-shadow:0 8px 20px rgba(37,211,102,.4)}
html.rna .rna-tab.rna-wa svg{width:28px;height:28px}

/* bottom sheets */
html.rna .rna-sheet{display:block!important;position:fixed;inset:0;z-index:100001;visibility:hidden;transition:visibility 0s .3s}
html.rna .rna-sheet.open{visibility:visible;transition:none}
html.rna .rna-back{position:absolute;inset:0;background:rgba(6,20,14,.45);opacity:0;transition:opacity .3s}
html.rna .rna-panel{position:absolute;left:0;right:0;bottom:0;max-height:85vh;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain;outline:0;background:#fff;border-radius:26px 26px 0 0;padding:8px 16px calc(24px + env(safe-area-inset-bottom,0px));transform:translateY(100%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
html.rna .rna-sheet.open .rna-back{opacity:1}
html.rna .rna-sheet.open .rna-panel{transform:none}
html.rna .rna-grab{width:42px;height:5px;border-radius:9px;background:#d8d5cc;margin:4px auto 12px}
html.rna .rna-ttl{display:block;margin:0 0 12px;font-size:18px;font-weight:700;color:#212121}
html.rna .rna-sub{display:block;margin:18px 0 8px;font-size:13px;font-weight:700;color:#6b6b6b}
html.rna .rna-list{border:1px solid var(--rna-line);border-radius:18px;overflow:hidden}
html.rna .rna-row{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;margin:0;padding:8px 14px;border:0;border-bottom:1px solid var(--rna-line);border-radius:0;background:#fff;box-shadow:none;color:#212121;font:500 15px/1.35 "Helvetica Neue",Helvetica,Arial,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
html.rna .rna-row:last-child{border-bottom:0}
html.rna .rna-row:active{background:var(--rna-bg)}
html.rna .rna-row span{flex:1;min-width:0}
html.rna .rna-row small{display:block;font-size:12.5px;font-weight:300;color:#6b6b6b}
html.rna .rna-row.on{color:var(--rna-g);font-weight:700}
html.rna .rna-ic{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;background:rgba(0,96,57,.1);color:var(--rna-g)}
html.rna .rna-ic svg{width:20px;height:20px}
html.rna .rna-chips{display:flex;flex-wrap:wrap;gap:8px}
html.rna .rna-chips button{margin:0;min-height:40px;padding:0 14px;border:1px solid var(--rna-line);border-radius:99px;background:#fff;color:#212121;font-size:14px;box-shadow:none}
html.rna .rna-chev{display:flex!important;flex:0 0 18px;color:#a9a69c}
html.rna .rna-chev svg{width:18px;height:18px}

/* home shortcuts */
html.rna .rna-apps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px;width:100%;box-sizing:border-box;margin:0!important;padding:18px 8px 14px;background:#fff;border:1px solid var(--rna-line);border-radius:24px;box-shadow:0 10px 28px rgba(6,40,27,.08);opacity:1!important;transform:none!important}
html.rna .rna-app{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;color:#212121;font:500 11.5px/1.25 "Helvetica Neue",Helvetica,Arial,sans-serif;text-align:center;text-decoration:none}
html.rna .rna-app i{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:18px;font-style:normal;background:linear-gradient(150deg,#0a7a4b,#004d2e);color:#fff;box-shadow:0 6px 14px rgba(0,96,57,.22);transition:transform .15s}
html.rna .rna-app:nth-child(even) i{background:linear-gradient(150deg,#d8b35c,#a37e2c);box-shadow:0 6px 14px rgba(163,126,44,.25)}
html.rna .rna-app:active i{transform:scale(.92)}
html.rna .rna-app svg{width:25px;height:25px}

/* compact home hero */
html.rna .entry-content .rnfx-hero{padding:18px 14px 24px!important;min-height:0!important}
html.rna .entry-content .rnfx-hero>img{width:62px!important;height:62px!important;margin-bottom:6px!important}
html.rna .entry-content .rnfx-hero h1{font-size:27px!important;line-height:1.18!important;margin:8px 0 0!important}
html.rna .entry-content .rnfx-hero h1 *{line-height:inherit}
html.rna .entry-content .rnfx-hero>p{font-size:15px!important;line-height:1.6!important}
html.rna .entry-content .rnfx-hero>*{margin-top:0!important}
html.rna .entry-content .rnfx-hero>div:not(.rv){margin-bottom:4px!important}
html.rna .entry-content .rnfx-hero>.eyebrow{font-size:10.5px!important;letter-spacing:.08em!important;margin:0 0 10px!important}
html.rna .entry-content .rnfx-hero>.eyebrow::before,html.rna .entry-content .rnfx-hero>.eyebrow::after{display:none!important}
html.rna .entry-content .rnfx-hero h1{margin-bottom:0!important}

/* blog category chips scroll sideways */
html.rna ul.rn-cats{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:8px;overflow-x:auto;max-width:100%;scrollbar-width:none;padding-bottom:4px!important}
html.rna ul.rn-cats::-webkit-scrollbar{display:none}
html.rna ul.rn-cats>li{flex:0 0 auto;margin:0!important}
html.rna ul.rn-cats>li>a{white-space:nowrap}

/* sections and cards */
html.rna .entry-content .sec:not(.rnfx-hero){padding:30px 14px!important}
html.rna .entry-content .sec.soft{background:var(--rna-bg)!important}
html.rna .entry-content .sec.dark{margin:10px!important;padding:28px 18px!important;border-radius:28px!important;overflow:hidden}
html.rna .entry-content .sec h2{font-size:22px!important;line-height:1.25!important}
html.rna .entry-content .sec .card{border-radius:18px!important;box-shadow:0 4px 16px rgba(6,40,27,.06)!important}
html.rna .entry-content .sec a.card{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px;padding:14px!important;margin:0 0 10px!important;text-align:left!important;transition:transform .15s}
html.rna .entry-content .sec a.card:active{transform:scale(.97)!important}
html.rna .entry-content .sec a.card>.rna-txt{display:block;flex:1;min-width:0}
html.rna .entry-content .sec a.card>.ico{flex:0 0 auto;margin:0!important}

/* swipe cards */
html.rna .rna-swipe{display:flex!important;align-items:stretch;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin:0 -14px;padding:6px 14px 14px;scroll-padding:0 14px;scrollbar-width:none}
html.rna .sec.dark .rna-swipe{margin:0 -18px;padding-left:18px;padding-right:18px;scroll-padding:0 18px}
html.rna .rna-swipe::-webkit-scrollbar{display:none}
html.rna .entry-content .rna-swipe>.card,html.rna .entry-content .rna-swipe>.card-3d{flex:0 0 82%;box-sizing:border-box;scroll-snap-align:start;margin:0!important;opacity:1!important;transform:none!important}
html.rna .rna-dots{display:flex!important;justify-content:center;gap:6px;margin:0 0 6px}
html.rna .rna-dots b{width:6px;height:6px;border-radius:9px;background:#cfccc2;transition:width .25s,background .25s}
html.rna .rna-dots b.on{width:20px;background:var(--rna-g)}
html.rna .sec.dark .rna-dots b.on{background:var(--rna-gold)}

/* FAQ accordion */
html.rna .entry-content .sec .rna-acc{padding:0!important;margin:0 0 10px!important}
html.rna .entry-content .rna-acc>b{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:56px;box-sizing:border-box;margin:0!important;padding:12px 16px;cursor:pointer}
html.rna .entry-content .rna-acc>b::after{content:"+";flex:0 0 auto;font-size:22px;font-weight:300;color:var(--rna-g)}
html.rna .entry-content .rna-acc.open>b::after{content:"\2212"}
html.rna .entry-content .rna-acc>:not(b){display:none!important}
html.rna .entry-content .rna-acc.open>:not(b){display:block!important;margin:0!important;padding:0 16px 16px}

/* touch-friendly controls */
html.rna .entry-content .sec input:not([type=checkbox]):not([type=radio]),html.rna .entry-content .sec select,html.rna .entry-content .sec textarea{font-size:16px!important;min-height:50px;border-radius:14px!important}
html.rna .entry-content .sec .btn{min-height:50px;display:flex!important;align-items:center;justify-content:center;width:100%;box-sizing:border-box;border-radius:16px!important}

/* footer */
html.rna .ft{padding-bottom:24px!important}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){html.rna .rna-panel,html.rna .rna-back{transition:none}}
