/**
 * ВДрузья — общие стили.
 * Регистр бренда в интерфейсе: «ВДрузья»; пункты меню — русский, единый стиль.
 */

body {
    margin: 0;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    background: #e1e7ed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #222;
}
.topbar-wrap {
    background: #4c75a3;
    border-bottom: 1px solid #345272;
}
.topbar {
    max-width: 960px;
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #dfe7f1;
}
.topbar a {
    color: #e7edf5;
    text-decoration: none;
    margin-right: 12px;
}
.topbar a:hover {
    text-decoration: underline;
}
.layout {
    width: 960px;
    margin: 12px auto 16px;
    display: grid;
    grid-template-columns: 220px 720px;
    grid-gap: 12px;
    flex: 1;
}
.sidebar {
    background: #f5f7fa;
    padding: 6px 8px;
    font-size: 12px;
    border: 1px solid #d3d9de;
    line-height: 1.5;
}
.content {
    background: #ffffff;
    padding: 12px;
    border: 1px solid #d3d9de;
    font-size: 12px;
    line-height: 1.52;
}
.content a {
    color: #2b587a;
    text-decoration: none;
}
.content a:hover {
    text-decoration: underline;
}
.content ul {
    margin: 4px 0 12px;
    padding-left: 18px;
}
.profile-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-gap: 16px;
}
.profile-photo-card {
    border: 1px solid #d3d9de;
    background: #f5f7fa;
    padding: 6px 6px 8px;
    text-align: center;
}
.profile-photo {
    width: 200px;
    height: 200px;
    background: #d3d9de;
    margin: 0 auto 8px;
    overflow: hidden;
    border: 1px solid #c9d0d8;
}
.profile-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: top;
}
.profile-completeness {
    text-align: left;
    margin: 10px 0 12px;
    padding: 8px 6px;
    background: #ebedf0;
    border: 1px solid #d3d9de;
    border-radius: 2px;
    font-size: 11px;
}
.profile-completeness-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}
.profile-completeness-link {
    color: #2a5885;
    text-decoration: none;
}
.profile-completeness-link:hover {
    text-decoration: underline;
}
.profile-completeness-caret {
    font-size: 9px;
    color: #939aa3;
    margin-left: 2px;
}
.profile-completeness-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.profile-completeness-bar-track {
    flex: 1;
    height: 14px;
    background: #fff;
    border: 1px solid #c9d0d8;
    border-radius: 2px;
    overflow: hidden;
    min-width: 0;
}
.profile-completeness-bar-fill {
    height: 100%;
    background: linear-gradient(180deg, #7aa3d6 0%, #5b88bd 100%);
    min-width: 0;
    transition: width 0.2s ease;
}
.profile-completeness-pct {
    flex-shrink: 0;
    font-weight: 600;
    color: #626d7a;
    min-width: 2.5em;
    text-align: right;
}
.profile-completeness-tasks {
    margin: 0;
    padding: 0;
    list-style: none;
}
.profile-completeness-tasks li {
    border-top: 1px solid #dce1e8;
    padding: 5px 0;
}
.profile-completeness-tasks li:first-child {
    border-top: none;
    padding-top: 0;
}
.profile-completeness-task-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    color: #2a5885;
    text-decoration: none;
}
.profile-completeness-task-link:hover .profile-completeness-task-label {
    text-decoration: underline;
}
.profile-completeness-task-pct {
    flex-shrink: 0;
    color: #626d7a;
    font-size: 10px;
}
.profile-completeness-done .profile-completeness-all-done {
    margin: 6px 0 0;
    font-size: 12px;
    color: #4a6;
    font-weight: 600;
}
.profile-edit-section {
    margin-bottom: 12px;
}
.profile-edit-avatar-img {
    object-fit: cover;
    border: 1px solid #c9d0d8;
    border-radius: 2px;
}
.profile-avatar-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.tile-avatar-btn {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.tile-avatar-btn:hover .tile-thumb {
    opacity: 0.9;
}
.profile-main-header {
    margin-bottom: 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid #e1e5eb;
}
.profile-main-header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.profile-main-name {
    font-size: 16px;
    font-weight: 700;
    color: #2b587a;
}
.profile-main-online {
    font-size: 11px;
    color: #777;
}
.profile-main-status {
    margin-top: 3px;
    font-size: 11px;
}
.profile-section {
    border: 1px solid #d3d9de;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 2px;
}
.profile-section-title {
    background: #f5f7fa;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #d3d9de;
    color: #55677c;
}
.profile-section-body {
    padding: 5px 8px 7px;
    font-size: 11px;
    line-height: 1.52;
}
.profile-row {
    margin: 2px 0;
}
.profile-row-label {
    font-weight: bold;
    margin-right: 3px;
    font-size: 11px;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}
.form-wide {
    max-width: 360px;
}
.text-muted {
    font-size: 12px;
    color: #777;
    line-height: 1.45;
}
.empty-note {
    font-size: 11px;
    color: #777;
    line-height: 1.45;
}
.tile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tile-card {
    width: 140px;
    border: 1px solid #d3d9de;
    background: #f7f7f7;
    padding: 4px 4px 6px;
    font-size: 11px;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.tile-card:hover {
    background: #eef2f7;
    border-color: #c0cad5;
}
.tile-thumb {
    width: 100%;
    height: 90px;
    background: #d3d9de;
    border: 1px solid #d3d9de;
    margin-bottom: 4px;
    object-fit: cover;
}
.msg-list {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #d3d9de;
    padding: 8px;
    background: #f5f7fa;
}
.msg-item {
    margin-bottom: 6px;
    font-size: 12px;
}
.msg-from-me {
    text-align: right;
}
.msg-from-me strong {
    color: #2b587a;
}
.msg-from-other strong {
    color: #555;
}
h1 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #2b587a;
}
h2 {
    margin: 10px 0 6px;
    font-size: 13px;
    color: #2b587a;
}
button {
    padding: 4px 10px;
    font-size: 12px;
    background: #5b88bd;
    color: #fff;
    border: 1px solid #345a8a;
    border-radius: 2px;
    cursor: pointer;
}
button:hover {
    background: #5678a6;
}
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    border: 1px solid #9f9f9f;
    padding: 2px 3px;
    font-size: 12px;
    font-family: inherit;
}
select {
    background-color: #fff;
}
textarea {
    resize: vertical;
}
.sidebar h3 {
    margin: 0 0 6px;
    font-size: 12px;
    color: #2b587a;
}
.sidebar a {
    display: block;
    margin-bottom: 0;
    color: #2b587a;
    text-decoration: none;
    transition: color 0.15s ease;
}
.sidebar a:not(.active):hover {
    color: #1f4d6e;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sidebar a.active {
    font-weight: bold;
    color: #1a4360;
}
.sidebar-separator {
    margin: 6px 0;
    border-top: 1px solid #e1e5eb;
}
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #e3e3e3;
}
.tab-link {
    padding: 8px 16px;
    text-decoration: none;
    color: #2b587a;
}
.tab-link:hover {
    color: #1a4360;
}
.tab-link.active {
    font-weight: bold;
    border-bottom: 2px solid #2b587a;
    margin-bottom: -1px;
    color: #1a4360;
}
.toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.toolbar-end {
    margin-left: auto;
}
.search-input {
    flex: 1;
    min-width: 200px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #9f9f9f;
    border-radius: 2px;
}
.search-input:focus {
    outline: none;
    border-color: #5b88bd;
}
.btn {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.btn-primary {
    background: #5181b8;
    color: #fff;
    border-color: #3d6ba8;
}
.btn-primary:hover {
    background: #4472a3;
}
.btn-secondary {
    background: #e8ecf1;
    color: #2b587a;
    border-color: #c0cad5;
}
.btn-secondary:hover {
    background: #dce2eb;
}
.btn-compact {
    padding: 2px 6px;
    font-size: 11px;
}
.btn-tiny {
    padding: 0 6px;
    font-size: 11px;
}
.btn-tiny.is-liked {
    font-weight: bold;
}
.btn-neutral {
    background: #ddd;
    color: #000;
    border-color: #aaa;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.section-header .action-link {
    font-weight: normal;
    font-size: 12px;
}
.section-subtitle {
    font-size: 12px;
    color: #626d7a;
    margin-bottom: 8px;
    line-height: 1.45;
}
.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.event-item {
    border-bottom: 1px solid #e3e3e3;
    padding: 10px 0;
}
.event-item:last-child {
    border-bottom: none;
}
.event-item-title {
    font-weight: bold;
    margin-bottom: 4px;
}
.event-meta {
    font-size: 12px;
    color: #626d7a;
    margin-bottom: 4px;
    line-height: 1.45;
}
.event-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.48;
}
.form-label {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: bold;
    color: #444;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    max-width: 360px;
    padding: 6px 8px;
    font-size: 13px;
    border: 1px solid #9f9f9f;
    border-radius: 2px;
    font-family: inherit;
    box-sizing: border-box;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #5b88bd;
}
.form-textarea {
    resize: vertical;
    min-height: 60px;
}
.form-group {
    margin-bottom: 10px;
}
.form-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.form-input-sm {
    max-width: 140px;
}
.form-input-time {
    max-width: 100px;
}
.form-row-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.form-row-inline .form-group {
    margin-bottom: 0;
}
.footer-wrap {
    border-top: 1px solid #d3d9de;
    padding: 6px 0 10px;
    font-size: 11px;
    color: #7f8c99;
    line-height: 1.45;
    background: #e1e7ed;
}
.footer {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.footer-col-right {
    text-align: right;
}

/* Утилиты отступов */
.mt-2 { margin-top: 2px; }
.mt-4 { margin-top: 4px; }
.mt-6 { margin-top: 6px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.ml-4 { margin-left: 4px; }
.ml-8 { margin-left: 8px; }
.form-inline {
    display: inline;
}
.is-hidden {
    display: none !important;
}
.list-plain {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.link-small {
    font-size: 11px;
}
.text-online {
    color: #3c763d;
}
.status-text-empty {
    color: #8899aa;
}
.status-text-clickable {
    cursor: pointer;
}
.status-input-partial {
    width: 70%;
    font-size: 12px;
}
.wall-post-form textarea,
.wall-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.4;
}
.wall-post-form textarea:focus,
.wall-comment-form textarea:focus {
    outline: none;
    border-color: #5b88bd;
}
.btn-msg {
    display: inline-block;
    padding: 4px 10px;
    background: #5b88bd;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid #345a8a;
    font-size: 11px;
}
.btn-msg:hover {
    background: #5678a6;
    color: #fff;
    text-decoration: none;
}
.profile-guest-note {
    margin-top: 8px;
    padding: 6px 8px;
    background: #fff8dc;
    border: 1px solid #e4d5a5;
    font-size: 11px;
    line-height: 1.45;
}
.profile-guest-note a {
    color: #2a5885;
}
/* Профиль: полоса фотографий */
.profile-photos-bar .profile-section-body {
    padding-top: 8px;
}
.profile-photos-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 8px;
    border-bottom: 1px solid #e1e5eb;
}
.profile-photos-title {
    font-weight: 700;
    font-size: 12px;
    color: #2a5885;
    letter-spacing: 0.01em;
}
.profile-photos-all {
    font-size: 11px;
    color: #2a5885;
}
.profile-photos-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    padding: 2px 0 4px;
}
.profile-photos-thumb {
    flex: 0 0 auto;
    display: block;
    width: 86px;
    height: 72px;
    border: 1px solid #c9d0d8;
    border-radius: 2px;
    overflow: hidden;
    background: #e7edf3;
}
.profile-photos-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}
.profile-photos-empty {
    margin: 2px 0 0;
    font-size: 12px;
}

