:root {
    --bg-color: #0d0f14;
    --bg-surface: #1a1d24;
    --bg-card: #222630;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: #2e3440;

    /* Brand Colors */
    --accent-red: #ff2442;
    /* Xiaohongshu */
    --accent-blue: #00f2fe;
    /* Douyin / Tech */
    --accent-green: #00d287;
    /* Success / Profit */
    --accent-purple: #9b51e0;
    /* Trends / Magix */
    --accent-yellow: #f59e0b;
    /* Reports / Data */

    --tab-height: 60px;
    --header-height: 60px;
}

/* ==================== Splash Screen ==================== */
.splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: radial-gradient(ellipse at 30% 20%, #0d1117 0%, #070a0f 50%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.splash-screen.dismissed {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

#particleCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    animation: splashFadeIn 1s ease forwards;
}

@keyframes splashFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.splash-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px; height: 80px;
    margin-bottom: 20px;
}

.logo-glow {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(0,242,254,0.3) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 1; }
}

.splash-icon {
    font-size: 2.5rem;
    color: #00f2fe;
    filter: drop-shadow(0 0 15px rgba(0,242,254,0.5));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(5deg); }
}

.splash-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 6px;
}

.splash-title span {
    background: linear-gradient(135deg, #00f2fe, #00d287);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.splash-subtitle {
    font-size: 0.95rem;
    color: #6b7b8d;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.splash-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.splash-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    opacity: 0;
    animation: featureSlideIn 0.6s ease forwards;
}

.splash-feature:nth-child(1) { animation-delay: 0.3s; }
.splash-feature:nth-child(2) { animation-delay: 0.5s; }
.splash-feature:nth-child(3) { animation-delay: 0.7s; }

@keyframes featureSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.splash-feature i {
    color: #00f2fe;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.splash-feature span {
    color: #c0cdd8;
    font-size: 0.9rem;
    font-weight: 500;
}

.splash-enter-btn {
    background: linear-gradient(135deg, #00f2fe 0%, #00d287 100%);
    color: #000;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: btnAppear 0.5s ease 1s forwards;
    box-shadow: 0 0 30px rgba(0,242,254,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.splash-enter-btn:active {
    transform: scale(0.96);
}

@keyframes btnAppear {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.splash-version {
    font-size: 0.7rem;
    color: #3a4a5a;
    margin-top: 24px;
    letter-spacing: 1px;
    opacity: 0;
    animation: splashFadeIn 0.5s ease 1.2s forwards;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* PC Constraint Container */
.app-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-color);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    padding-bottom: calc(var(--tab-height) + 20px);
}

/* Header */
.app-header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: rgba(13, 15, 20, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--accent-blue);
    font-size: 1.4rem;
}

.header-account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.points-badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-blue);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

/* Views */
.view-section {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Module Sections */
.module-section {
    margin-bottom: 30px;
}

.section-title {
    margin-bottom: 15px;
}

.section-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.section-title .subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Account Slider */
.account-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    /* Firefox */
}

.account-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.account-card {
    min-width: 140px;
    height: 90px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.add-new-btn {
    border: 1px dashed var(--text-secondary);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.add-new-btn:active {
    background: rgba(255, 255, 255, 0.05);
}

.add-new-btn i {
    font-size: 1.5rem;
}

.add-new-btn span {
    font-size: 0.8rem;
}

.crypto-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Platform Grid (6 platforms, 3 columns) */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.platform-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.platform-item:active {
    transform: scale(0.95);
}

.platform-item.bound {
    border-color: rgba(0, 210, 135, 0.3);
}

.platform-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.platform-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.platform-status {
    font-size: 0.6rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 6px;
}

.platform-status.unbound {
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
}

.platform-status.bound-status {
    color: var(--accent-green);
    background: rgba(0, 210, 135, 0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-block {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-block:active {
    transform: scale(0.97);
}

.highlight-block {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.locked {
    opacity: 0.8;
}

.block-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.xhs-red {
    color: var(--accent-red);
    background: rgba(255, 36, 66, 0.1);
}

.douyin-blue {
    color: var(--accent-blue);
    background: rgba(0, 242, 254, 0.1);
}

.neon-green {
    color: var(--accent-green);
    background: rgba(0, 210, 135, 0.1);
}

.neon-purple {
    color: var(--accent-purple);
    background: rgba(155, 81, 224, 0.1);
}

.neon-yellow {
    color: var(--accent-yellow);
    background: rgba(245, 158, 11, 0.1);
}

.neon-blue {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.rag-block {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, #1a1d24 0%, #1e2433 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.rag-block .block-icon {
    margin-bottom: 0;
}

.block-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.block-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin-bottom: 8px;
}

.cost-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.free-tag {
    background: rgba(0, 210, 135, 0.15);
    color: var(--accent-green);
}

.xhs-cockpit-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255,36,66,0.24);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,36,66,0.11), rgba(26,29,36,0.96));
    padding: 16px;
    cursor: pointer;
}

.xhs-entry-main h3 {
    color: #fff;
    font-size: 1.05rem;
    margin: 2px 0 5px;
}

.xhs-entry-main p {
    color: #aab2bd;
    font-size: 0.76rem;
    line-height: 1.45;
    margin: 0;
}

.xhs-entry-kicker {
    color: #ff8ca0;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.xhs-entry-action {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ff2442;
    flex: 0 0 auto;
}

.xhs-cockpit-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.xhs-cockpit-header h2 {
    color: #fff;
    font-size: 1.15rem;
    margin: 2px 0 0;
}

.xhs-worker-badge {
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: 999px;
    color: #fbbf24;
    background: rgba(245,158,11,0.09);
    padding: 6px 8px;
    font-size: 0.66rem;
    white-space: nowrap;
}

.xhs-worker-badge.online {
    border-color: rgba(0,255,163,0.24);
    color: #00ffa3;
    background: rgba(0,255,163,0.08);
}

.xhs-worker-badge.offline {
    border-color: rgba(255,107,107,0.26);
    color: #ff9b9b;
    background: rgba(255,107,107,0.08);
}

.xhs-cockpit-panel,
.xhs-distill-panel,
.xhs-cockpit-list-section {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(31,36,48,0.98), rgba(18,22,32,0.98));
    padding: 14px;
    margin-bottom: 14px;
}

.xhs-cockpit-label {
    display: block;
    color: #d8dee8;
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.xhs-cockpit-paste,
.xhs-cockpit-footage {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(8,10,16,0.72);
    color: #fff;
    padding: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
    resize: vertical;
}

.xhs-cockpit-paste {
    min-height: 132px;
}

.xhs-cockpit-footage {
    min-height: 72px;
    margin-bottom: 12px;
}

.xhs-cockpit-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.xhs-primary-btn,
.xhs-secondary-btn {
    border: none;
    border-radius: 10px;
    padding: 12px 10px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
}

.xhs-primary-btn {
    background: #ff2442;
    color: #fff;
}

.xhs-secondary-btn {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: #e5edf6;
}

.xhs-status-grid,
.xhs-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.xhs-status-grid div,
.xhs-quick-grid button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.045);
    padding: 11px 8px;
    text-align: center;
}

.xhs-status-grid strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.xhs-status-grid span,
.xhs-quick-grid span {
    color: #9aa8b8;
    font-size: 0.68rem;
}

.xhs-quick-grid button {
    color: #fff;
    cursor: pointer;
}

.xhs-quick-grid i {
    display: block;
    color: #ff8ca0;
    font-size: 1rem;
    margin-bottom: 5px;
}

.xhs-distill-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.xhs-distill-head h3 {
    color: #fff;
    font-size: 0.94rem;
    margin: 0 0 3px;
}

.xhs-distill-head small {
    color: #94a3b8;
    font-size: 0.68rem;
}

.xhs-distill-head span {
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,36,66,0.12);
    color: #ff9bad;
    font-size: 0.78rem;
    font-weight: 800;
}

.xhs-distill-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-bottom: 10px;
}

.xhs-distill-row input {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(8,10,16,0.72);
    color: #fff;
    padding: 11px 12px;
    font-size: 0.84rem;
    min-width: 0;
}

.xhs-distill-row button {
    border: none;
    border-radius: 10px;
    background: #ff2442;
    color: #fff;
    padding: 0 13px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.xhs-distill-list {
    max-height: 220px;
    overflow: auto;
}

.xhs-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.xhs-list-head h3 {
    color: #fff;
    font-size: 0.94rem;
    margin: 0;
}

.xhs-list-head button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.xhs-cockpit-list {
    display: grid;
    gap: 8px;
}

.xhs-cockpit-list-item,
.xhs-cockpit-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: #e5edf6;
    padding: 10px;
    text-align: left;
}

