:root {
    --blue: #4263ef;
    --ink: #20283e;
    --muted: #8c94a5;
    --red: #f26c68;
    --line: #eef0f5;
    --surface: #f6f8fc;
    --white: #fff;
    --radius: 20px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--surface);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5
}

button, input, textarea, select {
    font: inherit
}

button {
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit
}

button, a, input, textarea, select {
    -webkit-tap-highlight-color: transparent
}

button:focus-visible, a:focus-visible {
    outline: 3px solid #94a8ff;
    outline-offset: 4px
}

button:hover {
    filter: brightness(.97)
}

a {
    color: inherit;
    text-decoration: none
}

svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0
}

[data-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

[hidden] {
    display: none !important
}

.sidebar {
    width: 228px;
    position: fixed;
    inset: 0 auto 0 0;
    background: white;
    border-right: 1px solid var(--line);
    padding: 35px 20px 20px;
    display: flex;
    flex-direction: column;
    z-index: 6
}

.brand {
    font-weight: 800;
    font-size: 31px;
    letter-spacing: -1.3px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 12px
}

.brand-dot {
    color: var(--blue);
    margin-left: -10px
}

.logo-mark {
    width: 30px;
    height: 30px;
    border: 6px solid var(--blue);
    border-radius: 50%;
    position: relative;
    transform: rotate(-30deg);
    display: block
}

.logo-mark:after {
    content: '';
    width: 38px;
    height: 12px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    position: absolute;
    left: -10px;
    top: 3px;
    background: white
}

.logo-mark i {
    width: 7px;
    height: 7px;
    border: 2px solid white;
    background: var(--red);
    border-radius: 50%;
    position: absolute;
    right: -8px;
    top: 1px;
    z-index: 1
}

.nav-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #a2a9b7;
    padding-left: 15px;
    margin: 46px 0 19px
}

.sidebar nav {
    display: grid;
    gap: 6px
}

.nav-button {
    display: flex;
    gap: 13px;
    align-items: center;
    text-align: left;
    padding: 14px 15px;
    min-height: 50px;
    color: #7a8396;
    font-size: 14px;
    border-radius: 12px
}

.nav-button svg {
    width: 21px;
    height: 21px
}

.nav-button.active {
    color: var(--blue);
    background: #edf1ff;
    font-weight: 600
}

.nav-button .badge {
    margin-left: auto;
    background: #eff1f6;
    color: #7e879b;
    font-size: 11px;
    border-radius: 6px;
    padding: 1px 6px
}

.nav-button.active .badge {
    background: #dae2ff;
    color: var(--blue)
}

.primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    padding: 12px 19px;
    color: white;
    background: var(--blue);
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    min-height: 43px
}

.create-button {
    margin: 26px 0 0;
    font-size: 12px;
    box-shadow: 0 6px 12px #4263ef15;
    padding: 12px 10px
}

.create-button > span {
    font-size: 21px;
    line-height: 1
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 35px
}

.focus-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 10px;
    width: 100%;
    font-size: 12px
}

.focus-toggle > [data-icon] {
    color: #8490ab
}

.focus-toggle small {
    display: block;
    font-size: 10px;
    color: #9aa2b1;
    margin-top: 2px
}

.switch-knob {
    width: 25px;
    height: 15px;
    border-radius: 20px;
    background: #dce1eb;
    position: relative;
    margin-left: auto;
    flex-shrink: 0
}

.switch-knob:after {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: transform .2s
}

.focus-toggle[aria-pressed=true] .switch-knob {
    background: var(--blue)
}

.focus-toggle[aria-pressed=true] .switch-knob:after {
    transform: translateX(10px)
}

.account {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 23px 3px 0;
    text-align: left
}

.account b {
    font-size: 11px;
    display: block;
    max-width: 115px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.account small {
    font-size: 10px;
    color: var(--muted);
    display: block;
    margin-top: 3px
}

.account > [data-icon] {
    margin-left: auto;
    color: #a4acba
}

.account svg {
    width: 15px
}

.demo-note {
    display: block;
    font-size: 9px;
    color: #aab1be;
    text-align: center;
    margin-top: 15px
}

.avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    background: #e7ebfb;
    color: #5470a6;
    letter-spacing: -.3px
}

.avatar.mine {
    background: #e8edff;
    color: #4462be
}

.avatar.small {
    width: 34px;
    height: 34px;
    font-size: 11px
}

.avatar.coral {
    background: #fae7e2;
    color: #b07469
}

.avatar.blue {
    background: #e0ecf4;
    color: #507d9c
}

.avatar.purple {
    background: #eae6f7;
    color: #8871b0
}

.avatar img {
    width: 100%;
    border-radius: 50%;
}

.shell {
    margin-left: 228px
}

.topbar {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: space-between;
    padding: 0 42px;
    border-bottom: 1px solid var(--line);
    background: #ffffffd9
}

.topbar-title {
    font-size: 14px;
    font-weight: 600
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 340px;
    border-radius: 10px;
    background: #f6f7fb;
    padding: 10px 13px;
    color: #9ba3b4;
    margin-left: auto;
    margin-right: 17px
}

.search-box svg {
    width: 17px;
    height: 17px
}

.search-box input {
    padding: 0;
    margin: 0;
    min-width: 0;
    flex: 1;
    background: none;
    border: 0;
    font-size: 12px;
    outline: none
}

.search-box input::placeholder {
    color: #a0a7b5
}

.search-box kbd {
    font: 11px Arial;
    border: 1px solid #e4e8f1;
    padding: 0 4px;
    border-radius: 4px
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 19px
}

