/* Account 3: logged-in community shell approved from 19 Oct visual reference. Existing feed, comments, Design Cards and patterns remain functional. */
:root{--gc-ink:#172337;--gc-soft:#eef3fb;--gc-line:#dce4ef;--gc-blue:#08255c;--gc-blue2:#123e8e;--gc-wine:#a40d4b;--gc-pink:#df1c58}
body{font-size:16px;line-height:1.55;color:var(--gc-ink);background:#eef3f9}
.top{background:#fff!important;border-bottom:1px solid #dce5f2!important;box-shadow:0 2px 12px #10264a12!important}
.top .nav{max-width:1700px!important;padding:7px 14px!important;gap:12px!important}.top .brand,.army-brand{font-size:clamp(17px,1.5vw,22px)!important;font-weight:900!important;line-height:1.12}.army-brand small{font-size:10px!important}.top .navlinks a{font-size:13px!important;font-weight:800!important;padding:9px 8px!important}.reference-search{flex:1 1 300px;max-width:570px;display:flex;background:#eef3fb;border-radius:999px;padding:3px 5px!important}.reference-search input{border:0!important;background:transparent!important;min-height:37px!important;flex:1;padding:7px 13px!important}.reference-search button{border-radius:999px!important;min-height:35px!important;padding:5px 13px!important}
.shell{max-width:1700px!important;padding:10px 12px 28px!important}.social-layout{gap:12px!important;align-items:start}.social-rail,.social-sidebar{min-width:0}.stream-heading{padding:5px 4px 8px}.stream-heading h1{font-size:19px!important;margin:0}.stream-heading p{font-size:13px!important;margin:2px 0;color:#61708a}
@media(min-width:1100px){body[data-page=home] .social-layout{grid-template-columns:minmax(205px,245px) minmax(500px,1fr) minmax(245px,300px)!important;max-width:1680px;margin:auto}body[data-page=home] .social-rail,body[data-page=home] .social-sidebar{position:sticky;top:72px;max-height:calc(100vh - 84px);overflow:auto}}
body[data-page=home] .social-rail{background:linear-gradient(180deg,#061c49 0%,#09285e 64%,#071b42 100%)!important;color:#fff!important;border:0!important;border-radius:12px!important;box-shadow:0 8px 24px #071a3e2c!important;padding:12px!important}body[data-page=home] .social-rail .rail-brand{font-size:17px!important;font-weight:900;color:#fff!important;margin:0 0 1px}body[data-page=home] .social-rail>.muted{color:#bcd0f4!important;font-size:11px}body[data-page=home] .social-rail>.rail-ministry-link{color:#e4edff!important;font-size:12px;font-weight:750;display:block;padding:7px 4px}body[data-page=home] .reference-member{display:grid;grid-template-columns:45px 1fr;gap:2px 9px;align-items:center;border-bottom:1px solid #ffffff24;padding:3px 2px 11px;margin-bottom:7px}body[data-page=home] .reference-member .member-avatar{grid-row:1/3;width:44px;height:44px}body[data-page=home] .reference-member strong{font-size:13px;color:#fff}body[data-page=home] .reference-member a{font-size:11px;color:#b9d3ff}body[data-page=home] .social-rail .rail-link{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;background:transparent!important;color:#f7faff!important;border:0!important;border-radius:8px!important;min-height:40px!important;padding:7px 9px!important;margin:1px 0!important;font-size:14px!important;font-weight:720!important;text-decoration:none;transition:background .15s ease,transform .15s ease}body[data-page=home] .social-rail .rail-link:hover{background:#ffffff13!important;transform:none!important;box-shadow:none!important}body[data-page=home] .social-rail .rail-link[aria-current=page]{background:linear-gradient(90deg,var(--gc-wine),var(--gc-pink))!important;color:#fff!important;box-shadow:0 5px 13px #4f092d4a!important}body[data-page=home] .social-rail .rail-premium-icon{width:25px!important;height:25px!important;padding:4px!important;flex:0 0 25px;fill:currentColor}body[data-page=home] .social-rail .grdpc-mini-reminder{background:#fff!important;color:#7c1747!important;border:0!important;border-radius:9px!important;margin:9px 0!important;padding:9px!important;font-size:12px!important}body[data-page=home] .social-rail .community-rules{color:#dbe7ff;font-size:12px}body[data-page=home] .reference-mission{border-top:1px solid #ffffff24;margin-top:10px;padding:13px 5px;color:#fff}body[data-page=home] .reference-mission strong{font-size:13px}body[data-page=home] .reference-mission p{font-size:11px;color:#c9d8f2}
body[data-page=home] .social-stream{min-width:0}body[data-page=home] .social-stream .card,body[data-page=home] .social-stream .post{border:1px solid #dce4ef!important;border-radius:10px!important;box-shadow:0 3px 12px #10254c0c!important;background:#fff!important;margin-bottom:9px!important}body[data-page=home] .social-stream .post{overflow:hidden}body[data-page=home] .social-stream .post p,body[data-page=home] .social-stream .post .post-body{font-size:14px!important;line-height:1.55!important}.post-header{padding-top:2px}.post-header .member-avatar{width:42px;height:42px}.post-identity strong,.post-author{font-size:14px!important;font-weight:850!important}.post-identity small{font-size:11px!important}.actions{border-top:1px solid #edf0f5;padding-top:5px!important}.actions .btn,.reactions .reaction{font-size:12px!important;min-height:34px!important;padding:6px 10px!important}.composer-card{background:#fff!important;border:1px solid #dce5f1!important;border-radius:10px!important;box-shadow:0 3px 12px #1129500d!important;padding:12px!important}.composer-prompt{font-size:14px!important;font-weight:600!important;background:#f2f5fa!important;color:#43546c!important;border-radius:999px!important}.composer-shortcut{font-size:12px!important;font-weight:800!important}.feed-tabs{background:#fff;border:1px solid #e1e7ef;border-radius:9px;padding:4px!important;margin:7px 0!important;display:flex;overflow:auto}.feed-tabs button{font-size:12px!important;font-weight:800!important;min-height:34px!important;padding:6px 10px!important;white-space:nowrap}
body[data-page=home] .social-sidebar{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}body[data-page=home] .social-sidebar .card{background:#fff!important;border:1px solid #dce4ef!important;border-radius:10px!important;box-shadow:0 3px 12px #10254c0b!important;padding:12px!important;margin-bottom:9px!important}body[data-page=home] .social-sidebar .card h2{font-size:15px!important;font-weight:900!important;color:#132d62;margin:0 0 8px}body[data-page=home] .social-sidebar p,body[data-page=home] .social-sidebar .item,body[data-page=home] .social-sidebar .btn{font-size:12px!important;line-height:1.45}.reference-family{border-top:4px solid #b31150!important}.reference-family .btn{width:100%}.home-messages .btn{width:100%}
body[data-page=home] .hk-active-section{background:#fff;border:1px solid #dce4ef;border-radius:10px;padding:9px 10px;margin:0 0 9px;overflow:hidden;box-shadow:0 3px 12px #10254c0c}body[data-page=home] .hk-active-head{display:flex;justify-content:space-between;align-items:center;gap:10px}body[data-page=home] .hk-active-head h2{font-size:13px!important;letter-spacing:.06em;color:#a00d4b;margin:0;font-weight:950}body[data-page=home] .hk-active-setting{font-size:10px;display:flex;align-items:center;gap:5px;color:#6b778c}body[data-page=home] .hk-active-note{font-size:10px!important;color:#78859b;margin:2px 0 7px!important}body[data-page=home] .hk-active-viewport{overflow:hidden}body[data-page=home] .hk-active-track{display:flex;gap:8px;width:max-content;max-width:none}body[data-page=home] .hk-active-moving{animation:hk-active-scroll 150s linear infinite}body[data-page=home] .hk-active-viewport:hover .hk-active-moving,body[data-page=home] .hk-active-viewport:focus-within .hk-active-moving{animation-play-state:paused}body[data-page=home] .hk-active-person{width:78px;flex:0 0 78px;text-align:center;text-decoration:none;color:#16284b;display:grid;justify-items:center;gap:2px}body[data-page=home] .hk-active-person .member-avatar{width:54px;height:54px;border:2px solid #a50d4a;border-radius:10px;overflow:hidden}body[data-page=home] .hk-active-person .member-avatar img{width:100%;height:100%;object-fit:cover}body[data-page=home] .hk-active-person strong{font-size:10px;line-height:1.15;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page=home] .hk-active-person small{font-size:9px;color:#61718c}body[data-page=home] .hk-active-empty{font-size:11px}@keyframes hk-active-scroll{to{transform:translateX(-50%)}}
.social-stream .card h2,.stream-heading h2{font-weight:850!important}.hk-official-posts article{padding:14px;border-radius:10px!important;box-shadow:0 3px 12px #0d23400b}.directory-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}.directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:13px}.directory-card{background:#fff;border:1px solid #dce3ed;border-radius:12px;overflow:hidden}.directory-content{padding:14px}.gc-entity-intro{padding:22px;margin:10px 0 16px;border-radius:14px;background:linear-gradient(125deg,#123f91,#1d67ba 58%,#156b70);color:#fff}.gc-spaces-intro{background:linear-gradient(125deg,#57175f,#973a75 48%,#bc662b)}
:is(a,button,input,textarea,select):focus-visible{outline:3px solid #f1b83b!important;outline-offset:3px}@media(prefers-reduced-motion:reduce){body[data-page=home] .hk-active-moving{animation:none}body[data-page=home] .hk-active-viewport{overflow-x:auto}}
@media(max-width:1099px){body[data-page=home] .social-layout{grid-template-columns:minmax(190px,230px) minmax(0,1fr)!important}body[data-page=home] .social-sidebar{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:760px){.top .nav{padding:7px 9px!important}.reference-search{order:3;flex-basis:100%;max-width:none}.social-layout{display:block!important}body[data-page=home] .social-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;padding:9px!important;margin-bottom:10px!important;position:static;max-height:none;overflow:visible}body[data-page=home] .social-rail>.reference-member,body[data-page=home] .social-rail>.rail-brand,body[data-page=home] .social-rail>small,body[data-page=home] .social-rail>.rail-ministry-link,body[data-page=home] .social-rail>.community-rules,body[data-page=home] .social-rail>.reference-mission,body[data-page=home] .social-rail>.grdpc-mini-reminder{grid-column:1/-1}body[data-page=home] .social-rail .rail-link{min-height:50px!important;font-size:12px!important}body[data-page=home] .social-sidebar{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}.hk-active-setting{display:none!important}.composer-card{padding:10px!important}body[data-page=home] .social-stream .post p{font-size:14px!important}}