/* Шапка блока «Стена» */
.wall-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 3px 8px;
    border-bottom: 1px solid #e1e5eb;
    margin-bottom: 6px;
}
.wall-page-head {
    margin-top: 8px;
}
.wall-section-head-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.wall-section-title {
    font-weight: 600;
    font-size: 12px;
    color: #2a5885;
}
.wall-section-count {
    font-size: 11px;
    color: #7a8694;
}
.wall-section-link-all {
    font-size: 12px;
    color: #2a5885;
    white-space: nowrap;
}

/* Карточка поста на стене */
.wall-posts-list {
    margin: 0;
    padding: 0;
}
.wall-post-card {
    list-style: none;
    margin-bottom: 10px;
    padding: 8px 0 10px;
    border-bottom: 1px solid #e1e5eb;
}
.wall-post-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.wall-post-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    overflow: hidden;
    background: #dfe5ec;
    border: 1px solid #c9d0d8;
}
.wall-post-avatar img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
}
.wall-post-avatar-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c5d0dc 0%, #e8edf2 100%);
}
.wall-post-main {
    flex: 1;
    min-width: 0;
}
.wall-post-author-line {
    margin-bottom: 4px;
}
.wall-post-author-name {
    font-weight: 600;
    font-size: 13px;
    color: #2a5885;
    text-decoration: none;
}
.wall-post-author-name:hover {
    text-decoration: underline;
}
.wall-post-body {
    font-size: 12px;
    line-height: 1.45;
    color: #000;
    word-wrap: break-word;
}
.wall-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font-size: 11px;
    color: #626d7a;
}
.wall-post-footer-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.wall-post-sep {
    color: #aeb7c2;
    user-select: none;
}
.wall-post-reply-link {
    color: #2a5885;
    text-decoration: none;
}
.wall-post-reply-link:hover {
    text-decoration: underline;
}
.wall-like-form {
    margin: 0;
}
.wall-post-submit-row {
    text-align: left;
}
.wall-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 6px;
    font-size: 11px;
    border: none;
    background: transparent;
    color: #626d7a;
    cursor: pointer;
    border-radius: 2px;
}
.wall-like-btn:hover {
    background: #eef2f6;
}
.wall-like-btn.is-liked {
    color: #c62828;
}
.wall-like-heart {
    font-size: 14px;
    line-height: 1;
    color: #939aa3;
}
.wall-like-btn.is-liked .wall-like-heart {
    color: #c62828;
}
.wall-like-readonly {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #626d7a;
    user-select: none;
}
.wall-like-readonly .wall-like-heart {
    font-size: 14px;
    color: #939aa3;
}
.wall-reply-panel {
    margin-top: 8px;
    margin-left: 50px;
}
.wall-comments-block {
    margin: 6px 0 0 50px;
    padding: 6px 8px;
    background: #f5f7fa;
    border: 1px solid #e4e8ed;
    border-radius: 2px;
}
.wall-comment-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 4px 0;
    border-top: 1px solid #e8ecf0;
    font-size: 12px;
}
.wall-comment-row:first-child {
    border-top: none;
    padding-top: 0;
}
.wall-comment-avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 2px;
    overflow: hidden;
    background: #e4e8ed;
    border: 1px solid #d3d9de;
}
.wall-comment-avatar img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    display: block;
}
.wall-comment-avatar-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d0d8e0 0%, #eef2f6 100%);
}
.wall-comment-body {
    flex: 1;
    min-width: 0;
}
.wall-comment-name {
    font-weight: 600;
    color: #2a5885;
    text-decoration: none;
    margin-right: 6px;
}
.wall-comment-name:hover {
    text-decoration: underline;
}
.wall-comment-text {
    color: #333;
}
.wall-comment-meta {
    margin-top: 2px;
    font-size: 10px;
    color: #939aa3;
}
.wall-comment-reply-link {
    margin-left: 6px;
    font-size: 11px;
    color: #2a5885;
    text-decoration: none;
}
.wall-comment-reply-link:hover {
    text-decoration: underline;
}
.wall-comment-form {
    margin-top: 0;
    margin-left: 0;
}
.wall-comment-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
}
.wall-comment-form textarea {
    flex: 1;
    min-width: 160px;
}