.xhs-cockpit-list-item {
    width: 100%;
    cursor: pointer;
}

.xhs-cockpit-list-item strong,
.xhs-cockpit-task-item strong {
    display: block;
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.35;
}

.xhs-cockpit-list-item small,
.xhs-cockpit-task-item small {
    display: block;
    color: #94a3b8;
    font-size: 0.68rem;
    line-height: 1.35;
    margin-top: 3px;
}

.xhs-cockpit-task-item em {
    color: #7b8494;
    font-size: 0.66rem;
    font-style: normal;
    white-space: nowrap;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    /* Mobile bottom sheet style */
    justify-content: center;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-surface);
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    padding: 25px;
    animation: slideUp 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.2rem;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent-blue);
}

.sm-group {
    display: flex;
    gap: 10px;
}

.get-code-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: white;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 500;
}

.primary-btn {
    background: var(--accent-blue);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}

/* Tab Bar */
.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    max-width: 500px;
    width: 100%;
    height: var(--tab-height);
    background: rgba(26, 29, 36, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 0.7rem;
    cursor: pointer;
}

.tab-item i {
    font-size: 1.2rem;
}

.tab-item.active {
    color: var(--accent-blue);
}

/* Illusion Delivery */
.delivery-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.back-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.illusion-container {
    background: var(--bg-color);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    animation: scan 2s infinite ease-in-out;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.code-stream {
    text-align: left;
    font-family: monospace;
    font-size: 0.75rem;
    color: #00d287;
    height: 60px;
    overflow: hidden;
    margin-bottom: 20px;
    opacity: 0.7;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 242, 254, 0.1);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.status-msg {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.progress-bar-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-blue);
    transition: width 0.3s;
}

/* Report */
.report-container {
    margin-top: 20px;
}

.report-card {
    background: var(--bg-surface);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.report-header {
    background: rgba(0, 242, 254, 0.05);
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-blue);
}

.report-body {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Paywall Banner */
.paywall-banner {
    margin-top: 15px;
    background: linear-gradient(135deg, var(--bg-card), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.paywall-icon {
    font-size: 2rem;
    color: var(--accent-yellow);
}

.paywall-text h4 {
    color: var(--accent-yellow);
    margin-bottom: 5px;
}

.paywall-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.paywall-btn {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 600;
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Auth platform buttons */
.auth-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.auth-platform-btn {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    cursor: pointer;
}

.auth-platform-btn.douyin {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-platform-btn.douyin i {
    color: #00f2fe;
}

.auth-platform-btn.xiaohongshu {
    background: #ff2442;
}

/* Invite Banner */
.invite-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0,255,163,0.06) 0%, rgba(0,212,255,0.06) 100%);
    border: 1px solid rgba(0,255,163,0.15);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.invite-banner:active {
    border-color: rgba(0,255,163,0.4);
}

.invite-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-hint {
    font-size: 0.75rem;
    color: #666;
    margin: 8px 0;
}

.test-hint a {
    text-decoration: none;
}

.test-hint label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.test-hint input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* ==================== Hero Banner ==================== */
.hero-banner {
    position: relative;
    border-radius: 18px;
    padding: 28px 22px;
    margin-bottom: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1923 0%, #0d1820 50%, #111827 100%);
    border: 1px solid rgba(0, 242, 254, 0.12);
}

.hero-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 160%;
    height: 180%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 242, 254, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(0, 210, 135, 0.06) 0%, transparent 50%);
    animation: heroGlowShift 6s ease-in-out infinite;
}

@keyframes heroGlowShift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(5%, -5%) scale(1.05); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.shimmer-text {
    background: linear-gradient(
        90deg,
        #00f2fe 0%,
        #00d287 30%,
        #a5f3fc 50%,
        #00d287 70%,
        #00f2fe 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerFlow 3s linear infinite;
}

@keyframes shimmerFlow {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.hero-desc {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.9);
    letter-spacing: 1px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-orb-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -10px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    animation: orbFloat1 5s ease-in-out infinite;
}

.hero-orb-2 {
    width: 50px;
    height: 50px;
    bottom: -10px;
    right: 40%;
    background: radial-gradient(circle, rgba(0, 210, 135, 0.12) 0%, transparent 70%);
    animation: orbFloat2 7s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 12px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -8px); }
}

/* ==================== Stagger Entrance Animation ==================== */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerIn 0.5s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.12s; }
.stagger-item:nth-child(3) { animation-delay: 0.19s; }
.stagger-item:nth-child(4) { animation-delay: 0.26s; }
.stagger-item:nth-child(5) { animation-delay: 0.33s; }
.stagger-item:nth-child(6) { animation-delay: 0.40s; }
.stagger-item:nth-child(7) { animation-delay: 0.47s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover glow for active blocks */
.service-block.highlight-block::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.service-block.highlight-block:hover::after,
.service-block.highlight-block:active::after {
    opacity: 1;
}

/* ==================== Phase 4: Member Card ==================== */
.member-card {
    background: linear-gradient(135deg, #1a2332 0%, #1e2a3a 100%);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-left { display: flex; flex-direction: column; gap: 6px; }

.member-level {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; font-weight: 600; color: #fff;
}

.member-points {
    font-size: 0.8rem; color: #94a3b8;
}

.member-points span:first-child {
    font-size: 1.4rem; font-weight: 700; color: #00ffa3;
}

.launch-ready-card {
    border: 1px solid rgba(0, 210, 135, 0.18);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(25, 34, 42, 0.98), rgba(18, 22, 30, 0.98));
    padding: 16px;
}

.launch-ready-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}

.launch-ready-head span {
    color: #9aa8b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.launch-ready-head strong {
    color: #00ffa3;
    font-size: 0.78rem;
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: 999px;
    background: rgba(0, 255, 163, 0.08);
    padding: 4px 8px;
    white-space: nowrap;
}

.launch-ready-card p {
    color: #c2ccd8;
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0 0 12px;
}

.launch-ready-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.launch-ready-actions button {
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    background: rgba(255,255,255,0.055);
    color: #eef4fb;
    padding: 10px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.launch-ready-actions button:first-child {
    background: #ff2442;
    border-color: rgba(255, 36, 66, 0.3);
    color: #fff;
}

.pricing-usage-note {
    border: 1px solid rgba(0, 255, 163, 0.14);
    border-radius: 10px;
    background: rgba(0, 255, 163, 0.055);
    padding: 10px;
    margin-bottom: 12px;
}

.pricing-usage-note strong,
.pricing-usage-note span {
    display: block;
}

.pricing-usage-note strong {
    color: #00ffa3;
    font-size: 0.82rem;
    margin-bottom: 5px;
}

.pricing-usage-note span {
    color: #aab6c4;
    font-size: 0.7rem;
    line-height: 1.45;
}

.tier-feature-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
}

.tier-feature-row i {
    color: #00ffa3;
    font-size: 0.7rem;
    width: 14px;
    flex: 0 0 14px;
}

.tier-feature-row span {
    color: #c7d1dd;
    line-height: 1.4;
}

.pricing-compliance-note {
    color: #8d99a8;
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
    margin: 10px 2px 0;
}

.ops-radar-panel {
    background: #101621;
    border: 1px solid rgba(0, 242, 254, 0.16);
    border-radius: 14px;
    padding: 16px;
}

.ops-radar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ops-eyebrow {
    color: #718096;
    font-size: 0.72rem;
    margin: 0 0 3px;
}

.ops-radar-head h4 {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
}

.ops-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #00f2fe;
    cursor: pointer;
}

.ops-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.ops-metrics div {
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
}

.ops-metrics span {
    display: block;
    color: #00ffa3;
    font-size: 1.2rem;
    font-weight: 700;
}

.ops-metrics label {
    color: #8892a6;
    font-size: 0.7rem;
}

