.pc-site-header{background:#fff;border-bottom:1px solid #dde3eb;padding:18px 5vw;display:flex;align-items:center;justify-content:space-between;gap:24px}.pc-site-brand{font-size:24px;font-weight:800;color:var(--pc-accent);display:flex;align-items:center;gap:10px}.pc-site-brand .custom-logo{max-height:44px;width:auto}.pc-site-header nav ul{display:flex;list-style:none;gap:24px;margin:0;padding:0}.pc-site-header nav a{color:#4d5c72;font-size:14px;font-weight:600}.pc-header-cta,.pc-primary{display:inline-flex;align-items:center;justify-content:center;background:var(--pc-accent);color:#fff;border:0;border-radius:8px;padding:10px 18px;font-weight:700;font-size:13px}.pc-header-cta:hover,.pc-primary:hover{color:#fff;text-decoration:none;filter:brightness(.96)}.pc-site-footer{padding:30px 5vw;border-top:1px solid #dce3ed;color:#728099;font-size:12px;display:flex;justify-content:space-between;gap:20px}.pc-site-footer ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.pcc-shared-site .pc-site-header{font-family:Arial,Helvetica,sans-serif;line-height:1.7;color:#172b4d;position:relative;z-index:50}
.pcc-shared-site .pc-site-brand a{color:var(--pc-accent,#1877f2);text-decoration:none}
.pcc-shared-site .pc-site-header nav{display:block;margin:0;padding:0}
.pcc-shared-site .pc-site-header nav li{margin:0;padding:0;position:relative}
.pcc-shared-site .pc-site-header nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;padding:12px;background:white;border:1px solid #dde3eb;z-index:60;flex-direction:column;gap:10px}
.pcc-shared-site .pc-site-header nav li:hover>.sub-menu,.pcc-shared-site .pc-site-header nav li:focus-within>.sub-menu{display:flex}
.pcc-shared-site .pc-site-footer{font-family:Arial,Helvetica,sans-serif;line-height:1.7;background:#f0f2f5}
.pcc-shared-site .pc-auth-shell{min-height:65vh}
.pcc-community-shell .app{display:grid;grid-template-columns:239px minmax(0,1fr);padding-top:0;min-height:70vh;align-items:start}
.pcc-community-shell .community-toolbar{grid-column:1/-1;position:static;inset:auto;width:100%;height:auto;min-height:64px;display:flex;flex-wrap:wrap;justify-content:space-between;padding:12px 20px;gap:12px}
.pcc-community-shell .social-logo,.pcc-community-shell .topbar-tabs{display:none}
.pcc-community-shell .topbar-brand{width:auto;flex:1;min-width:0}
.pcc-community-shell .social-search{width:100%;max-width:400px;margin:0}
.pcc-community-shell .social-tools{width:auto;flex-shrink:0;margin:0}
.pcc-community-shell .sidebar{position:sticky;inset:auto;top:0;width:239px;height:auto;max-height:100vh;overflow:auto;grid-column:1;grid-row:2}
.pcc-community-shell .shell{grid-column:2;grid-row:2;margin:0;width:100%;min-width:0}
@media(max-width:1000px){.pcc-community-shell .app{grid-template-columns:minmax(0,1fr)}.pcc-community-shell .sidebar{display:none}.pcc-community-shell .sidebar.mobile-open{display:flex;position:relative;inset:auto;grid-column:1;grid-row:2;width:100%;max-height:none;box-shadow:none}.pcc-community-shell .shell{grid-column:1;grid-row:3}}
@media(max-width:760px){.pcc-shared-site .pc-site-header{flex-wrap:wrap;padding:15px 20px;gap:18px}.pcc-shared-site .pc-site-header nav{order:3;width:100%}.pcc-shared-site .pc-site-header nav ul{gap:18px;flex-wrap:wrap}.pcc-shared-site .pc-site-brand{font-size:22px}.pcc-shared-site .pc-site-footer{flex-wrap:wrap;padding:25px 20px}.pcc-community-shell .community-toolbar{padding:12px;gap:10px}.pcc-community-shell .topbar-brand{flex-basis:100%}.pcc-community-shell .social-tools{justify-content:flex-end;width:100%}}

.sidebar nav .community-discussion-link{display:flex;align-items:center;gap:12px;padding:13px 12px;margin-bottom:7px;color:#4d5c72;font-size:13px;border-radius:8px}.sidebar nav .community-discussion-link.active{background:#eaf3ed;color:#195544}

.pcc-community-shell .community-toolbar .social-search{display:flex;flex:1;min-width:160px;width:auto}.pcc-community-shell .community-toolbar .social-tools{flex:0 0 auto}

/* Mobile polish: one site menu, comfortable touch targets, compact content tools. */
.pcs-menu-toggle{display:none}
@media(max-width:760px){
.pcc-shared-site .pc-site-header{gap:8px;padding:12px 16px}
.pcc-shared-site .pc-site-brand{font-size:20px;flex:1;min-width:0}
.pcc-shared-site .pc-site-brand .custom-logo{max-width:130px;max-height:40px;object-fit:contain}
.pcc-shared-site .pc-header-cta{order:1;padding:10px 12px;min-height:44px;font-size:12px;white-space:nowrap}
.pcc-shared-site .pcs-menu-toggle{display:inline-flex;order:2;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;border:1px solid #dde3eb;border-radius:10px;background:#f4f6f9;color:#172b4d}
.pcc-shared-site .pc-site-header nav{order:3;width:100%}
.pcc-shared-site .pcs-nav-ready:not(.pcs-menu-open) nav{display:none}
.pcc-shared-site .pcs-menu-open nav{display:block;border-top:1px solid #e2e7ef;padding-top:10px;margin-top:4px}
.pcc-shared-site .pc-site-header nav ul{flex-direction:column;gap:2px}
.pcc-shared-site .pc-site-header nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:8px}
.pcc-shared-site .pc-site-header nav .sub-menu{position:static;min-width:0;margin-left:12px;border:0}
.pcc-community-shell .community-toolbar{min-height:0;padding:12px 16px;gap:10px;align-content:center}
.pcc-community-shell .community-toolbar .social-search{flex-basis:100%;min-height:44px;background:#fff;border:1px solid #dce3eb;border-radius:12px;padding:0 12px}
.pcc-community-shell .community-toolbar .social-search input{font-size:16px;width:100%;min-width:0}
.pcc-community-shell .community-toolbar .social-tools{display:flex;gap:8px;justify-content:flex-end;width:100%}
.pcc-community-shell .community-toolbar .round-button,.pcc-community-shell .community-toolbar .profile-button{min-width:44px;width:44px;min-height:44px;height:44px}
.pcc-community-shell .shell main{padding:20px 16px}
.pcc-community-shell .title-row{margin-bottom:22px;padding-top:0}
.pcc-community-shell .title-row h1{font-size:25px;line-height:1.25}
.pcc-community-shell .panel,.pcc-community-shell .post{border-radius:14px}
.pcc-community-shell input,.pcc-community-shell select,.pcc-community-shell textarea,.pcc-shared-site .pc-auth-card input:not([type=checkbox]){font-size:16px}
.pcc-community-shell .sidebar.mobile-open{padding:12px 16px;border-bottom:1px solid #dce3eb}
.pcc-community-shell .sidebar nav button,.pcc-community-shell .sidebar nav a{min-height:44px}
.pcc-shared-site .pc-auth-shell{padding:28px 16px;min-height:65vh}
.pcc-shared-site .pc-site-footer{padding:24px 16px;gap:12px}
}

@media(max-width:760px){.pcc-community-shell .join-classes-block{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:16px}.pcc-community-shell .join-classes-icon{width:44px;height:44px}.pcc-community-shell .join-classes-block h2{white-space:nowrap;text-align:left}.pcc-community-shell .join-classes-block p{text-align:left;font-size:13px}.pcc-community-shell .join-classes-button{grid-column:1/-1;width:100%;margin:0;min-height:44px}.pcc-community-shell .feed-tabs button{min-height:44px}}
@media(min-width:761px){.pcc-shared-site .pc-site-header{flex-wrap:wrap;gap:12px 24px;padding-top:16px;padding-bottom:12px}.pcc-shared-site .pc-site-header nav{order:3;width:100%;border-top:1px solid #e7ebf1;padding-top:8px}.pcc-shared-site .pc-site-header nav>ul{flex-wrap:wrap;gap:4px 16px}.pcc-shared-site .pc-site-header nav a{display:inline-flex;align-items:center;min-height:40px;padding:6px 0;font-size:13px}.pcc-shared-site .pc-header-cta{margin-left:auto}}

@media(min-width:761px){.pcc-shared-site .pc-site-header nav>ul{justify-content:center}.pcc-shared-site .pc-site-header nav{text-align:center}.pcc-shared-site .pc-site-header nav .sub-menu{text-align:left}}

/* One desktop row: brand, centred feature links, classes action. */
@media(min-width:1181px){.pcc-shared-site .pc-site-header{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,auto) minmax(150px,1fr);align-items:center;gap:18px;padding:16px 3vw;flex-wrap:nowrap}.pcc-shared-site .pc-site-header nav{order:initial;width:auto;border:0;padding:0;text-align:center;min-width:0}.pcc-shared-site .pc-site-header nav>ul{flex-wrap:nowrap;gap:14px;justify-content:center}.pcc-shared-site .pc-site-header nav a{font-size:12px;white-space:nowrap}.pcc-shared-site .pc-site-brand{font-size:22px}.pcc-shared-site .pc-header-cta{justify-self:end;margin:0;white-space:nowrap;padding:10px 14px}}
@media(min-width:761px) and (max-width:1180px){.pcc-shared-site .pc-site-header{gap:8px;padding:12px 20px}.pcc-shared-site .pc-site-brand{flex:1;min-width:0}.pcc-shared-site .pc-header-cta{order:1;margin:0;min-height:44px}.pcc-shared-site .pcs-menu-toggle{display:inline-flex;order:2;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #dde3eb;border-radius:10px;background:#f4f6f9;color:#172b4d}.pcc-shared-site .pc-site-header nav{order:3;width:100%}.pcc-shared-site .pcs-nav-ready:not(.pcs-menu-open) nav{display:none}.pcc-shared-site .pcs-menu-open nav{display:block}.pcc-shared-site .pc-site-header nav>ul{justify-content:center;flex-wrap:wrap}}
.pcs-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;order:1}.pcs-account-trigger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #dce3eb;border-radius:10px;color:#1877f2;background:#fff}@media(min-width:1181px){.pcs-header-actions{order:initial;justify-self:end;margin:0}}@media(max-width:760px){.pcs-account-trigger{display:none}.pcs-header-actions{order:1;margin:0}}