.feed-item {
    margin-bottom: 12px;
    border-top: 1px solid #e1e5eb;
    padding-top: 8px;
}
.feed-meta {
    font-size: 11px;
}
.feed-body {
    margin: 4px 0;
}
.feed-actions {
    font-size: 11px;
    margin-top: 4px;
}
.comments-nested {
    margin-top: 6px;
    padding: 4px;
    background: #f5f7fa;
    border: 1px solid #e1e5eb;
}
.comment-form-block {
    margin-top: 4px;
}
.textarea-feed {
    font-size: 12px;
}
.dialog-list-wrap {
    border: 1px solid #d3d9de;
    max-height: 400px;
    overflow-y: auto;
}
.dialog-list-row {
    padding: 4px 6px;
    border-bottom: 1px solid #eee;
}
.dialog-form-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: flex-end;
}
.dialog-form-row textarea {
    flex: 1;
}
.input-full {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.error-list {
    color: #a00;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 10px;
    padding-left: 18px;
}
.photos-albums-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}
.photos-album-tab {
    padding: 1px 8px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 12px;
    color: #2a5885;
    background: #f5f7fa;
    border: 1px solid #d3d9de;
}
.photos-album-tab.is-active {
    background: #5b88bd;
    border-color: #4a75a3;
    color: #fff;
}
.photos-album-count {
    margin-left: 2px;
    color: inherit;
    font-size: 11px;
}
.photos-move-form select {
    font-size: 11px;
}
.photo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.photo-modal-overlay.is-visible {
    display: flex;
}
.photo-modal {
    background: #fff;
    padding: 12px;
    border-radius: 3px;
    max-width: 900px;
    width: 100%;
    height: 80vh;
    display: flex;
    gap: 12px;
    box-sizing: border-box;
}
.photo-modal-image {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.photo-modal-image img {
    max-width: 100%;
    max-height: 100%;
}
.photo-modal-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.photo-modal-like-row {
    margin-bottom: 8px;
}
.photo-like-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #626d7a;
}
.photo-like-btn.is-liked {
    color: #c62828;
}
.photo-like-btn.is-readonly {
    cursor: default;
    opacity: 0.7;
}
.photo-like-heart {
    font-size: 16px;
}
.photo-modal-caption {
    margin-top: 4px;
    font-size: 11px;
    color: #555;
}
.photo-modal-comments {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #d3d9de;
    padding: 4px 6px;
    margin-bottom: 4px;
    font-size: 11px;
}
.photo-modal-comment-row {
    margin-bottom: 6px;
}
.photo-modal-comment-author {
    font-weight: 600;
    color: #2a5885;
}
.photo-modal-comment-body {
    white-space: pre-wrap;
}
.photo-modal-comment-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.photo-modal-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 3px 5px;
    font-size: 11px;
}

