/**
 * TPP Design Tokens — Shared CSS Variable System
 * Aligns with Kadence theme variables with fallbacks for standalone use.
 * Enqueued globally via class-assets.php as 'tpp-tokens'.
 */
:root {
    /* ── Brand Colors (Business Neutral) ── */
    --tpp-primary: #0F3460;
    --tpp-primary-hover: #1A4D8F;
    --tpp-primary-light: #EBF2FA;
    --tpp-primary-border: #BFD7E8;
    --tpp-accent: #3A6EA5;
    --tpp-success: #2F7A4E;
    --tpp-success-light: #E8F5ED;
    --tpp-warning: #B7791F;
    --tpp-warning-light: #FEF6E9;
    --tpp-danger: #A93226;
    --tpp-danger-light: #FBEAE8;
    --tpp-danger-hover: #8B2A20;
    --tpp-danger-border: #F0C8C4;

    /* ── Semantic Borders (alert outlines) ── */
    --tpp-success-border: #B6E3C3;
    --tpp-warning-border: #F0D9A8;

    /* ── Semantic Hovers ── */
    --tpp-success-hover: #266B41;

    /* ── Neutrals ── */
    --tpp-text: #1F2937;
    --tpp-text-sub: #6B7280;
    --tpp-text-muted: #94A3B8;
    --tpp-bg: #F7F8FA;
    --tpp-surface: #FFFFFF;
    --tpp-border: #E4E7EB;
    --tpp-border-light: #F1F5F9;

    /* ── Spacing ── */
    --tpp-space-xs: 8px;
    --tpp-space-sm: 12px;
    --tpp-space-md: 16px;
    --tpp-space-lg: 24px;
    --tpp-space-xl: 40px;

    /* ── Radius ── */
    --tpp-radius-sm: 6px;
    --tpp-radius-md: 8px;
    --tpp-radius-lg: 12px;

    /* ── Shadow ── */
    --tpp-shadow-sm: 0 1px 2px rgba(15, 52, 96, .06);
    --tpp-shadow-md: 0 4px 12px rgba(15, 52, 96, .08);
    --tpp-shadow-lg: 0 8px 24px rgba(15, 52, 96, .10);

    /* ── Font ── */
    --tpp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --tpp-font-size: 15px;
    --tpp-font-size-sm: 13px;
    --tpp-font-size-lg: 18px;
    --tpp-font-size-xs: 12px;
    --tpp-font-size-xxs: 11px;

    /* ── Transition ── */
    --tpp-transition: all .15s ease;
}

/* ── Form Controls (shared across all TPP pages) ── */
.tpp-input,
.tpp-select,
.tpp-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-sm);
    font-size: var(--tpp-font-size);
    font-family: var(--tpp-font);
    line-height: 1.5;
    background: var(--tpp-surface);
    color: var(--tpp-text);
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
}
.tpp-select {
    padding-right: 36px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.tpp-input:focus,
.tpp-select:focus,
.tpp-textarea:focus {
    outline: none;
    border-color: var(--tpp-primary);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, .12);
}
.tpp-textarea {
    min-height: 120px;
    resize: vertical;
}
.tpp-field {
    margin-bottom: var(--tpp-space-md);
}
.tpp-field label {
    display: block;
    font-size: var(--tpp-font-size-sm);
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--tpp-text);
}
.tpp-field label em,
.tpp-field .tpp-required {
    color: var(--tpp-danger);
    font-style: normal;
    margin-left: 2px;
}
.tpp-field-hint {
    font-size: var(--tpp-font-size-xs);
    color: var(--tpp-text-sub);
    margin-top: 4px;
}
.tpp-field-row {
    display: flex;
    gap: var(--tpp-space-sm);
}
.tpp-field-row .tpp-field {
    flex: 1;
}
.tpp-field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--tpp-space-md);
}
@media (max-width: 640px) {
    .tpp-field-grid,
    .tpp-field-row {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

/* ── Buttons (shared) ── */
.tpp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 10px 24px;
    font-size: var(--tpp-font-size);
    font-weight: 600;
    border-radius: var(--tpp-radius-sm);
    border: 1px solid transparent;
    font-family: var(--tpp-font);
    cursor: pointer;
    text-decoration: none !important;
    transition: var(--tpp-transition);
    box-sizing: border-box;
}
.tpp-btn-primary {
    background: var(--tpp-primary);
    color: #fff;
}
.tpp-btn-primary:hover {
    background: var(--tpp-primary-hover);
    color: #fff;
}
.tpp-btn-primary:disabled {
    background: var(--tpp-text-muted);
    cursor: not-allowed;
}
.tpp-btn-secondary {
    background: transparent;
    color: var(--tpp-primary);
    border-color: var(--tpp-primary);
}
.tpp-btn-secondary:hover {
    background: var(--tpp-primary-light);
    color: var(--tpp-primary);
}
.tpp-btn-danger {
    background: var(--tpp-danger);
    color: #fff;
}
.tpp-btn-danger:hover {
    background: var(--tpp-danger-hover);
    color: #fff;
}
.tpp-btn-sm {
    min-height: 34px;
    padding: 6px 14px;
    font-size: var(--tpp-font-size-sm);
}
.tpp-btn-block {
    width: 100%;
}
.tpp-btn-group {
    display: flex;
    gap: var(--tpp-space-sm);
}
.tpp-btn-group .tpp-btn {
    flex: 1;
}

/* ── Cards ── */
.tpp-card {
    background: var(--tpp-surface);
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-md);
    padding: var(--tpp-space-lg);
    box-shadow: var(--tpp-shadow-sm);
}
.tpp-card + .tpp-card {
    margin-top: var(--tpp-space-md);
}
.tpp-card-title {
    font-size: var(--tpp-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--tpp-space-md);
    padding-bottom: var(--tpp-space-sm);
    border-bottom: 1px solid var(--tpp-border-light);
    color: var(--tpp-text);
}

