
/*-- "Why am I seeing this" pills next to author name. Identical look to
     tl-share-pill (same sand bg, same gray text, same shape) so the three
     read as one family. The text label alone tells the user why the post
     surfaced - no icon, no color cue. */
.tl-following-pill {
	display: inline-flex; align-items: center;
	padding: 0.15rem 0.65rem;
	background: var(--sand); color: var(--ink-light);
	border-radius: 999px; font-size: 0.72rem; font-weight: 500;
	line-height: 1.4; white-space: nowrap;
}

/*-- Compact follow button used inside member tiles / mutual lists. Same color
     system as .btn-secondary (outlined clay, fills clay on hover) but with
     tighter padding so it fits next to a name on one line. */
.tl-btn-follow { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; color: var(--clay-dark); border: 1.5px solid var(--clay); background: transparent; padding: 0.3rem 0.85rem; border-radius: var(--tl-radius-pill); cursor: pointer; font-family: var(--font-body); transition: background 0.15s, border-color 0.15s, color 0.15s; }

.tl-btn-follow:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

.tl-btn-follow.following { background: var(--clay); border-color: var(--clay); color: #fff; }

.tl-btn-follow.following:hover { background: var(--error); border-color: var(--error); color: #fff; }

/*-- Right Sidebar: New Members */
.tl-new-member { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; }

.tl-new-member-name { font-size: 0.83rem; font-weight: 600; color: var(--ink); }

.tl-new-member-loc { font-size: 0.72rem; color: var(--ink-light); }

.tl-new-member .tl-btn-follow { margin-left: auto; }

/*-- Profile: hero fallback gradient when the member has no cover image set.
     Same banner system as businesses/events/marketplace/news; only the
     no-image background changes per module. */
.tl-category-hero.module-members:not(.tl-profile-hero):not([style*="background-image"]) { background: linear-gradient(135deg, #3a2010 0%, #6b3a1a 40%, #c8622a 70%, #e8845a 100%); }

/*-- Locked private-profile card (replaces the tab content for a non-mutual viewer). */
.tl-private-card { background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); box-shadow: var(--tl-shadow-card); padding: var(--tl-space-12) var(--tl-space-8); text-align: center; }

.tl-private-icon { width: 64px; height: 64px; margin: 0 auto var(--tl-space-4); border-radius: 50%; background: var(--sand); color: var(--clay); display: flex; align-items: center; justify-content: center; font-size: var(--tl-text-h2); }

.tl-private-title { font-family: var(--font-display); font-size: var(--tl-text-h2); color: var(--ink); margin: 0 0 var(--tl-space-3); }

.tl-private-text { font-size: var(--tl-text-body); color: var(--ink-mid); max-width: 30rem; margin: 0 auto; line-height: 1.6; }

/*-- Profile: Meta tag pills (member categories - real anchor links to a
     /members/category/{id} filtered view; never a fake button). */
.tl-meta-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tl-meta-tag { background: var(--sand); color: var(--ink-mid); font-size: 0.78rem; font-weight: 500; padding: 0.3rem 0.7rem; border-radius: var(--tl-radius-pill); border: 1px solid var(--sand-dark); transition: background 0.15s, color 0.15s, border-color 0.15s; text-decoration: none; }

.tl-meta-tag:hover { background: var(--clay); color: white; border-color: var(--clay); }

/*-- Profile: Mutual Connections */
.tl-mutual { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }

.tl-mutual-name { font-size: 0.83rem; font-weight: 600; color: var(--ink); }

.tl-mutual-sub { font-size: 0.72rem; color: var(--ink-light); }

.tl-mutual .tl-btn-follow { margin-left: auto; }

@media (max-width: 375px) {
.member-form,
.member-messages { max-width: 100%; overflow-x: hidden; }
}

/*-- Profile + Account sidebars share the same flatten-chrome treatment so
     the right rail reads as side content (text on the page background)
     rather than a stack of bubbles. Same look as the "Upcoming Events"
     sidebar on the community feed. */
.tl-account-sidebar .detail-section { background: transparent; border: 0; border-radius: 0; padding: 0; margin-bottom: 0; }

/*-- No dividers between sidebar sections - matches the Page Manager rail on
     /feed which uses pure whitespace (the 2rem flex gap on the parent) to
     separate sections. Adding a border here on top of the flex gap puts the
     line off-center inside the gap. */
.tl-account-sidebar .detail-section h3 { font-size: 1rem; margin: 0 0 0.65rem; }

/*-- Bio/text body */
.tl-account-sidebar .detail-section-body { line-height: 1.4; margin-bottom: 0.75rem; }

/*-- Icons (left side) use clay-dark across every row. Link semantics live in
     the right-side disclosure caret, not in icon color. */
.tl-account-sidebar .detail-section-row i { color: var(--clay-dark); }

/*-- Link rows: entire row is the click target. Flex anchor lays out
     icon + label + right caret. Subtle hover tint + 2px caret nudge. */
.tl-account-sidebar .detail-section-row.is-link { padding: 0; margin-bottom: 0.15rem; }

.tl-account-sidebar .detail-section-row.is-link a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.4rem 0.5rem;
	margin: 0 -0.5rem;
	border-radius: var(--tl-radius);
	color: var(--ink);
	text-decoration: none;
	transition: background 0.15s;
}

.tl-account-sidebar .detail-section-row.is-link a:hover { background: rgba(158, 74, 30, 0.08); color: var(--ink); }

.tl-account-sidebar .detail-section-row.is-link a > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tl-account-sidebar .detail-section-row.is-link .tl-link-arrow {
	margin-left: auto;
	color: var(--clay-dark);
	font-size: 0.95em;
	flex-shrink: 0;
	opacity: 0.7;
	transition: opacity 0.15s, transform 0.15s;
}

.tl-account-sidebar .detail-section-row.is-link a:hover .tl-link-arrow { opacity: 1; transform: translateX(2px); }

/*-- Account-sidebar identity card: avatar + name + handle stacked inside the
     shared white card chrome. The parent rule above strips card chrome from
     every sidebar section, so re-apply it here for just this one. Each of the
     three elements is its own anchor to /members/{urlname} - empty card area
     is NOT a click target. */
.tl-account-sidebar .tl-account-identity { background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); padding: 1.2rem; text-align: center; }

.tl-account-sidebar .tl-account-identity-avatar,
.tl-account-sidebar .tl-account-identity-name,
.tl-account-sidebar .tl-account-identity-handle,
.tl-account-sidebar .tl-account-identity-balance { display: block; text-decoration: none; color: inherit; }

.tl-account-sidebar .tl-account-identity-avatar { margin-bottom: 0.6rem; }

.tl-account-sidebar .tl-account-identity-avatar .tl-avatar { margin: 0 auto; transition: transform 0.15s; }

.tl-account-sidebar .tl-account-identity-avatar:hover .tl-avatar { transform: scale(1.04); }

.tl-account-sidebar .tl-account-identity-name { margin-top: 0.1rem; }

.tl-account-sidebar .tl-account-identity-handle { margin-top: 0.1rem; }

.tl-account-sidebar .tl-account-identity-balance { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--sand-dark); }