.icon-button {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #828c9e;
    font-size: 25px;
    flex-shrink: 0
}

.notification-button {
    position: relative
}

.notification-button i {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--red);
    border: 2px solid white;
    box-sizing: content-box;
    border-radius: 50%;
    right: 8px;
    top: 5px
}

.bordered {
    border: 1px solid #e4e8f0
}

.secondary {
    border: 1px solid #e3e7ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    min-height: 39px;
    padding: 10px 15px;
    background: white
}

.secondary svg {
    width: 15px;
    height: 15px
}

.secondary[data-action=compose] {
    background: #f3f5ff;
    color: var(--blue);
    border: 0
}

main {
    max-width: 1470px;
    margin: auto;
    padding: 30px 42px 45px
}

.profile-panel {
    background: white;
    border: 1px solid #e8ecf3;
    border-radius: var(--radius);
    overflow: hidden
}

.cover {
    height: 213px;
    background: #b7cbdc url('/office/templete/cover.webp') center 49%/cover no-repeat;
    position: relative
}

.cover:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #173e5712, transparent 60%)
}

.cover-caption {
    position: absolute;
    left: 25px;
    top: 24px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #f8fcff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 5px #31536b55;
    z-index: 1
}

.cover-caption > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: white
}

.cover-coordinates {
    position: absolute;
    bottom: 22px;
    right: 23px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #f3f8fe;
    z-index: 1;
    text-shadow: 0 1px 5px #25485f
}

.profile-body {
    padding: 0 29px;
    position: relative
}

.profile-avatar {
    position: absolute;
    top: -43px;
    left: 27px;
    width: 100px;
    height: 100px;
    border: 6px solid white;
    font-size: 31px;
    background: #dfe7f4 !important;
    color: #547096 !important;
    box-shadow: 0 2px 3px #15315404
}

.online-dot {
    position: absolute;
    right: 2px;
    bottom: 3px;
    width: 15px;
    height: 15px;
    border: 3px solid white;
    background: #68b998;
    border-radius: 50%
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding-top: 18px;
    min-height: 60px
}

.profile-identity {
    margin-top: 9px
}

.name-line {
    display: flex;
    align-items: center;
    gap: 9px
}

h1 {
    font-size: 27px;
    letter-spacing: -.8px;
    margin: 0;
    line-height: 1.3;
    font-weight: 700
}

.verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px
}

.online-label {
    font-size: 10px;
    color: #87ab9c;
    background: #f3faf7;
    border-radius: 5px;
    padding: 2px 6px;
    margin-left: 3px
}

.handle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #949dab;
    font-size: 11px;
    margin-top: 7px
}

.handle svg {
    width: 12px;
    height: 12px
}

.profile-identity p {
    font-size: 14px;
    color: #6e788d;
    margin: 13px 0 23px
}

.profile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0 22px;
    border-top: 1px solid #f0f2f6
}

.profile-stats {
    display: flex;
    align-items: center;
    gap: 23px;
    font-size: 11px;
    color: #9aa2b1
}

.profile-stats button {
    padding: 0;
    color: inherit;
    font-size: inherit
}

.profile-stats b {
    font-size: 15px;
    color: #4a566c;
    margin-right: 4px
}

.interest-list {
    display: flex;
    gap: 6px
}

.interest-list span {
    font-size: 10px;
    color: #8a94a8;
    background: #f5f7fb;
    padding: 5px 9px;
    border-radius: 6px
}

.workspace {
    display: grid;
    grid-template-columns:minmax(0, 1fr) 276px;
    gap: 26px;
    margin-top: 28px;
    align-items: start
}

.feed-column {
    min-width: 0
}

.feed-toolbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e4e9f1;
    margin-bottom: 21px;
    gap: 10px;
    height: 43px
}

.tabs {
    display: flex;
    gap: 25px;
    height: 100%
}

.tabs button {
    height: 100%;
    font-size: 13px;
    color: #99a1b1;
    padding: 0 0 17px;
    position: relative
}

.tabs button.active {
    color: var(--blue);
    font-weight: 600
}

.tabs button.active:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    background: var(--blue);
    height: 2px;
    border-radius: 2px
}

.filter-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 15px;
    font-size: 10px;
    color: #959fb1;
    white-space: nowrap
}

.filter-button svg {
    width: 13px;
    height: 13px
}

.filter-menu {
    position: absolute;
    right: 0;
    top: 36px;
    width: 190px;
    border: 1px solid #e9edf5;
    border-radius: 12px;
    background: white;
    padding: 6px;
    box-shadow: 0 10px 30px #24386412;
    z-index: 3
}

.filter-menu button {
    display: flex;
    width: 100%;
    padding: 10px;
    border-radius: 7px;
    text-align: left;
    font-size: 13px;
    justify-content: space-between
}

.filter-menu button:hover {
    background: #f4f6ff
}

.composer {
    background: white;
    border: 1px solid #e9edf4;
    border-radius: 16px;
    padding: 18px 19px;
    margin-bottom: 18px
}

.composer-top {
    display: flex;
    align-items: center;
    gap: 12px
}

.composer-top > button {
    color: #a0a8b7;
    font-size: 13px;
    text-align: left;
    flex: 1;
    padding: 10px 0
}

.composer-top .avatar {
    width: 35px;
    height: 35px;
    font-size: 11px
}

.composer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f3f7;
    margin-top: 14px;
    padding-top: 13px
}

.composer-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a0a9b8;
    font-size: 10px
}

.composer-hint svg {
    width: 13px;
    height: 13px
}

