/* ==========================================================
   FIRM SOCIETY
   Main Stylesheet
========================================================== */


/* ==========================================================
   GLOBAL
========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f5f9;
    color: #142d50;
}

[hidden] {
    display: none !important;
}


/* ==========================================================
   AUTHENTICATION STATE
========================================================== */

.logged-in-only {
    display: none;
}

body.authenticated .logged-in-only {
    display: block;
}

body.authenticated .logged-out-only {
    display: none;
}

body.auth-loading .logged-in-only,
body.auth-loading .logged-out-only {
    visibility: hidden;
}


/* ==========================================================
   HEADER
========================================================== */

header {
    height: 72px;

    display: flex;
    align-items: center;

    gap: 45px;

    padding: 8px 26px;

    background: #2868b8;
    color: #fff;
}


/* ==========================================================
   HEADER BRAND
========================================================== */

.brand {
    display: flex;
    align-items: center;

    min-width: 300px;
}

.brand img {
    width: 52px;
    height: 52px;

    margin-right: 12px;

    object-fit: contain;

    border-radius: 9px;
}

.brand b {
    display: block;

    font-size: 25px;
    line-height: 1.05;

    letter-spacing: 1px;
}

.brand small {
    display: block;

    margin-top: 3px;

    color: rgba(255, 255, 255, .85);

    font-size: 10px;
    letter-spacing: .25px;
}


/* ==========================================================
   SEARCH
========================================================== */

.search {
    flex: 1;

    width: 100%;
    max-width: 510px;

    padding: 13px 18px;

    border: 0;
    border-radius: 7px;

    outline: none;

    background: #fff;
    color: #142d50;

    font-size: 14px;
}

.search::placeholder {
    color: #71839a;
}

.search:focus {
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, .25);
}


/* LOGGED OUT SEARCH */

body:not(.authenticated) .search {
    background: #f5f7f9;
    color: #9aa8b7;

    cursor: default;
    pointer-events: none;
}

body:not(.authenticated) .search::placeholder {
    color: #9aa8b7;
}


/* ==========================================================
   AUTH AREA
========================================================== */

.auth-nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 145px;
}


/* ==========================================================
   LOGIN BUTTON
========================================================== */

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 100px;
    height: 40px;

    padding: 0 20px;

    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 6px;

    background: rgba(255, 255, 255, .08);
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .15s ease,
        border-color .15s ease;
}

.login-button:hover {
    background: rgba(255, 255, 255, .18);
    border-color: #fff;
}


/* ==========================================================
   LOGGED-IN USER
========================================================== */

.user-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.user-profile {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 52px;

    padding: 4px 6px;

    border-radius: 7px;

    color: #fff;
}

.user-picture {
    display: block;

    width: 44px;
    height: 44px;

    min-width: 44px;

    object-fit: cover;

    border: 2px solid rgba(255, 255, 255, .90);
    border-radius: 50%;

    background: rgba(255, 255, 255, .20);
}

.user-details {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    line-height: 1.15;
}

.user-name {
    overflow: hidden;

    max-width: 150px;

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-access-row {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-top: 4px;
}

.user-access {
    color: rgba(255, 255, 255, .82);

    font-size: 11px;

    white-space: nowrap;
}

.user-arrow {
    position: relative;

    top: -1px;

    color: rgba(255, 255, 255, .82);

    font-size: 11px;

    line-height: 1;
}


/* ==========================================================
   LOGOUT BUTTON
========================================================== */

.logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 38px;

    margin-left: 14px;
    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 6px;

    background: rgba(255, 255, 255, .10);
    color: #fff;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background .15s ease,
        border-color .15s ease;
}

.logout-button:hover {
    background: rgba(255, 255, 255, .20);
    border-color: #fff;
}


/* ==========================================================
   PAGE LAYOUT
========================================================== */

.layout {
    display: grid;

    grid-template-columns: 210px minmax(0, 1fr);

    min-height: calc(100vh - 72px);
}