.tl-account-sidebar .tl-account-identity-name:hover .tl-account-name { color: var(--clay-dark); }

.tl-account-sidebar .tl-account-identity-handle:hover .tl-account-handle { color: var(--clay-dark); }

.tl-account-sidebar .tl-account-identity-balance:hover .tl-account-balance { color: var(--clay-dark); }

.tl-account-sidebar .tl-account-identity .tl-account-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); transition: color 0.15s; }

.tl-account-sidebar .tl-account-identity .tl-account-handle { font-size: 0.85rem; color: var(--ink-light); transition: color 0.15s; }

.tl-account-sidebar .tl-account-identity .tl-account-balance { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--clay); transition: color 0.15s; }

/*-- Active link indicator - the row matching the current /account/* path
     gets a light clay tint + bolder weight so the rail mirrors a sidebar nav
     pattern. Subtler than the old solid-clay pill since the rail is cardless. */
.tl-account-sidebar .detail-section-row.is-link.is-active a {
	background: rgba(158, 74, 30, 0.14);
	color: var(--clay-dark);
	font-weight: 600;
}

.tl-account-sidebar .detail-section-row.is-link.is-active a i { color: var(--clay-dark); }

.tl-account-sidebar .detail-section-row.is-link.is-active .tl-link-arrow { opacity: 1; }

