@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');
:root{--navy:#102b46;--blue:#286bd1;--teal:#1ba58a;--ink:#192f45;--muted:#8292a3;--line:#e8edf2;--bg:#f4f7fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}.topbar{height:70px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:45px;padding:0 max(calc((100vw - 1440px)/2),28px);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:2px;text-decoration:none;color:var(--navy);font:800 22px Manrope;letter-spacing:-1px;white-space:nowrap}.brand span:last-child{color:#3185df}.mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#286bd1,#1ba58a);color:white;display:grid;place-items:center;margin-right:8px}.search{height:40px;max-width:510px;flex:1;border-radius:11px;background:#f3f6f9;display:flex;align-items:center;padding:0 12px;font-size:22px;color:#71879a}.search input{border:0;outline:0;background:none;padding-left:10px;width:100%;font:13px 'DM Sans'}.header-right{display:flex;align-items:center;gap:13px;margin-left:auto}.text-btn{border:0;background:none;color:#536a80;font-weight:700;cursor:pointer}.primary{border:0;background:var(--blue);color:white;padding:12px 17px;border-radius:9px;font:700 12px 'DM Sans';cursor:pointer;box-shadow:0 5px 13px #286bd126}.primary.small{padding:10px 13px}.primary.full{width:100%;margin-top:10px}.status{font-size:10px;color:#168b71;background:#e9f8f3;padding:6px 9px;border-radius:20px}.shell{max-width:1440px;margin:28px auto;display:grid;grid-template-columns:225px minmax(400px,680px) 290px;gap:27px;padding:0 26px}.left{position:sticky;top:95px;height:calc(100vh - 115px);display:flex;flex-direction:column}.user-card,.story-panel,.composer,.post,.side-panel{background:white;border:1px solid var(--line);border-radius:15px}.user-card{padding:18px 10px;display:flex;align-items:center;flex-direction:column;gap:6px}.avatar{width:40px;height:40px;border-radius:50%;background:#e1eafa;color:#315f90;display:grid;place-items:center;font-weight:800;flex-shrink:0}.avatar.big{width:60px;height:60px;font-size:19px;background:linear-gradient(135deg,#d6e9f6,#dedafa)}.user-card b{font-size:13px}.user-card small{color:var(--muted);font-size:10px}.verify-pill{color:#17886e;background:#e8f7f2;padding:5px 9px;border-radius:20px;font-size:9px;margin-top:4px}.nav{display:grid;gap:5px;margin-top:20px}.nav-link{height:45px;border:0;background:none;border-radius:10px;display:flex;align-items:center;gap:13px;text-align:left;padding:0 12px;color:#60768b;font:500 13px 'DM Sans';cursor:pointer}.nav-link.selected{background:#eaf2ff;color:#2467c8;font-weight:700}.nav-link em{font-style:normal;font-size:8px;color:#168c75;background:#e7f7f2;padding:4px 5px;border-radius:4px;margin-left:auto}.side-bottom{margin-top:auto;display:grid;gap:8px;padding:15px 5px;color:#8392a1;font-size:10px}.side-bottom b{color:#526b81;font-size:11px}.content{min-width:0}.welcome{display:flex;align-items:center;justify-content:space-between;margin:2px 0 22px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#228d7e;font-weight:800;margin-bottom:7px}.welcome h1{font:800 24px Manrope;letter-spacing:-.8px;margin:0}.welcome h1 span{color:#e6b451}.welcome p{color:var(--muted);font-size:12px;margin:7px 0 0}.story-panel{padding:15px 17px;margin-bottom:13px}.row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.row-head b{font:800 12px Manrope}.row-head a{color:var(--blue);font-size:10px;text-decoration:none;font-weight:700}.stories{display:flex;justify-content:space-between;gap:8px}.story{border:0;background:none;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0}.story small{font-size:9px;color:#60768a;white-space:nowrap}.ring,.add-story span{width:47px;height:47px;border-radius:50%;display:grid;place-items:center;color:white;font-weight:800;outline:2px solid #438ed3;border:3px solid white}.add-story{cursor:pointer}.add-story span{background:#f1f6fb;color:#2875cb;outline:1px dashed #a9bac9;font-size:22px}.coral{background:#e88b7b}.blue{background:#77a5d6}.gold{background:#d4ad61}.green{background:#56a88e}.purple{background:#9985c8}.composer{padding:12px 14px;display:flex;align-items:center;gap:11px;margin-bottom:19px}.composer>button:first-of-type{border:0;background:#f3f6f9;border-radius:25px;padding:12px 15px;text-align:left;flex:1;color:#8595a4;font:12px 'DM Sans';cursor:pointer}.photo{border:0;background:none;color:#208e78;font-weight:700;font-size:11px;cursor:pointer}.feed-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.feed-tools b{font:800 14px Manrope}.feed-tools select{border:1px solid var(--line);border-radius:8px;padding:7px;background:white;color:#62768a;font-size:10px}.feed{display:grid;gap:13px}.post{padding:16px 17px}.post-top{display:flex;align-items:center;gap:10px}.post-top .avatar{width:39px;height:39px}.post-user{display:grid;gap:4px}.post-user b{font-size:11px}.post-user small{font-size:10px;color:var(--muted)}.verified{color:#218fd0}.more{margin-left:auto;border:0;background:none;color:#8594a3;cursor:pointer}.post-copy{font-size:12px;line-height:1.65;color:#405970;margin:13px 0;overflow-wrap:anywhere}.post-image{width:100%;max-height:360px;object-fit:cover;border-radius:10px}.post-stats{display:flex;justify-content:space-between;color:#8796a5;font-size:10px;padding:11px 2px;border-bottom:1px solid var(--line)}.post-actions{display:flex;justify-content:space-around;padding-top:10px}.post-actions button{border:0;background:none;color:#718499;font:600 11px 'DM Sans';cursor:pointer}.post-actions .liked{color:#e45b76}.right{display:grid;align-content:start;gap:14px}.side-panel{padding:16px 14px}.community,.opportunity{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid #f0f3f6}.comm-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center}.violet{background:#f0eaff}.mint{background:#e6f7ef}.peach{background:#fff0e7}.community>div,.opportunity>div{display:grid;gap:4px;flex:1}.community b,.opportunity b{font-size:10px}.community small,.opportunity small{font-size:9px;color:var(--muted)}.join{border:1px solid #cbdcf2;background:#f7faff;color:#286bc9;border-radius:7px;padding:6px 8px;font-size:9px;font-weight:700;cursor:pointer}.company{width:34px;height:34px;border-radius:9px;background:#eaf0ff;color:#286bc9;display:grid;place-items:center;font-weight:800}.company.orange{background:#fff0e5;color:#d58b49}.ad-card{border-radius:14px;background:linear-gradient(140deg,#112f4c,#1d706f);padding:17px;color:white}.ad-card small{font-size:8px;letter-spacing:1.5px;color:#a7e2d6}.ad-card h3{font:800 19px Manrope;margin:10px 0}.ad-card p{font-size:10px;color:#d2e3e5;line-height:1.5}.outline{border:1px solid #a7d6cf;background:transparent;color:white;border-radius:7px;padding:8px 10px;font-size:10px;cursor:pointer}.mobile-nav{display:none}.modal{border:0;border-radius:16px;padding:0;width:min(480px,calc(100% - 28px));box-shadow:0 20px 70px #102b4650}.modal::backdrop{background:#102b4677}.modal form{padding:20px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:17px}.modal-head b{font:800 17px Manrope}.modal-head p{font-size:10px;color:var(--muted);margin:5px 0}.x{border:0;background:none;font-size:25px;color:#8795a3;cursor:pointer}.modal label:not(.upload-label){display:grid;gap:6px;font-size:10px;font-weight:700;color:#5d7185;margin:12px 0}.modal input:not([type=file]),.modal textarea{width:100%;border:1px solid #e2e9ef;border-radius:8px;padding:11px;font:12px 'DM Sans';outline-color:#80aeea}.modal textarea{height:125px;resize:vertical;border:0;padding:5px 0;font:13px 'DM Sans';outline:0}.hint{font-size:10px;line-height:1.5;color:#8191a0}.switch-auth{text-align:center;font-size:10px;color:#8191a0}.switch-auth a{color:var(--blue);font-weight:700}.error{color:#c44b5a;font-size:11px}.upload-label{display:inline-block;color:#218c78;font-size:10px;cursor:pointer}.upload-label input{display:none}.modal-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px;margin-top:10px}.modal-bottom small{font-size:9px;color:#8191a0}.loading,.empty{background:white;border:1px solid var(--line);padding:28px;border-radius:12px;text-align:center;color:#8191a0;font-size:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#102b46;color:white;padding:12px 17px;border-radius:9px;opacity:0;transition:.2s;z-index:20;font-size:11px}.toast.show{opacity:1;transform:translate(-50%,0)}.hidden{display:none!important}#imagePreview img{max-width:100%;max-height:150px;border-radius:9px}
@media(max-width:1100px){.shell{grid-template-columns:205px minmax(380px,1fr);max-width:1000px}.right{display:none}.topbar{gap:20px}.brand{font-size:20px}}
@media(max-width:700px){.topbar{height:60px;padding:0 12px;gap:10px}.brand{font-size:18px}.mark{width:30px;height:30px}.search{height:36px}.search input{font-size:10px}.header-right{gap:6px}.status{display:none}.text-btn{font-size:10px}.primary.small{font-size:9px;padding:9px}.shell{display:block;margin:17px auto;padding:0 11px}.left{display:none}.welcome{gap:8px;align-items:flex-start}.welcome h1{font-size:19px}.welcome p{font-size:10px;max-width:240px}.welcome>.primary{font-size:9px;padding:10px;white-space:nowrap}.stories{overflow:hidden}.stories .story{min-width:62px}.stories{overflow-x:auto;justify-content:flex-start}.composer{gap:8px}.photo span{display:none}.post{padding:13px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:62px;background:white;border-top:1px solid var(--line);display:flex;justify-content:space-around;z-index:6;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{border:0;background:none;color:#8292a2;display:grid;place-items:center;font-size:19px;gap:0}.mobile-nav small{font-size:9px}.mobile-nav .selected{color:var(--blue)}body{padding-bottom:70px}}

/* CampChat brand refresh: calm blue with fresh green accents */
:root{--navy:#102f50;--blue:#2674d9;--teal:#159b78;--bg:#f1f7fb}
body{background:radial-gradient(ellipse at 8% 0%,rgba(39,116,217,.13),transparent 34%),radial-gradient(ellipse at 95% 18%,rgba(21,155,120,.12),transparent 32%),linear-gradient(135deg,#f4f8ff 0%,#f1faf6 100%)}
.topbar{background:linear-gradient(100deg,#ffffff 0%,#f5fbff 58%,#f1fbf6 100%)}
.mark{background:linear-gradient(135deg,#2674d9 0%,#159b78 100%)}
.primary{background:linear-gradient(110deg,#2674d9 0%,#159b78 100%);box-shadow:0 5px 14px rgba(38,116,217,.18)}
.nav-link.selected{background:linear-gradient(100deg,#e8f1ff,#e7f8f1);color:#216bc3}
.story-panel,.composer,.post,.user-card,.side-panel{box-shadow:0 5px 20px rgba(27,67,99,.035)}
.ad-card{background:linear-gradient(140deg,#123c70 0%,#147c6d 100%)}
