.pint-app { max-width: 1000px; margin: 0 auto; padding: 24px 16px; font-family: -apple-system, Segoe UI, Roboto, sans-serif; color: #1a1a1a; }
.pint-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.pint-header h1 { font-size: 22px; margin: 0; }
.pint-nav a { margin-left: 16px; text-decoration: none; color: #2554b8; font-weight: 600; }

.pint-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pint-tab { padding: 8px 16px; border: 1px solid #ddd; background: #fff; border-radius: 20px; cursor: pointer; font-size: 14px; }
.pint-tab.active { background: #2554b8; color: #fff; border-color: #2554b8; }

#pint-composer-toggle { margin-bottom: 16px; }
#pint-composer-open { border-style: dashed; color: #2554b8; }
.pint-composer { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #e2e2e2; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.pint-composer input[type="text"], .pint-composer textarea { padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 14px; box-sizing: border-box; }
.pint-pin-check { font-size: 13px; color: #555; }
.pint-composer-actions { display: flex; gap: 8px; }
.pint-composer-actions .button-primary { background: #2554b8; color: #fff; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; }
.pint-composer-actions button:not(.button-primary) { background: #f0f0f0; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; }

.pint-card { background: #fff; border: 1px solid #e2e2e2; border-radius: 8px; padding: 16px 18px; margin-bottom: 12px; }
.pint-card.pinned { border-left: 4px solid #d99a00; }
.pint-card h3 { margin: 0 0 6px; font-size: 16px; }
.pint-card time { display: block; margin-top: 8px; font-size: 12px; color: #888; }

.pint-messages-layout { display: flex; gap: 16px; height: 70vh; min-height: 480px; }
.pint-conversations-pane { width: 280px; border: 1px solid #e2e2e2; border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; }
.pint-search-box { position: relative; padding: 12px; border-bottom: 1px solid #eee; }
.pint-search-box input { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; }
.pint-search-results { position: absolute; left: 12px; right: 12px; top: 48px; background: #fff; border: 1px solid #ddd; border-radius: 6px; z-index: 5; max-height: 220px; overflow-y: auto; display: none; }
.pint-search-result { display: flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer; }
.pint-search-result:hover { background: #f4f6fb; }
.pint-search-result img { width: 28px; height: 28px; border-radius: 50%; }
.pint-search-empty { padding: 10px; color: #888; font-size: 13px; }

.pint-conversation-list { overflow-y: auto; flex: 1; }
.pint-conversation-item { display: flex; gap: 10px; padding: 10px 12px; cursor: pointer; border-bottom: 1px solid #f2f2f2; }
.pint-conversation-item:hover, .pint-conversation-item.active { background: #f4f6fb; }
.pint-conversation-item img { width: 36px; height: 36px; border-radius: 50%; }
.pint-conversation-item p { margin: 2px 0 0; font-size: 12px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pint-empty { padding: 16px; color: #888; font-size: 13px; }

.pint-thread-pane { flex: 1; border: 1px solid #e2e2e2; border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; }
.pint-thread-header { padding: 12px 16px; border-bottom: 1px solid #eee; font-weight: 600; }
.pint-thread-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pint-message span { display: inline-block; padding: 8px 12px; border-radius: 14px; max-width: 70%; font-size: 14px; }
.pint-message.mine { align-self: flex-end; }
.pint-message.mine span { background: #2554b8; color: #fff; }
.pint-message.theirs span { background: #f0f0f0; }
.pint-send-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #eee; }
.pint-send-form input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 20px; }
.pint-send-form button { padding: 10px 20px; border: none; border-radius: 20px; background: #2554b8; color: #fff; cursor: pointer; }

/* Manage Team page */
.pint-member-list { background: #fff; border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.pint-member-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f2f2f2; }
.pint-member-row img { width: 36px; height: 36px; border-radius: 50%; }
.pint-member-info { flex: 1; display: flex; align-items: center; gap: 8px; }
.pint-badge { font-size: 11px; background: #e8f0fe; color: #2554b8; padding: 2px 8px; border-radius: 10px; }
.pint-badge-muted { background: #f0f0f0; color: #777; }
.pint-remove-btn { background: none; border: 1px solid #ddd; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 13px; color: #a02020; }
.pint-add-member { position: relative; max-width: 320px; }
.pint-add-member input { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; }
.pint-delete-dept { margin-top: 20px; background: none; border: 1px solid #f0c0c0; color: #a02020; padding: 8px 16px; border-radius: 6px; cursor: pointer; }