/*-- Members Module: Auth Forms */
.member-login-signup { max-width: 420px; margin: 0 auto; min-height: 55vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }

.member-login-signup .form-wrapper { background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); overflow: hidden; width: 100%; max-width: 420px; margin: 0 auto; }

.member-login-signup .form-main { padding: 1.5rem 1.5rem 1rem; }

.member-login-signup .content-title { font-family: var(--tl-font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); margin-bottom: 0.5rem; text-align: center; }

.member-login-signup .form-description { font-size: 0.85rem; color: var(--ink-light); margin-bottom: 1rem; text-align: center; }

.member-login-signup .form-description em { color: var(--clay); font-style: normal; }

.member-login-signup .error-msg { color: var(--error); }

.member-login-signup .success-msg { color: var(--sage); }

.member-login-signup .form-fields ul { list-style: none; padding: 0; margin: 0; }

.member-login-signup .form-fields li { margin-bottom: 0.75rem; }

.member-login-signup .form-fields label,
.member-login-signup .form-fields .label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }

.member-login-signup .form-fields label em,
.member-login-signup .form-fields .label em { color: var(--clay); font-style: normal; }

.member-login-signup .textbox { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); font-family: var(--font-body); font-size: 0.9rem; background: var(--white); color: var(--ink); transition: border-color 0.2s; box-sizing: border-box; }

.member-login-signup .textbox:focus { border-color: var(--clay); outline: none; }

.member-login-signup select.textbox { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b5e52' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }

.member-login-signup .field.with-overlay,
.member-login-signup .field-inline.with-overlay { position: relative; }

.member-login-signup .icon-overlay { position: absolute; right: 0.8rem; top: 0.65rem; color: var(--ink-light); pointer-events: none; font-size: 1rem; }

.member-login-signup .input-overlay { padding-right: 2.2rem; }

.member-login-signup .field-note { font-size: 0.75rem; color: var(--ink-light); margin-top: 0.3rem; }

.member-login-signup .field-inline { display: inline-block; width: calc(50% - 0.25rem); vertical-align: top; }

.member-login-signup .field-inline + .field-inline { margin-left: 0.5rem; }

.member-login-signup .field-hr { border: none; border-top: 1px solid var(--sand-dark); margin: 0.5rem 0; }

.member-login-signup .checkboxradio { font-size: 0.85rem; color: var(--ink-mid); }

.member-login-signup .checkboxradio label { display: inline; font-weight: 400; cursor: pointer; }

.member-login-signup .member-forgot { float: right; font-size: 0.82rem; color: var(--sky); text-decoration: none; cursor: pointer; }

.member-login-signup .member-forgot:hover { color: var(--clay); }

.member-login-signup .member-join { text-align: center; padding-top: 0.75rem; font-size: 0.85rem; }

.member-login-signup .member-join a { color: var(--sky); text-decoration: none; cursor: pointer; font-weight: 600; }

.member-login-signup .member-join a:hover { color: var(--clay); }

.member-login-signup .button { display: flex; width: 100%; justify-content: center; padding: 0.65rem 1.5rem; font-size: 0.95rem; margin-top: 0.5rem; }

.member-login-signup .cvalidation { color: var(--error); font-size: 0.8rem; display: block; margin-top: 0.3rem; }

/*-- Members Module: Edit Profile (wider form) */
.member-form .member-form-row { display: flex; gap: 0.5rem; }

.member-form .member-form-col-1 { flex: 1; }

.member-form .member-form-col-2 { flex: 2; }

.member-form .member-form-checks { display: flex; flex-wrap: wrap; gap: 1rem; }

/*-- Edit Profile: External Links section.
     Each row is one URL input + a remove button. Layout intentionally mirrors
     the public sidebar's row rhythm so the user can mentally connect "this
     input" with "the row that will appear on my profile". */
.member-form .member-form-links .form-help { font-size: 0.78rem; color: var(--ink-light); margin: 0 0 0.6rem; line-height: 1.4; }

.member-form .tl-ext-list { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.6rem; }

.member-form .tl-ext-row { display: flex; gap: 0.5rem; align-items: center; }

.member-form .tl-ext-row input[type="text"] { flex: 1; padding: 0.55rem 0.8rem; border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); font-family: var(--font-body); font-size: 0.9rem; background: var(--white); color: var(--ink); box-sizing: border-box; }