/* ── Badges ── */
.tpp-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: var(--tpp-font-size-xxs);
    font-weight: 600;
}
.tpp-badge-approved {
    background: var(--tpp-success-light);
    color: var(--tpp-success);
}
.tpp-badge-pending {
    background: var(--tpp-warning-light);
    color: var(--tpp-warning);
}
.tpp-badge-rejected {
    background: var(--tpp-danger-light);
    color: var(--tpp-danger);
}

/* ── Alerts ── */
.tpp-alert {
    padding: 12px 16px;
    border-radius: var(--tpp-radius-sm);
    margin-bottom: var(--tpp-space-md);
    font-size: var(--tpp-font-size-sm);
    line-height: 1.5;
}
.tpp-alert-info {
    background: var(--tpp-primary-light);
    color: var(--tpp-primary);
    border: 1px solid var(--tpp-primary-border);
}
.tpp-alert-success {
    background: var(--tpp-success-light);
    color: var(--tpp-success);
    border: 1px solid var(--tpp-success-border);
}
.tpp-alert-error {
    background: var(--tpp-danger-light);
    color: var(--tpp-danger);
    border: 1px solid var(--tpp-danger-border);
}
.tpp-alert-warning {
    background: var(--tpp-warning-light);
    color: var(--tpp-warning);
    border: 1px solid var(--tpp-warning-border);
}