.content-strategy-panel {
    background: rgba(0,255,163,0.045);
    border: 1px solid rgba(0,255,163,0.12);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.daily-brief-panel {
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.daily-brief-head {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.daily-brief-head strong {
    color: #f8fafc;
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
}

.daily-brief-head span {
    color: #94a3b8;
    display: block;
    font-size: 0.64rem;
    margin-top: 3px;
}

.daily-brief-actions {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 6px;
}

.daily-brief-head button {
    align-items: center;
    background: linear-gradient(135deg, #00f2fe, #00d287);
    border: none;
    border-radius: 9px;
    color: #001014;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    gap: 5px;
    padding: 8px 9px;
}

.daily-brief-head button.secondary {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.1);
    color: #7dd3fc;
}

.daily-brief-metrics {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 10px;
}

.daily-brief-metrics div {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    padding: 8px 6px;
    text-align: center;
}

.daily-brief-metrics strong {
    color: #00ffa3;
    display: block;
    font-size: 0.88rem;
}

.daily-brief-metrics span {
    color: #8da2b5;
    font-size: 0.6rem;
}

.daily-brief-sections {
    display: grid;
    gap: 8px;
}

.daily-brief-section {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 8px;
}

.daily-brief-section > span {
    color: #7dd3fc;
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.daily-brief-action {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    margin-top: 6px;
    padding: 8px;
}

.daily-brief-action.high {
    background: rgba(0,255,163,0.055);
    border-color: rgba(0,255,163,0.16);
}

.daily-brief-action p {
    color: #e8eef7;
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
}

.daily-brief-action small {
    color: #aeb8c4;
    display: block;
    font-size: 0.64rem;
    line-height: 1.45;
}

.daily-brief-action em {
    color: #fbbf24;
    display: block;
    font-size: 0.61rem;
    font-style: normal;
    margin-top: 5px;
}

.daily-brief-guardrail {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 9px;
    padding-top: 8px;
}

.daily-brief-guardrail p {
    color: #96a3b4;
    font-size: 0.63rem;
    line-height: 1.45;
    margin: 3px 0 0;
}

.daily-brief-push-status {
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 9px;
    padding-top: 8px;
}

.daily-brief-push-status span {
    border: 1px solid rgba(148,163,184,0.16);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.62rem;
    padding: 4px 7px;
}

.daily-brief-push-status span.ready {
    background: rgba(56,189,248,0.08);
    border-color: rgba(56,189,248,0.18);
    color: #7dd3fc;
}

.daily-brief-push-status span.sent {
    background: rgba(0,255,163,0.08);
    border-color: rgba(0,255,163,0.18);
    color: #00ffa3;
}

.daily-brief-push-status span.warn {
    background: rgba(251,191,36,0.08);
    border-color: rgba(251,191,36,0.18);
    color: #fbbf24;
}

.daily-brief-push-status small {
    color: #8da2b5;
    font-size: 0.62rem;
    min-width: 0;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-intel-panel {
    background: rgba(56,189,248,0.045);
    border: 1px solid rgba(56,189,248,0.14);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.market-intel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.market-intel-head strong {
    color: #e8eef7;
    display: block;
    font-size: 0.82rem;
    line-height: 1.35;
}

.market-intel-head button {
    align-items: center;
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 9px;
    color: #7dd3fc;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    gap: 5px;
    padding: 7px 9px;
}

.market-intel-list {
    display: grid;
    gap: 7px;
}

.market-intel-item {
    align-items: start;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px;
}

.market-intel-item span {
    color: #8da2b5;
    display: block;
    font-size: 0.61rem;
    margin-bottom: 3px;
}

.market-intel-item p {
    color: #e8eef7;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 4px;
}

.market-intel-item small,
.market-intel-item em {
    color: #aeb8c4;
    display: block;
    font-size: 0.64rem;
    font-style: normal;
    line-height: 1.45;
}

.market-intel-item em {
    color: #bae6fd;
    margin-top: 4px;
}

.market-intel-side {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 62px;
}

.market-intel-side b {
    border-radius: 999px;
    font-size: 0.62rem;
    padding: 3px 7px;
}

.market-intel-side b.high {
    background: rgba(0,255,163,0.1);
    border: 1px solid rgba(0,255,163,0.18);
    color: #00ffa3;
}

.market-intel-side b.medium {
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    color: #fbbf24;
}

.market-intel-side b.low {
    background: rgba(148,163,184,0.1);
    border: 1px solid rgba(148,163,184,0.16);
    color: #cbd5e1;
}

.market-intel-side a,
.market-intel-side span {
    color: #7dd3fc;
    font-size: 0.62rem;
    max-width: 92px;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-intel-guardrails {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 9px;
    padding-top: 8px;
}

.market-intel-guardrails p {
    color: #96a3b4;
    font-size: 0.63rem;
    line-height: 1.45;
    margin: 3px 0 0;
}

.strategy-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.strategy-head h4 {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
}

.strategy-head button {
    border: 1px solid rgba(0,255,163,0.18);
    border-radius: 8px;
    background: rgba(0,255,163,0.09);
    color: #00ffa3;
    padding: 7px 8px;
    font-size: 0.7rem;
    cursor: pointer;
    white-space: nowrap;
}

.strategy-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 9px;
}

.strategy-metrics div {
    background: rgba(255,255,255,0.04);
    border-radius: 9px;
    padding: 8px;
}

.strategy-metrics strong {
    display: block;
    color: #00ffa3;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.strategy-metrics span,
.strategy-best span {
    color: #8da2b5;
    font-size: 0.66rem;
}

.strategy-best {
    background: rgba(255,255,255,0.04);
    border-radius: 9px;
    padding: 9px;
    cursor: pointer;
    margin-bottom: 9px;
}

.strategy-best p {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 3px 0 0;
}

.strategy-lanes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.strategy-lanes div {
    background: rgba(255,255,255,0.035);
    border-radius: 9px;
    padding: 8px;
}

.strategy-lanes strong {
    color: #dce6ef;
    font-size: 0.72rem;
}

.strategy-lanes p {
    color: #aeb8c4;
    font-size: 0.68rem;
    line-height: 1.45;
    margin: 5px 0 0;
}

.strategy-experiments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.strategy-experiments span {
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.14);
    background: rgba(245,158,11,0.07);
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 0.66rem;
}

.brand-brain-card {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.brand-brain-card.is-empty {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    padding: 10px;
}

.brand-brain-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.brand-brain-head strong {
    display: block;
    color: #dce6ef;
    font-size: 0.82rem;
}

.brand-brain-head span {
    color: #38bdf8;
    border: 1px solid rgba(56,189,248,0.16);
    background: rgba(56,189,248,0.08);
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 0.64rem;
    white-space: nowrap;
}

.brand-brain-empty {
    color: #96a3b4;
    font-size: 0.68rem;
    line-height: 1.55;
    margin: 0;
}

.brand-brain-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 8px;
}

.brand-brain-metrics div {
    background: rgba(255,255,255,0.035);
    border-radius: 9px;
    padding: 8px;
}

.brand-brain-metrics strong {
    display: block;
    color: #7dd3fc;
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-brain-metrics span {
    color: #8da2b5;
    font-size: 0.62rem;
}

.brand-brain-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.brand-brain-chips span {
    color: #dce6ef;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 0.64rem;
}

.brand-brain-sources {
    display: grid;
    gap: 6px;
}

.brand-brain-sources div {
    background: rgba(255,255,255,0.03);
    border-radius: 9px;
    padding: 7px 8px;
}

.brand-brain-sources span {
    display: block;
    color: #8da2b5;
    font-size: 0.6rem;
    margin-bottom: 3px;
}

.brand-brain-sources p {
    color: #cbd5e1;
    font-size: 0.66rem;
    line-height: 1.45;
    margin: 0;
}

.account-care-card {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.account-care-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.account-care-head strong {
    color: #dce6ef;
    display: block;
    font-size: 0.82rem;
}

.account-care-head > span {
    align-items: center;
    background: rgba(0,255,163,0.1);
    border: 1px solid rgba(0,255,163,0.18);
    border-radius: 999px;
    color: #00ffa3;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    min-width: 38px;
}

.account-care-note {
    color: #96a3b4;
    font-size: 0.68rem;
    line-height: 1.55;
    margin: 0 0 8px;
}

.account-care-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 8px;
}

.account-care-metrics div,
.account-care-tasks div,
.account-care-redline {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    padding: 8px;
}

.account-care-metrics strong {
    color: #7dd3fc;
    display: block;
    font-size: 0.9rem;
}

.account-care-metrics span {
    color: #8da2b5;
    font-size: 0.62rem;
}

.account-care-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.account-care-focus span {
    background: rgba(125,211,252,0.08);
    border: 1px solid rgba(125,211,252,0.14);
    border-radius: 999px;
    color: #bae6fd;
    font-size: 0.64rem;
    padding: 4px 7px;
}

.account-care-tasks {
    display: grid;
    gap: 6px;
}

.account-care-tasks span {
    color: #8da2b5;
    display: block;
    font-size: 0.6rem;
    margin-bottom: 3px;
}

.account-care-tasks p {
    color: #e8eef7;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 3px;
}

.account-care-tasks small,
.account-care-redline p {
    color: #aeb8c4;
    display: block;
    font-size: 0.64rem;
    line-height: 1.45;
}

.account-care-redline {
    margin-top: 7px;
}

.account-care-redline strong {
    color: #fca5a5;
    display: block;
    font-size: 0.68rem;
    margin-bottom: 4px;
}

.account-care-redline p {
    margin: 3px 0 0;
}

.script-job-card {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.script-job-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.script-job-head strong {
    color: #dce6ef;
    display: block;
    font-size: 0.82rem;
}

.script-job-head button {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #7dd3fc;
    cursor: pointer;
}

.script-job-list {
    display: grid;
    gap: 7px;
}

.script-job-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 54px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    background: rgba(255,255,255,0.035);
    padding: 8px;
}

.script-job-item.running {
    border-color: rgba(56,189,248,0.22);
    background: rgba(56,189,248,0.055);
}

.script-job-item.completed {
    border-color: rgba(0,255,163,0.18);
    background: rgba(0,255,163,0.055);
}

.script-job-item.failed,
.script-job-item.retry {
    border-color: rgba(248,113,113,0.22);
    background: rgba(248,113,113,0.055);
}

.script-job-item span {
    color: #8da2b5;
    display: block;
    font-size: 0.62rem;
    margin-bottom: 3px;
}

.script-job-item p {
    color: #e8eef7;
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.script-job-item small {
    color: #fca5a5;
    display: block;
    font-size: 0.62rem;
    line-height: 1.35;
    margin-top: 3px;
}

.script-job-item button {
    border: 1px solid rgba(0,255,163,0.16);
    border-radius: 8px;
    background: rgba(0,255,163,0.08);
    color: #00ffa3;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 6px 8px;
}

.script-job-item em {
    width: 1px;
}

.brand-memory-note {
    color: #7dd3fc;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.16);
    border-radius: 9px;
    padding: 9px 10px;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 12px 0 0;
}

.diagnosis-action-plan {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(0,255,163,0.16);
    background: rgba(0,255,163,0.055);
    border-radius: 12px;
    text-align: left;
}

.diagnosis-action-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.diagnosis-action-head > div:last-child {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.diagnosis-action-head span {
    display: block;
    color: #00ffa3;
    font-size: 0.7rem;
    margin-bottom: 3px;
}

.diagnosis-action-head strong {
    color: #e5edf6;
    font-size: 0.9rem;
}

.diagnosis-action-head button,
.diagnosis-action-card button {
    border: 1px solid rgba(0,255,163,0.18);
    background: rgba(0,255,163,0.1);
    color: #00ffa3;
    border-radius: 8px;
    padding: 7px 9px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.diagnosis-action-list {
    display: grid;
    gap: 8px;
}

.diagnosis-action-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 9px;
}

.diagnosis-action-card span {
    color: #8da2b5;
    font-size: 0.64rem;
}

.diagnosis-action-card p {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 4px 0;
}

.diagnosis-action-card small {
    display: block;
    color: #aeb8c4;
    font-size: 0.68rem;
    line-height: 1.45;
    margin-bottom: 8px;
}

.diagnosis-action-card div {
    display: flex;
    gap: 7px;
}

.next-cycle-plan {
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 10px;
}

.next-cycle-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 7px;
}

.next-cycle-head span {
    display: block;
    color: #7dd3fc;
    font-size: 0.66rem;
    margin-bottom: 3px;
}

.next-cycle-head strong {
    display: block;
    color: #dce6ef;
    font-size: 0.72rem;
    line-height: 1.35;
    font-weight: 700;
}

.next-cycle-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.next-cycle-head button {
    border: 1px solid rgba(125,211,252,0.18);
    border-radius: 8px;
    background: rgba(125,211,252,0.1);
    color: #7dd3fc;
    padding: 7px 8px;
    font-size: 0.68rem;
    cursor: pointer;
    white-space: nowrap;
}

.next-cycle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.next-cycle-meta span {
    color: #aeb8c4;
    background: rgba(255,255,255,0.045);
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 0.64rem;
}

.next-cycle-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0 10px;
}

.next-cycle-week div {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    background: rgba(255,255,255,0.035);
    padding: 7px 6px;
    min-width: 0;
}

.next-cycle-week div.has-item {
    border-color: rgba(125,211,252,0.18);
    background: rgba(125,211,252,0.07);
}

.next-cycle-week span,
.next-cycle-week small {
    display: block;
    color: #94a3b8;
    font-size: 0.58rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-cycle-week strong {
    display: block;
    color: #e5edf6;
    font-size: 0.64rem;
    line-height: 1.25;
    margin: 4px 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.next-cycle-list {
    display: grid;
    gap: 7px;
}

.next-cycle-item {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    padding: 8px;
}

.next-cycle-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.next-cycle-item-head span,
.next-cycle-item-head em {
    font-size: 0.62rem;
    font-style: normal;
}

.next-cycle-item-head span {
    color: #7dd3fc;
}

.next-cycle-item-head em {
    color: #00ffa3;
}

.next-cycle-item p {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
}

.next-cycle-item small {
    display: block;
    color: #9aa8b7;
    font-size: 0.65rem;
    line-height: 1.45;
}

.next-cycle-item b {
    display: inline-flex;
    margin-top: 6px;
    color: #fbbf24;
    font-size: 0.63rem;
    font-weight: 600;
}

.ops-signal-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.ops-signal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    background: rgba(255,255,255,0.035);
    border-radius: 10px;
    padding: 9px 10px;
    text-decoration: none;
}

.ops-platform {
    color: #00f2fe;
    font-size: 0.68rem;
    min-width: 42px;
}

.ops-signal-title {
    color: #dce6ef;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ops-risk {
    color: #ffb454;
    font-size: 0.68rem;
}

.ops-risk.review {
    color: #00d4ff;
}

.ops-risk.high {
    color: #ff6b6b;
}

.ops-empty {
    color: #64748b;
    font-size: 0.78rem;
    text-align: center;
    padding: 10px 0;
}

.ops-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #dce6ef;
    font-size: 0.78rem;
    margin: 12px 0 8px;
}

.ops-review-head button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #8da2b5;
    cursor: pointer;
}

.ops-idea-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.ops-idea-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px;
}

.ops-idea-top,
.ops-idea-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ops-idea-top {
    color: #8da2b5;
    font-size: 0.68rem;
    margin-bottom: 6px;
}

.ops-source-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0,255,163,0.18);
    border-radius: 999px;
    color: #00ffa3;
    background: rgba(0,255,163,0.08);
    padding: 2px 6px;
    margin-left: 4px;
    font-style: normal;
    font-size: 0.64rem;
}

.ops-idea-title {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 5px;
}

.ops-idea-angle {
    color: #9aa8b8;
    font-size: 0.74rem;
    line-height: 1.5;
    margin: 0 0 8px;
}

.ops-idea-actions a {
    color: #00d4ff;
    font-size: 0.72rem;
    text-decoration: none;
}

.ops-idea-actions div {
    display: flex;
    gap: 6px;
}

.ops-idea-actions button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(0,255,163,0.08);
    color: #00ffa3;
    font-size: 0.72rem;
    cursor: pointer;
}

.ops-idea-actions button + button {
    background: rgba(255,255,255,0.04);
    color: #a9b4c0;
}

.ops-idea-actions .ops-script-btn {
    background: linear-gradient(135deg, #00f2fe, #00d287);
    color: #001014;
    border: none;
    font-weight: 700;
}

.ops-approved {
    color: #00ffa3;
    font-size: 0.72rem;
}

.ops-blocked {
    color: #ff6b6b;
    font-size: 0.72rem;
}

.ops-primary-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 11px 12px;
    background: linear-gradient(135deg, #00f2fe, #00d287);
    color: #001014;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.guided-card {
    background: linear-gradient(145deg, rgba(20,31,44,0.98), rgba(18,36,34,0.98));
    border: 1px solid rgba(0,212,255,0.22);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.guided-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.guided-head span {
    color: #00d4ff;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guided-head h3 {
    color: #fff;
    margin: 3px 0 0;
    font-size: 1rem;
    line-height: 1.35;
}

.guided-head strong {
    min-width: 48px;
    text-align: center;
    border-radius: 10px;
    padding: 7px 8px;
    color: #001014;
    background: linear-gradient(135deg, #00d4ff, #00ffa3);
    font-size: 0.82rem;
}

.guided-main {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    padding: 11px;
    margin-bottom: 10px;
}

.guided-main p {
    color: #fff;
    margin: 0 0 6px;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
}

.guided-main small {
    display: block;
    color: #9dafbd;
    font-size: 0.72rem;
    line-height: 1.5;
}

.guided-steps {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.guided-step {
    flex: 1;
    min-width: 0;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
}

.guided-step.done {
    background: linear-gradient(135deg, #00d4ff, #00ffa3);
}

.guided-task-board {
    display: grid;
    gap: 8px;
    margin: 0 0 10px;
}

.guided-task {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.035);
}

.guided-task.next {
    border-color: rgba(0,255,163,0.26);
    background: rgba(0,255,163,0.06);
}

.guided-task.blocked {
    border-color: rgba(245,158,11,0.26);
    background: rgba(245,158,11,0.07);
}

.guided-task.waiting {
    border-color: rgba(96,165,250,0.26);
    background: rgba(96,165,250,0.07);
}

.guided-task span {
    display: inline-flex;
    color: #00d4ff;
    font-size: 0.62rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.guided-task strong {
    display: block;
    color: #f7fbff;
    font-size: 0.78rem;
    line-height: 1.35;
}

.guided-task p {
    color: #8fa0ad;
    font-size: 0.68rem;
    line-height: 1.45;
    margin: 3px 0 0;
}

.guided-task button {
    min-width: 58px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px;
    padding: 8px 9px;
    background: rgba(255,255,255,0.07);
    color: #e9f7ff;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.guided-playbook {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(0,0,0,0.14);
    padding: 10px;
    margin: 0 0 10px;
}

.guided-playbook-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.guided-playbook-head span {
    color: #00ffa3;
    font-size: 0.68rem;
    font-weight: 900;
}

.guided-playbook-head strong {
    color: #fff;
    font-size: 0.76rem;
    text-align: right;
}

.guided-playbook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.guided-playbook em {
    display: block;
    color: #b9c7d1;
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 800;
    margin-bottom: 5px;
}

.guided-playbook ul {
    margin: 0;
    padding-left: 14px;
    color: #8fa0ad;
    font-size: 0.66rem;
    line-height: 1.45;
}

.guided-actions {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 8px;
    margin-bottom: 8px;
}

.guided-actions button {
    border: none;
    border-radius: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #00f2fe, #00d287);
    color: #001014;
    font-weight: 900;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.guided-actions button.secondary {
    background: rgba(255,255,255,0.06);
    color: #dce6ef;
    border: 1px solid rgba(255,255,255,0.08);
}

.guided-guardrail {
    color: #6f8190;
    font-size: 0.68rem;
    line-height: 1.45;
    margin: 0;
}

.first-day-card {
    background: linear-gradient(145deg, rgba(18,31,34,0.98), rgba(28,26,38,0.98));
    border: 1px solid rgba(0,255,163,0.18);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.first-day-funnel {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.035);
    padding: 10px;
    margin: 0 0 10px;
}

.first-day-funnel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.first-day-funnel-head span {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.first-day-funnel-head strong {
    color: #00ffa3;
    font-size: 0.68rem;
    white-space: nowrap;
}

.first-day-funnel-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.first-day-funnel-step {
    min-width: 0;
    display: grid;
    gap: 4px;
    justify-items: center;
    align-items: start;
    color: #667783;
    font-size: 0.62rem;
    text-align: center;
    line-height: 1.2;
}

.first-day-funnel-step i {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 0.5rem;
}

.first-day-funnel-step.done {
    color: #d8fff1;
}

.first-day-funnel-step.done i {
    color: #001014;
    background: linear-gradient(135deg, #00d4ff, #00ffa3);
}

.first-day-funnel p {
    margin: 8px 0 0;
    color: #8fa0ad;
    font-size: 0.68rem;
    line-height: 1.45;
}

.first-day-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.first-day-head span {
    display: inline-flex;
    color: #00d4ff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.first-day-head h3 {
    color: #fff;
    margin: 3px 0 0;
    font-size: 1rem;
    line-height: 1.35;
}

.first-day-head strong {
    min-width: 48px;
    text-align: center;
    border-radius: 10px;
    padding: 7px 8px;
    color: #001014;
    background: linear-gradient(135deg, #00ffa3, #ffd166);
    font-size: 0.82rem;
}

.first-day-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.first-day-step {
    min-height: 92px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.035);
}

.first-day-step.done {
    border-color: rgba(0,255,163,0.28);
    background: rgba(0,255,163,0.065);
}

.first-day-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.first-day-step-top strong {
    color: #fff;
    font-size: 0.78rem;
}

.first-day-step-top i {
    color: #ffd166;
    font-size: 0.78rem;
}

.first-day-step.done .first-day-step-top i {
    color: #00ffa3;
}

.first-day-step p {
    color: #9dafbd;
    font-size: 0.68rem;
    line-height: 1.45;
    margin: 0;
}

.first-day-action-card {
    border: 1px solid rgba(255,209,102,0.22);
    border-radius: 10px;
    padding: 10px;
    background: rgba(255,209,102,0.06);
    margin-bottom: 10px;
}

.first-day-action-card strong {
    display: block;
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 5px;
}

.first-day-action-card p {
    color: #aeb8c4;
    font-size: 0.7rem;
    line-height: 1.45;
    margin: 0;
}

.first-day-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 8px;
}

.first-day-actions button {
    border: none;
    border-radius: 10px;
    padding: 11px 12px;
    background: linear-gradient(135deg, #00f2fe, #00d287);
    color: #001014;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.first-day-actions button.secondary {
    min-width: 86px;
    background: rgba(255,255,255,0.06);
    color: #dce6ef;
    border: 1px solid rgba(255,255,255,0.08);
}

.first-day-guardrail {
    color: #6f8190;
    font-size: 0.68rem;
    line-height: 1.45;
    margin: 0;
}

.first-day-modal .modal-content {
    max-width: 520px;
}

.first-day-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.first-day-field label {
    display: block;
    color: #dce6ef;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.first-day-field input,
.first-day-field textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 11px 12px;
    font-size: 0.86rem;
    outline: none;
}

.first-day-field textarea {
    min-height: 92px;
    resize: vertical;
    line-height: 1.5;
}

.first-day-platforms,
.first-day-levels,
.first-day-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.first-day-levels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.first-day-levels button,
.first-day-goals button {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px;
    background: rgba(255,255,255,0.05);
    color: #c7d2de;
    padding: 9px 10px;
    font-size: 0.76rem;
    cursor: pointer;
}

.first-day-levels button {
    display: grid;
    gap: 3px;
    min-height: 54px;
}

.first-day-levels button strong {
    font-size: 0.78rem;
}

.first-day-levels button small {
    color: #7e8e9c;
    font-size: 0.62rem;
    line-height: 1.25;
}

.first-day-levels button.selected,
.first-day-goals button.selected {
    border-color: rgba(0,255,163,0.55);
    color: #00ffa3;
    background: rgba(0,255,163,0.08);
}

.first-day-levels button.selected small {
    color: #a9ffe5;
}

.first-day-submit {
    border: none;
    border-radius: 10px;
    padding: 13px 14px;
    background: linear-gradient(135deg, #00ffa3, #00d4ff);
    color: #001014;
    font-weight: 800;
    cursor: pointer;
}

.first-work-card {
    background: linear-gradient(145deg, rgba(16,34,42,0.98), rgba(22,27,42,0.98));
    border: 1px solid rgba(0,242,254,0.18);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.first-work-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.first-work-top span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(0,255,163,0.1);
    color: #00ffa3;
    font-size: 0.7rem;
    font-weight: 700;
}

.first-work-top button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #8da2b5;
    cursor: pointer;
}

.first-work-card h3 {
    color: #fff;
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.35;
}

.first-work-card p {
    color: #aeb8c4;
    margin: 0 0 10px;
    font-size: 0.78rem;
    line-height: 1.5;
}

.first-work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.first-work-meta span {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 4px 8px;
    color: #dce6ef;
    background: rgba(255,255,255,0.04);
    font-size: 0.68rem;
}

.first-work-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #00f2fe, #00d287);
    color: #001014;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
}

.content-empty-card {
    border: 1px dashed rgba(0,242,254,0.22);
    border-radius: 12px;
    padding: 14px;
    background: rgba(0,242,254,0.04);
    text-align: left;
}

.content-empty-card strong {
    display: block;
    color: #fff;
    font-size: 0.86rem;
    margin-bottom: 6px;
}

.content-empty-card p {
    color: #8da2b5;
    font-size: 0.76rem;
    line-height: 1.5;
    margin: 0 0 10px;
}

.content-empty-card button {
    width: 100%;
    border: none;
    border-radius: 9px;
    padding: 10px;
    background: rgba(0,255,163,0.12);
    color: #00ffa3;
    font-weight: 700;
    cursor: pointer;
}

.content-library-panel {
    background: linear-gradient(145deg, rgba(31,36,48,0.96), rgba(19,24,35,0.96));
    border: 1px solid rgba(245,158,11,0.14);
    border-radius: 14px;
    padding: 14px;
}

.diagnosis-evidence-guide {
    border: 1px solid rgba(0,212,255,0.16);
    border-radius: 10px;
    background: rgba(0,212,255,0.055);
    padding: 10px;
    margin: -4px 0 10px;
}

.diagnosis-evidence-guide strong {
    display: block;
    color: #e5edf6;
    font-size: 0.78rem;
    margin-bottom: 4px;
}

.diagnosis-evidence-guide p {
    color: #94a3b8;
    font-size: 0.7rem;
    line-height: 1.45;
    margin: 0 0 8px;
}

.diagnosis-evidence-guide button {
    border: 1px solid rgba(0,255,163,0.18);
    border-radius: 8px;
    background: rgba(0,255,163,0.1);
    color: #00ffa3;
    padding: 7px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.diagnosis-readiness-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0;
}

.diagnosis-readiness-grid span {
    color: #cbd5e1;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 7px;
    font-size: 0.64rem;
    line-height: 1.35;
}

.diagnosis-readiness-grid span.ok {
    color: #00ffa3;
    border-color: rgba(0,255,163,0.18);
    background: rgba(0,255,163,0.08);
}

.diagnosis-readiness-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 7px;
}

.diagnosis-readiness-tags em {
    color: #7dd3fc;
    border: 1px solid rgba(125,211,252,0.16);
    background: rgba(125,211,252,0.07);
    border-radius: 999px;
    padding: 4px 7px;
    font-style: normal;
    font-size: 0.62rem;
}

.diagnosis-missing,
.diagnosis-source-note {
    color: #fbbf24;
    font-size: 0.66rem;
    line-height: 1.45;
    margin: 6px 0;
}

.diagnosis-source-note {
    color: #94a3b8;
}

.diagnosis-guide-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.diagnosis-evidence-meter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid rgba(245,158,11,0.18);
    border-radius: 9px;
    background: rgba(245,158,11,0.08);
    color: #fbbf24;
    padding: 8px 10px;
    font-size: 0.72rem;
    margin: -2px 0 12px;
}

.diagnosis-evidence-meter.ok {
    border-color: rgba(0,255,163,0.2);
    background: rgba(0,255,163,0.08);
    color: #00ffa3;
}

.diagnosis-evidence-meter strong {
    flex: 0 0 auto;
    color: inherit;
}

.content-library-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.library-head-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.content-library-head h4 {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
}

.content-output-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-library-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.content-library-filters select {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    background: #111827;
    color: #fff;
    padding: 9px;
    font-size: 0.78rem;
}

.metrics-import-modal {
    max-width: 560px;
}

.metrics-import-body {
    display: grid;
    gap: 12px;
}

.metrics-import-body p {
    color: #9aa8b7;
    font-size: 0.78rem;
    line-height: 1.55;
    margin: 0;
}

.metrics-import-body textarea {
    min-height: 180px;
    resize: vertical;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #e5edf6;
    padding: 12px;
    font-size: 0.78rem;
    line-height: 1.55;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.metrics-template-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.metrics-template-row button,
.metrics-import-actions button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    background: rgba(255,255,255,0.055);
    color: #dce6ef;
    padding: 8px 9px;
    font-size: 0.72rem;
    cursor: pointer;
}

.metrics-import-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dce6ef;
    font-size: 0.76rem;
}

.metrics-import-check input {
    width: 16px;
    height: 16px;
    accent-color: #00ffa3;
}

.metrics-import-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 8px;
}

.metrics-import-actions button:last-child {
    border: none;
    border-radius: 10px;
    background: #00d287;
    color: #001014;
    padding: 11px 12px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.metrics-import-actions button.secondary {
    background: rgba(125,211,252,0.1);
    border: 1px solid rgba(125,211,252,0.18);
    color: #7dd3fc;
    font-weight: 800;
}

.metrics-import-preview {
    display: grid;
    gap: 8px;
}

.metrics-preview-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.metrics-preview-summary span {
    background: rgba(255,255,255,0.045);
    border-radius: 9px;
    padding: 8px;
    color: #94a3b8;
    font-size: 0.68rem;
    text-align: center;
}

.metrics-preview-summary strong {
    color: #00ffa3;
}

.metrics-preview-list {
    display: grid;
    gap: 6px;
    max-height: 180px;
    overflow-y: auto;
}

.metrics-preview-row {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    padding: 8px 9px;
    background: rgba(255,255,255,0.035);
}

.metrics-preview-row.ok {
    border-color: rgba(0,255,163,0.14);
}

.metrics-preview-row.bad {
    border-color: rgba(255,107,107,0.18);
}

.metrics-preview-row strong {
    display: block;
    color: #e5edf6;
    font-size: 0.74rem;
    margin-bottom: 3px;
}

.metrics-preview-row span {
    display: block;
    color: #94a3b8;
    font-size: 0.66rem;
    line-height: 1.4;
}

.metrics-import-result {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.metrics-import-result div {
    background: rgba(255,255,255,0.045);
    border-radius: 9px;
    padding: 9px 8px;
    text-align: center;
}

.metrics-import-result strong {
    display: block;
    color: #00ffa3;
    font-size: 1rem;
}

.metrics-import-result span {
    color: #8da2b5;
    font-size: 0.65rem;
}

.content-output-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 10px;
}

.content-output-top,
.content-output-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.content-output-top {
    color: #9aa8b8;
    font-size: 0.68rem;
    margin-bottom: 6px;
}

.content-output-title {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 5px;
}

.content-output-preview {
    color: #aeb8c4;
    font-size: 0.74rem;
    line-height: 1.45;
    margin: 0 0 9px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-readiness {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fbbf24;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.16);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.68rem;
    margin-bottom: 9px;
}

.content-readiness.ready {
    color: #00ffa3;
    background: rgba(0,255,163,0.08);
    border-color: rgba(0,255,163,0.18);
}

.publish-assist-inline {
    border: 1px solid rgba(0,212,255,0.14);
    border-radius: 10px;
    background: rgba(0,212,255,0.05);
    padding: 8px 9px;
    margin: 0 0 9px;
}

.publish-assist-inline span {
    display: block;
    color: #00d4ff;
    font-size: 0.68rem;
    margin-bottom: 6px;
}

.publish-assist-inline button {
    border: none;
    border-radius: 8px;
    padding: 7px 9px;
    background: rgba(0,255,163,0.12);
    color: #00ffa3;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.content-status {
    color: #f59e0b;
    font-size: 0.68rem;
    white-space: nowrap;
}

.content-status.published {
    color: #00ffa3;
}

.content-status.ready {
    color: #00d4ff;
}

.content-output-actions {
    justify-content: flex-end;
}

.content-output-actions button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(255,255,255,0.04);
    color: #dce6ef;
    font-size: 0.72rem;
    cursor: pointer;
}

.content-output-actions button.primary {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
}

.publish-assistant-card {
    border: 1px solid rgba(0,212,255,0.14);
    border-radius: 12px;
    background: rgba(0,212,255,0.045);
    padding: 12px;
    margin: 12px 0;
}

.publish-assistant-card h4 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 0.88rem;
}

.publish-assistant-card ul {
    margin: 0 0 10px;
    padding-left: 18px;
    color: #aeb8c4;
    font-size: 0.74rem;
    line-height: 1.55;
}

.source-trace-card {
    border: 1px solid rgba(0,255,163,0.14);
    border-radius: 12px;
    background: rgba(0,255,163,0.045);
    padding: 12px;
    margin: 12px 0;
}

.source-trace-card.warning {
    border-color: rgba(245,158,11,0.22);
    background: rgba(245,158,11,0.06);
}

.source-trace-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 7px;
}

.source-trace-head h4 {
    color: #fff;
    margin: 0;
    font-size: 0.88rem;
}

.source-trace-head span {
    color: #00ffa3;
    font-size: 0.72rem;
    font-weight: 700;
}

.source-trace-card.warning .source-trace-head span {
    color: #fbbf24;
}

.source-trace-card > p,
.source-trace-row p,
.source-trace-row span {
    color: #aeb8c4;
    font-size: 0.72rem;
    line-height: 1.5;
    margin: 0;
}

.source-trace-list {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}

.source-trace-row {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 9px;
    background: rgba(255,255,255,0.035);
    padding: 9px;
}

.source-trace-row strong {
    display: block;
    color: #e8eef7;
    font-size: 0.78rem;
    margin-bottom: 2px;
}

.source-trace-row a {
    display: inline-block;
    color: #00d4ff;
    font-size: 0.72rem;
    margin-top: 5px;
}

.source-trace-warnings {
    display: grid;
    gap: 5px;
    margin-top: 8px;
}

.source-trace-warnings small {
    color: #fbbf24;
    font-size: 0.72rem;
    line-height: 1.45;
}

.publish-slot-list {
    display: grid;
    gap: 7px;
}

.publish-slot-list button {
    border: 1px solid rgba(0,255,163,0.16);
    border-radius: 9px;
    padding: 9px 10px;
    background: rgba(0,255,163,0.08);
    color: #00ffa3;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.publish-slot-list small {
    display: block;
    color: #8da2b5;
    font-weight: 500;
    margin-top: 2px;
}

.content-calendar-panel {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 14px;
}

.calendar-filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
    gap: 8px;
    margin-bottom: 12px;
}

.calendar-filter-row select,
.content-detail-body input,
.content-detail-body textarea,
.content-detail-body select,
.metrics-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    background: #111827;
    color: #fff;
    padding: 10px;
    font-size: 0.82rem;
}

.publish-queue-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.publish-queue-summary div {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 9px;
}

.publish-queue-summary strong {
    display: block;
    color: #00ffa3;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.publish-queue-summary span {
    color: #94a3b8;
    font-size: 0.68rem;
}

.publish-week-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.publish-week-strip button {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: #dce6ef;
    padding: 8px 4px;
    cursor: pointer;
    min-width: 0;
}

.publish-week-strip button.today {
    border-color: rgba(0,255,163,0.22);
    background: rgba(0,255,163,0.08);
}

.publish-week-strip span,
.publish-week-strip small {
    display: block;
    color: #94a3b8;
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.publish-week-strip strong {
    display: block;
    color: #00ffa3;
    font-size: 0.95rem;
    margin: 2px 0;
}

.publish-calendar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.publish-bucket {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.publish-bucket-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #dce6ef;
    font-size: 0.78rem;
    padding: 4px 2px 0;
}

.publish-bucket-title span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.publish-bucket-title i {
    color: #fbbf24;
}

.publish-bucket-title strong {
    color: #94a3b8;
    font-weight: 500;
}

.calendar-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}

.calendar-item.pulse-focus {
    border-color: rgba(0,255,163,0.48);
    box-shadow: 0 0 0 3px rgba(0,255,163,0.08);
}

.calendar-time {
    color: #fbbf24;
    font-size: 0.72rem;
}

.calendar-item p {
    color: #fff;
    font-size: 0.82rem;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-item span {
    color: #94a3b8;
    font-size: 0.7rem;
}

.publish-queue-item {
    align-items: flex-start;
}

.queue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.queue-actions button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(255,255,255,0.04);
    color: #dce6ef;
    font-size: 0.68rem;
    cursor: pointer;
}

.queue-actions button.primary {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
}

.content-detail-modal {
    max-width: 760px;
    width: min(94vw, 760px);
    max-height: 90vh;
    overflow: hidden;
}

.content-detail-body {
    max-height: calc(90vh - 66px);
    overflow-y: auto;
    padding: 0 2px 4px;
}

.detail-readiness {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.16);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.detail-readiness.ready {
    background: rgba(0,255,163,0.08);
    border-color: rgba(0,255,163,0.18);
}

.detail-readiness strong {
    color: #fff;
    font-size: 0.84rem;
}

.detail-readiness p {
    color: #aeb8c4;
    margin: 4px 0 0;
    line-height: 1.45;
    font-size: 0.72rem;
}

.detail-readiness span {
    flex: 0 0 auto;
    color: #fbbf24;
    font-size: 0.72rem;
}

.content-detail-body label {
    display: block;
    color: #cbd5e1;
    font-size: 0.76rem;
    margin: 10px 0 5px;
}

.content-detail-body textarea {
    min-height: 230px;
    line-height: 1.55;
    resize: vertical;
}

.content-detail-body textarea.short {
    min-height: 82px;
}

.detail-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.content-checklist {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px;
}

.content-checklist label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #dbe4ef;
    line-height: 1.4;
}