.member-form .tl-ext-row input[type="text"]:focus { border-color: var(--clay); outline: none; }

.member-form .tl-ext-remove { flex-shrink: 0; width: 38px; height: 38px; padding: 0; border: 1px solid var(--sand-dark); background: var(--white); color: var(--ink-light); border-radius: var(--tl-radius); cursor: pointer; transition: color 0.15s, border-color 0.15s; }

.member-form .tl-ext-remove:hover { color: var(--clay-dark); border-color: var(--clay-dark); }

.member-form .tl-ext-add { display: inline-flex; align-items: center; gap: 0.4rem; }

/*-- Members Module: Notifications stream (lives at /account, replaces dashboard).
     Each row is a single anchor - the whole row clicks through to the target
     (post / business / event). Hover tints clay-light so the click affordance
     reads without recoloring text. */
.member-notifications { background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); overflow: hidden; }

.notification-list { display: flex; flex-direction: column; }

.notification-link {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--sand);
	font-size: 0.9rem;
	color: var(--ink-mid);
	text-decoration: none;
	transition: background 0.15s;
}

.notification-list .notification-link:last-child { border-bottom: 0; }

.notification-link:hover { background: rgba(158, 74, 30, 0.08); color: var(--ink); text-decoration: none; }

.notification-icon { width: 22px; text-align: center; color: var(--clay-dark); flex-shrink: 0; font-size: 1rem; }

svg.notification-icon { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }

.notification-link.notif-feed_share svg.notification-icon { fill: none; stroke-width: 2; }

.notification-link.notif-feed_like      .notification-icon { color: var(--error); }

.notification-link.notif-feed_comment   .notification-icon { color: var(--sky); }

.notification-link.notif-feed_share     .notification-icon { color: var(--sage); }

.notification-link.notif-review         .notification-icon { color: var(--gold); }

.notification-link.notif-rsvp           .notification-icon { color: var(--purple); }

.notification-link.notif-business_follow .notification-icon { color: var(--sage); }

.notification-text { flex: 1; min-width: 0; line-height: 1.4; }

.notification-text strong { color: var(--ink); }

.member-notifications .content-empty { padding: 2rem 1rem; text-align: center; color: var(--ink-light); }

.notification-time { font-size: 0.78rem; color: var(--ink-light); white-space: nowrap; flex-shrink: 0; }

/*-- Members Module: Account Layout
   The /account dashboard is a Page-Manager 2-column panel - width and gap come
   from the platform's default panel rendering (cell flex-basis is driven by
   SitePagePanelColumns.Width on each column). NO custom .tl-layout-account /
   .tl-col-left / .tl-col-mid classes - those were hijacking the template's
   default behavior and broke the panel-title bar. The template owns layout. */
.tl-account-card { text-align: center; padding: 1.2rem 1rem; }

.tl-account-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 0.6rem; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; color: white; background: var(--sand-dark); }

/*-- Account card identity = single click target back to /members/{urlname}; centers
     avatar (which is display:flex and ignores text-align) via auto margins, drops the
     anchor underline, and inherits color so the name reads black not blue. */
.tl-account-card-link { display: block; text-decoration: none; color: inherit; }

.tl-account-card-link:hover { text-decoration: none; color: inherit; }

.tl-account-card-link:hover .tl-account-name { color: var(--clay-dark); }

