﻿/* Post-Forge — brand styles */

:root {
    --ct-primary: #4F46E5;
    --ct-accent: #06B6D4;
    --ct-bg: #0f172a;
    --ct-surface: #1e293b;
}

/* Animated logo */
.contentor-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
}

.contentor-logo svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.logo-sm { width: 36px; height: 36px; }
.logo-md { width: 48px; height: 48px; }
.logo-lg { width: 56px; height: 56px; }

.logo-animated .logo-node {
    transform-origin: center;
    animation: nodePulse 2.4s ease-in-out infinite;
}
.logo-animated .logo-node-2 { animation-delay: 0.3s; }
.logo-animated .logo-node-3 { animation-delay: 0.6s; }

.logo-animated .logo-flow {
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    animation: flowLine 2s ease-in-out infinite;
}

.logo-animated .logo-pulse {
    animation: dotTravel 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.85; }
}

@keyframes flowLine {
    0%, 100% { stroke-dashoffset: 22; opacity: 0.5; }
    50% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes dotTravel {
    0% { cx: 21; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { cx: 43; opacity: 0; }
}

/* Landing */
.landing-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 0.75rem;
}

.landing-brand .contentor-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.landing-brand h1 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, #fff, var(--ct-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.landing-tagline {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 28rem;
}

.landing-pipeline {
    font-size: 0.8rem;
    margin: 0 0 0.25rem;
}

.landing-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.75rem; }
.landing-actions .btn-primary {
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-accent));
    border: none;
    padding: 0.75rem 1.75rem;
}