/* ==========================================================
   SIDEBAR
========================================================== */

aside {
    min-width: 0;

    padding: 18px 12px;

    background:
        linear-gradient(
            #0d4f93,
            #083f76
        );

    color: #fff;
}


/* ==========================================================
   SIDEBAR NAVIGATION
========================================================== */

.main-nav {
    display: block;

    width: 100%;
}

.main-nav a {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;

    margin: 2px 0;
    padding: 0 13px;

    border-radius: 6px;

    color: #fff;

    font-size: 14px;
    font-weight: 400;

    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease,
        opacity .15s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, .10);
}

.main-nav a.active {
    background: #2871c4;
}


/* SIDEBAR ICON */

.main-nav .nav-icon {
    width: 32px;
    min-width: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 8px;

    color: inherit;

    font-size: 22px;
    line-height: 1;

    text-align: center;
}


/* SIDEBAR LABEL */

.main-nav .nav-label {
    display: block;

    min-width: 0;

    color: inherit;

    font-size: 14px;
    line-height: 1.1;

    white-space: nowrap;
}


/* ==========================================================
   LOGGED OUT SIDEBAR
========================================================== */

body:not(.authenticated) .main-nav a {
    color: rgba(255, 255, 255, .48);

    cursor: default;
    pointer-events: none;
}

body:not(.authenticated) .main-nav a.active {
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
}


/* ==========================================================
   LOGGED IN SIDEBAR
========================================================== */

body.authenticated .main-nav a {
    color: #fff;

    cursor: pointer;
    pointer-events: auto;
}

body.authenticated .main-nav a:hover {
    background: rgba(255, 255, 255, .10);
}

body.authenticated .main-nav a.active {
    background: #2871c4;
}

body.authenticated .main-nav a.active:hover {
    background: #2871c4;
}


/* ==========================================================
   SIDEBAR BRAND
========================================================== */

.side-logo {
    margin-top: 110px;

    text-align: center;
}

.side-logo img {
    display: block;

    width: 70px;

    margin: 0 auto 10px;
}

.side-logo b {
    display: block;

    margin-top: 8px;

    font-size: 14px;
}

.side-logo small {
    display: block;

    margin-top: 8px;

    color: rgba(255, 255, 255, .78);

    font-size: 9px;
    line-height: 1.55;
}


/* ==========================================================
   SIDEBAR QUOTE
========================================================== */

blockquote {
    margin: 50px 8px 0;

    font-size: 14px;
    font-style: italic;

    line-height: 1.55;
}

blockquote small {
    color: rgba(255, 255, 255, .75);
}


/* ==========================================================
   MAIN
========================================================== */

main {
    min-width: 0;
}


/* ==========================================================
   HERO
========================================================== */

.hero {
    height: 210px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 65px 42px 25px;

    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(5, 34, 65, .75),
            rgba(5, 34, 65, .15)
        ),
        url(
            "https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80"
        )
        center / cover;
}

.hero h1 {
    margin: 0;

    font-size: 40px;
    line-height: 1.05;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, .8);
}

.hero p {
    margin-bottom: 0;

    font-size: 18px;
}

.hero em {
    font-family: cursive;

    font-size: 24px;

    text-align: right;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, .7);
}


/* ==========================================================
   QUICK ACTIONS
========================================================== */

.actions {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 12px;

    padding: 12px 16px;
}

.actions button {
    min-width: 0;
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 12px 16px;

    border: 0;
    border-radius: 5px;

    color: #fff;

    text-align: left;

    cursor: pointer;

    transition:
        filter .15s ease,
        opacity .15s ease;
}

.actions button:hover {
    filter: brightness(1.05);
}

.action-leads {
    background: #1976d2;
}

.action-opportunity {
    background: #39a05c;
}

.action-members {
    background: #df8d30;
}

.action-groups {
    background: #7046cc;
}