.detail-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0;
}

.detail-actions button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    padding: 10px 8px;
    background: rgba(245,158,11,0.1);
    color: #fbbf24;
    font-size: 0.78rem;
    cursor: pointer;
}

.platform-variant-box {
    margin: 12px 0;
    border: 1px solid rgba(102,126,234,0.18);
    border-radius: 12px;
    background: rgba(102,126,234,0.055);
    padding: 12px;
    display: grid;
    gap: 8px;
}

.platform-variant-box h4 {
    color: #fff;
    font-size: 0.86rem;
    margin: 0 0 2px;
}

.platform-variant-box button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    color: #dce6ef;
    padding: 9px 10px;
    text-align: left;
    cursor: pointer;
}

.platform-variant-box button.current {
    border-color: rgba(0,255,163,0.28);
    background: rgba(0,255,163,0.08);
}

.platform-variant-box span,
.platform-variant-box small {
    display: block;
    color: #94a3b8;
    font-size: 0.68rem;
}

.platform-variant-box strong {
    display: block;
    color: #fff;
    font-size: 0.78rem;
    margin: 3px 0;
    line-height: 1.35;
}

.xhs-local-worker-status {
    border: 1px solid rgba(245,158,11,0.18);
    border-radius: 10px;
    background: rgba(245,158,11,0.08);
    color: #fbbf24;
    padding: 9px 10px;
    font-size: 0.76rem;
    margin: 0 0 10px;
}