.composer-bottom .primary {
    font-size: 11px;
    min-height: 32px;
    padding: 8px 13px;
    border-radius: 8px
}

.post {
    background: white;
    border: 1px solid #e9edf4;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
    overflow: hidden
}

.post-head {
    display: flex;
    align-items: center;
    gap: 10px
}

.post-head .avatar {
    width: 37px;
    height: 37px;
    font-size: 11px
}

.post-author {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600
}

.post-author .verified {
    width: 12px;
    height: 12px;
    font-size: 7px
}

.post-meta {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 10px;
    color: #a2abba;
    margin-top: 4px
}

.post-meta svg {
    width: 11px;
    height: 11px
}

.post-menu {
    margin-left: auto;
    position: relative
}

.post-menu summary {
    list-style: none;
    color: #99a2b2;
    cursor: pointer;
    letter-spacing: 2px;
    padding: 8px
}

.post-menu summary::-webkit-details-marker {
    display: none
}

.post-menu > div {
    position: absolute;
    right: 0;
    top: 32px;
    background: white;
    padding: 6px;
    min-width: 175px;
    box-shadow: 0 8px 30px #24386418;
    border: 1px solid var(--line);
    border-radius: 10px;
    z-index: 2
}

.post-menu button {
    display: block;
    font-size: 12px;
    text-align: left;
    width: 100%;
    padding: 9px;
    border-radius: 5px
}

.post-menu button:hover {
    background: #f6f8fc
}

.post p {
    font-size: 15px;
    color: #5d687d;
    line-height: 1.85;
    margin: 19px 0
}

.post-image {
    display: block;
    width: 100%;
    padding: 0;
    border-radius: 11px;
    overflow: hidden;
    background: #dbe5ef;
    position: relative
}

.post-image img {
    width: 100%;
    height: 245px;
    display: block;
    object-fit: cover;
    object-position: center 70%;
    transition: transform .4s
}

.post-image:hover img {
    transform: scale(1.025)
}

.post-image span {
    position: absolute;
    bottom: 13px;
    right: 13px;
    background: #ffffffda;
    backdrop-filter: blur(8px);
    color: #5e7287;
    padding: 5px 8px;
    font-size: 9px;
    border-radius: 6px
}

.post-tags {
    font-size: 11px;
    color: #7790d0;
    margin-top: 16px
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #f0f2f6;
    padding-top: 16px;
    margin-top: 17px
}

.post-actions button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-size: 11px;
    color: #9aa4b5;
    min-height: 24px
}

.post-actions svg {
    width: 18px;
    height: 18px
}

.post-actions button:last-child {
    margin-left: auto
}

.post-actions button.liked {
    color: var(--red)
}

.post-actions button.saved {
    color: var(--blue)
}

.post-actions button.liked svg {
    fill: #fff0ef
}

.post-actions .views {
    font-size: 10px;
    color: #b0b8c6;
    margin-left: auto;
    display: flex;
    gap: 5px;
    align-items: center
}

.post-actions .views svg {
    width: 13px;
    height: 13px
}

.quote-post {
    background: #f3f5ff;
    border-left: 3px solid #a7b7fa;
    border-radius: 0 8px 8px 0;
    padding: 19px 21px;
    margin: 17px 0;
    font-size: 20px;
    letter-spacing: -.4px;
    color: #52658d;
    line-height: 1.5
}

.feed-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 0 10px;
    color: #a1aabc;
    font-size: 11px
}

.feed-end svg {
    width: 15px;
    height: 15px
}

.right-column {
    display: grid;
    gap: 18px
}

.card {
    background: white;
    border: 1px solid #e9edf4;
    border-radius: 16px;
    padding: 21px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px
}

.section-heading h2 {
    font-size: 13px;
    letter-spacing: -.1px;
    margin: 0;
    font-weight: 600
}

.section-heading h2 > span {
    font-size: 10px;
    color: #a7afbe;
    margin-left: 5px;
    font-weight: 400
}

.section-heading > [data-icon] {
    color: #a2aed0
}

.section-heading svg {
    width: 16px;
    height: 16px
}

.about-card p {
    font-size: 12px;
    line-height: 1.85;
    color: #96a0b1;
    margin: 0 0 20px
}

.about-detail {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #919bae;
    font-size: 11px;
    margin: 13px 0
}

.about-detail svg {
    width: 14px;
    height: 14px;
    color: #b0bacb
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #7f95d7;
    padding: 0
}

.about-card .text-button {
    margin-top: 7px
}

.text-button span {
    margin-left: 3px
}

.circle-person {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 17px 0 0
}

.circle-person .avatar {
    width: 36px;
    height: 36px;
    font-size: 11px
}

.circle-person b {
    font-size: 11px;
    font-weight: 500;
    display: block
}

.circle-person small {
    font-size: 10px;
    color: #a3acba;
    display: block;
    margin-top: 3px
}

.circle-person .icon-button {
    margin-left: auto;
    width: 28px;
    height: 28px;
    background: #f5f7fc;
    border-radius: 8px;
    color: #95a4c3
}

.circle-person .icon-button svg {
    width: 13px;
    height: 13px
}

.unread-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red)
}

.recent-message {
    display: flex;
    width: 100%;
    gap: 10px;
    text-align: left;
    align-items: center;
    padding: 0 0 18px
}

.recent-message .avatar {
    width: 33px;
    height: 33px;
    font-size: 10px
}

.recent-message b {
    display: block;
    font-size: 11px;
    font-weight: 500
}

