
:root{
  --red:#ef233c;
  --red-dark:#c91831;
  --red-soft:#fff0f2;
  --ink:#17171b;
  --muted:#71717a;
  --line:#e7e7eb;
  --panel:#ffffff;
  --soft:#f6f6f8;
  --shadow:0 24px 80px rgba(18,18,25,.12);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#ececf0}
body{margin:0;min-height:100vh;padding:28px;font-family:"Poppins",system-ui,-apple-system,sans-serif;background:radial-gradient(circle at 12% 8%,#fff 0,transparent 28%),linear-gradient(135deg,#ececf0,#f8f8fa);color:var(--ink)}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hidden{display:none!important}
.ambient{position:fixed;border-radius:50%;filter:blur(90px);pointer-events:none;z-index:-1}.ambient-one{width:360px;height:360px;left:-120px;top:-100px;background:rgba(239,35,60,.14)}.ambient-two{width:420px;height:420px;right:-160px;bottom:-160px;background:rgba(239,35,60,.08)}
.app-shell{width:min(1540px,100%);min-height:calc(100vh - 56px);margin:auto;display:grid;grid-template-columns:92px minmax(0,1fr);background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:36px;overflow:hidden;box-shadow:var(--shadow)}
.side-rail{background:linear-gradient(180deg,#ff304c 0%,#e71835 100%);padding:24px 14px;display:flex;flex-direction:column;align-items:center;position:relative}.brand-mark{width:54px;height:54px;border-radius:18px;background:#fff;color:var(--red);display:grid;place-items:center;font-weight:800;letter-spacing:-.09em;box-shadow:0 12px 30px rgba(128,0,24,.18)}.brand-mark span:last-child{margin-left:-5px}.rail-nav{display:flex;flex-direction:column;gap:10px;margin-top:36px}.rail-link{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;color:rgba(255,255,255,.72);transition:.18s}.rail-link:hover,.rail-link.active{background:#fff;color:var(--red);transform:translateY(-1px)}.admin-rail{margin-top:auto}
.app-main{min-width:0;background:#fbfbfc}.top-nav{height:86px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:50;backdrop-filter:blur(18px)}.top-tabs{display:flex;align-items:center;gap:7px}.top-tab{padding:10px 14px;border-radius:12px;font-size:13px;font-weight:600;color:#696970}.top-tab:hover,.top-tab.active{background:var(--red-soft);color:var(--red)}.top-actions{display:flex;align-items:center;gap:12px}.search-trigger{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:14px;padding:10px 14px;display:flex;align-items:center;gap:9px}.profile-pill{display:flex;align-items:center;gap:9px;border-radius:999px;padding:8px 13px;background:#17171b;color:#fff;font-size:12px;font-weight:600}.profile-dot{width:9px;height:9px;border-radius:50%;background:#ff4058;box-shadow:0 0 0 4px rgba(255,64,88,.18)}.mobile-menu{display:none;border:0;background:var(--red);color:#fff;border-radius:12px;padding:10px 12px}
.page-stage{padding:26px;min-width:0}.app-page{display:none}.app-page.active{display:block}.overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,.8fr) minmax(280px,.7fr);gap:18px}.visual-card,.momentum-card,.identity-card,.glass-panel,.panel,.admin-card,.message-panel,.profile-card,.conversation-card,.connections-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:0 12px 38px rgba(19,19,25,.06)}
.visual-card{min-height:520px;position:relative;overflow:hidden;padding:44px;background:linear-gradient(135deg,#fff 0%,#fff 42%,#fff1f3 100%)}.visual-card:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-90px;top:-90px;background:linear-gradient(145deg,#ff5268,#e71935);box-shadow:0 30px 80px rgba(239,35,60,.28)}.visual-card:after{content:"";position:absolute;right:-80px;bottom:-100px;width:320px;height:320px;background:url("buildcircle-logo-transparent.png") center/contain no-repeat;opacity:.10}.visual-orbit{position:absolute;border:1px solid rgba(239,35,60,.18);border-radius:50%}.orbit-one{width:390px;height:390px;right:-70px;top:-55px}.orbit-two{width:270px;height:270px;right:-5px;top:30px}.visual-core{position:absolute;right:95px;top:150px;width:120px;height:120px;border-radius:34px;background:#fff;color:var(--red);display:grid;place-items:center;z-index:2;box-shadow:0 24px 60px rgba(120,0,20,.22);transform:rotate(-8deg)}.visual-core span{font-size:45px;font-weight:800;letter-spacing:-.1em}.visual-core small{position:absolute;bottom:17px;font-size:8px;letter-spacing:.3em}.visual-copy{position:relative;z-index:3;max-width:560px}.soft-label,.eyebrow{display:inline-flex;color:var(--red);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.visual-copy h1,.page-heading h2{letter-spacing:-.06em;line-height:.98}.visual-copy h1{font-size:clamp(50px,6vw,86px);margin:20px 0;color:#17171b}.visual-copy p{max-width:540px;color:var(--muted);line-height:1.75}.hero-actions,.action-row,.profile-actions,.application-links{display:flex;gap:9px;flex-wrap:wrap}.hero-actions{margin-top:28px}.glass-button,.page-cta,.profile-action,.button{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;border:0;padding:12px 17px;font-weight:700;font-size:12px;transition:.18s}.glass-button,.page-cta,.profile-action,.button.primary{background:var(--red);color:#fff}.glass-button:hover,.page-cta:hover,.profile-action:hover,.button:hover{transform:translateY(-1px)}.muted-button,.button.secondary{background:#fff;color:#222;border:1px solid var(--line)}.button.danger{background:#fff0f2;color:var(--red);border:1px solid #ffd0d7}.button.success{background:#e7f8ee;color:#14733d}.button.small{padding:8px 11px;border-radius:10px;font-size:10px}.button.full{width:100%}.button:disabled{opacity:.5;cursor:not-allowed;transform:none}
.momentum-card{padding:22px;min-height:520px;background:#17171b;color:#fff}.card-head,.panel-title,.panel-title-row,.row-between,.conversation-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head span,.spotlight-strip span{font-size:10px;letter-spacing:.1em;color:#aaa}.momentum-visual{height:280px;position:relative;display:grid;place-items:center}.momentum-ring{width:180px;height:180px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#2a2a30 0 48%,transparent 49%),conic-gradient(var(--red) 0 72%,#333 72% 100%);box-shadow:inset 0 0 0 14px #17171b}.momentum-ring div{text-align:center}.momentum-ring strong{display:block;font-size:54px}.momentum-ring span{font-size:9px;color:#aaa}.metric{position:absolute;font-size:8px;color:#aaa}.metric b{display:block;color:#fff;font-size:18px}.metric-a{left:10px;top:45px}.metric-b{right:8px;top:95px}.metric-c{right:20px;bottom:25px}.spotlight-strip{display:flex;justify-content:space-between;border-top:1px solid #303036;padding-top:14px}.featured-compact{display:grid;gap:8px;margin-top:12px}.featured-compact .mission-card{box-shadow:none;border-color:#303036;background:#202026;color:#fff}.featured-compact .mission-body p,.featured-compact .card-meta{color:#aaa}
.identity-card{padding:24px;text-align:center}.identity-avatar-wrap{position:relative;width:max-content;margin:8px auto 16px}.identity-avatar,.avatar{object-fit:cover;background:#f2f2f4}.identity-avatar{width:108px;height:108px;border-radius:30px}.avatar{width:52px;height:52px;border-radius:16px}.avatar.small{width:38px;height:38px;border-radius:12px}.creator-avatar{width:84px;height:84px;border-radius:24px}.online-dot,.online-indicator{display:inline-block;border-radius:50%;background:#2fc97b}.online-dot{position:absolute;right:-2px;top:-2px;width:14px;height:14px;border:3px solid #fff}.online-indicator{width:9px;height:9px;margin-left:auto}.identity-kicker{font-size:9px;color:var(--red);font-weight:800;letter-spacing:.12em}.identity-card h2{margin:7px 0}.identity-handle{color:var(--muted);font-size:11px}.identity-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.identity-stats div,.identity-details div,.stat-card{background:var(--soft);border-radius:14px;padding:12px}.identity-stats span,.identity-details span,.stat-card span{display:block;color:var(--muted);font-size:9px}.identity-stats strong{font-size:18px}.identity-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left}.identity-details b{font-size:11px}.profile-action{width:100%;margin-top:16px}.home-lower-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:18px;margin-top:18px}.glass-panel{padding:22px}.quick-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-action{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:16px;padding:15px;background:#fff}.quick-action>span{width:38px;height:38px;border-radius:12px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;font-size:20px}.quick-action small,.pulse-list small{display:block;color:var(--muted);font-size:9px}.pulse-list{display:grid;gap:10px}.pulse-list>div{display:flex;gap:12px;padding:12px;border-radius:14px;background:var(--soft)}.pulse-list>div>span{color:var(--red);font-weight:800}.live-badge,.count-badge{background:var(--red-soft);color:var(--red);border-radius:999px;padding:6px 9px;font-size:9px;font-weight:800}
.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:20px}.page-heading h2{font-size:clamp(38px,5vw,64px);margin:8px 0}.page-heading p{color:var(--muted);max-width:720px}.filter-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;margin-bottom:18px}.search-row{display:grid;grid-template-columns:1fr 180px 180px;gap:10px}.category-tabs,.advanced-filters,.chips,.badge-row{display:flex;gap:8px;flex-wrap:wrap}.category-tabs{margin:14px 0}.category-tab,.chip,.badge{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;font-size:10px;font-weight:600}.category-tab.active{background:var(--red);color:#fff;border-color:var(--red)}.tab-count{opacity:.7}.advanced-filters{align-items:center}.advanced-filters label{font-size:10px}.advanced-filters input[type=range]{width:150px}.text-button{border:0;background:transparent;color:var(--red);font-weight:700;font-size:11px;padding:5px}
input,select,textarea{width:100%;border:1px solid #dedee3;background:#fff;color:#17171b;border-radius:13px;padding:12px 13px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(239,35,60,.1)}textarea{min-height:110px;resize:vertical}.form-card,.form-grid{display:grid;gap:12px}.form-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px}.form-card label,.form-grid label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#414149}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.segmented{display:flex;background:var(--soft);border-radius:14px;padding:4px}.segmented label{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px;border-radius:10px}.segmented input{width:auto}.create-page-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px}.create-intro-card{border-radius:28px;padding:32px;background:#17171b;color:#fff}.create-intro-card h2{font-size:clamp(40px,5vw,66px);line-height:1;letter-spacing:-.06em}.create-intro-card>p{color:#b3b3ba;line-height:1.7}.create-benefits{display:grid;gap:10px;margin-top:30px}.create-benefits>div{display:flex;gap:12px;border-top:1px solid #303038;padding-top:12px}.create-benefits span{color:#ff5c70;font-weight:800}.create-benefits small{display:block;color:#aaa}.gradient-form{background:#fff}
.mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mission-card,.creator-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(20,20,30,.05);transition:.18s}.mission-card:hover,.creator-card:hover{transform:translateY(-3px);box-shadow:0 20px 45px rgba(20,20,30,.09)}.mission-thumb{height:96px;padding:14px;display:flex;justify-content:space-between;background:linear-gradient(135deg,#ff4259,#d91732);color:#fff}.mission-thumb.job{background:linear-gradient(135deg,#17171b,#3d3d46)}.category{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.mission-body,.creator-card{padding:16px}.mission-body h3,.creator-card h3{margin:0 0 8px}.mission-body p,.creator-card p{color:var(--muted);font-size:11px;line-height:1.55}.bar{height:7px;border-radius:999px;background:#ececf0;overflow:hidden;margin-top:14px}.bar span{display:block;height:100%;background:var(--red)}.card-meta,.host-line,.creator-stats{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:9px;color:var(--muted)}.host-line{justify-content:flex-start}.creator-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.creator-card{text-align:left;cursor:pointer}.creator-card .avatar{width:64px;height:64px}.creator-stats{padding-top:10px;border-top:1px solid var(--line)}.verified{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--red);color:#fff;font-size:11px}.creator-search{max-width:360px}
.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.stat-card{border:1px solid var(--line)}.stat-card b{display:block;font-size:28px;margin-top:3px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.panel,.admin-card,.message-panel,.profile-card,.conversation-card,.connections-panel{padding:18px}.panel h3,.admin-card h3,.message-panel h3,.conversation-card h3{margin:0 0 8px}.profile-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-info{display:flex;align-items:center;gap:13px}.compact-profile{align-items:flex-start}.list{display:grid;gap:9px}.list-item{border:1px solid var(--line);border-radius:15px;padding:13px;background:#fff}.list-item p{margin:5px 0;line-height:1.55;font-size:11px}.list-item small{color:var(--muted);font-size:9px}.request-card{border-left:4px solid var(--red)}.request-head{align-items:flex-start}.application-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.application-letter{background:var(--soft);border-radius:13px;padding:12px}.application-letter.wide{grid-column:1/-1}.application-letter span{font-size:8px;color:var(--red);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.application-letter p{white-space:pre-wrap}.application-links{align-items:center}.accepted-label,.accepted-banner{color:#14733d;background:#e9f8ef;border-radius:12px;padding:9px 11px;font-size:10px;font-weight:700}.waiting-banner,.application-notice{background:var(--red-soft);color:#8f1429;border-radius:12px;padding:11px;font-size:10px;margin:12px 0}.apply-panel{max-width:820px;margin:auto}.application-intro{display:flex;gap:13px;align-items:flex-start;margin-bottom:16px}.apply-number{width:40px;height:40px;border-radius:13px;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:800}.application-form{border:0;background:var(--soft)}.status-pending{background:#fff2d9}.status-accepted{background:#e9f8ef}.status-rejected{background:#fff0f2}
.kanban{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:10px;overflow-x:auto}.kanban-column{background:var(--soft);border-radius:14px;padding:10px;min-height:180px}.task-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:8px}.task-card p{font-size:10px;color:var(--muted)}
.messages-page-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px}.connections-panel{padding:0;overflow:hidden}.message-section{padding:16px;border-bottom:1px solid var(--line)}.connection-list{display:grid;gap:7px;margin-top:10px}.connection-card{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:9px;text-align:left}.connection-card.active,.connection-card:hover{border-color:#ffb0ba;background:var(--red-soft)}.connection-card div:nth-child(2){min-width:0}.connection-card b,.connection-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection-card small{color:var(--muted);font-size:9px}.connection-actions{display:flex;margin-left:auto}.icon-action{width:30px;height:30px;border:0;border-radius:10px;font-weight:800}.icon-action.accept{background:#e8f7ee;color:#14733d}.icon-action.decline{background:#fff0f2;color:var(--red)}.mini-empty{font-size:10px;color:var(--muted);padding:10px}.conversation-stack{display:grid;gap:16px}.conversation-header>div{display:flex;align-items:center;gap:10px}.conversation-header p{margin:3px 0;color:var(--muted);font-size:9px}.conversation-header select{max-width:280px}.team-icon{width:42px;height:42px;border-radius:13px;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:800}.chat-feed{display:flex;flex-direction:column;gap:8px;min-height:240px;max-height:360px;overflow:auto;padding:14px 2px}.chat-bubble{max-width:78%;border-radius:16px 16px 16px 5px;padding:11px 13px;background:#f1f1f4;align-self:flex-start}.chat-bubble.mine{align-self:flex-end;background:var(--red);color:#fff;border-radius:16px 16px 5px 16px}.chat-bubble p{margin:0;font-size:11px;white-space:pre-wrap}.chat-bubble small{display:block;margin-top:5px;font-size:8px;opacity:.7}.chat-form{display:flex;gap:8px;margin-top:10px}.chat-form input{flex:1}.team-conversation{border-top:4px solid var(--red)}
.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.analytics-bars{display:grid;gap:9px}.analytics-row{display:grid;grid-template-columns:110px 1fr 42px;gap:8px;align-items:center;font-size:10px}.analytics-track{height:7px;background:#eee;border-radius:999px;overflow:hidden}.analytics-track span{display:block;height:100%;background:var(--red)}
.modal{position:fixed;inset:0;background:rgba(20,20,25,.62);z-index:100;display:grid;place-items:center;padding:18px;backdrop-filter:blur(10px)}.modal-card{position:relative;width:min(980px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:28px;padding:26px;box-shadow:0 35px 110px rgba(10,10,20,.3)}.close-button{position:absolute;right:16px;top:12px;border:0;background:#f3f3f5;color:#333;border-radius:11px;width:36px;height:36px;font-size:24px}.modal-card h2{font-size:clamp(32px,5vw,54px);letter-spacing:-.05em;margin:10px 50px 10px 0}.modal-tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid var(--line);margin:18px 0}.modal-tabs button{border:0;background:transparent;color:var(--muted);padding:10px 8px;font-weight:700;border-bottom:3px solid transparent;white-space:nowrap}.modal-tabs button.active{border-color:var(--red);color:var(--red)}.empty{border:1px dashed #d9d9de;border-radius:14px;padding:20px;color:var(--muted);text-align:center;font-size:11px}.toast{position:fixed;right:20px;bottom:20px;z-index:140;background:#17171b;color:#fff;border-radius:14px;padding:13px 16px;box-shadow:var(--shadow);max-width:380px}.toast.error{background:var(--red)}.status{min-height:18px;color:#14733d;font-size:10px}.status.error{color:var(--red)}
.mobile-only-link{display:none}
@media(max-width:1250px){body{padding:16px}.app-shell{min-height:calc(100vh - 32px);grid-template-columns:76px minmax(0,1fr)}.side-rail{padding:20px 10px}.rail-link{width:46px;height:46px}.overview-grid{grid-template-columns:1fr 1fr}.identity-card{grid-column:1/-1;display:grid;grid-template-columns:130px 1fr 1.2fr;align-items:center;text-align:left}.identity-avatar-wrap{margin:0}.identity-stats{margin:0}.identity-details{grid-template-columns:repeat(2,1fr)}.profile-action{margin:0}.mission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.visual-copy h1{font-size:64px}}
@media(max-width:950px){body{padding:0}.app-shell{min-height:100vh;border-radius:0;grid-template-columns:70px minmax(0,1fr)}.top-nav{padding:0 18px}.top-tabs{display:none}.top-tabs.open{display:flex;position:absolute;left:18px;top:70px;flex-direction:column;align-items:stretch;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:var(--shadow)}.top-tabs.open .mobile-only-link{display:block}.mobile-menu{display:block}.page-stage{padding:18px}.overview-grid,.home-lower-grid,.create-page-grid,.dashboard-grid,.messages-page-grid{grid-template-columns:1fr}.identity-card{display:flex;text-align:center}.identity-avatar-wrap{margin:0 auto}.search-row{grid-template-columns:1fr 1fr}.search-row input{grid-column:1/-1}.stats-grid{grid-template-columns:repeat(3,1fr)}.admin-grid{grid-template-columns:1fr 1fr}.creator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.conversation-stack{grid-template-columns:1fr 1fr}.connections-panel{grid-column:1/-1}.message-section{display:inline-block;width:33.333%;vertical-align:top;border-bottom:0;border-right:1px solid var(--line)}}
@media(max-width:700px){body{background:#fff}.app-shell{grid-template-columns:1fr}.side-rail{position:fixed;left:10px;right:10px;bottom:10px;top:auto;height:68px;z-index:80;display:flex;flex-direction:row;justify-content:center;border-radius:22px;padding:8px;background:rgba(239,35,60,.96);box-shadow:0 16px 40px rgba(130,0,20,.28);backdrop-filter:blur(16px)}.brand-mark,.admin-rail{display:none}.rail-nav{margin:0;flex-direction:row;gap:5px}.rail-link{width:43px;height:43px;border-radius:13px}.rail-link:nth-child(n+6){display:none}.top-nav{height:70px}.search-trigger span{display:none}.profile-label{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-stage{padding:14px 12px 95px}.visual-card{min-height:520px;padding:26px}.visual-card:before{width:280px;height:280px;right:-110px;top:230px}.visual-core{right:38px;top:325px;width:90px;height:90px}.visual-copy h1{font-size:48px}.momentum-card{min-height:460px}.identity-card{display:block}.home-lower-grid,.quick-actions-grid,.mission-grid,.creator-grid,.stats-grid,.admin-grid,.conversation-stack{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h2{font-size:40px}.page-cta{width:100%}.search-row,.two-col{grid-template-columns:1fr}.search-row input{grid-column:auto}.advanced-filters{align-items:stretch;flex-direction:column}.advanced-filters input[type=range]{width:100%}.application-grid{grid-template-columns:1fr}.application-letter.wide{grid-column:auto}.connections-panel{display:block}.message-section{display:block;width:100%;border-right:0;border-bottom:1px solid var(--line)}.conversation-header{align-items:flex-start;flex-direction:column}.conversation-header select{max-width:none}.chat-bubble{max-width:88%}.modal{padding:7px}.modal-card{padding:19px;border-radius:20px}.profile-head{align-items:flex-start;flex-direction:column}.profile-actions{width:100%}.profile-actions .button{flex:1}.identity-stats{grid-template-columns:repeat(3,1fr)}}

/* tablet overflow hardening */
.app-main,.page-stage,.overview-grid,.home-lower-grid,.dashboard-grid,.messages-page-grid,.conversation-stack,.overview-grid>*{min-width:0}
@media(max-width:950px){.visual-copy{max-width:82%}.visual-copy h1{font-size:52px}.momentum-card,.visual-card,.identity-card{width:100%;min-width:0}.featured-compact,.featured-compact .mission-card{min-width:0;max-width:100%}}
@media(max-width:700px){.visual-copy{max-width:100%}.visual-copy h1{font-size:48px}}
.featured-compact{display:grid;gap:8px;margin-top:12px}.featured-build{width:100%;border:1px solid #303036;background:#202026;color:#fff;border-radius:14px;padding:12px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left}.featured-build:hover{background:#292930}.featured-category{font-size:8px;font-weight:800;color:#ff6a7c;text-transform:uppercase;letter-spacing:.08em}.featured-build b{display:block;font-size:11px}.featured-build small{display:block;color:#aaa;font-size:8px;margin-top:3px}.featured-arrow{color:#ff4b63;font-size:18px}


/* v7 organized inbox, reliable mobile composers, notification drawer */
button,a,input,textarea,select{touch-action:manipulation}
.top-actions{position:relative}
.notification-bell{position:relative;width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#19191f;display:grid;place-items:center;flex:0 0 auto}
.notification-bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification-badge{position:absolute;right:-5px;top:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;border:2px solid #fff;font-size:9px;font-weight:800;display:grid;place-items:center}
.notification-drawer{position:fixed;right:22px;top:82px;z-index:120;width:min(390px,calc(100vw - 24px));max-height:min(680px,calc(100vh - 100px));overflow:auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px;box-shadow:0 26px 70px rgba(18,18,24,.2)}
.notification-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.notification-drawer-head h3{margin:2px 0 0}.drawer-close{width:38px;height:38px;border:0;border-radius:12px;background:var(--soft);font-size:24px}.notification-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.notification-list{display:grid;gap:7px;margin:10px 0 14px}.notification-item{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:11px;display:grid;grid-template-columns:34px minmax(0,1fr) 8px;gap:10px;align-items:start;text-align:left}.notification-item.unread{background:var(--red-soft);border-color:#ffc0c8}.notification-icon{width:34px;height:34px;border-radius:11px;background:#f2f2f4;color:var(--red);display:grid;place-items:center;font-weight:800}.notification-copy{min-width:0}.notification-copy b,.notification-copy small,.notification-copy time{display:block}.notification-copy b{font-size:11px}.notification-copy small{font-size:9px;color:#4e4e55;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-copy time{font-size:8px;color:var(--muted);margin-top:4px}.notification-new{width:7px;height:7px;border-radius:50%;background:var(--red);margin-top:5px}
.inbox-shell{display:grid;gap:14px}.inbox-tabs{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 8px;scrollbar-width:none}.inbox-tabs::-webkit-scrollbar{display:none}.inbox-tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;white-space:nowrap;font-weight:700;color:#555;min-height:44px}.inbox-tab.active{background:var(--red);border-color:var(--red);color:#fff}.inbox-tab span{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;margin-left:6px;background:rgba(0,0,0,.1);font-size:9px}.inbox-tab.active span{background:rgba(255,255,255,.24)}.inbox-content{min-width:0}.inbox-single{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.section-heading h3,.section-heading h4{margin:0}.section-heading p{margin:4px 0 0;color:var(--muted);font-size:10px}.request-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.request-columns h4{margin:0 0 8px}.inbox-chat-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:14px}.inbox-list,.organized-chat{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px;min-width:0}.organized-chat{display:flex;flex-direction:column;min-height:560px}.organized-chat .chat-feed{flex:1;min-height:320px;max-height:520px}.message-count{margin-left:auto;min-width:22px;height:22px;border-radius:999px;background:var(--red);color:#fff;display:grid;place-items:center;font-size:9px;font-weight:800}.team-avatar{width:38px;height:38px;border-radius:12px;background:var(--red);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:800;flex:0 0 auto}.team-avatar.large{width:44px;height:44px}.chat-composer{position:sticky;bottom:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-top:10px;background:#fff;z-index:3}.chat-composer textarea{min-height:46px;max-height:130px;resize:vertical;border-radius:15px;padding:12px 14px;line-height:1.35}.chat-composer .button{min-width:86px;min-height:46px}.chat-feed{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.chat-bubble{word-break:break-word}.chat-bubble b{display:block;font-size:9px;margin-bottom:3px}.connection-card{min-height:56px}.icon-action,.text-button,.button.small{min-height:40px}.status{min-height:18px}
@media(max-width:950px){.inbox-chat-layout{grid-template-columns:240px minmax(0,1fr)}.organized-chat{min-height:520px}.request-columns{grid-template-columns:1fr}.notification-drawer{right:12px}}
@media(max-width:700px){.top-actions{gap:7px}.notification-bell{width:42px;height:42px}.notification-drawer{left:8px;right:8px;top:72px;width:auto;max-height:calc(100dvh - 84px);border-radius:18px}.inbox-chat-layout{grid-template-columns:1fr}.inbox-list{padding:13px}.inbox-list .connection-list{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}.inbox-list .connection-card{min-width:220px}.organized-chat{min-height:calc(100dvh - 250px);padding:13px}.organized-chat .chat-feed{min-height:42dvh;max-height:none}.chat-composer{padding-bottom:calc(6px + env(safe-area-inset-bottom))}.chat-composer textarea{font-size:16px}.chat-composer .button{min-width:72px;padding-left:12px;padding-right:12px}.request-columns{grid-template-columns:1fr}.inbox-single{padding:13px}.notification-item{grid-template-columns:32px minmax(0,1fr) 7px}.notification-icon{width:32px;height:32px}.page-stage{padding-bottom:calc(105px + env(safe-area-inset-bottom))}}

@media(max-width:700px){
  .rail-nav .rail-link[data-route="jobs"],.rail-nav .rail-link[data-route="creators"]{display:none}
  .rail-nav .rail-link[data-route="dashboard"],.rail-nav .rail-link[data-route="messages"]{display:grid}
}


/* v7.1 Messenger polish — WhatsApp/Discord-style fixed chat panels */
.inbox-shell,
.messages-shell,
.chat-page,
.chat-layout{
  display:grid;
  grid-template-columns:minmax(260px, 340px) minmax(0,1fr);
  gap:18px;
  min-height:clamp(620px, calc(100vh - 150px), 860px);
}

.inbox-sidebar,
.thread-list,
.chat-sidebar{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(15,15,15,.08);
  border-radius:28px;
  padding:14px;
  box-shadow:0 18px 50px rgba(0,0,0,.06);
  overflow:auto;
  max-height:calc(100vh - 150px);
}

.inbox-main,
.thread-panel,
.chat-panel,
.conversation-panel{
  min-width:0;
  background:#fff;
  border:1px solid rgba(15,15,15,.08);
  border-radius:30px;
  box-shadow:0 24px 70px rgba(0,0,0,.08);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:clamp(620px, calc(100vh - 150px), 860px);
}

.chat-header,
.thread-header,
.conversation-header{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px;
  border-bottom:1px solid rgba(15,15,15,.08);
  background:linear-gradient(180deg,#fff,#fff8f8);
}

.chat-header h2,
.thread-header h2,
.conversation-header h2{
  font-size:clamp(20px,2vw,30px);
  letter-spacing:-.04em;
  margin:0;
}

.chat-scroll,
#privateChatScroll,
#teamChatScroll,
.private-chat-scroll,
.team-chat-scroll,
.message-history,
.messages-list,
.chat-list,
.message-list{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:22px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,0,51,.05), transparent 30%),
    linear-gradient(180deg,#fff,#fffafa);
  scroll-behavior:smooth;
}

.chat-scroll::-webkit-scrollbar,
#privateChatScroll::-webkit-scrollbar,
#teamChatScroll::-webkit-scrollbar,
.message-history::-webkit-scrollbar{
  width:9px;
}

.chat-scroll::-webkit-scrollbar-thumb,
#privateChatScroll::-webkit-scrollbar-thumb,
#teamChatScroll::-webkit-scrollbar-thumb,
.message-history::-webkit-scrollbar-thumb{
  background:#ddd;
  border-radius:999px;
  border:2px solid #fff;
}

.msg-row,
.message-row{
  display:flex;
  gap:10px;
  align-items:flex-end;
  margin:10px 0;
  animation:messageIn .18s ease-out both;
}

@keyframes messageIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}

.msg-row.mine,
.message-row.mine{
  justify-content:flex-end;
}

.msg-row.mine .msg-avatar,
.message-row.mine .msg-avatar{
  order:2;
  background:#0f0f0f;
  color:#fff;
}

.msg-avatar{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:900;
  background:#ffe9ee;
  color:#e6002e;
  flex:0 0 auto;
}

.msg-stack{
  max-width:min(72%, 620px);
  display:flex;
  flex-direction:column;
  gap:4px;
}

.mine .msg-stack{
  align-items:flex-end;
}

.msg-meta{
  display:flex;
  gap:8px;
  align-items:center;
  color:#8a8a8a;
  font-size:11px;
  font-weight:700;
  padding:0 4px;
}

.msg-meta time{font-weight:600;color:#b0b0b0}

.msg-bubble,
.message-bubble,
.bubble{
  width:fit-content;
  max-width:100%;
  white-space:pre-wrap;
  word-break:break-word;
  line-height:1.45;
  padding:11px 14px;
  border-radius:18px 18px 18px 6px;
  background:#f3f3f3;
  color:#191919;
  box-shadow:0 6px 20px rgba(0,0,0,.04);
  font-size:15px;
}

.mine .msg-bubble,
.mine .message-bubble,
.mine .bubble{
  background:#ff0033;
  color:#fff;
  border-radius:18px 18px 6px 18px;
  box-shadow:0 10px 26px rgba(255,0,51,.20);
}

.chat-composer,
.message-composer,
.composer,
form[data-chat-form],
.message-form,
.chat-form{
  flex:0 0 auto;
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:14px;
  border-top:1px solid rgba(15,15,15,.08);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(16px);
}

.chat-composer textarea,
.message-composer textarea,
.composer textarea,
form[data-chat-form] textarea,
.message-form textarea,
.chat-form textarea{
  min-height:46px;
  max-height:132px;
  resize:none;
  flex:1 1 auto;
  border-radius:22px;
  border:1px solid rgba(15,15,15,.12);
  background:#f7f7f7;
  padding:13px 16px;
  font:inherit;
  outline:none;
}

.chat-composer textarea:focus,
.message-composer textarea:focus,
.composer textarea:focus,
form[data-chat-form] textarea:focus,
.message-form textarea:focus,
.chat-form textarea:focus{
  border-color:#ff0033;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,0,51,.08);
}

.chat-composer .btn,
.message-composer .btn,
.composer .btn,
form[data-chat-form] .btn,
.message-form .btn,
.chat-form .btn{
  height:46px;
  min-width:92px;
  border-radius:999px;
  flex:0 0 auto;
}

.thread-item,
.friend-card,
.notification-card,
.request-card,
.inbox-item{
  border:1px solid rgba(15,15,15,.08);
  border-radius:20px;
  padding:14px;
  background:#fff;
  transition:.18s ease;
}

.thread-item:hover,
.friend-card:hover,
.notification-card:hover,
.request-card:hover,
.inbox-item:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 36px rgba(0,0,0,.07);
}

.thread-item.active,
.friend-card.active,
.inbox-item.active{
  border-color:#ff0033;
  background:#fff5f7;
}

.notification-card.unread,
.inbox-item.unread{
  border-left:5px solid #ff0033;
  background:linear-gradient(90deg,#fff4f6,#fff);
}

.notif-badge,
.notification-badge,
.unread-badge{
  display:inline-grid;
  place-items:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#ff0033;
  color:#fff;
  font-size:11px;
  font-weight:950;
  box-shadow:0 8px 20px rgba(255,0,51,.28);
}

.empty-chat{
  height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  color:#8a8a8a;
  padding:28px;
}

.empty-chat strong{
  display:block;
  color:#111;
  font-size:22px;
  letter-spacing:-.03em;
  margin-bottom:6px;
}

.inbox-tabs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:8px 0 14px;
  scrollbar-width:none;
}

.inbox-tabs::-webkit-scrollbar{display:none}

.inbox-tabs button{
  white-space:nowrap;
  border-radius:999px;
  background:#f4f4f4;
}

.inbox-tabs button.active{
  background:#111;
  color:#fff;
}

@media(max-width:980px){
  .inbox-shell,
  .messages-shell,
  .chat-page,
  .chat-layout{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .inbox-sidebar,
  .thread-list,
  .chat-sidebar{
    max-height:none;
    overflow:visible;
    display:grid;
    gap:10px;
  }

  .inbox-main,
  .thread-panel,
  .chat-panel,
  .conversation-panel{
    height:min(76vh, 720px);
    min-height:520px;
    border-radius:26px;
  }
}

@media(max-width:620px){
  .inbox-main,
  .thread-panel,
  .chat-panel,
  .conversation-panel{
    height:calc(100vh - 162px);
    min-height:440px;
    border-radius:22px;
  }

  .chat-header,
  .thread-header,
  .conversation-header{
    padding:14px;
  }

  .chat-scroll,
  #privateChatScroll,
  #teamChatScroll,
  .private-chat-scroll,
  .team-chat-scroll,
  .message-history{
    padding:14px 12px;
  }

  .msg-stack{
    max-width:82%;
  }

  .msg-bubble,
  .message-bubble,
  .bubble{
    font-size:14px;
    padding:10px 12px;
  }

  .msg-avatar{
    width:26px;
    height:26px;
    font-size:11px;
  }

  .chat-composer,
  .message-composer,
  .composer,
  form[data-chat-form],
  .message-form,
  .chat-form{
    padding:10px;
    gap:8px;
  }

  .chat-composer textarea,
  .message-composer textarea,
  .composer textarea,
  form[data-chat-form] textarea,
  .message-form textarea,
  .chat-form textarea{
    min-height:42px;
    border-radius:20px;
    padding:11px 13px;
  }

  .chat-composer .btn,
  .message-composer .btn,
  .composer .btn,
  form[data-chat-form] .btn,
  .message-form .btn,
  .chat-form .btn{
    min-width:68px;
    height:42px;
    padding:0 14px;
  }
}


/* v7.2 — official logo, cleaner human typography, stable messenger drafts */
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:-.035em;
}
.brand img{
  width:34px;
  height:34px;
  object-fit:contain;
  border-radius:8px;
  background:#fff;
}
.brand span{color:#111}
.logo-mark{display:none}

em,i,.italic{
  font-style:normal !important;
}
strong,b{
  font-weight:750;
}
h1,h2,h3{
  font-weight:850;
  letter-spacing:-.045em;
}
p,.muted,.small,small,li,label,input,textarea,button{
  font-style:normal;
}
.live,
.live-pill,
.status-live,
[data-status="live"]{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:750;
  color:#111;
}
.live::before,
.live-pill::before,
.status-live::before,
[data-status="live"]::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff0033;
  box-shadow:0 0 0 4px rgba(255,0,51,.10);
}

/* Messenger polish fix: input draft should not disappear during refresh. */
.chat-composer textarea,
.message-form textarea,
.chat-form textarea,
form[data-chat-form] textarea{
  caret-color:#ff0033;
}
.chat-composer button:disabled,
.message-form button:disabled,
.chat-form button:disabled,
form[data-chat-form] button:disabled{
  opacity:.7;
}

/* Make notifications feel less generated and more app-like */
.notification-card,
.inbox-item{
  font-weight:500;
}
.notification-card strong,
.inbox-item strong{
  font-weight:800;
}
.notification-card p,
.inbox-item p{
  line-height:1.45;
}

/* Official red consistency */
:root{
  --brand-red:#ff0033;
}
.btn.primary,
.mine .msg-bubble,
.notif-badge,
.notification-badge,
.unread-badge{
  background:var(--brand-red) !important;
}


/* v7.3 — real visible BuildCircle logo */
.official-brand-mark{
  overflow:hidden;
  background:#fff !important;
  padding:7px !important;
  border-radius:18px !important;
}
.official-brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
@media(max-width:620px){
  .official-brand-mark{
    padding:5px !important;
    border-radius:13px !important;
  }
}


/* v7.5 — direct rebrand and organized home layout */
.official-hero-logo{
  padding:18px !important;
  background:#fff !important;
  border-radius:34px !important;
}
.official-hero-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.official-hero-logo span,
.official-hero-logo small{
  display:none !important;
}

.clean-card-head{
  align-items:center;
}
.clean-card-head h3{
  margin:3px 0 0;
  font-size:22px;
  letter-spacing:-.04em;
}
.mini-brand-mark{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  padding:7px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.mini-brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.home-tools-section{
  margin-top:20px;
  padding:28px;
  border-radius:30px;
  background:#fff;
  border:1px solid rgba(15,15,15,.08);
  box-shadow:0 22px 60px rgba(0,0,0,.06);
}
.home-tools-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.home-tools-heading h3{
  margin:5px 0 0;
  font-size:clamp(26px,3vw,40px);
  line-height:1;
  letter-spacing:-.055em;
}
.home-tools-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.home-tool-card{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  min-height:112px;
  padding:18px;
  border-radius:20px;
  background:#fafafa;
  border:1px solid rgba(15,15,15,.08);
  color:#151515;
  text-decoration:none;
  transition:.18s ease;
}
.home-tool-card:hover{
  transform:translateY(-2px);
  background:#fff;
  border-color:rgba(239,35,60,.35);
  box-shadow:0 16px 40px rgba(0,0,0,.07);
}
.home-tool-number{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#fff0f2;
  color:#ef233c;
  font-weight:800;
  font-size:14px;
}
.home-tool-card b{
  display:block;
  font-size:18px;
  line-height:1.15;
  margin-bottom:5px;
}
.home-tool-card small{
  display:block;
  color:#777;
  font-size:12px;
  line-height:1.45;
}
.home-tool-arrow{
  font-size:25px;
  color:#ef233c;
  font-weight:500;
}

.live-badge{
  display:none !important;
}

/* Remove old quick/pulse area if stale markup is cached */
.home-lower-grid{
  display:none !important;
}

@media(max-width:900px){
  .home-tools-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:620px){
  .home-tools-section{
    padding:18px;
    border-radius:22px;
  }
  .home-tools-heading{
    align-items:flex-start;
  }
  .home-tool-card{
    grid-template-columns:42px minmax(0,1fr) auto;
    min-height:98px;
    padding:15px;
    border-radius:17px;
  }
  .home-tool-number{
    width:42px;
    height:42px;
    border-radius:13px;
  }
  .home-tool-card b{
    font-size:16px;
  }
  .home-tool-card small{
    font-size:11px;
  }
}


/* v7.6 — official favicon, version label, status-logo replacement */
.version-corner{
  position:fixed;
  right:10px;
  bottom:10px;
  z-index:9999;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.62);
  color:rgba(15,15,15,.45);
  border:1px solid rgba(15,15,15,.08);
  backdrop-filter:blur(10px);
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  pointer-events:none;
  user-select:none;
}
.user-logo-dot{
  width:21px;
  height:21px;
  object-fit:contain;
  display:inline-block;
  padding:2px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.45);
}

/* Replace old red status/live dots in the top profile pill with the official mini logo */
.account-pill::before,
.user-pill::before,
.profile-pill::before,
.session-pill::before,
.top-user::before,
.user-menu-trigger::before{
  content:"" !important;
  width:22px !important;
  height:22px !important;
  flex:0 0 22px !important;
  display:inline-block !important;
  border-radius:50% !important;
  background:#fff url("buildcircle-logo-transparent.png") center/74% no-repeat !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.4) !important;
}
.account-pill .red-dot,
.account-pill .live-dot,
.account-pill .status-dot,
.account-pill .user-dot,
.user-pill .red-dot,
.user-pill .live-dot,
.user-pill .status-dot,
.user-pill .user-dot,
.profile-pill .red-dot,
.profile-pill .live-dot,
.profile-pill .status-dot,
.profile-pill .user-dot{
  display:none !important;
}

/* Remove old browser-like red play mark if it appears inside brand because favicon was cached visually */
.brand img,
.brand-mark img,
.official-brand-mark img{
  content:url("buildcircle-logo-transparent.png");
}


/* v7.7 — remove red profile dot and rebuild messy profile summary */
.account-pill::before,
.user-pill::before,
.profile-pill::before,
.session-pill::before,
.top-user::before,
.user-menu-trigger::before{
  content:none !important;
  display:none !important;
}

.account-pill .red-dot,
.account-pill .live-dot,
.account-pill .status-dot,
.account-pill .user-dot,
.account-pill .online-dot,
.user-pill .red-dot,
.user-pill .live-dot,
.user-pill .status-dot,
.user-pill .user-dot,
.user-pill .online-dot,
.profile-pill .red-dot,
.profile-pill .live-dot,
.profile-pill .status-dot,
.profile-pill .user-dot,
.profile-pill .online-dot,
.top-user .red-dot,
.top-user .live-dot,
.top-user .status-dot,
.top-user .user-dot,
.top-user .online-dot,
.user-menu-trigger .red-dot,
.user-menu-trigger .live-dot,
.user-menu-trigger .status-dot,
.user-menu-trigger .user-dot,
.user-menu-trigger .online-dot{
  display:none !important;
}

.account-pill,
.user-pill,
.profile-pill,
.session-pill,
.top-user,
.user-menu-trigger{
  gap:10px !important;
}

.clean-profile-card,
.profile-summary-card{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(260px, 1.1fr) minmax(420px, 1fr) auto !important;
  align-items:center !important;
  gap:28px !important;
  padding:36px !important;
  border-radius:34px !important;
  background:#fff !important;
  border:1px solid rgba(15,15,15,.08) !important;
  box-shadow:0 24px 70px rgba(0,0,0,.07) !important;
  overflow:hidden !important;
}

.clean-profile-card::before{
  content:"" !important;
  position:absolute !important;
  inset:0 auto 0 0 !important;
  width:8px !important;
  background:#ef233c !important;
}

.profile-main{
  display:flex !important;
  align-items:center !important;
  gap:22px !important;
  min-width:0 !important;
}

.profile-logo-tile{
  width:118px !important;
  height:118px !important;
  flex:0 0 118px !important;
  display:grid !important;
  place-items:center !important;
  padding:18px !important;
  border-radius:30px !important;
  background:#fff !important;
  border:1px solid rgba(15,15,15,.08) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.08) !important;
}

.profile-logo-tile img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}

.profile-copy{
  min-width:0 !important;
}

.profile-copy h2{
  margin:5px 0 2px !important;
  font-size:clamp(30px,3.5vw,54px) !important;
  line-height:.95 !important;
  letter-spacing:-.065em !important;
  color:#151519 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.profile-copy p{
  margin:0 !important;
  color:#777 !important;
  font-weight:650 !important;
  font-size:16px !important;
}

.profile-stats-clean{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(104px,1fr)) !important;
  gap:12px !important;
}

.profile-stats-clean div{
  min-height:86px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:8px !important;
  padding:16px !important;
  border-radius:20px !important;
  background:#f7f7f8 !important;
  border:1px solid rgba(15,15,15,.035) !important;
}

.profile-stats-clean span{
  color:#777 !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:650 !important;
}

.profile-stats-clean b{
  color:#151519 !important;
  font-size:22px !important;
  line-height:1 !important;
  font-weight:850 !important;
}

.profile-dashboard-link{
  align-self:center !important;
  justify-self:end !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  max-width:160px !important;
  padding:16px 20px !important;
  border-radius:999px !important;
  background:#ef233c !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:850 !important;
  text-align:center !important;
  line-height:1.1 !important;
  box-shadow:0 18px 36px rgba(239,35,60,.22) !important;
}

/* Hide any old overflowing red dashboard button inside the same area */
.clean-profile-card .button-float,
.clean-profile-card .open-dashboard-floating{
  display:none !important;
}

@media(max-width:1100px){
  .clean-profile-card,
  .profile-summary-card{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }
  .profile-stats-clean{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .profile-dashboard-link{
    justify-self:start !important;
    max-width:none !important;
  }
}

@media(max-width:620px){
  .clean-profile-card,
  .profile-summary-card{
    padding:24px !important;
    border-radius:26px !important;
  }
  .profile-main{
    align-items:flex-start !important;
    gap:16px !important;
  }
  .profile-logo-tile{
    width:82px !important;
    height:82px !important;
    flex-basis:82px !important;
    border-radius:22px !important;
    padding:12px !important;
  }
  .profile-copy h2{
    white-space:normal !important;
    font-size:32px !important;
  }
  .profile-stats-clean{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .profile-stats-clean div{
    min-height:74px !important;
    padding:14px !important;
  }
}


/* v7.8 — direct responsive rebuild */
.profile-dot,
.online-dot{
  display:none !important;
}

.profile-pill{
  display:inline-flex !important;
  align-items:center !important;
  gap:9px !important;
  min-height:44px !important;
  padding:6px 14px 6px 7px !important;
  border-radius:999px !important;
  background:#17171b !important;
  color:#fff !important;
  overflow:hidden !important;
}
.profile-pill::before{
  content:none !important;
  display:none !important;
}
.profile-pill-logo{
  width:30px !important;
  height:30px !important;
  flex:0 0 30px !important;
  object-fit:contain !important;
  padding:4px !important;
  border-radius:50% !important;
  background:#fff !important;
}
.profile-label{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

/* Home grid: two clean top cards, profile summary always full width. */
.overview-grid{
  grid-template-columns:minmax(0,1.55fr) minmax(340px,.72fr) !important;
  align-items:stretch !important;
  gap:20px !important;
}
.visual-card,
.momentum-card,
.identity-card-v2{
  min-width:0 !important;
  width:100% !important;
}
.identity-card-v2{
  grid-column:1 / -1 !important;
}

/* Transparent red logo—no white square in Project Activity. */
.momentum-corner-logo{
  width:36px !important;
  height:36px !important;
  object-fit:contain !important;
  flex:0 0 36px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.section-corner-logo{
  width:44px !important;
  height:44px !important;
  object-fit:contain !important;
  flex:0 0 44px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Ordered Project Activity layout. */
.momentum-card{
  display:flex !important;
  flex-direction:column !important;
  padding:26px !important;
  min-height:520px !important;
}
.clean-card-head{
  min-height:48px !important;
}
.momentum-visual-v2{
  height:224px !important;
  flex:0 0 224px !important;
  display:grid !important;
  place-items:center !important;
  position:relative !important;
  margin-top:8px !important;
}
.momentum-visual-v2 .radar-lines,
.momentum-visual-v2 .metric{
  display:none !important;
}
.momentum-ring{
  width:176px !important;
  height:176px !important;
}
.momentum-metrics{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
  margin:2px 0 18px !important;
}
.momentum-metric{
  display:flex !important;
  flex-direction:column !important;
  gap:7px !important;
  min-width:0 !important;
  padding:13px 12px !important;
  border:1px solid #303036 !important;
  border-radius:15px !important;
  background:#202026 !important;
}
.momentum-metric span{
  color:#999 !important;
  font-size:9px !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}
.momentum-metric b{
  color:#fff !important;
  font-size:21px !important;
  line-height:1 !important;
}
.spotlight-strip{
  margin-top:auto !important;
}

/* Rebuilt profile summary. */
.identity-card-v2{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(300px,1.1fr) minmax(500px,1.45fr) minmax(150px,.35fr) !important;
  align-items:center !important;
  gap:30px !important;
  padding:32px 34px !important;
  text-align:left !important;
  overflow:hidden !important;
}
.identity-card-v2::before{
  content:"" !important;
  position:absolute !important;
  inset:0 auto 0 0 !important;
  width:7px !important;
  background:var(--red) !important;
}
.identity-primary{
  display:flex !important;
  align-items:center !important;
  gap:22px !important;
  min-width:0 !important;
}
.identity-avatar-wrap{
  margin:0 !important;
  flex:0 0 auto !important;
}
.identity-avatar{
  width:112px !important;
  height:112px !important;
  border-radius:28px !important;
  box-shadow:0 18px 42px rgba(0,0,0,.08) !important;
}
.identity-copy{
  min-width:0 !important;
}
.identity-kicker{
  margin:0 0 7px !important;
}
.identity-card-v2 h2{
  margin:0 0 4px !important;
  font-size:clamp(32px,3vw,48px) !important;
  line-height:.98 !important;
  letter-spacing:-.055em !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.identity-handle{
  margin:0 !important;
  font-size:13px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.identity-stat-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:11px !important;
  min-width:0 !important;
}
.identity-stat-grid > div{
  min-height:84px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:7px !important;
  padding:14px 15px !important;
  border-radius:18px !important;
  background:#f6f6f8 !important;
  border:1px solid rgba(20,20,24,.035) !important;
}
.identity-stat-grid span{
  color:#777 !important;
  font-size:11px !important;
  line-height:1.2 !important;
}
.identity-stat-grid strong{
  color:#17171b !important;
  font-size:20px !important;
  line-height:1.05 !important;
  overflow-wrap:anywhere !important;
}
.identity-dashboard-action{
  width:auto !important;
  min-width:145px !important;
  margin:0 !important;
  padding:15px 18px !important;
  justify-content:space-between !important;
  gap:18px !important;
  border-radius:18px !important;
  box-shadow:0 18px 38px rgba(239,35,60,.20) !important;
}
.identity-dashboard-action b{
  font-size:20px !important;
}

/* Keep all home cards inside the viewport. */
.home-tools-section,
.visual-card,
.momentum-card,
.identity-card-v2{
  box-sizing:border-box !important;
}
.home-tools-grid{
  align-items:stretch !important;
}
.home-tool-card{
  overflow:hidden !important;
}
.home-tool-card > div:nth-child(2){
  min-width:0 !important;
}

/* Tablet */
@media(max-width:1250px){
  .overview-grid{
    grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr) !important;
  }
  .identity-card-v2{
    grid-template-columns:minmax(260px,.9fr) minmax(0,1.4fr) !important;
  }
  .identity-dashboard-action{
    grid-column:1 / -1 !important;
    justify-self:stretch !important;
    width:100% !important;
  }
}

@media(max-width:950px){
  .overview-grid{
    grid-template-columns:1fr !important;
  }
  .visual-card,
  .momentum-card,
  .identity-card-v2{
    grid-column:auto !important;
  }
  .identity-card-v2{
    grid-template-columns:1fr !important;
    gap:22px !important;
    padding:28px !important;
  }
  .identity-primary{
    align-items:center !important;
  }
  .identity-stat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .identity-dashboard-action{
    width:100% !important;
  }
  .momentum-card{
    min-height:500px !important;
  }
}

/* Phone */
@media(max-width:700px){
  .top-actions{
    gap:8px !important;
  }
  .profile-pill{
    max-width:148px !important;
    padding-right:11px !important;
  }
  .profile-pill-logo{
    width:28px !important;
    height:28px !important;
    flex-basis:28px !important;
  }
  .identity-card-v2{
    padding:22px 20px !important;
    border-radius:24px !important;
  }
  .identity-primary{
    align-items:flex-start !important;
    gap:15px !important;
  }
  .identity-avatar{
    width:78px !important;
    height:78px !important;
    border-radius:21px !important;
  }
  .identity-card-v2 h2{
    font-size:31px !important;
    white-space:normal !important;
  }
  .identity-handle{
    white-space:normal !important;
  }
  .identity-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }
  .identity-stat-grid > div{
    min-height:72px !important;
    padding:12px !important;
    border-radius:15px !important;
  }
  .identity-stat-grid strong{
    font-size:18px !important;
  }
  .identity-dashboard-action{
    min-width:0 !important;
    border-radius:15px !important;
  }
  .momentum-card{
    min-height:auto !important;
    padding:21px !important;
  }
  .momentum-visual-v2{
    height:200px !important;
    flex-basis:200px !important;
  }
  .momentum-ring{
    width:158px !important;
    height:158px !important;
  }
  .momentum-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
  }
  .momentum-metric{
    padding:11px 8px !important;
  }
  .momentum-metric b{
    font-size:18px !important;
  }
  .home-tools-heading{
    align-items:center !important;
  }
  .section-corner-logo{
    width:34px !important;
    height:34px !important;
  }
}