.xhs-local-worker-status.online {
    border-color: rgba(0,255,163,0.22);
    background: rgba(0,255,163,0.08);
    color: #00ffa3;
}

.xhs-local-worker-status.offline {
    border-color: rgba(255,107,107,0.28);
    background: rgba(255,107,107,0.08);
    color: #ff9b9b;
}

.xhs-smart-status {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #9aa0aa;
    padding: 9px 10px;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: -4px 0 12px;
}

.xhs-smart-status.ready {
    border-color: rgba(0,255,163,0.25);
    background: rgba(0,255,163,0.08);
    color: #9fffd6;
}

.xhs-local-fix-list {
    text-align: left;
    color: #9aa8b8;
    font-size: 0.72rem;
    line-height: 1.45;
    margin: 0 0 12px;
    padding-left: 18px;
}

.detail-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.detail-split h4 {
    color: #fff;
    font-size: 0.84rem;
    margin: 0 0 8px;
}

.version-list,
.review-box {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px;
    min-height: 82px;
}

.version-list .version-row {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 4px 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.version-list .version-row:last-child {
    border-bottom: none;
}

.version-list strong,
.review-box strong {
    color: #00ffa3;
    font-size: 0.8rem;
}

.version-list span,
.review-box p,
.review-box span,
.version-list small,
.review-box small {
    color: #aeb8c4;
    font-size: 0.72rem;
    line-height: 1.45;
}

.version-list small {
    grid-column: 2;
}

.version-actions {
    display: flex;
    gap: 6px;
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
}

.version-actions button,
.metrics-form button {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(255,255,255,0.05);
    color: #dce6ef;
    font-size: 0.7rem;
    cursor: pointer;
}

.review-box span {
    display: block;
    margin-top: 5px;
}

.review-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.review-score-row span {
    color: #8f9aaa;
    font-size: 0.68rem;
    text-align: right;
    margin: 0;
}

.review-score {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    white-space: nowrap;
}

.review-score.ok {
    color: #fbbf24;
    border-color: rgba(251,191,36,0.22);
    background: rgba(251,191,36,0.08);
}

.review-score.strong {
    color: #00ffa3;
    border-color: rgba(0,255,163,0.24);
    background: rgba(0,255,163,0.09);
}

.review-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
}