.action-icon {
    width: 42px;
    min-width: 42px;

    font-size: 36px;
    line-height: 1;

    text-align: center;
}

.action-copy {
    display: block;

    min-width: 0;
}

.action-copy b {
    display: block;

    font-size: 16px;
}

.action-copy small {
    display: block;

    margin-top: 4px;

    font-size: 12px;
    font-weight: normal;
}


/* LOGGED OUT ACTIONS */

body:not(.authenticated) .actions button {
    background: #9eabb8;
    color: rgba(255, 255, 255, .80);

    cursor: default;
    pointer-events: none;
}


/* ==========================================================
   CONTENT GRID
========================================================== */

.content {
    display: grid;

    grid-template-columns:
        minmax(500px, 2fr)
        minmax(280px, .8fr);

    gap: 14px;

    padding: 0 16px;
}


/* ==========================================================
   CARDS
========================================================== */

.composer,
article,
.panel,
.empty-feed {
    margin-bottom: 14px;
    padding: 15px;

    border: 1px solid #dce4ed;
    border-radius: 6px;

    background: #fff;

    box-shadow:
        0 1px 3px #ccd6e0;
}


/* ==========================================================
   COMPOSER
========================================================== */

.composer-top {
    display: flex;
    align-items: center;

    gap: 12px;
}

.composer-avatar {
    width: 46px;
    height: 46px;

    min-width: 46px;

    overflow: hidden;

    border-radius: 50%;

    background: #dbe4ed;
}

.composer-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.composer input {
    flex: 1;

    min-width: 0;

    padding: 15px;

    border: 1px solid #dce4ed;
    border-radius: 5px;

    outline: none;

    background: #f5f8fb;
    color: #142d50;

    font-size: 14px;
}

.composer input:focus {
    border-color: #1976d2;
}

.composer-actions {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 10px;
}

.composer-tool {
    padding: 8px 10px;

    border: 0;

    background: transparent;
    color: #2569b4;

    font-size: 13px;

    cursor: pointer;
}

.post-button {
    min-width: 90px;

    margin-left: auto;
    padding: 9px 18px;

    border: 0;
    border-radius: 4px;

    background: #1976d2;
    color: #fff;

    cursor: pointer;
}


/* LOGGED OUT COMPOSER */

body:not(.authenticated) .composer {
    opacity: .72;
}

body:not(.authenticated) .composer input {
    color: transparent;

    cursor: default;
    pointer-events: none;
}

body:not(.authenticated) .composer input::placeholder {
    color: transparent;
}

body:not(.authenticated) .composer-tool {
    color: #9aaabd;

    cursor: default;
    pointer-events: none;
}

body:not(.authenticated) .post-button {
    background: #c4cfda;
    color: #fff;

    cursor: default;
    pointer-events: none;
}


/* ==========================================================
   EMPTY LOGGED-OUT FEED
========================================================== */

.empty-feed {
    min-height: 500px;

    background: #fff;
}


/* ==========================================================
   FEED POSTS
========================================================== */

article h3 {
    margin: 0;

    color: #172d4c;
}

article h3 small,
article small,
.panel small {
    display: block;

    margin-top: 4px;

    color: #6380a0;

    font-size: 12px;
    font-weight: normal;
}

article p {
    line-height: 1.45;
}

.tags {
    display: inline-block;

    padding: 8px 12px;

    border-radius: 18px;

    background: #edf5fd;
    color: #2363a8;

    font-size: 12px;
}

article footer {
    margin-top: 16px;

    color: #2569b4;
}

article footer span {
    float: right;
}


/* ==========================================================
   PHOTO STRIP
========================================================== */

.photo-strip {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 5px;
}

.photo-strip div {
    height: 85px;

    border-radius: 3px;

    background:
        linear-gradient(
            135deg,
            #aeb8c1,
            #5b6874
        );
}


/* ==========================================================
   RIGHT PANELS
========================================================== */

