/* Smart Anbium Companion: compact mobile override; original styles preserved */
html{scroll-padding-top:90px}body{font-size:15px;line-height:1.5}#home,#announcements,#community-wall{scroll-margin-top:95px}
.companion-quicklinks{display:flex;gap:10px;max-width:1150px;margin:14px auto;padding:0 18px}.companion-quicklinks a{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:48px;padding:10px;border:1px solid #dce5da;border-radius:13px;background:white;color:#174b3d;font-size:.9rem;font-weight:750}.companion-quicklinks a:focus-visible,.companion-tabs a:focus-visible{outline:3px solid #bc8c35;outline-offset:2px}
.companion-tabs{display:none}.announcement-category{padding:0!important;overflow:hidden;border-radius:16px!important}.announcement-detail>summary{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;padding:15px;min-height:65px}.announcement-detail>summary::-webkit-details-marker{display:none}.announcement-detail>summary .card-icon{font-size:1.45rem;flex-shrink:0}.announcement-detail>summary h3{margin:0!important;flex:1;font-size:1rem!important;line-height:1.3}.announcement-detail>summary h3 small{margin-top:3px!important;font-size:.74rem!important}.expand-icon{font-size:1.4rem;color:#587268;transform:rotate(0deg)}details[open] .expand-icon{transform:rotate(180deg)}.announcement-body{padding:0 15px 15px}.announcement-body>p{font-size:.88rem;margin:0 0 10px}.announcement-empty{padding:10px 12px!important;margin-top:7px!important;font-size:.87rem}.announcement-categories{gap:10px!important;margin-top:10px!important}.v18-panel{padding:14px!important}.v18-wall{gap:10px!important}.section-title{margin-bottom:12px!important}.section-icon{width:42px;height:42px;font-size:1.3rem}.section h2{font-size:1.5rem}.section .eyebrow{font-size:.68rem}.hero h1{font-size:clamp(1.7rem,3vw,2.6rem)!important;line-height:1.32!important;margin:10px 0!important}.hero p{font-size:.95rem!important;line-height:1.6}.hero-copy .actions{margin-top:12px!important}.hero-copy .btn{font-size:.85rem;padding:10px 14px}
@media(max-width:800px){
 body{padding-bottom:78px}.headinner{min-height:0!important;padding:8px 12px!important;gap:5px!important}.header{box-shadow:0 2px 12px #1b3c3118}.brand{flex:1 1 auto!important;max-width:calc(100% - 120px)!important}.brand b{font-size:.86rem!important}.brand small{font-size:.63rem!important}.logo{width:35px!important;height:35px!important;font-size:1.4rem!important}.headtools{width:auto!important;flex:0 0 auto!important;margin-left:auto!important;gap:4px!important}.languages button{font-size:.74rem!important;padding:5px 7px!important;min-height:38px!important}.menu{display:none!important}.nav{display:none!important}.member-header-identity{position:absolute;right:10px;top:55px;max-width:180px!important;z-index:2;box-shadow:0 2px 7px #174b3d10}.member-header-identity[hidden]{display:none!important}.member-header-identity .identity-name{max-width:90px!important;font-size:.65rem!important}.member-header-identity .identity-role{display:none!important}.member-header-identity .identity-signout{font-size:.64rem!important;padding:4px!important}
 .hero{display:flex!important;flex-direction:column!important;margin:0 12px!important;border-radius:15px!important;overflow:hidden!important}.hero-copy{padding:19px 16px 10px!important;display:block!important}.hero .eyebrow{font-size:.66rem!important;letter-spacing:.04em!important}.hero h1,body[lang=ta] .hero h1{font-size:clamp(1.55rem,6vw,1.95rem)!important;line-height:1.38!important;letter-spacing:0!important;margin:8px 0!important}.hero p{font-size:.88rem!important;line-height:1.55!important;margin:8px 0!important}.hero-visual{padding:0 12px 12px!important;width:100%!important;max-height:190px!important;overflow:hidden!important}.hero-visual img{width:100%!important;height:180px!important;max-height:180px!important;object-fit:cover!important;object-position:center 37%!important;border-radius:12px!important}.hero-copy .actions{margin-top:10px!important}.hero-copy .btn{min-height:42px;padding:10px 12px!important;width:auto!important}.companion-quicklinks{margin:10px 12px;padding:0}.companion-quicklinks a{font-size:.8rem;min-height:48px;padding:8px}.content{padding:0 12px 16px!important}.content>.section{padding-block:16px!important}.section-title{gap:10px!important;margin-bottom:12px!important}.section h2{font-size:1.4rem!important}.announcement-categories{grid-template-columns:1fr!important;gap:9px!important}.v18-wall{grid-template-columns:1fr!important}.v18-panel h3{font-size:1rem}.v18-panel p{font-size:.9rem}footer{padding:18px 12px 85px!important;font-size:.8rem}
 .companion-tabs{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;left:0;right:0;z-index:50;padding:6px max(10px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#fffdf8;border-top:1px solid #dbe4d9;box-shadow:0 -4px 18px #1b3c3118}.companion-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:52px;color:#536c5f;font-size:.67rem;font-weight:650;border-radius:10px}.companion-tabs a.active{background:#e7f0e9;color:#174b3d}.tab-icon{font-size:1.3rem;line-height:1.2}.tab-text{text-align:center}
}
@media(max-width:390px){.brand b{font-size:.76rem!important}.brand small{font-size:.57rem!important}.brand{max-width:calc(100% - 107px)!important}.languages button{font-size:.7rem!important;padding:5px!important}.hero h1,body[lang=ta] .hero h1{font-size:1.5rem!important}}
@media(min-width:801px){.hero{min-height:0!important}.hero-copy{padding:25px!important}.hero-visual img{max-height:360px!important}.announcement-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Phase 1: one screen per bottom tab, no duplicate navigation */
.hero-copy .actions,.companion-quicklinks{display:none!important}
@media(max-width:800px){
  body.companion-tab-mode #home,
  body.companion-tab-mode #announcements,
  body.companion-tab-mode #community-wall{display:none!important}
  body.companion-tab-mode[data-companion-view="home"] #home{display:flex!important}
  body.companion-tab-mode[data-companion-view="announcements"] #announcements{display:block!important}
  body.companion-tab-mode[data-companion-view="community-wall"] #community-wall{display:block!important}
  body.companion-tab-mode[data-companion-view="home"] .content{display:none!important}
  body.companion-tab-mode[data-companion-view="community-wall"] .content{display:none!important}
  body.companion-tab-mode[data-companion-view="announcements"] .hero{display:none!important}
  body.companion-tab-mode[data-companion-view="community-wall"] .hero{display:none!important}
  body.companion-tab-mode #community-wall{padding:16px 12px!important}
  body.companion-tab-mode #announcements{padding-top:16px!important}
  body.companion-tab-mode footer{display:none!important}
  body.companion-tab-mode .hero h1,
  body.companion-tab-mode[lang="ta"] .hero h1{font-size:20px!important;line-height:1.5!important}
}