.review-signal-card {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    background: rgba(255,255,255,0.035);
    padding: 9px;
}

.review-signal-card.good,
.review-signal-card.strong {
    border-color: rgba(0,255,163,0.16);
    background: rgba(0,255,163,0.045);
}

.review-signal-card.weak {
    border-color: rgba(251,191,36,0.16);
    background: rgba(251,191,36,0.055);
}

.review-signal-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.review-signal-card strong,
.review-next-brief strong {
    color: #fff;
    font-size: 0.76rem;
}

.review-signal-card em {
    color: #9aa8b8;
    font-style: normal;
    font-size: 0.62rem;
    white-space: nowrap;
}

.review-signal-card span {
    color: #00ffa3;
    font-size: 0.7rem;
    margin-top: 6px;
}

.review-signal-card p {
    color: #aeb8c4;
    font-size: 0.68rem;
    line-height: 1.45;
    margin: 4px 0 0;
}

.review-actions-list {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.review-actions-list span {
    border-left: 2px solid rgba(0,255,163,0.32);
    background: rgba(255,255,255,0.03);
    border-radius: 0 8px 8px 0;
    padding: 6px 8px;
    margin: 0;
}

.review-next-brief {
    border: 1px solid rgba(59,130,246,0.16);
    border-radius: 10px;
    background: rgba(59,130,246,0.06);
    padding: 10px;
    margin-top: 10px;
}

.review-next-brief > span {
    color: #93c5fd;
    font-size: 0.66rem;
    font-weight: 700;
    margin: 0 0 5px;
}

.review-next-brief p {
    margin: 5px 0 8px;
}

.review-next-brief div {
    display: grid;
    gap: 5px;
}

.review-next-brief small {
    color: #b9c7d8;
    font-size: 0.66rem;
}

.review-next-brief i {
    color: #00ffa3;
    margin-right: 4px;
}

.follow-up-box {
    background: rgba(0,255,163,0.045);
    border: 1px solid rgba(0,255,163,0.12);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.follow-up-box h4 {
    color: #fff;
    font-size: 0.82rem;
    margin: 0 0 8px;
}

.follow-up-idea {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 8px 0 0;
    margin-top: 8px;
}

.follow-up-idea:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.follow-up-idea p {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 5px;
}

.follow-up-idea span {
    display: block;
    color: #aeb8c4;
    font-size: 0.7rem;
    line-height: 1.45;
    margin-bottom: 7px;
}

.follow-up-idea button {
    border: 1px solid rgba(0,255,163,0.18);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(0,255,163,0.08);
    color: #00ffa3;
    font-size: 0.7rem;
    cursor: pointer;
}

.content-metrics-modal {
    max-width: 420px;
    width: min(92vw, 420px);
}

.metrics-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metrics-form label {
    color: #cbd5e1;
    font-size: 0.76rem;
}

.metrics-form button {
    background: rgba(0,255,163,0.1);
    color: #00ffa3;
    padding: 10px;
    font-size: 0.8rem;
    margin-top: 4px;
}

@media (max-width: 620px) {
    .detail-grid-2,
    .detail-split,
    .detail-actions {
        grid-template-columns: 1fr;
    }

    .publish-queue-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strategy-lanes {
        grid-template-columns: 1fr;
    }

    .calendar-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }
}

.member-expires { font-size: 0.7rem; color: #666; margin-left: 6px; }

.member-actions { display: flex; gap: 8px; }

.daily-bonus-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; border: none; padding: 8px 14px; border-radius: 10px;
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 4px;
    transition: transform 0.2s;
}
.daily-bonus-btn:active { transform: scale(0.95); }

.topup-btn {
    background: rgba(0, 242, 254, 0.1); color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.2); padding: 8px 14px;
    border-radius: 10px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 4px;
    transition: transform 0.2s;
}
.topup-btn:active { transform: scale(0.95); }