.panel h3 {
    margin-top: 0;

    color: #172d4c;
}

.panel h3 a {
    float: right;

    color: #1671d3;

    font-size: 12px;
    font-weight: normal;

    text-decoration: none;
}

.panel p {
    margin: 0;
    padding: 9px 0;

    border-bottom: 1px solid #e5ebf2;
}

.panel p:last-child {
    border-bottom: 0;
}

.panel button {
    float: right;

    padding: 8px 14px;

    border: 0;
    border-radius: 4px;

    background: #1976d2;
    color: #fff;

    cursor: pointer;
}


/* ==========================================================
   LOGGED OUT RIGHT PANEL LINKS
========================================================== */

body:not(.authenticated) .panel h3 a {
    color: #b1bdc9;

    cursor: default;
    pointer-events: none;
}


/* ==========================================================
   SKELETON PLACEHOLDERS
========================================================== */

.skeleton-list {
    padding-top: 4px;
}

.skeleton-row,
.skeleton-member {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 52px;
}

.skeleton-row i,
.skeleton-member i {
    display: block;

    width: 38px;
    height: 38px;

    min-width: 38px;

    border-radius: 5px;

    background: #dce5ed;
}

.skeleton-row i.circle,
.skeleton-member i {
    border-radius: 50%;
}

.skeleton-row span,
.skeleton-member span {
    position: relative;

    display: block;

    width: 65%;
    height: 10px;

    border-radius: 5px;

    background: #e1e7ed;
}

.skeleton-row span::after,
.skeleton-member span::after {
    content: "";

    position: absolute;

    top: 17px;
    left: 0;

    width: 60%;
    height: 8px;

    border-radius: 5px;

    background: #e8edf2;
}

.skeleton-member button {
    width: 68px;
    height: 30px;

    margin-left: auto;

    border: 0;
    border-radius: 4px;

    background: #dce5ed;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    header {
        gap: 20px;
    }

    .brand {
        min-width: 240px;
    }

    .brand b {
        font-size: 21px;
    }

    .search {
        max-width: 400px;
    }

    .user-name {
        max-width: 110px;
    }

    .actions button {
        padding-left: 12px;
        padding-right: 12px;
    }

    .action-icon {
        width: 34px;
        min-width: 34px;

        font-size: 30px;
    }

}


/* ==========================================================
   SMALL TABLET
========================================================== */