.tl-account-card-link .tl-avatar { margin: 0 auto 0.6rem; }

.tl-account-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }

.tl-account-handle { font-size: 0.82rem; color: var(--ink-light); }

.tl-account-nav { display: flex; flex-direction: column; }

.tl-account-nav-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.8rem; font-size: 0.88rem; color: var(--ink-mid); text-decoration: none; border-radius: var(--tl-radius); transition: background 0.15s; }

.tl-account-nav-link:hover { background: var(--sand); color: var(--ink); }

.tl-account-nav-link.active { background: var(--clay-dark); color: white; font-weight: 600; }

.tl-account-nav-link .fa { width: 18px; text-align: center; }

.tl-account-badge { background: var(--clay-dark); color: white; font-size: 0.7rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: var(--tl-radius); margin-left: auto; }

.tl-account-nav-link.active .tl-account-badge { background: white; color: var(--clay); }

/*-- Members Module: Dashboard */
.tl-dashboard-welcome { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 1.2rem; }

.tl-dashboard-stats { display: flex; gap: 1rem; margin-bottom: 1.5rem; }

.tl-dashboard-stat { display: flex; flex-direction: column; align-items: center; flex: 1; padding: 1rem; background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); text-decoration: none; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }

.tl-dashboard-stat:hover { border-color: var(--clay); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.tl-dashboard-stat .fa { font-size: 1.3rem; color: var(--clay); margin-bottom: 0.4rem; }

.tl-dashboard-stat-count { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--clay); line-height: 1; }

.tl-dashboard-stat-label { font-size: 0.78rem; color: var(--ink-light); margin-top: 0.2rem; }

.tl-dashboard-section { background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); padding: 1.2rem; margin-bottom: 1rem; }

.tl-dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }

.tl-dashboard-header h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 0; }

.tl-dashboard-header h3 .fa { margin-right: 0.4rem; color: var(--clay); }

.tl-dashboard-view-all { font-size: 0.82rem; color: var(--clay); text-decoration: none; font-weight: 600; }

.tl-dashboard-view-all:hover { text-decoration: underline; }

.tl-dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }

.tl-dashboard-card { border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); overflow: hidden; }

.tl-dashboard-card-img { width: 100%; height: 100px; background-size: cover; background-position: center; background-color: var(--sand-dark); }

.tl-dashboard-card-placeholder { display: flex; align-items: center; justify-content: center; }

.tl-dashboard-card-placeholder .fa { font-size: 1.5rem; color: var(--ink-light); }

.tl-dashboard-card-title { padding: 0.5rem 0.6rem 0.15rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tl-dashboard-card-meta { padding: 0 0.6rem 0.5rem; font-size: 0.75rem; color: var(--ink-light); }

.tl-dashboard-empty { font-size: 0.88rem; color: var(--ink-light); margin: 0; }

.tl-dashboard-empty a { color: var(--clay); text-decoration: none; font-weight: 600; }

.tl-dashboard-empty a:hover { text-decoration: underline; }

.tl-dashboard-activity-item { padding: 0.6rem 0; border-bottom: 1px solid var(--sand); }

.tl-dashboard-activity-item:last-child { border-bottom: none; }

.tl-dashboard-activity-text { font-size: 0.88rem; color: var(--ink); line-height: 1.4; }

.tl-dashboard-activity-date { font-size: 0.75rem; color: var(--ink-light); margin-top: 0.2rem; }

/*-- Members Module: Messages Inbox */
.message-list { display: flex; flex-direction: column; }

.message-item { display: grid; grid-template-columns: 50px 38px 1fr 2fr auto; gap: 0.75rem; align-items: center; padding: 0.9rem 1rem; border-bottom: 1px solid var(--sand-dark); background: var(--white); cursor: pointer; transition: background 0.15s; }

.message-avatar { display: flex; align-items: center; justify-content: center; }

.message-item:hover { background: var(--sand); }

.message-item:last-child { border-bottom: none; }

.message-unread { font-weight: 600; background: rgba(58, 122, 191, 0.04); }

.message-unread .message-contact { color: var(--ink); }

.message-direction { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-light); font-weight: 600; }