@media (max-width: 800px) {
    .photo-modal {
        flex-direction: column;
        height: 90vh;
        max-width: 95vw;
    }
    .photo-modal-image,
    .photo-modal-side {
        height: 50%;
    }
}
.wall-form-error {
    display: none;
    color: #a00;
    font-size: 12px;
    margin: 8px 0 0;
    line-height: 1.45;
}
.tile-caption {
    font-size: 11px;
    margin-top: 4px;
}
.tile-caption-muted {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}
.friends-bar {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.5;
}
.friends-bar strong {
    font-weight: bold;
}
.home-intro {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}
.text-small-muted {
    font-size: 11px;
    color: #555;
    line-height: 1.5;
}
.photos-pagination {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.4;
}
.notif-item {
    padding: 6px 0;
    border-bottom: 1px solid #e1e5eb;
}
.notif-time {
    font-size: 11px;
}
.table-members {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.table-members thead tr {
    border-bottom: 1px solid #e1e5eb;
}
.table-members th {
    text-align: left;
    padding: 4px;
}
.table-members th.col-actions {
    width: 260px;
}
.table-members tbody tr {
    border-bottom: 1px solid #f0f2f5;
}
.table-members td {
    padding: 4px;
    vertical-align: top;
}
.member-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.member-actions form {
    display: inline;
    margin: 0;
}