/* ── Auth Pages (Login / Register) ── */
/* v4.7: 容器+内容水平垂直双居中；login/register 统一宽度，废弃 .wide 修饰 */
.tpp-auth-center-host {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px); /* 预留 Kadence header/footer 高度 */
    padding: var(--tpp-space-xl) var(--tpp-space-md);
}
.tpp-auth-center-host .site-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tpp-auth-wrap {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: var(--tpp-space-lg);
    background: var(--tpp-surface);
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-lg);
    box-shadow: var(--tpp-shadow-md);
}
/* v4.9: Auth 页一屏优化 — 字段间距压缩 (16px→12px) */
.tpp-auth-wrap .tpp-field {
    margin-bottom: var(--tpp-space-sm);
}
/* v4.9: Auth slogan 样式 */
.tpp-auth-slogan {
    font-size: var(--tpp-font-size-xs);
    color: var(--tpp-text-sub);
    margin: 4px 0 0;
    line-height: 1.4;
}
.tpp-auth-intro {
    margin: 0 0 var(--tpp-space-lg);
    padding: var(--tpp-space-sm) var(--tpp-space-md);
    background: var(--tpp-primary-light);
    border-left: 3px solid var(--tpp-primary);
    border-radius: var(--tpp-radius-sm);
    font-size: var(--tpp-font-size-sm);
    color: var(--tpp-text);
    line-height: 1.6;
}
.tpp-auth-logo {
    text-align: center;
    margin-bottom: var(--tpp-space-lg);
}
.tpp-auth-logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--tpp-text);
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}
.tpp-auth-logo small {
    color: var(--tpp-text-sub);
    font-size: var(--tpp-font-size-sm);
    display: block;
}
.tpp-auth-footer {
    margin-top: var(--tpp-space-lg);
    text-align: center;
    font-size: var(--tpp-font-size-sm);
    color: var(--tpp-text-sub);
}
.tpp-auth-footer a {
    color: var(--tpp-primary);
    text-decoration: none;
    font-weight: 600;
}
.tpp-auth-footer a:hover {
    text-decoration: underline;
}
.tpp-auth-legal {
    margin-top: var(--tpp-space-sm);
    font-size: var(--tpp-font-size-xs);
    color: var(--tpp-text-sub);
    text-align: center;
    line-height: 1.5;
}
.tpp-auth-error {
    padding: 10px 14px;
    background: var(--tpp-danger-light);
    border-left: 3px solid var(--tpp-danger);
    font-size: var(--tpp-font-size-sm);
    border-radius: var(--tpp-radius-sm);
    margin-bottom: var(--tpp-space-md);
    display: none;
    color: var(--tpp-text);
}
.tpp-auth-error.show {
    display: block;
}
.tpp-auth-success {
    padding: 10px 14px;
    background: var(--tpp-primary-light);
    border-left: 3px solid var(--tpp-primary);
    font-size: var(--tpp-font-size-sm);
    border-radius: var(--tpp-radius-sm);
    margin-bottom: var(--tpp-space-md);
    display: none;
}
.tpp-auth-success.show {
    display: block;
}
.tpp-auth-success .tpp-auth-success-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--tpp-space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tpp-success-light);
    border-radius: 50%;
}
.tpp-auth-success .tpp-auth-success-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--tpp-success);
}
.tpp-auth-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tpp-auth-loading.show {
    display: flex;
}
.tpp-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--tpp-text-muted);
    border-top-color: var(--tpp-primary);
    border-radius: 50%;
    animation: tpp-spin .7s linear infinite;
}
@keyframes tpp-spin {
    to { transform: rotate(360deg); }
}

/* v4.7: Role Cards 规则已删除（注册页移除角色选择，统一 Publisher 身份） */

/* ── Visitor Page (Hero + Layout) ── */
.tpp-page-wrap {
    font-family: var(--tpp-font);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--tpp-space-md);
}
.tpp-hero {
    background: var(--tpp-surface);
    border-bottom: 1px solid var(--tpp-border);
    padding: var(--tpp-space-xl) var(--tpp-space-lg);
    margin: 0 0 var(--tpp-space-lg);
    border-radius: var(--tpp-radius-md);
    box-shadow: var(--tpp-shadow-sm);
}
.tpp-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--tpp-text);
    margin: 0 0 var(--tpp-space-xs);
    letter-spacing: -0.3px;
}
.tpp-hero p {
    font-size: var(--tpp-font-size);
    color: var(--tpp-text-sub);
    margin: 0;
}
.tpp-main-panel {
    background: var(--tpp-surface);
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-md);
    padding: var(--tpp-space-lg);
    box-shadow: var(--tpp-shadow-sm);
}