.message-contact { font-size: 0.9rem; color: var(--ink-mid); font-weight: 500; }

.message-subject { font-size: 0.88rem; color: var(--ink-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.message-date { font-size: 0.78rem; color: var(--ink-light); white-space: nowrap; }

@media (max-width: 930px) {
.message-item { grid-template-columns: 38px 1fr auto; gap: 0.3rem; }

.message-direction { display: none; }

.message-subject { grid-column: 1 / -1; }

.tl-message-compose { padding: var(--tl-space-4); }
}

a.message-item { text-decoration: none; color: inherit; display: grid; }

a.message-item:hover { color: inherit; }

/*-- Members Module: Message Toolbar & Compose */
.tl-message-toolbar { display: flex; justify-content: flex-end; margin-bottom: var(--tl-space-4); }

.tl-message-toolbar .btn { display: inline-flex; align-items: center; gap: 0.4rem; }

.message-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: var(--tl-space-4); color: var(--ink-mid); text-decoration: none; font-size: 0.9rem; }

.message-back:hover { color: var(--clay); }

.tl-message-compose { background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); padding: var(--tl-space-6, 1.5rem); }

.tl-message-compose h3 { margin: 0 0 var(--tl-space-4) 0; font-size: 1.1rem; color: var(--ink); }

.tl-message-compose .form-group { margin-bottom: var(--tl-space-4); position: relative; }

.tl-message-compose label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }

.tl-message-compose .textbox { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); font-family: var(--font-body); font-size: 0.9rem; box-sizing: border-box; }

.tl-message-compose .textbox:focus { border-color: var(--clay); outline: none; }

.tl-message-compose textarea.textbox { resize: vertical; min-height: 120px; }

.tl-message-compose .form-message { min-height: 1.2rem; font-size: 0.85rem; margin-bottom: 0.5rem; }

.tl-message-compose .form-message.error-msg { color: var(--error); }

.tl-message-compose .form-message.msg-success { color: #5a7a5c; }

.tl-autocomplete-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 1px solid var(--sand-dark); border-radius: 0 0 var(--tl-radius) var(--tl-radius); max-height: 200px; overflow-y: auto; z-index: 100; display: none; }

.tl-autocomplete-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.9rem; }

.tl-autocomplete-item:hover { background: var(--sand); }

/*-- Members Module: Message Detail */
.message-back { display: inline-block; font-size: 0.85rem; color: var(--ink-light); margin-bottom: 1rem; text-decoration: none; }

.message-back:hover { color: var(--clay); }

.message-back .fa { margin-right: 0.3rem; }

.message-detail-header { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--sand-dark); }

.message-detail-subject { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); margin: 0 0 0.4rem; }

.message-detail-meta { font-size: 0.85rem; color: var(--ink-light); }

.message-detail-meta strong { color: var(--ink); }

.message-detail-body { font-size: 0.95rem; line-height: 1.7; color: var(--ink-mid); margin-bottom: 2rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); }

.message-reply-form { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sand-dark); }

.message-reply-form h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0 0 0.75rem; color: var(--ink); }

.message-reply-input { width: 100%; padding: 0.75rem; border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); font-family: var(--font-body); font-size: 0.9rem; resize: vertical; min-height: 100px; }

.message-reply-input:focus { border-color: var(--clay); outline: none; }

.message-reply-actions { display: flex; justify-content: flex-end; margin-top: 0.75rem; }

.message-reply-status { font-size: 0.85rem; margin-top: 0.5rem; }

/*-- Members Module: Messages */
.member-messages { max-width: 640px; }

.member-messages .content-title { font-family: var(--tl-font-display); font-weight: 700; font-size: 1.4rem; margin-bottom: 1rem; }

.member-messages .content-empty { padding: 1.5rem; opacity: 0.6; text-align: center; font-size: 0.9rem; color: var(--ink-light); }