.recent-message small {
    display: block;
    font-size: 10px;
    color: #a3adbd;
    margin-top: 3px
}

.conversation-card .text-button {
    border-top: 1px solid var(--line);
    padding-top: 14px;
    width: 100%
}

.mindful-note {
    display: flex;
    gap: 10px;
    padding: 0 7px;
    color: #9caabe;
    align-items: flex-start
}

.mindful-note svg {
    width: 17px;
    height: 17px;
    margin-top: 3px
}

.mindful-note p {
    margin: 0;
    font-size: 11px
}

.mindful-note small {
    display: block;
    font-size: 10px;
    margin-top: 4px;
    color: #afb8c7
}

footer {
    font-size: 9px;
    color: #b1b9c7;
    display: flex;
    justify-content: space-between;
    padding: 0 7px
}

.media-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 13px
}

.media-grid button {
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    text-align: left
}

.media-grid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block
}

.media-grid span {
    display: block;
    font-size: 13px;
    padding: 14px
}

.empty {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: center;
    padding: 45px 25px;
    color: #97a1b3;
    font-size: 14px;
    line-height: 1.8
}

.empty > [data-icon] {
    color: #b5c3ed;
    margin-bottom: 14px
}

.empty svg {
    width: 29px;
    height: 29px
}

.empty b {
    display: block;
    font-size: 19px;
    color: #5d6d86;
    margin-bottom: 7px
}

.about-full h2, .view-title {
    font-size: 23px;
    letter-spacing: -.6px;
    margin: 0 0 14px
}

.about-full p {
    font-size: 15px;
    line-height: 1.85;
    color: #8794a8
}

.about-full .interest-list {
    margin-top: 20px
}

.view-description {
    font-size: 14px;
    color: #97a1b2;
    margin: 0 0 25px
}

.friend-cards {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px
}

.friend-card {
    text-align: center;
    padding: 28px
}

.friend-card .avatar {
    width: 65px;
    height: 65px;
    font-size: 20px
}

.friend-card h2 {
    font-size: 16px;
    margin: 16px 0 6px
}

.friend-card p {
    font-size: 12px;
    color: #9ba6b8;
    margin: 0 0 20px
}

.friend-card .secondary {
    width: 100%;
    color: var(--blue)
}

.settings-card {
    max-width: 760px
}

.settings-card > p {
    font-size: 14px;
    color: #939eb0;
    line-height: 1.8
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 23px 0;
    gap: 20px
}

.setting-row b {
    font-size: 14px;
    font-weight: 500;
    display: block
}

.setting-row small {
    display: block;
    color: #a0aabb;
    font-size: 12px;
    margin-top: 5px
}

.setting-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    flex-shrink: 0
}

.message-list {
    max-width: 820px
}

.message-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: left;
    padding: 21px 0;
    border-bottom: 1px solid var(--line)
}

.message-row:last-child {
    border: 0
}

.message-row b {
    font-size: 14px;
    display: block
}

.message-row p {
    font-size: 13px;
    color: #9aa5b6;
    margin: 6px 0 0;
    line-height: 1.6
}

.message-row > [data-icon] {
    margin-left: auto;
    color: #acb8cc
}

.chat {
    max-width: 790px
}

.chat-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 17px;
    margin-top: 18px
}

.chat-heading b {
    font-size: 14px
}

.chat-heading small {
    font-size: 11px;
    color: #a4aebd;
    display: block;
    margin-top: 4px
}

.chat-note {
    font-size: 11px;
    color: #a8b1c1;
    text-align: center;
    margin: 24px 0
}

.chat-bubble {
    max-width: 83%;
    background: #f3f6fc;
    border-radius: 15px 15px 15px 3px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: #7b899f;
    margin: 13px 0
}

.chat-bubble.outgoing {
    background: #edf1ff;
    color: #637dbd;
    margin-left: auto;
    border-radius: 15px 15px 3px 15px
}

.chat-form {
    display: flex;
    gap: 10px;
    margin-top: 27px
}

.chat-form input {
    min-width: 0;
    flex: 1;
    margin: 0
}

.comment-form {
    display: flex;
    gap: 8px;
    margin-top: 16px
}

.comment-form input {
    margin: 0;
    min-width: 0;
    font-size: 12px
}

.comment-form button {
    font-size: 12px
}

.comment {
    background: #f7f9fd;
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.7;
    color: #8c99ae
}

.comment b {
    color: #63718c
}

.search-results h2 {
    font-size: 17px;
    margin: 26px 0 16px
}

.notice {
    display: flex;
    gap: 13px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line)
}

.notice:last-child {
    border: 0
}

.notice b {
    display: block;
    font-size: 14px
}

.notice p {
    font-size: 13px;
    color: #a3adbe;
    margin: 5px 0
}

.notice small {
    font-size: 11px;
    color: #b1bbca
}

dialog {
    width: 520px;
    max-width: calc(100% - 32px);
    border: 1px solid #e8ecf3;
    border-radius: 22px;
    padding: 28px;
    color: var(--ink);
    box-shadow: 0 30px 100px #25345320
}

dialog::backdrop {
    background: #17223e60;
    backdrop-filter: blur(7px)
}

.dialog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.dialog-heading h2 {
    font-size: 21px;
    letter-spacing: -.5px;
    margin: 0
}

label {
    display: block;
    font-size: 13px;
    color: #8793a8;
    margin: 21px 0
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e7f0;
    border-radius: 10px;
    background: white;
    color: #5b6a82;
    display: block;
    margin-top: 8px;
    font-size: 14px;
    outline-color: #8ca3ef
}

textarea {
    resize: vertical
}