/* Filter result notice (session-level filter hint) */
.tpp-filter-notice {
    background: #f0f7ff;
    border: 1px solid #c7ddf5;
    border-left: 4px solid var(--tpp-primary, #0f3460);
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--tpp-text, #1f2937);
}
.tpp-filter-notice strong { color: var(--tpp-primary, #0f3460); }

/* ── Visitor Page Tabs ── */
.tpp-tabs {
    display: flex;
    gap: 0;
    margin: 0 0 var(--tpp-space-md);
    border-bottom: 2px solid var(--tpp-border);
}
.tpp-tab {
    padding: 10px 20px;
    font-size: var(--tpp-font-size-sm);
    font-weight: 600;
    color: var(--tpp-text-sub);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--tpp-transition);
}
.tpp-tab:hover {
    color: var(--tpp-primary);
    text-decoration: none;
}
.tpp-tab.active {
    color: var(--tpp-primary);
    border-bottom-color: var(--tpp-primary);
}

/* ── Visitor Page Filters ── */
.tpp-filters {
    display: flex;
    gap: var(--tpp-space-sm);
    margin-bottom: var(--tpp-space-md);
    flex-wrap: wrap;
    align-items: center;
}
.tpp-filters select,
.tpp-filters input {
    padding: 8px 12px;
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-sm);
    font-size: var(--tpp-font-size-sm);
    font-family: var(--tpp-font);
    background: var(--tpp-surface);
    color: var(--tpp-text);
}
.tpp-filters select {
    min-width: 160px;
    appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.tpp-filters input[type="text"] {
    flex: 1;
    min-width: 200px;
}

/* ── Visitor Page Buttons ── */
.tpp-btn-action {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--tpp-radius-sm);
    font-size: var(--tpp-font-size-xs);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: var(--tpp-font);
    transition: var(--tpp-transition);
}
.tpp-btn-action.tpp-action-contact {
    background: var(--tpp-primary);
    color: #fff;
}
.tpp-btn-action.tpp-action-contact:hover {
    background: var(--tpp-primary-hover);
    color: #fff;
}
.tpp-btn-action.tpp-action-detail {
    background: var(--tpp-surface);
    color: var(--tpp-primary);
    border: 1px solid var(--tpp-primary);
}
.tpp-btn-action.tpp-action-detail:hover {
    background: var(--tpp-primary-light);
}
.tpp-btn-action.tpp-action-quote {
    background: var(--tpp-success);
    color: #fff;
    margin-left: 6px;
}
.tpp-btn-action.tpp-action-quote:hover {
    background: var(--tpp-success-hover);
}

/* ── Visitor Page Cards (Non-Structured) ── */
.tpp-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--tpp-space-md);
}
.tpp-info-card {
    background: var(--tpp-surface);
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-md);
    padding: var(--tpp-space-md);
    display: flex;
    flex-direction: column;
}
.tpp-info-card h3 {
    font-size: var(--tpp-font-size);
    margin: 0 0 var(--tpp-space-xs);
    color: var(--tpp-text);
}
.tpp-info-card .tpp-card-meta {
    font-size: var(--tpp-font-size-xs);
    color: var(--tpp-text-sub);
    margin-bottom: var(--tpp-space-xs);
}
.tpp-info-card .tpp-card-body {
    font-size: var(--tpp-font-size-sm);
    color: var(--tpp-text-sub);
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: var(--tpp-space-sm);
}
.tpp-info-card .tpp-card-action {
    margin-top: auto;
}

/* ── Empty State ── */
.tpp-empty-state {
    text-align: center;
    padding: var(--tpp-space-xl) var(--tpp-space-md);
    color: var(--tpp-text-muted);
}
.tpp-empty-state h3 {
    margin: 0 0 var(--tpp-space-xs);
    color: var(--tpp-text-sub);
}

/* ── Modal Overlay (shared) ── */
.tpp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 52, 96, .4);
    z-index: 99998;
    align-items: center;
    justify-content: center;
    padding: var(--tpp-space-md);
}
.tpp-modal-overlay.show {
    display: flex;
}
.tpp-modal-box {
    background: var(--tpp-surface);
    border-radius: var(--tpp-radius-lg);
    padding: var(--tpp-space-lg);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--tpp-shadow-lg);
    position: relative;
}
.tpp-modal-box.wide {
    max-width: 900px;
}
.tpp-modal-close {
    position: absolute;
    top: var(--tpp-space-sm);
    right: var(--tpp-space-sm);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--tpp-border-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--tpp-text-sub);
    transition: var(--tpp-transition);
}
.tpp-modal-close:hover {
    background: var(--tpp-border);
    color: var(--tpp-text);
}
.tpp-modal-box h3 {
    font-size: var(--tpp-font-size-lg);
    font-weight: 600;
    margin: 0 0 var(--tpp-space-sm);
    color: var(--tpp-text);
    padding-right: var(--tpp-space-lg);
}