@media (max-width: 900px) {

    .layout {
        grid-template-columns: 70px minmax(0, 1fr);
    }


    /* HEADER */

    header {
        gap: 14px;

        padding-left: 12px;
        padding-right: 12px;
    }

    .brand {
        min-width: auto;
    }

    .brand div {
        display: none;
    }

    .brand img {
        margin-right: 0;
    }


    /* USER */

    .auth-nav {
        min-width: auto;
    }

    .user-details {
        display: none;
    }

    .user-profile {
        padding: 2px;
    }

    .user-picture {
        width: 42px;
        height: 42px;

        min-width: 42px;
    }

    .logout-button {
        margin-left: 8px;

        padding: 0 10px;

        font-size: 11px;
    }


    /* SIDEBAR */

    aside {
        padding-left: 8px;
        padding-right: 8px;
    }

    .main-nav a {
        justify-content: center;

        padding-left: 0;
        padding-right: 0;
    }

    .main-nav .nav-icon {
        width: auto;
        min-width: 0;

        justify-content: center;

        margin-right: 0;
    }

    .main-nav .nav-label {
        display: none;
    }

    .side-logo,
    blockquote {
        display: none;
    }


    /* HERO */

    .hero h1 {
        font-size: 30px;
    }


    /* ACTIONS */

    .actions {
        grid-template-columns: 1fr 1fr;
    }


    /* CONTENT */

    .content {
        grid-template-columns: 1fr;
    }

    .right {
        display: none;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 650px) {

    header {
        height: 64px;

        gap: 8px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .search {
        min-width: 0;

        padding: 10px 12px;
    }

    .login-button {
        min-width: 70px;
        height: 38px;

        padding: 0 12px;
    }

    .logout-button {
        height: 36px;

        margin-left: 6px;
        padding: 0 9px;
    }

    .layout {
        min-height: calc(100vh - 64px);
    }

    .hero {
        height: 190px;

        padding: 40px 24px 20px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero em {
        display: none;
    }

    .actions {
        grid-template-columns: 1fr;

        padding: 10px;
    }

    .content {
        padding: 0 10px;
    }

    .composer-actions {
        flex-wrap: wrap;
    }

    .post-button {
        margin-left: 0;
    }

    article footer span {
        float: none;

        display: block;

        margin-top: 10px;
    }

}

/* Role-based administration navigation */
.role-nav {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.role-nav-heading {
    display: block;
    padding: 0 14px 8px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

/* ==========================================================
   PRO MEMBERSHIP
========================================================== */
.pro-feature { position: relative; }
.pro-feature-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    /* Keep the badge background consistent with the navigation itself. */
    background: transparent;
    color: #f2c94c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
}
.pro-feature:not(.pro-unlocked) {
    opacity: .78;
    cursor: default;
    pointer-events: none;
}
/* Locked Pro items must not react visually to mouse hover. */
.pro-feature:not(.pro-unlocked):hover {
    background: inherit !important;
    color: inherit !important;
}
.pro-feature.pro-unlocked .pro-feature-badge,
.pro-feature.super-admin-pro-bypass .pro-feature-badge { display: none; }
.pro-user-label { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #f2c94c; }
.pro-crown { color: inherit; text-shadow: 0 1px 1px rgba(0,0,0,.2); }
.access-separator { opacity: .55; margin: 0 4px; }
.user-access { display: inline-flex; align-items: center; gap: 2px; }

/* Header Pro messaging shortcut */
.header-message-link{position:relative;display:none;align-items:center;justify-content:center;width:42px;height:42px;color:#fff;text-decoration:none;border-radius:10px;margin-right:8px}
body.pro-member .header-message-link,body.super-admin-user .header-message-link{display:inline-flex}
.header-message-link:hover{background:rgba(255,255,255,.12)}
.header-message-icon{width:25px;height:22px;border:2px solid currentColor;border-radius:6px;position:relative}
.header-message-icon:after{content:"";position:absolute;left:4px;bottom:-6px;width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:skewY(-35deg);background:#2868b8}
.message-count{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef3434;color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center}

/* Saved home feed */
.composer textarea{flex:1;min-width:0;min-height:64px;resize:vertical;padding:14px;border:1px solid #dce4ed;border-radius:7px;background:#f5f8fb;color:#142d50;font:inherit}.composer textarea:focus{outline:none;border-color:#1976d2}.composer-avatar{display:grid;place-items:center;color:#2868b8;font-weight:700}.home-post-attachment,.home-post-message{margin:8px 0 0 58px;font-size:12px;color:#58708f}.home-feed-card{position:relative}.home-post-head{display:flex;align-items:center;gap:10px}.home-post-head img,.home-post-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}.home-post-avatar{display:grid;place-items:center;background:#e6eef8;font-weight:700}.home-post-head small{display:block;margin-top:2px;color:#71839a}.home-item-menu{margin-left:auto;position:relative}.home-dots{border:0;background:transparent;font-size:18px;cursor:pointer}.home-dots-menu{position:absolute;right:0;top:28px;z-index:5;min-width:120px;padding:5px;background:#fff;border:1px solid #dce4ed;border-radius:6px;box-shadow:0 4px 14px #0002}.home-dots-menu button{width:100%;padding:8px;border:0;background:#fff;text-align:left;cursor:pointer}.home-post-media{display:block;max-width:100%;max-height:520px;margin-top:10px;border-radius:8px}.home-reaction-summary{border:0;background:transparent;color:#536b88;cursor:pointer}.home-post-actions{display:flex;gap:18px;border-top:1px solid #e7edf4;margin-top:9px;padding-top:8px}.home-post-action{border:0;background:transparent;color:#355a84;cursor:pointer;padding:6px}.home-reaction-wrap{position:relative}.home-reaction-picker{display:none;position:absolute;bottom:36px;left:0;padding:5px;border:1px solid #dce4ed;border-radius:22px;background:#fff;box-shadow:0 4px 16px #0002;white-space:nowrap;z-index:5}.home-reaction-wrap:hover .home-reaction-picker,.home-reaction-wrap:focus-within .home-reaction-picker{display:block}.home-reaction-picker button{border:0;background:transparent;font-size:22px;cursor:pointer}.home-replies{margin:8px 0 0 22px}.home-reply{display:flex;gap:8px;align-items:flex-start;padding:6px 0}.home-reply-main{flex:1;background:#f2f6fa;border-radius:10px;padding:8px 10px}.home-reply-main b{display:block;font-size:12px}.home-reply-box,.home-edit-box{display:flex;gap:6px;margin-top:7px}.home-reply-box input,.home-edit-box input,.home-edit-box textarea{flex:1;padding:8px;border:1px solid #ccd8e5;border-radius:6px}.home-reactors-modal{position:fixed;inset:0;background:#0006;display:grid;place-items:center;z-index:9999}.home-reactors-dialog{width:min(430px,92vw);max-height:70vh;overflow:auto;background:#fff;border-radius:10px;padding:16px}.home-reactor{display:flex;align-items:center;gap:10px;padding:8px 0}.home-reactor img{width:34px;height:34px;border-radius:50%}.home-reactor em{margin-left:auto;font-style:normal}

/* Keep Home reaction tray open across the pointer travel area. */
.home-reaction-wrap{padding-top:10px;margin-top:-10px}
.home-reaction-picker{bottom:calc(100% - 10px);display:none}
.home-reaction-picker::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.home-reaction-wrap:hover .home-reaction-picker,.home-reaction-wrap:focus-within .home-reaction-picker{display:flex}

/* Keep Home reaction tray open across the pointer travel area. */
.home-reaction-wrap{padding-top:10px;margin-top:-10px}
.home-reaction-picker{bottom:calc(100% - 10px);display:none}
.home-reaction-picker::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.home-reaction-wrap:hover .home-reaction-picker,.home-reaction-wrap:focus-within .home-reaction-picker{display:flex}

.home-feed-controls{display:flex;align-items:center;gap:10px;margin:12px 0;padding:10px;background:#fff;border:1px solid #e0e7ef;border-radius:8px}.home-feed-search{flex:1}.home-feed-search input{width:100%;padding:10px 12px;border:1px solid #cfd9e5;border-radius:7px;font:inherit;color:#17365d}.home-feed-search input:focus{outline:none;border-color:#1976d2}.home-feed-tabs{display:flex;gap:5px}.home-feed-tabs button{padding:9px 13px;border:1px solid #d7e0ea;border-radius:7px;background:#f7f9fc;color:#365777;font-weight:600;cursor:pointer}.home-feed-tabs button.active{background:#1976d2;border-color:#1976d2;color:#fff}@media(max-width:620px){.home-feed-controls{align-items:stretch;flex-direction:column}.home-feed-tabs button{flex:1}.home-feed-tabs{display:flex}}

/* Settings navigation */
.settings-nav-group{display:block}.settings-nav-group .settings-nav-parent{margin-bottom:0}.settings-nav-group .settings-nav-child{margin:0 0 2px 27px;padding:8px 12px;font-size:13px;border-left:2px solid #d6e3ef;border-radius:0 5px 5px 0}.settings-nav-group .settings-nav-child .nav-icon{font-size:12px}.settings-nav-group .settings-nav-child.active{border-left-color:#1772c9;background:#edf6ff}
