/* DHS 德汉斯 电子质保卡 - 与图片完全一致 */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f0f0f0; min-height: 100vh; color: #333; font-size: 14px; }

/* 顶部导航栏 - 白色背景，与图片一致 */
.top-bar { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #e0e0e0; padding: 10px 16px; display: flex; align-items: center; }
.top-bar-left { display: flex; align-items: center; flex: 1; position: relative; min-height: 28px; }
.top-bar-close { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #333; text-decoration: none; position: relative; z-index: 2; }
.top-bar-left > div { flex: 1; display: flex; justify-content: center; align-items: center; position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.top-bar-left > div .top-bar-title { pointer-events: auto; }
.top-bar-title { font-size: 15px; font-weight: 600; color: #333; }
.top-bar-url { font-size: 11px; color: #999; margin-top: 2px; }

.page-wrap { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #fff; }
.page-content { padding: 16px; min-height: calc(100vh - 100px); background: #fff; }

/* 查询表单 */
.query-form { padding: 20px 0; }
.query-result-msg { margin: 16px 0; padding: 14px 16px; border-radius: 4px; font-size: 14px; line-height: 1.6; }
.query-result-msg.info { background: #e6f7ff; border: 1px solid #91d5ff; color: #0050b3; }
.query-result-msg.error { background: #fff2f0; border: 1px solid #ffccc7; color: #ff4d4f; }
.query-form .form-group { margin-bottom: 16px; }
.query-form label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; }
.query-form input { width: 100%; padding: 12px 14px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; }
.query-form input:focus { outline: none; border-color: #1890ff; }
.query-form .btn,
.query-form .btn-primary { width: 100%; padding: 12px; border: none; border-radius: 4px; font-size: 15px; font-weight: 500; cursor: pointer; background: #1890ff; color: #fff; }
.query-form .btn:hover,
.query-form .btn-primary:hover { background: #40a9ff; }

/* 电子质保卡主卡片 */
.warranty-main-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 20px; margin-bottom: 16px; position: relative; }
.warranty-main-card .card-header { display: flex; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.warranty-main-card .card-brand { display: flex; align-items: center; gap: 10px; }
.warranty-main-card .brand-icon { width: 40px; height: 40px; background: #52c41a; color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; }
.warranty-main-card .brand-text { font-size: 16px; font-weight: 600; color: #333; }
.warranty-main-card .status-tag { position: absolute; top: 16px; right: 16px; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.warranty-main-card .status-tag.active { background: #52c41a; color: #fff; }
.warranty-main-card .status-tag.inactive { background: #ff4d4f; color: #fff; }
.warranty-main-card .status-tag.expired { background: #d9d9d9; color: #595959; }

.warranty-info-list { list-style: none; padding: 0; margin: 0; }
.warranty-info-list li { padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; color: #333; }
.warranty-info-list li:last-child { border-bottom: none; }

/* 质保卡状态区域 - 未激活红边框 / 已激活绿色 / 已过期灰色 */
.warranty-status-box { margin: 16px 0; padding: 16px; border-radius: 4px; }
.warranty-status-box.inactive { border: 2px solid #ff4d4f; background: #fafafa; }
.warranty-status-box.active { border: 2px solid #52c41a; background: #f6ffed; }
.warranty-status-box.expired { border: 2px solid #8c8c8c; background: #f5f5f5; }
.warranty-status-box .box-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.warranty-status-box.inactive .box-title { color: #ff4d4f; }
.warranty-status-box.active .box-title { color: #52c41a; }
.warranty-status-box.expired .box-title { color: #8c8c8c; }
.warranty-status-box .box-desc { font-size: 13px; color: #666; line-height: 1.6; margin: 4px 0; }
.warranty-status-box .warm-tip-inline { font-size: 12px; color: #ff4d4f; margin: 8px 0 0; }

/* 登录代理商按钮 - 蓝色 */
.btn-agent-login { display: block; width: 100%; padding: 14px; background: #1890ff; color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 500; text-align: center; text-decoration: none; margin: 16px 0; cursor: pointer; }
.btn-agent-login:hover { background: #40a9ff; color: #fff; }

/* 温馨提示 - 浅灰框红色文字 */
.warm-tip { margin-top: 16px; padding: 12px; background: #fafafa; border: 1px solid #e8e8e8; border-radius: 4px; font-size: 12px; color: #ff4d4f; line-height: 1.5; }

/* 代理商已登录提示 */
.agent-logged-msg { margin: 12px 0; padding: 12px; background: #e6f7ff; border: 1px solid #91d5ff; border-radius: 4px; font-size: 13px; color: #0050b3; line-height: 1.5; }

/* 激活表单 */
.activate-form { margin-top: 20px; }
.activate-form .form-group { margin-bottom: 16px; }
.activate-form label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; }
.activate-form .required { color: #ff4d4f; }
.activate-form input[type="text"],
.activate-form input[type="tel"] { width: 100%; padding: 12px 14px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; }
.activate-form input:focus { outline: none; border-color: #1890ff; }

/* 照片上传 - 无相机图标，通用图片上传样式 */
.photo-upload-zone { border: 2px dashed #d9d9d9; border-radius: 4px; padding: 32px 24px; text-align: center; background: #fafafa; }
.photo-upload-zone input[type="file"] { display: none; }
.photo-upload-zone label { display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: pointer; font-weight: 400; }
.photo-upload-zone .upload-text { font-size: 14px; color: #8c8c8c; }
.photo-upload-zone .upload-hint { display: block; margin-top: 8px; font-size: 12px; color: #8c8c8c; }
.photo-preview { display: block; margin-top: 12px; font-size: 12px; color: #52c41a; }
.photo-preview img { max-width: 120px; max-height: 120px; border-radius: 4px; margin-top: 8px; }

.btn-submit-activate { width: 100%; padding: 14px; background: #1890ff; color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 8px; }
.btn-submit-activate:hover { background: #40a9ff; }

.agent-logout-link { display: block; margin-top: 12px; font-size: 12px; color: #1890ff; text-decoration: none; }

/* 已激活详情框 */
.warranty-active-detail { margin: 16px 0; padding: 16px; background: #f6ffed; border: 2px solid #b7eb8f; border-radius: 4px; }
.warranty-active-detail.expired { background: #f5f5f5; border-color: #d9d9d9; }
.warranty-active-detail p { margin: 6px 0; font-size: 13px; color: #333; }

.error-msg { color: #ff4d4f; font-size: 13px; margin: 8px 0; }
.privacy-checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #333; margin: 16px 0 8px; cursor: pointer; }
.privacy-checkbox input[type="checkbox"] { flex-shrink: 0; margin: 0; width: 15px; height: 15px; vertical-align: middle; }
.privacy-checkbox a { color: #1890ff; text-decoration: none; }
.privacy-checkbox a:hover { text-decoration: underline; }

/* 登录页 */
.login-page .page-content { padding: 24px 16px; }
.login-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 24px; }
.login-card h2 { font-size: 16px; font-weight: 600; margin: 0 0 24px; color: #333; text-align: center; }
.login-card .form-group { margin-bottom: 16px; }
.login-card .form-group.form-group-checkbox { margin-bottom: 12px; }
.login-card label { display: block; margin-bottom: 8px; font-size: 14px; color: #333; }
.login-card label.checkbox-label { margin-bottom: 0; }
.login-card input[type="text"],
.login-card input[type="password"] { width: 100%; padding: 12px 14px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; }
.login-card input[type="checkbox"] { width: auto; margin: 0; flex-shrink: 0; }
.login-card .checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 400; }
.login-card .btn-login { width: 100%; padding: 14px; background: #1890ff; color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 8px; }
.login-card .btn-login:hover { background: #40a9ff; }
.login-card .back-link { display: block; text-align: center; margin-top: 16px; font-size: 13px; color: #1890ff; text-decoration: none; }
.login-card .login-tip { margin-top: 16px; font-size: 12px; color: #ff4d4f; text-align: center; }
.login-card .login-tip.timeout { color: #c00; }

/* 出库表单 */
.outbound-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 20px; margin-bottom: 16px; }
.product-search-wrap { position: relative; }
.product-search-dropdown { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); max-height: 200px; overflow-y: auto; z-index: 10; display: none; list-style: none; padding: 0; margin: 4px 0 0; }
.product-search-dropdown.show { display: block; }
.product-search-dropdown li { padding: 10px 14px; cursor: pointer; font-size: 14px; border-bottom: 1px solid #f5f5f5; }
.btn-success { padding: 12px 24px; background: #52c41a; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; }
.btn-success:hover { background: #73d13d; }

/* 结果卡片 */
.result-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 20px; margin-bottom: 16px; }
.result-card.success { border-color: #52c41a; background: #f6ffed; }
.result-card.error { border-color: #ff4d4f; background: #fff2f0; }
.result-card.info { border-color: #91d5ff; background: #e6f7ff; }
.result-card h3 { margin: 0 0 12px; font-size: 16px; }
.result-card p { margin: 8px 0; }
.result-card ul { margin: 12px 0; padding-left: 20px; }
.result-card .btn, .result-card .btn-primary { padding: 10px 20px; background: #1890ff; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; }
.result-card .btn:hover, .result-card .btn-primary:hover { background: #40a9ff; }

.footer { padding: 16px; text-align: center; font-size: 12px; color: #999; border-top: 1px solid #f0f0f0; background: #fafafa; }

/* 产品图片轮播 */
.product-images { margin-bottom: 16px; }
.img-carousel { width: 100%; overflow: hidden; border-radius: 4px; background: #f5f5f5; }
.img-carousel .carousel-img { width: 100%; height: auto; display: none; vertical-align: top; }
.img-carousel .carousel-img.active { display: block; }
.img-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.img-carousel-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #d9d9d9; cursor: pointer; }
.img-carousel-dots .dot.active { background: #1890ff; }

/* 隐私政策页 */
.privacy-page { max-width: 600px; margin: 0 auto; padding: 20px 16px 40px; }
.privacy-page h1 { font-size: 18px; margin-bottom: 20px; color: #333; }
.privacy-page h2 { font-size: 15px; margin: 24px 0 12px; color: #333; }
.privacy-page p, .privacy-page li { font-size: 14px; line-height: 1.8; color: #666; margin-bottom: 10px; }
.privacy-page ul { padding-left: 20px; margin: 12px 0; }
.privacy-page .privacy-content { margin-top: 16px; }
.privacy-page .privacy-content h2 { margin-top: 24px; margin-bottom: 12px; }
.privacy-page .privacy-content h2:first-child { margin-top: 0; }
.privacy-page .back-link { display: inline-block; margin-top: 24px; color: #1890ff; text-decoration: none; font-size: 14px; }
.privacy-page .back-link:hover { text-decoration: underline; }

/* ========== 质保激活页 · 自定义背景图（图放在 assets/images/bg.png）========== */
body.theme-warranty-activate {
    background-color: #2f4536;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: #f5f5f5;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body.theme-warranty-activate.activate-splash-pending {
    overflow: hidden;
    touch-action: none;
}
/* 进入页 · 品牌专场开场层 */
#activateSplash.activate-splash {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: rgba(10, 22, 14, 0.78);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: opacity 0.55s ease;
    opacity: 1;
    animation: activateSplashVignette 0.7s ease-out both;
    cursor: pointer;
}
#activateSplash.activate-splash--exit {
    opacity: 0;
    pointer-events: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
@keyframes activateSplashVignette {
    from { opacity: 0; }
    to { opacity: 1; }
}
.activate-splash__panel {
    text-align: center;
    max-width: 20em;
    padding: 1.5rem 1.75rem 1.6rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(61, 90, 69, 0.55) 0%, rgba(30, 45, 35, 0.75) 100%);
    border: 1px solid rgba(168, 213, 186, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: activatePanelPop 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
    cursor: default;
    pointer-events: auto;
}
@keyframes activatePanelPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(18px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.activate-splash__line1 {
    margin: 0 0 0.4em;
    font-size: clamp(1.15rem, 4.2vw, 1.45rem);
    font-weight: 700;
    color: #f5faf6;
    letter-spacing: 0.06em;
    line-height: 1.45;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    animation: activateLineIn 0.65s ease-out 0.2s both;
}
.activate-splash__line2 {
    margin: 0;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    font-weight: 600;
    color: #a8d5ba;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    animation: activateLineIn 0.65s ease-out 0.45s both;
}
@keyframes activateLineIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
body.theme-warranty-activate .page-wrap {
    max-width: 480px;
    margin: 0 auto;
    background: transparent;
    min-height: 100vh;
}
body.theme-warranty-activate .page-content {
    background: transparent;
    padding: 40px 14px 24px;
    min-height: calc(100vh - 48px);
}
body.theme-warranty-activate .footer {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
}

body.theme-warranty-activate .query-result-msg {
    border-radius: 10px;
    margin-top: 8px;
    margin-bottom: 28px;
}
body.theme-warranty-activate .query-result-msg.info {
    background: rgba(61, 90, 69, 0.4);
    border: 1px solid rgba(168, 213, 186, 0.5);
    color: #f0fff4;
}
body.theme-warranty-activate .query-result-msg.error {
    background: rgba(80, 30, 30, 0.45);
    border-color: rgba(255, 150, 150, 0.4);
    color: #ffe8e8;
}

/* 防伪结果区 */
.anti-fake-panel {
    background: rgba(40, 65, 48, 0.72);
    border: 1px solid rgba(168, 213, 186, 0.5);
    border-radius: 12px;
    padding: 14px 16px 16px;
    margin-bottom: 28px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.anti-fake-code {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    word-break: break-all;
    margin-bottom: 10px;
}
.anti-fake-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,0.92);
}

/* 主卡片容器 */
.warranty-main-card--activate-shell {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 12px;
}
.product-images--compact {
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}
.product-images--compact .img-carousel {
    max-height: 160px;
}
.product-images--compact .carousel-img {
    object-fit: cover;
    max-height: 160px;
}
.product-images--compact .img-carousel-dots .dot { background: rgba(255,255,255,0.4); }
.product-images--compact .img-carousel-dots .dot.active { background: #a8d5ba; }

/* 白色激活表单区 */
.warranty-activate-white-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 32px 16px 20px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    max-width: 100%;
}
/* 角标「填写质保激活信息」：不裁切、窄屏可换行，避免 overflow-x 把文字截断 */
.warranty-activate-tab {
    position: absolute;
    left: 12px;
    top: 0;
    transform: translateY(-50%);
    z-index: 2;
    max-width: calc(100% - 24px);
    box-sizing: border-box;
    background: #3d5a45;
    color: #fff;
    font-size: clamp(11px, 3.1vw, 12px);
    font-weight: 600;
    padding: 7px 12px 8px;
    border-radius: 6px;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    text-align: left;
}
.warranty-activate-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #3d5a45;
    margin: 8px 0 10px;
    position: relative;
    z-index: 0;
}
.warranty-activate-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2px;
    width: 11em;
    max-width: 90%;
    height: 0.5em;
    background: #a8d5ba;
    opacity: 0.55;
    z-index: -1;
    border-radius: 2px;
}
.warranty-activate-title-deco {
    font-size: 14px;
    color: #e6b422;
    line-height: 1;
    text-shadow: 0 0 0 #f0a000;
}
.warranty-activate-warn {
    text-align: center;
    color: #c62828;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 16px;
}
.warranty-activate-hint {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* 表单项 · 与参考图 */
.warranty-main-card--activate-shell .activate-form {
    margin-top: 0;
    min-width: 0;
    max-width: 100%;
}
.warranty-main-card--activate-shell .form-group { margin-bottom: 14px; }
.warranty-main-card--activate-shell .form-group label {
    display: block;
    color: #3d5a45;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}
.warranty-main-card--activate-shell .form-group .required { color: #c62828; }
/* 16px 及以上避免 iOS / 微信 WebView 在聚焦 input 时自动放大整页视口 */
.warranty-main-card--activate-shell .input-warranty,
.warranty-main-card--activate-shell .date-input-wrap .input-warranty {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    background: #fff;
}
.warranty-main-card--activate-shell .input-warranty:focus {
    outline: none;
    border-color: #3d5a45;
    box-shadow: 0 0 0 2px rgba(61, 90, 69, 0.15);
}
/* type=date 在 WebKit/移动端有默认 min-width，易撑出白底卡片，由外层约束宽度 */
.warranty-main-card--activate-shell .form-group.form-group-date {
    min-width: 0;
    max-width: 100%;
}
.warranty-main-card--activate-shell .date-input-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
}
.warranty-main-card--activate-shell .date-input-wrap::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    color: #888;
    pointer-events: none;
    z-index: 1;
}
.warranty-main-card--activate-shell .date-input-wrap .input-warranty {
    padding-right: 28px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.warranty-main-card--activate-shell .date-input-wrap input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}
.warranty-main-card--activate-shell .date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.9;
    margin-left: 0;
    padding: 0 2px 0 4px;
}
.form-group-static .static-field {
    padding: 10px 0 8px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}
.form-group-plate .field-hint {
    font-size: 12px;
    color: #888;
    margin: 6px 0 0;
    line-height: 1.4;
}

/* 主按钮 */
.warranty-main-card--activate-shell .btn-submit-activate {
    background: #3d5a45;
    border-radius: 999px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
}
.warranty-main-card--activate-shell .btn-submit-activate:hover {
    background: #2f4536;
}
body.theme-warranty-activate .btn-agent-login {
    background: #3d5a45;
    border-radius: 999px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
body.theme-warranty-activate .btn-agent-login:hover {
    background: #2f4536;
    color: #fff;
}
.warranty-main-card--activate-shell .agent-logged-msg {
    background: #f0f7f2;
    border: 1px solid #c5e0cc;
    color: #2f4536;
    border-radius: 8px;
    margin-bottom: 12px;
}
.warranty-main-card--activate-shell .agent-logout-link {
    color: #3d5a45;
    text-align: center;
    margin-top: 12px;
}
.warranty-main-card--activate-shell .privacy-checkbox { color: #555; }
.warranty-main-card--activate-shell .privacy-checkbox a { color: #3d5a45; }
.warranty-main-card--activate-shell .error-msg { text-align: center; }
.warranty-main-card--activate-shell .photo-upload-zone {
    border-color: #ccc;
    border-radius: 8px;
    background: #fafafa;
}

/* 同页「出库登记」等其它输入，同样用 16px 避免聚焦时整页被放大 */
body.theme-warranty-activate .outbound-card input[type="text"],
body.theme-warranty-activate .outbound-card input[type="date"],
body.theme-warranty-activate .outbound-card input[type="number"],
body.theme-warranty-activate .outbound-card input[type="tel"] {
    font-size: 16px;
    line-height: 1.4;
}

/* 已激活/详情 · 在主题页内保持白底与绿色点缀 */
body.theme-warranty-activate .warranty-main-card:not(.warranty-main-card--activate-shell) {
    background: #fff;
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 16px;
}
body.theme-warranty-activate .warranty-main-card:not(.warranty-main-card--activate-shell) .warranty-info-list { border: none; }
body.theme-warranty-activate .warranty-main-card:not(.warranty-main-card--activate-shell) .warranty-info-list li {
    border-color: #f0f0f0;
}
body.theme-warranty-activate .warranty-status-box.inactive { border-color: #c5e0cc; }
body.theme-warranty-activate .warranty-status-box.active { border-color: #7cb88a; }
body.theme-warranty-activate .warranty-active-detail { border-color: #7cb88a; }
body.theme-warranty-activate .warranty-active-detail.expired { border-color: #ccc; }
body.theme-warranty-activate .card-brand .brand-icon { background: #3d5a45; }
body.theme-warranty-activate .status-tag.inactive { background: #8b4a4a; }
body.theme-warranty-activate .status-tag.active { background: #3d5a45; }
body.theme-warranty-activate .warm-tip {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffcdd2;
    border-radius: 8px;
}

/* 出库成功等卡片在主题下 */
body.theme-warranty-activate .outbound-card,
body.theme-warranty-activate .result-card,
body.theme-warranty-activate .outbound-success {
    border-radius: 14px;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: #fff;
    color: #333;
}
body.theme-warranty-activate .outbound-card h3,
body.theme-warranty-activate .result-card h3 { color: #3d5a45; }
body.theme-warranty-activate .outbound-card .query-msg { color: #666; }
body.theme-warranty-activate .outbound-card .form-group label { color: #3d5a45; }
body.theme-warranty-activate .outbound-card input,
body.theme-warranty-activate .outbound-card input[type="date"] {
    border: 1px solid #ccc;
    border-radius: 8px;
}
body.theme-warranty-activate .btn-success { background: #3d5a45; border-radius: 999px; }
body.theme-warranty-activate .btn-success:hover { background: #2f4536; }
body.theme-warranty-activate .result-card .btn,
body.theme-warranty-activate .result-card .btn-primary { background: #3d5a45; border-radius: 999px; }
body.theme-warranty-activate .result-card .btn:hover,
body.theme-warranty-activate .result-card .btn-primary:hover { background: #2f4536; }