input::placeholder, textarea::placeholder {
    color: #a9b2c1
}

.full {
    width: 100%
}

.compose-author {
    display: flex;
    gap: 11px;
    align-items: center
}

.compose-author b {
    font-size: 13px
}

.audience-label {
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    color: #9aa8bf;
    gap: 3px
}

.audience-label svg {
    width: 12px;
    height: 12px
}

.audience-label select {
    border: 0;
    background: none;
    color: #8c9ab0;
    font-size: 11px;
    max-width: 150px
}

.compose-author + .textarea {
    margin-top: 20px
}

#compose-text {
    margin: 20px 0;
    line-height: 1.7;
    border-color: #edf0f6;
    min-height: 145px
}

.compose-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.compose-footer small {
    font-size: 10px;
    color: #aab4c4
}

.compose-footer .primary {
    font-size: 12px
}

.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #263451;
    color: white;
    padding: 14px 22px;
    font-size: 13px;
    border-radius: 12px;
    box-shadow: 0 10px 25px #15264525;
    opacity: 0;
    pointer-events: none;
    transition: .2s;
    z-index: 20
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}

#media-dialog {
    width: 1000px;
    padding: 12px;
    border-radius: 18px
}

#media-dialog img {
    width: 100%;
    display: block;
    border-radius: 10px;
    max-height: 75vh;
    object-fit: contain
}

#media-dialog p {
    padding: 0 12px;
    font-size: 14px;
    color: #8593aa
}

.media-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: #ffffffde;
    z-index: 1
}

.quiet .notification-button i, .quiet .unread-dot {
    display: none
}

.quiet .conversation-card {
    display: none
}

@media (min-width: 1550px) {
    main {
        padding-top: 36px
    }

    .cover {
        height: 245px
    }

    .workspace {
        grid-template-columns:minmax(0, 1fr) 310px;
        gap: 30px
    }

    .post-image img {
        height: 300px
    }

    .profile-identity p {
        font-size: 16px
    }

    .post p {
        font-size: 16px
    }
}

@media (max-width: 1250px) {
    .sidebar {
        width: 204px;
        padding: 30px 15px 20px
    }

    .shell {
        margin-left: 204px
    }

    .brand {
        font-size: 29px;
        padding-left: 10px
    }

    .nav-button {
        font-size: 13px;
        padding: 14px 13px
    }

    .create-button {
        font-size: 11px;
        gap: 7px
    }

    .topbar {
        padding: 0 28px
    }

    main {
        padding: 27px 28px
    }

    .workspace {
        grid-template-columns:minmax(0, 1fr) 245px;
        gap: 20px
    }

    .card {
        padding: 18px
    }

    .profile-body {
        padding: 0 25px
    }

    .profile-stats {
        gap: 17px
    }

    .interest-list span {
        font-size: 9px;
        padding: 5px 7px
    }

    .tabs {
        gap: 20px
    }

    .filter-button {
        font-size: 9px
    }

    .tabs button {
        font-size: 12px
    }

    .filter-button > [data-icon]:last-child {
        display: none
    }

    .post {
        padding: 20px
    }

    .post-image img {
        height: 210px
    }

    .about-detail {
        font-size: 10px
    }
}

@media (max-width: 1050px) {
    .sidebar {
        width: 88px;
        padding: 31px 14px
    }

    .shell {
        margin-left: 88px
    }

    .brand {
        font-size: 0;
        padding: 0;
        justify-content: center;
        gap: 0
    }

    .brand-dot, .nav-label, .nav-button > span, .sidebar-bottom {
        display: none
    }

    .sidebar nav {
        margin-top: 44px;
        gap: 10px
    }

    .nav-button {
        justify-content: center;
        padding: 15px
    }

    .nav-button svg {
        width: 23px;
        height: 23px
    }

    .create-button {
        font-size: 0;
        padding: 0;
        width: 48px;
        height: 48px;
        align-self: center;
        gap: 0
    }

    .create-button > span {
        font-size: 28px
    }

    .topbar {
        height: 74px
    }

    .workspace {
        grid-template-columns:minmax(0, 1fr) 250px
    }

    .profile-stats {
        font-size: 10px
    }

    .friend-cards {
        grid-template-columns:repeat(2, 1fr)
    }

    .search-box {
        width: 300px
    }

    .cover {
        height: 195px
    }
}

@media (max-width: 850px) {
    .right-column {
        display: none
    }

    .workspace {
        grid-template-columns:1fr
    }

    .topbar {
        padding: 0 23px;
        gap: 12px
    }

    .topbar-title {
        font-size: 12px
    }

    .search-box {
        width: 240px;
        margin-right: 0
    }

    .topbar-actions {
        gap: 8px
    }

    main {
        padding: 24px
    }

    .cover {
        height: 200px
    }

    .profile-bottom {
        flex-wrap: wrap;
        gap: 16px
    }

    .profile-stats {
        font-size: 12px
    }

    .profile-stats b {
        font-size: 16px
    }

    .interest-list span {
        font-size: 11px;
        padding: 5px 8px
    }

    .post-image img {
        height: 260px
    }

    .tabs button {
        font-size: 14px
    }

    .filter-button {
        font-size: 11px
    }

    .card.about-full {
        padding: 25px
    }

    .profile-actions .secondary {
        font-size: 11px
    }

    .profile-identity p {
        font-size: 15px
    }

    .friend-cards {
        gap: 15px
    }
}