/* ── Session Boxes (Structured pages) ── */
.tpp-session-boxes {
    display: flex;
    flex-direction: column;
    gap: var(--tpp-space-md);
}
.tpp-session-box {
    background: var(--tpp-surface);
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-md);
    overflow: hidden;
    box-shadow: var(--tpp-shadow-sm);
    transition: box-shadow .2s;
}
.tpp-session-box:hover {
    box-shadow: var(--tpp-shadow-md);
}
.tpp-session-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--tpp-space-md) var(--tpp-space-lg);
    background: var(--tpp-primary-light);
    border-bottom: 1px solid var(--tpp-primary-border);
}
.tpp-session-summary {
    flex: 1;
}
.tpp-session-summary-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tpp-space-sm) var(--tpp-space-lg);
    align-items: center;
}
.tpp-session-summary-item {
    font-size: var(--tpp-font-size-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}
.tpp-session-label {
    color: var(--tpp-text-sub);
    font-weight: 500;
}
.tpp-session-actions {
    display: flex;
    gap: var(--tpp-space-xs);
    flex-shrink: 0;
}
.tpp-session-box-body {
    padding: 0;
}
.tpp-session-more-hint {
    padding: var(--tpp-space-xs) var(--tpp-space-lg);
    font-size: var(--tpp-font-size-xs);
    color: var(--tpp-text-sub);
    border-top: 1px solid var(--tpp-border-light);
}
.tpp-session-note {
    padding: var(--tpp-space-xs) var(--tpp-space-lg);
    font-size: var(--tpp-font-size-sm);
    color: var(--tpp-text-sub);
    border-top: 1px solid var(--tpp-border-light);
}
.tpp-session-note-body {
    margin-top: 4px;
}

/* ── Spec Table ── */
.tpp-spec-table-wrapper {
    overflow-x: auto;
}
.tpp-spec-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--tpp-font-size-sm);
}
.tpp-spec-list-table th {
    background: var(--tpp-border-light);
    color: var(--tpp-text-sub);
    font-weight: 600;
    font-size: var(--tpp-font-size-xs);
    text-transform: uppercase;
    letter-spacing: .3px;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--tpp-border);
    white-space: nowrap;
}
.tpp-spec-list-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--tpp-border-light);
    white-space: nowrap;
}
.tpp-spec-list-table tr:hover td {
    background: var(--tpp-primary-light);
}

/* ── Contact Publisher Form ── */
.tpp-contact-wrap {
    font-family: var(--tpp-font);
    margin: 0 auto;
    max-width: 720px;
    padding: 0 var(--tpp-space-md) var(--tpp-space-xl);
}
.tpp-contact-card {
    background: var(--tpp-surface);
    border: 1px solid var(--tpp-border);
    border-radius: var(--tpp-radius-md);
    padding: var(--tpp-space-lg);
    box-shadow: var(--tpp-shadow-sm);
}
.tpp-contact-target {
    background: var(--tpp-bg);
    border-radius: var(--tpp-radius-sm);
    padding: var(--tpp-space-sm) var(--tpp-space-md);
    margin-bottom: var(--tpp-space-md);
    border: 1px solid var(--tpp-border);
}
.tpp-contact-target-type {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--tpp-radius-sm);
    font-size: var(--tpp-font-size-xxs);
    font-weight: 700;
    background: var(--tpp-primary-light);
    color: var(--tpp-primary);
    margin-right: 8px;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.tpp-contact-target-title {
    font-size: var(--tpp-font-size);
    font-weight: 600;
    color: var(--tpp-text);
    margin-top: 6px;
}
.tpp-contact-target-pub {
    font-size: var(--tpp-font-size-xs);
    color: var(--tpp-text-sub);
    margin-top: 4px;
}
.tpp-contact-user-box {
    background: var(--tpp-primary-light);
    color: var(--tpp-primary);
    border: 1px solid var(--tpp-primary-border);
    padding: var(--tpp-space-sm) var(--tpp-space-md);
    border-radius: var(--tpp-radius-sm);
    margin-bottom: var(--tpp-space-md);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tpp-contact-user-box .tpp-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--tpp-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--tpp-font-size);
}
.tpp-contact-actions {
    display: flex;
    gap: var(--tpp-space-sm);
    margin-top: var(--tpp-space-md);
    padding-top: var(--tpp-space-md);
    border-top: 1px solid var(--tpp-border-light);
    align-items: center;
}

/* ── Utility ── */
.tpp-hidden {
    display: none !important;
}
.tpp-text-center {
    text-align: center;
}