/*-- Members Module: Responsive */
@media (max-width: 930px) {
.member-login-signup { max-width: 100%; }

.member-login-signup .field-inline { display: block; width: 100%; }

.member-login-signup .field-inline + .field-inline { margin-left: 0; margin-top: 0.5rem; }

.member-form { max-width: 100%; }

.member-messages { max-width: 100%; }

/* /account responsive stacking is handled by the platform's default panel
	   rendering - no custom .tl-layout-account override here. */
.tl-account-nav { flex-direction: row; flex-wrap: wrap; gap: 0.25rem; }

.tl-account-nav-link { padding: 0.45rem 0.7rem; font-size: 0.82rem; }

.tl-account-card { display: flex; align-items: center; gap: 0.75rem; text-align: left; padding: 0.8rem 1rem; }

.tl-account-card-link { display: flex; align-items: center; gap: 0.75rem; flex: 1; }

.tl-account-card-link .tl-avatar { margin: 0; width: 40px; height: 40px; font-size: 0.9rem; flex-shrink: 0; }

.tl-account-avatar { margin: 0; width: 40px; height: 40px; font-size: 0.9rem; flex-shrink: 0; }

.tl-dashboard-stats { flex-direction: column; }

.tl-dashboard-grid { grid-template-columns: 1fr 1fr; }
}

/*-- Connections modal (followers/following list) */
.tl-connections-modal .tl-modal-body { padding: 0; }

.tl-connections-search { padding: 0.85rem 1rem; border-bottom: 1px solid var(--sand-dark); position: sticky; top: 0; background: var(--white); z-index: 1; }

.tl-connections-search input { width: 100%; padding: 0.55rem 0.75rem; border: 1px solid var(--sand-dark); border-radius: var(--tl-radius); font-family: var(--font-body); font-size: 0.9rem; background: var(--white); box-sizing: border-box; }

.tl-connections-search input:focus { outline: none; border-color: var(--clay); }

.tl-connections-list { list-style: none; padding: 0; margin: 0; }

.tl-connections-list li { border-bottom: 1px solid var(--sand); }

.tl-connections-list li:last-child { border-bottom: 0; }

.tl-connections-list a.tl-connections-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; text-decoration: none; color: inherit; transition: background 0.12s; }

.tl-connections-list a.tl-connections-row:hover,
.tl-connections-list a.tl-connections-row:focus-visible { background: var(--sand); }

/*-- Request rows pair the profile link with a Follow Back action on the right. */
.tl-connections-list li.tl-connections-li-action { display: flex; align-items: center; }

.tl-connections-list li.tl-connections-li-action .tl-connections-row { flex: 1 1 auto; min-width: 0; }

.tl-request-accept { flex: 0 0 auto; margin-right: 1rem; padding: 0.35rem 0.8rem; font-size: 0.8rem; white-space: nowrap; }

.tl-connections-list .tl-connections-meta { display: flex; flex-direction: column; min-width: 0; }

.tl-connections-list .tl-connections-name { font-weight: 700; color: var(--ink); font-size: 0.92rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tl-connections-list .tl-connections-handle { font-size: 0.78rem; color: var(--ink-light); line-height: 1.2; }

.tl-connections-status { padding: 1.5rem 1rem; text-align: center; color: var(--ink-light); font-size: 0.9rem; }

/* Member category field container */
.member-cat-field { padding: var(--tl-space-3); background-color: var(--white); border: 1px solid var(--sand-dark); }

/* Member category checkbox */
.member-cat-checkbox { float: left; width: 50%; padding: 0.125rem 0; line-height: 1; font-size: 0.8rem; }

/* Member category box spacing */
.member-cat-box { margin-right: 3px; }

/* Feed filter dot (dynamic color kept inline) */
/*-- Touch Target Minimum (all sizes) */
.tl-btn-follow {
	min-height: var(--tl-touch-min);
}


/*-- Responsive: Phone (375px) */
@media (max-width: 375px) {
.member-form .member-form-row { flex-direction: column; gap: 0; }

/* Dashboard compact */
.tl-dashboard-grid { grid-template-columns: 1fr; }

.tl-dashboard-welcome { font-size: 1.2rem; }
}