@media (max-width: 600px) {
    .mobile-theme {
        display: inline-flex
    }

    .sidebar {
        inset: auto 0 0;
        width: 100%;
        height: 72px;
        padding: 0 10px;
        border: 0;
        border-top: 1px solid #e9edf5;
        background: #ffffffed;
        backdrop-filter: blur(15px)
    }

    .brand, .create-button {
        display: none
    }

    .sidebar nav {
        display: flex;
        justify-content: space-around;
        gap: 0;
        margin: 0;
        height: 100%;
        align-items: center
    }

    .nav-button {
        border-radius: 0;
        flex-direction: column;
        gap: 5px;
        font-size: 9px !important;
        padding: 10px 5px;
        min-width: 56px;
        position: relative;
        height: 100%
    }

    .nav-button.active {
        background: none;
        color: var(--blue)
    }

    .nav-button > span:not(.badge) {
        display: block
    }

    .nav-button:nth-child(n+5) {
        display: none
    }

    .nav-button svg {
        width: 21px;
        height: 21px
    }

    .nav-button .badge {
        position: absolute;
        top: 7px;
        right: 6px;
        font-size: 8px;
        display: block;
        background: var(--red);
        color: white;
        padding: 0 3px;
        min-width: 12px;
        border-radius: 4px
    }

    .shell {
        margin-left: 0
    }

    .topbar {
        height: 65px;
        padding: 0 16px;
        gap: 10px
    }

    .topbar-title {
        font-size: 13px;
        white-space: nowrap
    }

    .search-box {
        width: auto;
        flex: 1;
        margin: 0;
        padding: 9px 10px;
        max-width: 190px;
        gap: 6px
    }

    .search-box input {
        font-size: 10px
    }

    .search-box kbd {
        display: none
    }

    .topbar-actions {
        gap: 0
    }

    .topbar-actions > .avatar {
        display: none
    }

    .icon-button {
        width: 34px;
        height: 34px
    }

    .topbar-actions svg {
        width: 19px;
        height: 19px
    }

    main {
        padding: 16px 13px 90px
    }

    .profile-panel {
        border-radius: 16px
    }

    .cover {
        height: 153px;
        background-position: center 55%
    }

    .cover-caption {
        font-size: 7px;
        left: 17px;
        top: 18px;
        letter-spacing: 1.5px
    }

    .cover-coordinates {
        font-size: 7px;
        bottom: 17px;
        right: 17px;
        letter-spacing: 1.2px
    }

    .profile-body {
        padding: 0 18px
    }

    .profile-avatar {
        width: 78px;
        height: 78px;
        border-width: 5px;
        left: 16px;
        top: -35px;
        font-size: 24px
    }

    .online-dot {
        width: 13px;
        height: 13px;
        right: 0;
        bottom: 0
    }

    .profile-actions {
        padding-top: 12px;
        min-height: 51px;
        gap: 7px
    }

    .profile-actions .secondary {
        font-size: 9px;
        padding: 8px 10px;
        min-height: 32px;
        gap: 5px
    }

    .profile-actions .secondary svg {
        width: 12px;
        height: 12px
    }

    .profile-actions .icon-button {
        width: 32px;
        height: 32px
    }

    .profile-actions .icon-button svg {
        width: 14px;
        height: 14px
    }

    .profile-identity {
        margin-top: 8px
    }

    h1 {
        font-size: 23px;
        letter-spacing: -.7px
    }

    .name-line {
        gap: 7px
    }

    .online-label {
        font-size: 8px;
        margin: 0;
        padding: 2px 4px
    }

    .verified {
        width: 14px;
        height: 14px;
        font-size: 9px
    }

    .handle {
        font-size: 10px;
        margin-top: 6px
    }

    .profile-identity p {
        font-size: 13px;
        line-height: 1.7;
        margin: 12px 0 18px;
        max-width: 270px
    }

    .profile-bottom {
        padding: 16px 0;
        gap: 13px
    }

    .profile-stats {
        gap: 19px;
        font-size: 10px
    }

    .profile-stats b {
        font-size: 14px;
        margin-right: 3px
    }

    .interest-list span {
        font-size: 9px;
        padding: 4px 7px
    }

    .workspace {
        margin-top: 22px
    }

    .feed-toolbar {
        height: 39px;
        margin-bottom: 18px
    }

    .tabs {
        gap: 23px
    }

    .tabs button {
        font-size: 12px;
        padding-bottom: 15px
    }

    .filter-button {
        font-size: 9px;
        gap: 4px
    }

    .filter-button svg {
        width: 12px;
        height: 12px
    }

    .composer {
        padding: 15px;
        border-radius: 14px;
        margin-bottom: 15px
    }

    .composer-top > button {
        font-size: 12px
    }

    .composer-top .avatar {
        width: 32px;
        height: 32px
    }

    .composer-hint {
        font-size: 9px
    }

    .composer-bottom .primary {
        font-size: 10px;
        min-height: 30px;
        padding: 7px 11px
    }

    .post {
        padding: 17px;
        border-radius: 14px;
        margin-bottom: 15px
    }

    .post p {
        font-size: 14px;
        line-height: 1.8
    }

    .post-image img {
        height: 200px
    }

    .post-author {
        font-size: 12px
    }

    .post-meta {
        font-size: 9px
    }

    .post-actions {
        gap: 19px
    }

    .quote-post {
        font-size: 18px
    }

    .friend-cards {
        grid-template-columns:1fr
    }

    .friend-card {
        padding: 24px
    }

    .view-title {
        font-size: 24px;
        margin: 7px 0 13px
    }

    .view-description {
        font-size: 12px
    }

    .settings-card {
        padding: 21px
    }

    .setting-row {
        gap: 14px
    }

    .setting-row b {
        font-size: 13px
    }

    .setting-row small {
        font-size: 11px
    }

    .setting-row .secondary {
        font-size: 10px;
        padding: 8px
    }

    .message-row p {
        font-size: 12px
    }

    .message-row b {
        font-size: 13px
    }

    .chat {
        padding: 18px
    }

    .chat-form .primary {
        font-size: 11px;
        padding: 10px 12px
    }

    .chat-bubble {
        font-size: 13px
    }

    .toast {
        bottom: 85px;
        width: calc(100% - 32px);
        text-align: center;
        font-size: 12px
    }

    .compose-footer {
        align-items: flex-end
    }

    .compose-footer small {
        font-size: 9px;
        max-width: 150px
    }

    .compose-footer .primary {
        font-size: 11px;
        padding: 10px 12px
    }

    dialog {
        padding: 22px
    }

    .dialog-heading h2 {
        font-size: 20px
    }

    .media-grid img {
        height: 145px
    }

    .media-grid span {
        font-size: 11px;
        padding: 12px
    }

    .about-full p {
        font-size: 14px
    }

    .post-tags {
        font-size: 10px
    }

    .feed-end {
        font-size: 10px
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

/* Readability and reachability across the working surface. */
.mobile-settings, .mobile-theme {
    display: none
}

.post p {
    font-size: 16px;
    color: #566279
}

.profile-identity p {
    font-size: 16px;
    color: #69758a
}

.about-card p {
    font-size: 14px;
    color: #7c899f
}

.about-detail {
    font-size: 12px;
    color: #7b899f
}

.circle-person b, .recent-message b {
    font-size: 12px
}

.circle-person small, .recent-message small {
    font-size: 11px;
    color: #8b98ad
}

.section-heading h2 {
    font-size: 14px
}

.text-button {
    font-size: 12px;
    color: #627fcb
}

.post-meta {
    font-size: 11px;
    color: #8e9bb0
}

.post-author {
    font-size: 14px
}

.nav-button {
    font-size: 14px
}

.tabs button {
    font-size: 14px
}

.composer-top > button {
    font-size: 14px
}

.profile-stats {
    font-size: 12px
}

.search-box input {
    font-size: 13px
}

.focus-toggle {
    font-size: 12px
}

.card, .post, .profile-panel {
    box-shadow: 0 2px 7px #202c4902
}

.filter-button {
    color: #7f8fa8
}

.post-actions button {
    min-width: 24px;
    min-height: 30px
}

.sidebar nav button, .tabs button {
    transition: color .15s, background .15s
}

@media (max-width: 1250px) {
    .section-heading h2 {
        font-size: 13px
    }

    .about-card p {
        font-size: 13px
    }

    .circle-person b {
        font-size: 11px
    }

    .tabs {
        gap: 19px
    }

    .tabs button {
        font-size: 13px
    }

    .about-detail {
        font-size: 11px
    }
}

@media (max-width: 600px) {
    .mobile-settings {
        display: inline-flex
    }

    .mobile-theme {
        display: inline-flex
    }

    .topbar-title {
        display: none
    }

    .search-box {
        max-width: none
    }

    .search-box input {
        font-size: 12px
    }

    .nav-button:nth-child(5) {
        display: flex
    }

    .nav-button:nth-child(n+6) {
        display: none
    }

    .nav-button {
        min-width: 48px;
        padding: 10px 4px
    }

    .profile-stats {
        font-size: 10px
    }

    .profile-identity p {
        font-size: 14px
    }

    .post p {
        font-size: 15px
    }

    .post-author {
        font-size: 13px
    }

    .post-meta {
        font-size: 10px
    }

    .composer-top > button {
        font-size: 13px
    }

    .tabs button {
        font-size: 13px
    }

    .post-actions {
        gap: 18px
    }

    .topbar-actions {
        gap: 4px
    }

    .topbar-actions .icon-button {
        width: 34px
    }

    .profile-actions .secondary {
        font-size: 10px
    }

    .online-label {
        display: none
    }

    .search-box kbd {
        display: none
    }
}

/* Complete dark palette; every card, field, menu and profile panel follows the selected theme. */
:root[data-theme="dark"] {
    color-scheme: dark;
    --surface: #111827;
    --ink: #e9eef8;
    --muted: #a8b3c5;
    --line: #2a3549;
    --blue: #8ba4ff
}

:root[data-theme="light"] {
    color-scheme: light
}

body {
    background: var(--surface);
    color: var(--ink);
    transition: background-color .18s ease, color .18s ease
}

:root[data-theme="dark"] body {
    background: #101624;
    color: #e9eef8
}

:root[data-theme="dark"] .sidebar, :root[data-theme="dark"] .topbar, :root[data-theme="dark"] .profile-panel, :root[data-theme="dark"] .card, :root[data-theme="dark"] .composer, :root[data-theme="dark"] .post, :root[data-theme="dark"] .filter-menu, :root[data-theme="dark"] .post-menu > div, :root[data-theme="dark"] .empty, :root[data-theme="dark"] dialog, :root[data-theme="dark"] .media-grid button {
    background: #182235;
    border-color: #29354a;
    color: #e9eef8
}

:root[data-theme="dark"] .topbar {
    background: #141e30ed
}

:root[data-theme="dark"] .nav-button {
    color: #a4b0c5
}

:root[data-theme="dark"] .nav-button.active {
    background: #263451;
    color: #a8b9ff
}

:root[data-theme="dark"] .brand .logo-mark:after {
    background: #182235
}

:root[data-theme="dark"] .search-box, :root[data-theme="dark"] .focus-toggle, :root[data-theme="dark"] .setting-row .secondary, :root[data-theme="dark"] .secondary {
    background: #202c40;
    border-color: #344158;
    color: #dbe4f3
}

:root[data-theme="dark"] .search-box input {
    color: #e9eef8
}

:root[data-theme="dark"] .search-box kbd {
    border-color: #3a465c;
    color: #b7c2d4
}

:root[data-theme="dark"] .account small, :root[data-theme="dark"] .nav-label, :root[data-theme="dark"] .demo-note {
    color: #9ca9bf
}

:root[data-theme="dark"] .profile-identity p, :root[data-theme="dark"] .post p, :root[data-theme="dark"] .about-card p, :root[data-theme="dark"] .about-full p, :root[data-theme="dark"] .settings-card > p {
    color: #b7c1d2
}

:root[data-theme="dark"] .profile-stats, :root[data-theme="dark"] .profile-stats button, :root[data-theme="dark"] .handle, :root[data-theme="dark"] .post-meta, :root[data-theme="dark"] .post-actions button, :root[data-theme="dark"] .about-detail, :root[data-theme="dark"] .circle-person small, :root[data-theme="dark"] .recent-message small, :root[data-theme="dark"] .section-heading h2 > span, :root[data-theme="dark"] .view-description, :root[data-theme="dark"] .message-row p, :root[data-theme="dark"] .message-row small, :root[data-theme="dark"] .setting-row small {
    color: #a9b5c9
}

:root[data-theme="dark"] .profile-stats b, :root[data-theme="dark"] .circle-person b, :root[data-theme="dark"] .recent-message b, :root[data-theme="dark"] .message-row b, :root[data-theme="dark"] .post-author, :root[data-theme="dark"] .setting-row b, :root[data-theme="dark"] .dialog-heading h2 {
    color: #edf1fa
}

:root[data-theme="dark"] .interest-list span, :root[data-theme="dark"] .circle-person .icon-button, :root[data-theme="dark"] .comment, :root[data-theme="dark"] .quote-post {
    background: #222e43;
    color: #becdf7
}

:root[data-theme="dark"] .profile-bottom, :root[data-theme="dark"] .post-actions, :root[data-theme="dark"] .composer-bottom, :root[data-theme="dark"] .conversation-card .text-button, :root[data-theme="dark"] .message-row, :root[data-theme="dark"] .setting-row {
    border-color: #29354a
}

:root[data-theme="dark"] .online-label {
    background: #1c332f;
    color: #9bd4b6
}

:root[data-theme="dark"] .composer-top > button, :root[data-theme="dark"] .composer-hint, :root[data-theme="dark"] .post-actions .views, :root[data-theme="dark"] .feed-end, :root[data-theme="dark"] .text-button, :root[data-theme="dark"] .mindful-note, :root[data-theme="dark"] .mindful-note small, :root[data-theme="dark"] .about-detail svg, :root[data-theme="dark"] footer {
    color: #a4b1c7
}

:root[data-theme="dark"] .post-image span {
    background: #182235e8;
    color: #dce5f5
}

:root[data-theme="dark"] .post-menu > div, :root[data-theme="dark"] .filter-menu {
    box-shadow: 0 12px 32px #0007
}

:root[data-theme="dark"] .post-menu button, :root[data-theme="dark"] .filter-menu button {
    color: #e4eaf5
}

:root[data-theme="dark"] .filter-menu button:hover, :root[data-theme="dark"] .post-menu button:hover {
    background: #27344a
}

:root[data-theme="dark"] input, :root[data-theme="dark"] textarea, :root[data-theme="dark"] select {
    background: #141e2e;
    border-color: #354159;
    color: #edf1fa
}

:root[data-theme="dark"] input::placeholder, :root[data-theme="dark"] textarea::placeholder {
    color: #9aa8bd
}

:root[data-theme="dark"] .audience-label select {
    background: transparent
}

:root[data-theme="dark"] .switch-knob {
    background: #45536a
}

:root[data-theme="dark"] .focus-toggle[aria-checked="true"] .switch-knob {
    background: var(--blue)
}

:root[data-theme="dark"] .notification-button i {
    border-color: #182235
}

:root[data-theme="dark"] .sidebar nav .nav-button.active .badge {
    background: #35466d;
    color: #d8e0ff
}

:root[data-theme="dark"] .card .section-heading h2 {
    color: #e9eef8
}

:root[data-theme="dark"] .chat-bubble {
    background: #222e43;
    color: #c1ccde
}

:root[data-theme="dark"] .chat-bubble.outgoing {
    background: #2b3d67;
    color: #eef2ff
}

:root[data-theme="dark"] .toast {
    background: #e4ebfa;
    color: #1a2740
}

:root[data-theme="dark"] .media-close {
    background: #26354be8;
    color: #eef2ff
}

:root[data-theme="dark"] .verified {
    background: #6683fa
}

@media (max-width: 600px) {
    :root[data-theme="dark"] .sidebar {
        background: #141e2fee;
        border-color: #29354a
    }

    :root[data-theme="dark"] .nav-button.active {
        background: transparent;
        color: #a6b7ff
    }

    :root[data-theme="dark"] .nav-button .badge {
        background: #e26d73;
        color: white
    }

    :root[data-theme="dark"] .topbar-actions .icon-button {
        color: #c4cee0
    }

    :root[data-theme="dark"] .mobile-theme {
        color: #c7d3ef
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        transition: none
    }
}