/* ==================== Trend Banner ==================== */
.trend-banner {
    background: linear-gradient(135deg, #1a1d24 0%, #172030 100%);
    border: 1px solid rgba(0, 242, 254, 0.12);
    border-radius: 14px; padding: 16px 18px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: border-color 0.2s;
}
.trend-banner:active { border-color: rgba(0, 242, 254, 0.4); }
.trend-banner-left { display: flex; align-items: center; gap: 12px; }

/* ==================== Pricing Grid ==================== */
.pricing-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}

.pricing-card {
    background: rgba(255,255,255,0.03); border: 2px solid #333;
    border-radius: 14px; padding: 14px; text-align: center;
    cursor: pointer; transition: border-color 0.2s, transform 0.2s;
    position: relative;
}
.pricing-card:active { transform: scale(0.97); }
.pricing-card.selected { border-color: #00f2fe; background: rgba(0,242,254,0.05); }
.pricing-card.best-value { border-color: rgba(0,255,163,0.3); }
.pricing-card.best-value.selected { border-color: #00ffa3; background: rgba(0,255,163,0.08); }

.best-tag {
    position: absolute; top: -1px; right: -1px;
    background: linear-gradient(135deg, #00ffa3, #00d287);
    color: #000; font-size: 0.6rem; font-weight: 700;
    padding: 3px 8px; border-radius: 0 12px 0 8px;
}

.plan-name { font-size: 0.8rem; color: #888; margin-bottom: 4px; }
.plan-price { font-size: 1.2rem; font-weight: 700; color: #fff; }
.plan-price span { font-size: 0.7rem; color: #888; font-weight: 400; }
.plan-total { font-size: 0.7rem; color: #00ffa3; margin-top: 4px; }

/* ==================== Topup Pack Buttons ==================== */
.topup-pack-btn {
    background: rgba(255,255,255,0.05); border: 1px solid #333;
    border-radius: 10px; padding: 12px; text-align: center;
    cursor: pointer; transition: border-color 0.2s;
}
.topup-pack-btn:active { border-color: #00ffa3; }

/* ==================== Industry Grid ==================== */
.industry-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}

.industry-btn {
    background: rgba(255,255,255,0.04); border: 1px solid #333;
    color: #ccc; padding: 12px; border-radius: 10px;
    font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.industry-btn:active { border-color: #00f2fe; background: rgba(0,242,254,0.1); color: #fff; }

/* ==================== Invite Banner ==================== */
.invite-banner {
    background: linear-gradient(135deg, #1a1d24 0%, #1e2830 100%);
    border: 1px solid rgba(0, 255, 163, 0.12);
    border-radius: 14px; padding: 16px 18px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: border-color 0.2s;
}
.invite-banner:active { border-color: rgba(0, 255, 163, 0.4); }
.invite-banner-left { display: flex; align-items: center; gap: 12px; }

/* ==================== Phase 4: Onboarding Wizard ==================== */
.onboarding-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.onboarding-overlay.hidden { display: none; }

.onboarding-container {
    width: 100%; max-width: 400px; padding: 30px 24px;
}

.onboarding-progress {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 30px;
}
.ob-step-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #333; transition: background 0.3s;
}
.ob-step-dot.active { background: #00f2fe; box-shadow: 0 0 8px rgba(0,242,254,0.5); }
.ob-step-line { width: 40px; height: 2px; background: #333; }

.ob-step { display: none; animation: obFadeIn 0.4s ease; }
.ob-step.active { display: block; }

@keyframes obFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.ob-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(0,242,254,0.1); border: 2px solid rgba(0,242,254,0.3);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}

.ob-bubble {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px 16px 16px 4px; padding: 16px; margin-bottom: 4px;
}
.ob-bubble p { color: #ccc; font-size: 0.9rem; line-height: 1.5; margin: 0 0 6px; }
.ob-bubble strong { color: #00f2fe; }
.ob-greeting { color: #fff !important; font-size: 1.1rem !important; font-weight: 600; }

.ob-option-btn {
    background: rgba(255,255,255,0.04); border: 1px solid #333;
    color: #ccc; padding: 10px; border-radius: 10px;
    font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
}
.ob-option-btn:active, .ob-option-btn.selected {
    border-color: #00f2fe; background: rgba(0,242,254,0.1); color: #fff;
}

.ob-platform-btn {
    background: rgba(255,255,255,0.04); border: 1px solid #333;
    color: #ccc; padding: 12px 8px; border-radius: 10px;
    font-size: 0.8rem; cursor: pointer; transition: all 0.2s;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ob-platform-btn:active, .ob-platform-btn.selected {
    border-color: #00ffa3; background: rgba(0,255,163,0.1); color: #fff;
}

.ob-next-btn {
    width: 100%; background: linear-gradient(135deg, #00f2fe, #00d287);
    color: #000; border: none; padding: 14px; border-radius: 12px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}

.ob-goal-btn {
    background: rgba(255,255,255,0.04); border: 1px solid #333;
    color: #ccc; padding: 14px 16px; border-radius: 12px;
    font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 14px; text-align: left;
}
.ob-goal-btn i { font-size: 1.3rem; min-width: 24px; }
.ob-goal-btn strong { color: #fff; display: block; margin-bottom: 2px; }
.ob-goal-btn span { color: #666; font-size: 0.75rem; }
.ob-goal-btn:active, .ob-goal-btn.selected {
    border-color: #00f2fe; background: rgba(0,242,254,0.08);
}
.ob-goal-btn.selected strong { color: #00f2fe; }
