/* ============================================================
   三录行车记录仪 — 专属绿色主题
   适用于 three/ 目录下所有子页面
   ============================================================ */

/* ---------- 子页顶部导航 ---------- */
.subnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #059669;
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 52px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.subnav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    text-decoration: none;
    padding: 8px 0;
    -webkit-tap-highlight-color: transparent;
}

.subnav-title {
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* 右侧产品标识胶囊 — 让用户一眼知道身处三录区 */
.subnav-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- 提示栏 ---------- */
.notice-bar {
    background: #ecfdf5;
    border-left: 3px solid #059669;
    margin: 16px 15px 0;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #065f46;
}

/* ---------- 分区标签 ---------- */
.section-label-text {
    padding: 18px 15px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ---------- 教程行列表卡片 ---------- */
.tutorial-card-list {
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 0 15px;
}

.trow {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.trow:last-child {
    border-bottom: none;
}

.trow:active {
    background: var(--background-color);
}

.trow-num {
    width: 32px;
    height: 32px;
    background: #d1fae5;
    color: #059669;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trow-body {
    flex: 1;
}

.trow-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

.trow-desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
}

.trow-tag {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 500;
    color: #059669;
    background: #d1fae5;
    padding: 2px 8px;
    border-radius: 4px;
}

.trow-tag-warn {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 500;
    color: #92400e;
    background: #fff8e1;
    padding: 2px 8px;
    border-radius: 4px;
}

.trow-arrow {
    color: #d1d5db;
    font-size: 0.8rem;
}

/* ---------- 步骤卡片（app.html 使用） ---------- */
.steps-card {
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 16px 18px;
    margin: 16px 15px 0;
}

.steps-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 14px;
}

.step-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.step-row:last-child {
    margin-bottom: 0;
}

.step-dot {
    width: 22px;
    height: 22px;
    background: #059669;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* ---------- 底部客服快捷入口 ---------- */
.cs-shortcut {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #059669;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 20px 15px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s;
}

.cs-shortcut:active {
    opacity: 0.85;
}

.cs-icon-wrap {
    width: 38px;
    height: 38px;
    background: #047857;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.2rem;
}

.cs-text-wrap {
    flex: 1;
}

.cs-text-wrap span {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.cs-text-wrap small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.cs-arrow-wrap {
    color: rgba(255, 255, 255, 0.3);
}
