.content-column {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.section-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 18px;
	transition: box-shadow var(--transition);
}

.section-card:hover {
	box-shadow: var(--shadow-md);
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.section-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
}

.section-note {
	font-size: 0.82rem;
	color: var(--text-muted);
	line-height: 1.65;
}

.badge-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--primary-light);
	color: var(--primary);
	border-radius: 99px;
	padding: 5px 10px;
	font-size: 0.7rem;
	font-weight: 700;
}

.btn-primary,
.btn-secondary {
	border-radius: 99px;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 8px 16px;
	border: 1.5px solid transparent;
	transition: all var(--transition);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), #6f8ee8);
	color: #fff;
	box-shadow: 0 3px 10px rgba(78, 115, 223, 0.24);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 18px rgba(78, 115, 223, 0.35);
}

.btn-secondary {
	border-color: var(--border);
	color: var(--text-muted);
	background: var(--bg);
}

.btn-secondary:hover {
	border-color: var(--primary);
	color: var(--primary);
	background: var(--primary-light);
}

.inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.data-list {
	display: grid;
	gap: 10px;
}

.data-item {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.82rem;
	color: var(--text-muted);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 10px 12px;
}

.data-item strong {
	color: var(--text);
}

.grid-2,
.grid-3 {
	display: grid;
	gap: 12px;
}

.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cover-photo {
	height: 160px;
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--primary), #6f8ee8 62%, var(--accent));
	border: 1px solid var(--border);
	position: relative;
	background-size: cover;
	background-position: center;
}

.profile-hero {
	margin-top: -34px;
	padding: 0 18px 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
}

