/* GMVmax 视图（图表样式复用 shop-data.css） */
.gmv-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* GMVmax-作品：指标行（名称（值）→ 含义） */
.gmc-row {
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    border-bottom: 1px dashed #f0f0f0;
}

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

.gmc-row strong {
    color: #444;
}

.gmc-value {
    color: #667eea;
    font-weight: 600;
}

.gmc-meaning {
    color: #888;
}

/* GMVmax-作品：自定义节点（普通文本 + 折叠） */
.gmc-custom {
    margin-top: 12px;
}

.gmc-custom-title {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.gmc-custom-body[hidden] {
    display: none;
}

/* 自定义节点内的指标行向后缩进 */
.gmc-custom .gmc-row {
    padding-left: 44px;
}

/* 嵌套在节点内的标题（如 TikTok广告计划 的阶段目标）向后缩进 */
.gmc-custom-body .gmc-custom-title {
    padding-left: 24px;
}

/* TikTok广告计划：阶段目标详情 */
.goal-detail {
    margin-left: 64px;
    padding: 6px 0;
}

.goal-detail-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.goal-detail-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.goal-detail-text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    flex: 1;
}

.goal-list {
    margin: 2px 0;
    padding-left: 24px;
    list-style: disc;
}

/* 阶段目标1：策略子内容（无列表，普通文本 + 缩进对齐） */
.goal-sub {
    margin-top: 6px;
    padding-left: 24px;
}

.goal-detail-item {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    padding-left: 4px;
}

/* TikTok广告计划：字体调大 */
#tiktok-ads-page .gmc-custom-title {
    font-size: 16px;
}

/* TikTok广告计划：阶段目标整体再向后缩进一层（标题+内容） */
#tiktok-ads-page .gmc-custom-body .gmc-custom-body .gmc-custom-title {
    padding-left: 48px;
}

#tiktok-ads-page .goal-detail {
    margin-left: 88px;
}

#tiktok-ads-page .goal-detail-label,
#tiktok-ads-page .goal-detail-text,
#tiktok-ads-page .goal-detail-item {
    font-size: 15px;
}

/* TikTok广告计划：场景对比表格 */
#tiktok-ads-page .diff-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 15px;
}

#tiktok-ads-page .diff-table th,
#tiktok-ads-page .diff-table td {
    border: 1px solid #dfe3f0;
    padding: 8px 12px;
    text-align: left;
    line-height: 1.7;
    vertical-align: top;
}

#tiktok-ads-page .diff-table th {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

#tiktok-ads-page .diff-table td:first-child {
    font-weight: 600;
    color: #444;
    background: #f4f5fb;
    white-space: nowrap;
}

#tiktok-ads-page .diff-table tbody tr:nth-child(even) td:not(:first-child) {
    background: #fafbfe;
}

/* ROI持续不达标场景：备注与对比表格统一缩进对齐 */
#tiktok-ads-page .note-block {
    padding-left: 48px;
}

/* 问答环节标题：与诊断结论标签左对齐 */
#tiktok-ads-page .gmc-custom-body .gmc-custom-body .gmc-custom-title.qa-title {
    margin-left: 21px;
}

/* 问答环节节点：紧贴上方内容，缩小节点间距 */
#tiktok-ads-page .gmc-custom.qa-node {
    margin-top: 0;
}

/* 问答环节上方的详情块：去掉底部内边距，与问答环节贴紧 */
#tiktok-ads-page .goal-detail:has(+ .gmc-custom.qa-node) {
    padding-bottom: 0;
}