/* Admin layout */
.admin-body {
    margin: 0;
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f172a, #1e1b4b);
    color: #e2e8f0;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.admin-sidebar-brand { text-align: center; margin-bottom: 2rem; }
.admin-sidebar-title { font-weight: 700; font-size: 1.25rem; margin-top: 0.75rem; }
.admin-sidebar-sub { font-size: 0.75rem; opacity: 0.7; }

.admin-nav { list-style: none; padding: 0; margin: 0; flex: 1; }
.admin-nav a {
    display: block;
    padding: 0.65rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(79, 70, 229, 0.35);
    color: #fff;
}

.admin-logout { margin-top: auto; padding-top: 1rem; }
.admin-main { flex: 1; padding: 2rem; overflow-x: auto; }

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-left: 4px solid var(--ct-primary);
}
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--ct-primary); }
.stat-card .stat-label { color: #64748b; font-size: 0.875rem; }
.stat-card .stat-hint {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.3;
    color: #94a3b8;
}

/* Portal analytics (Predis-like) */
.analytics-block-hint {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: #64748b;
}
.analytics-trend {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 140px;
    padding-top: 0.5rem;
}
.analytics-trend-col {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.analytics-trend-bar {
    width: 100%;
    max-width: 28px;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: var(--ct-accent, #06b6d4);
    opacity: 0.85;
}
.analytics-trend-label {
    margin-top: 0.35rem;
    font-size: 0.65rem;
    color: #94a3b8;
}
.analytics-rubric-track {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}
.analytics-rubric-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--ct-primary, #0ea5e9);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #312e81);
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2rem 2.25rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.login-card-wide { max-width: 440px; }

.login-help {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-brand-text { min-width: 0; }

.login-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.login-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

/* Moderation */
.mod-header {
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-accent));
    color: #fff;
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
}
.mod-tenant-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

/* Moderation: editable drafts */
.mod-help { line-height: 1.45; }
.mod-card-head { gap: 0.75rem; }
.mod-title-input {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.15rem 0.4rem;
    min-width: 0;
    flex: 1;
    background: transparent;
}
.mod-title-input:hover { border-color: #e2e8f0; background: #fff; }
.mod-title-input:focus { border-color: var(--ct-accent); background: #fff; outline: none; }
.mod-body {
    line-height: 1.55;
    outline: none;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.mod-body:focus {
    border-color: var(--ct-accent) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.mod-body p:last-child { margin-bottom: 0; }
.mod-note-input { max-width: 420px; }

/* Cover generation progress overlay */
.mod-cover-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}
.mod-cover-overlay.is-open { display: flex; }
.mod-cover-panel {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
    text-align: center;
}
.mod-cover-spinner {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border: 3px solid #e2e8f0;
    border-top-color: var(--ct-accent, #06b6d4);
    border-radius: 50%;
    animation: mod-cover-spin 0.8s linear infinite;
}
@keyframes mod-cover-spin {
    to { transform: rotate(360deg); }
}
.mod-cover-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
}
.mod-cover-status {
    font-size: 0.9rem;
    color: #64748b;
    min-height: 1.35em;
    margin-bottom: 1rem;
}
.mod-cover-bar {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.65rem;
}
.mod-cover-bar > span {
    display: block;
    height: 100%;
    width: 8%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ct-primary, #0ea5e9), var(--ct-accent, #06b6d4));
    transition: width 0.6s ease;
}
.mod-cover-hint {
    font-size: 0.78rem;
    color: #94a3b8;
}
.btn.js-generate-cover.is-busy {
    pointer-events: none;
    opacity: 0.75;
}

.api-key-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: monospace;
    word-break: break-all;
}

@media (max-width: 768px) {
    .admin-body { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}

/* Portal (client cabinet) */
.portal-body {
    margin: 0;
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.portal-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f172a, #134e4a);
    color: #e2e8f0;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.portal-sidebar-brand { text-align: center; margin-bottom: 1.5rem; }
.portal-sidebar-title { font-weight: 700; font-size: 1.2rem; margin-top: 0.75rem; }
.portal-sidebar-sub { font-size: 0.75rem; opacity: 0.75; margin-top: 0.25rem; }

.portal-plan-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.25);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.portal-nav { list-style: none; padding: 0; margin: 0; flex: 1; }
.portal-nav a {
    display: block;
    padding: 0.65rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
}
.portal-nav a:hover, .portal-nav a.active {
    background: rgba(6, 182, 212, 0.3);
    color: #fff;
}

.portal-logout { margin-top: auto; padding-top: 1rem; }
.portal-main { flex: 1; padding: 2rem; overflow-x: auto; }

.channel-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: .55rem .7rem;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.channel-card-on {
    border-color: var(--ct-accent);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.15);
}
.channel-card-locked { opacity: 0.65; background: #f8fafc; }
.channel-card-head { display: flex; gap: .5rem; align-items: center; }
.channel-card-head .min-w-0 { min-width: 0; }
.ch-card-status {
    flex: 0 0 auto;
    width: 1.4rem; height: 1.4rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: .8rem; font-weight: 700; line-height: 1;
}
.ch-card-status.is-ok { color: #047857; background: #d1fae5; border: 1px solid #a7f3d0; }
.ch-card-status.is-warn { color: #b45309; background: #fef3c7; border: 1px solid #fde68a; }
.ch-stat-dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.1rem; height: 1.1rem; border-radius: 50%;
    font-size: .68rem; font-weight: 700; line-height: 1; vertical-align: middle;
}
.ch-stat-dot.is-ok { color: #047857; background: #d1fae5; border: 1px solid #a7f3d0; }
.ch-stat-dot.is-warn { color: #b45309; background: #fef3c7; border: 1px solid #fde68a; }
.channel-stats-table th, .channel-stats-table td { padding: .35rem .5rem; }
.channel-card .form-label { margin-bottom: .15rem; }
.channel-card .form-control-sm { padding: .25rem .4rem; font-size: .8rem; }
.channel-card .channel-test { margin-top: .4rem; }
.channel-card .channel-test .btn-sm { padding: .15rem .5rem; font-size: .75rem; }
.channel-card-foot { margin-top: .4rem; padding-top: .35rem; border-top: 1px solid #f1f5f9; }
.channel-icon { font-size: 1.5rem; line-height: 1; }
.channel-name { font-weight: 600; font-size: .92rem; }
.channel-desc { font-size: 0.8rem; color: #64748b; }
.channel-lock-hint {
    margin-top: .4rem;
    font-size: 0.75rem;
    color: #b45309;
    background: #fffbeb;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
}

.channel-hint {
    margin: 0.5rem 0 0;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

.channels-plan-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdfa 100%);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}
.channels-plan-current { flex: 1; min-width: 200px; }
.channels-plan-label { display: block; font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; }
.channels-plan-name { font-size: 1.25rem; color: var(--ct-primary); }
.channels-plan-quota { margin-top: 0.35rem; font-size: 0.9rem; }
.channels-plan-upgrade { flex: 2; min-width: 260px; }
.channels-plan-table th, .channels-plan-table td { text-align: center; vertical-align: middle; }
.channels-plan-table th:first-child, .channels-plan-table td:first-child { text-align: left; }
.plan-col-active { background: #eef2ff; font-weight: 600; }

.channels-showcase .showcase-tile {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    height: 100%;
    text-align: center;
    transition: border-color 0.2s, transform 0.15s;
}
.showcase-tile-on { border-color: var(--ct-accent); background: #f0fdfa; }
.showcase-tile-locked { opacity: 0.55; }
.showcase-icon { font-size: 1.5rem; display: block; }
.showcase-name { font-weight: 600; font-size: 0.85rem; margin-top: 0.25rem; }
.showcase-pitch { font-size: 0.7rem; color: #64748b; line-height: 1.3; margin-top: 0.2rem; }
.showcase-badge {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
}
.showcase-badge-on { background: #d1fae5; color: #047857; }

.channel-platform-section { margin-top: 0.5rem; }
.channel-platform-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}
.channel-instance { font-size: 0.72rem; }
.channel-publish-label {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    margin-top: 0.15rem;
    white-space: nowrap;
}
.channel-setup { margin-top: .4rem; }
.channel-setup-toggle { font-size: 0.78rem; text-decoration: none; }
.channel-setup-intro {
    color: #334155;
    background: #f0f9ff;
    border-left: 3px solid #0ea5e9;
    padding: 0.35rem 0.5rem;
    border-radius: 0 6px 6px 0;
    line-height: 1.4;
}
.channel-setup-steps {
    padding-left: 1.1rem;
    color: #475569;
    line-height: 1.4;
}
.channel-setup-steps li { margin-bottom: 0.25rem; }
.channel-setup-subhead {
    font-weight: 600;
    color: #1e293b;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    list-style: none;
    margin-left: -1.1rem;
}

.channel-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    font-size: 0.7rem;
    color: #475569;
    background: #f8fafc;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    margin-top: .4rem;
}
.channel-mini-stats-link { margin-left: auto; }
.channel-mini-stats-date { color: #94a3b8; }

/* === Channels page UX === */
.channels-quota-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.82rem;
    color: #475569;
}
.channels-quota-plan { font-weight: 600; color: var(--ct-primary); }
.channels-quota-sep { color: #cbd5e1; }
.channels-intro { line-height: 1.5; font-size: 0.9rem; }

.channel-status-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.channel-conn-badge { display: inline-block; }
.channel-conn-ok {
    font-size: 0.72rem;
    font-weight: 600;
    color: #047857;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    padding: 0.1rem 0.45rem;
}

.channel-test-result { line-height: 1.4; }
.channel-test-warn { color: #b45309; }
.channel-ok-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    color: #047857;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 0.2rem 0.55rem;
}
.channel-err-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.2rem 0.55rem;
}

/* Sticky save bar */
.channels-savebar-spacer { height: 84px; }
.channels-savebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08);
    padding: 0.6rem 1rem;
}
.channels-savebar-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.channels-savebar-status { font-size: 0.88rem; color: #64748b; }
.channels-savebar.dirty .channels-savebar-status { color: #b45309; font-weight: 600; }
.channels-savebar.dirty { border-top-color: #fbbf24; }
#savebarBtn { min-width: 220px; }
.channels-savebar.dirty #savebarBtn {
    animation: savebar-pulse 1.6s ease-in-out infinite;
}
@keyframes savebar-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.0); }
    50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18); }
}
@media (max-width: 575.98px) {
    .channels-savebar-status { width: 100%; }
    #savebarBtn { width: 100%; }
}

/* Collapsible catalog */
.channels-catalog {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem 1rem 1rem;
}
.channels-catalog-summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.4rem 0;
    list-style: none;
}
.channels-catalog-summary::-webkit-details-marker { display: none; }
.channels-catalog-body { padding-top: 0.5rem; }
.channels-plan-upgrade-note {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    line-height: 1.45;
}

/* Inactive channels collapsible */
.channels-inactive {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.4rem 1rem 1rem;
}
.channels-inactive-summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.4rem 0;
    list-style: none;
}
.channels-inactive-summary::-webkit-details-marker { display: none; }
.channels-inactive-body { padding-top: 0.5rem; }

.portal-plan-badge-trial { background: #fef3c7; color: #92400e; }
.portal-trial-banner { font-size: 0.92rem; line-height: 1.45; border-radius: 10px; }

.channel-stats-table th { font-size: 0.8rem; white-space: nowrap; }
.channel-rate {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.rate-good { background: #d1fae5; color: #047857; }
.rate-ok { background: #fef3c7; color: #b45309; }
.rate-bad { background: #fee2e2; color: #b91c1c; }

.suggestion-item {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #e2e8f0;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-rubric { font-weight: 600; font-size: 0.9rem; }
.suggestion-text { font-size: 0.85rem; color: #475569; margin: 0.35rem 0 0.65rem; }

.topic-status-pending { background: #94a3b8 !important; }
.topic-status-queued { background: var(--ct-primary) !important; }
.topic-status-completed { background: #10b981 !important; }
.topic-status-cancelled { background: #cbd5e1 !important; color: #334155 !important; }
.topic-status-failed { background: #ef4444 !important; }

.onboarding-steps {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.onboarding-steps span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e2e8f0;
    font-size: 0.8rem;
}
.onboarding-steps span.active {
    background: var(--ct-primary);
    color: #fff;
}

.onboarding-intro {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.onboarding-prefill {
    font-size: 0.92rem;
    line-height: 1.5;
}

.onboarding-field .field-why {
    margin: 0.25rem 0 0.5rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
}

.onboarding-field .field-hint {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.onboarding-example {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
}

.onboarding-example-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .portal-body { flex-direction: column; }
    .portal-sidebar { width: 100%; }
}