.profile-avatar-lg {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 4px solid #fff;
	background: linear-gradient(135deg, var(--primary), #6f8ee8);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	font-weight: 700;
	box-shadow: var(--shadow-sm);
	position: relative;
	background-size: cover;
	background-position: center;
}

.profile-media-edit-btn {
	position: absolute;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	background: rgba(20, 28, 44, 0.66);
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
	z-index: 2;
}

.profile-media-edit-btn:hover {
	transform: translateY(-1px);
	background: rgba(20, 28, 44, 0.86);
}

.profile-media-edit-btn.cover-edit {
	right: 12px;
	top: 12px;
}

.profile-media-edit-btn.avatar-edit {
	right: -2px;
	bottom: -2px;
}

.profile-file-input {
	display: none;
}

.profile-meta {
	flex: 1;
	min-width: 240px;
}

.profile-meta h1 {
	font-size: 1.1rem;
	color: var(--text);
	margin-bottom: 2px;
}

.profile-meta p {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.profile-follow-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.profile-follow-stats span {
	font-size: 0.78rem;
	color: var(--text-muted);
	background: var(--bg);
	border: 1px solid var(--border);
	padding: 4px 10px;
	border-radius: 99px;
}

.profile-follow-stats strong {
	color: var(--text);
	font-weight: 700;
}

.profile-summary {
	font-size: 0.84rem;
	line-height: 1.7;
	color: var(--text-muted);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-list .tag {
	font-size: 0.7rem;
}

.project-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
	padding: 12px;
}

.project-card h4 {
	font-size: 0.86rem;
	margin-bottom: 6px;
}

.project-card p {
	font-size: 0.78rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.auth-shell {
	min-height: calc(100vh - var(--navbar-h));
	display: grid;
	place-items: center;
	padding: 24px 16px;
}

.auth-card {
	width: min(430px, 100%);
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	padding: 24px;
}

.auth-card h1 {
	font-size: 1.2rem;
	margin-bottom: 8px;
}

.auth-card p {
	color: var(--text-muted);
	font-size: 0.82rem;
	margin-bottom: 16px;
}

.auth-form {
	display: grid;
	gap: 10px;
}

.field-wrap {
	display: grid;
	gap: 6px;
}

.field-wrap span {
	font-size: 0.74rem;
	color: var(--text-muted);
	font-weight: 600;
}

.field-wrap input,
.field-wrap select,
.field-wrap textarea {
	border: 1.5px solid var(--border);
	border-radius: 10px;
	background: var(--bg);
	color: var(--text);
	padding: 10px 12px;
	font-size: 0.84rem;
	outline: none;
	transition: all var(--transition);
}

.field-wrap textarea {
	min-height: 96px;
	resize: vertical;
}

.field-wrap input:focus,
.field-wrap select:focus,
.field-wrap textarea:focus {
	background: #fff;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.12);
}

.messages-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 14px;
	min-height: 560px;
}

.chat-list {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 560px;
	overflow-y: auto;
}

.chat-user-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	text-align: left;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	background: #fff;
	padding: 10px 12px;
	cursor: pointer;
	transition: all var(--transition);
}

.chat-user-item .avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chat-user-item .user-info {
	min-width: 0;
}

.chat-user-item .user-name {
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--text);
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-user-item .user-role {
	font-size: 0.74rem;
	color: var(--text-muted);
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-user-item:hover,
.chat-user-item.active {
	border-color: var(--primary);
	background: var(--primary-light);
}

.chat-window {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-height: 560px;
}

.chat-header {
	border-bottom: 1px solid var(--border);
	padding: 12px 14px;
	font-size: 0.84rem;
	font-weight: 700;
}

.chat-thread {
	padding: 14px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.chat-bubble {
	max-width: 72%;
	font-size: 0.82rem;
	line-height: 1.55;
	border-radius: 12px;
	padding: 10px 12px;
	animation: fadeIn 0.22s ease;
}

.chat-bubble.received {
	background: #fff;
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: 0 12px 12px 12px;
}

.chat-bubble.sent {
	margin-left: auto;
	background: linear-gradient(135deg, var(--primary), #6f8ee8);
	color: #fff;
	border-radius: 12px 0 12px 12px;
}

.chat-input-row {
	border-top: 1px solid var(--border);
	padding: 10px;
	display: flex;
	gap: 8px;
}

.chat-input-row input {
	flex: 1;
	border: 1.5px solid var(--border);
	border-radius: 99px;
	padding: 9px 14px;
	background: #fff;
	font-size: 0.82rem;
	outline: none;
}

.chat-input-row input:focus {
	border-color: var(--primary);
}

.notification-list {
	display: grid;
	gap: 12px;
}

.notification-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
	padding: 12px 14px;
	cursor: pointer;
	transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.notification-icon {
	width: 42px;
	height: 42px;
	min-width: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 0.95rem;
	border: 1px solid transparent;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.notification-icon--like {
	background: rgba(231, 74, 59, 0.12);
	border-color: rgba(231, 74, 59, 0.2);
	color: #d53f2f;
}

.notification-icon--rating {
	background: rgba(246, 194, 62, 0.16);
	border-color: rgba(224, 168, 0, 0.24);
	color: #b98500;
}

.notification-icon--alert {
	background: rgba(78, 115, 223, 0.14);
	border-color: rgba(78, 115, 223, 0.24);
	color: #355fc8;
}

.notification-content {
	flex: 1;
	min-width: 0;
}

.notification-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.notification-type {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--primary);
	background: rgba(78, 115, 223, 0.12);
	border-radius: 999px;
	padding: 3px 9px;
}

.notification-time {
	font-size: 0.72rem;
	color: var(--text-muted);
	white-space: nowrap;
}

.notification-message {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--text);
	word-break: break-word;
}

.notification-unread {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 9px;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
	background: #eaf1ff;
	color: #1f4db3;
}

.notification-item:hover {
	border-color: var(--primary);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.notification-item.read {
	opacity: 0.78;
}

.request-item {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
	padding: 10px;
	transition: all var(--transition);
}

.request-item.resolved {
	opacity: 0.6;
}

.rating-stars {
	display: flex;
	gap: 6px;
}

.rating-star {
	color: #ced4da;
	font-size: 1.25rem;
	cursor: pointer;
	transition: color var(--transition), transform var(--transition);
}

.rating-star:hover,
.rating-star.active {
	color: var(--accent-dark);
	transform: translateY(-1px);
}

.reply-list {
	display: grid;
	gap: 8px;
	margin-top: 8px;
	margin-left: 28px;
}

.reply-item {
	display: flex;
	gap: 8px;
}

.reply-item .avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #fff;
	font-size: 0.6rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.comment-thread-actions {
	margin-top: 5px;
}

.reply-toggle {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--primary);
}

.reply-composer {
	display: none;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.reply-composer.open {
	display: flex;
}

.reply-composer input {
	flex: 1;
	border: 1.5px solid var(--border);
	border-radius: 99px;
	padding: 7px 12px;
	font-size: 0.78rem;
	outline: none;
}

.reply-composer input:focus {
	border-color: var(--primary);
}

.reply-send {
	border: 1.5px solid var(--primary);
	border-radius: 99px;
	color: var(--primary);
	padding: 5px 10px;
	font-size: 0.72rem;
	font-weight: 600;
}

.create-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.upload-strip {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.hidden-upload {
	display: none;
}

.search-bar-form {
	display: flex;
	gap: 8px;
}

.search-bar-form input {
	flex: 1;
	border: 1.5px solid var(--border);
	border-radius: 99px;
	padding: 10px 14px;
	font-size: 0.84rem;
	background: var(--bg);
	outline: none;
}

.search-bar-form input:focus {
	border-color: var(--primary);
}

.article-body {
	font-size: 0.84rem;
	line-height: 1.8;
	color: var(--text-muted);
}

.article-body h3 {
	color: var(--text);
	margin: 14px 0 6px;
}

.pill-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.status-pill {
	border-radius: 99px;
	padding: 4px 10px;
	font-size: 0.7rem;
	font-weight: 700;
}

.status-pill.success {
	color: var(--success);
	background: #e6faf3;
}

.status-pill.warning {
	color: var(--accent-dark);
	background: #fff8e1;
}

.status-pill.danger {
	color: var(--danger);
	background: #fdecea;
}

.sidebar-left,
.sidebar-right {
	position: sticky;
	top: calc(var(--navbar-h) + 12px);
	max-height: calc(100vh - var(--navbar-h) - 20px);
	overflow-y: auto;
	padding-right: 3px;
}

.post-title-link {
	color: inherit;
}
