/* ==================================================
   知来小工具 (zlaiw-utility-tools) v2.0
   样式完全使用 zibll 主题 CSS 变量，自动跟随黑夜/白天模式
   ================================================== */
.zlaiw-tools-wrap {
    margin: 30px 0 10px;
    padding-top: 24px;
    border-top: 1px solid var(--main-border-color);
}
.zlaiw-tools-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--key-color);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zlaiw-tools-heading::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--theme-color);
    border-radius: 2px;
}
.zlaiw-tool-card {
    background: var(--main-bg-color);
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    padding: 20px 22px;
    margin: 0 0 18px;
    box-shadow: 0 2px 8px var(--main-shadow);
}
.zlaiw-tool-card:last-child { margin-bottom: 0; }
.zlaiw-tool-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--key-color);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zlaiw-tool-title i { color: var(--theme-color); }
.zlaiw-tool-desc {
    color: var(--muted-color);
    font-size: 15px;
    margin: 0 0 16px;
    line-height: 1.7;
}

/* ===== 输入区（强化可见性） ===== */
.zlaiw-tool-field { margin: 0 0 12px; }
.zlaiw-tool-field label {
    display: block;
    color: var(--muted-color);
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
}
.zlaiw-tool-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.zlaiw-tool-row .zlaiw-tool-field { flex: 1 1 130px; min-width: 130px; }
/* span 直放模式的 row：标签紧贴自己的输入框，组与组之间明显拉开（与 field 模式节奏一致） */
.zlaiw-tool-row:not(:has(.zlaiw-tool-field)) {
    gap: 6px 14px;
    margin-bottom: 20px;
}
.zlaiw-tool-row:not(:has(.zlaiw-tool-field)) .zlaiw-tool-label {
    display: block;
    width: 100%;
    color: var(--muted-color);
    font-size: 15px;
    font-weight: 600;
}

.zlaiw-tool-input,
.zlaiw-tool-select {
    width: 100%;
    height: 42px;
    background: var(--muted-bg-color);
    color: var(--main-color);
    border: 2px solid var(--main-border-color);
    border-radius: var(--main-radius);
    padding: 10px 14px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    line-height: 1.4;
}
.zlaiw-tool-input::placeholder {
    color: var(--muted-3-color, #999);
    opacity: 1;
}
.zlaiw-tool-input:focus,
.zlaiw-tool-select:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
/* 日期选择器：确保日历图标和文字在黑夜模式下可见 */
.zlaiw-tool-input[type="date"] {
    color-scheme: light dark;
    min-height: 42px;
}
.zlaiw-tool-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.5);
    cursor: pointer;
    opacity: .8;
}
.zlaiw-tool-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.zlaiw-tool-input[readonly] {
    background: var(--muted-bg-color);
    cursor: default;
    border-style: dashed;
}

.zlaiw-tool-btn {
    background: var(--theme-color);
    color: #fff;
    border: none;
    border-radius: var(--main-radius);
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
}
.zlaiw-tool-btn:hover { opacity: .88; }
.zlaiw-tool-btn:active { transform: scale(.98); }
.zlaiw-tool-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* 通用提醒面板（field 模式，今天新增）：组间距同样拉开 */
.zlaiw-reminder-form .zlaiw-tool-field { margin-bottom: 20px; }

/* ===== Tab ===== */
.zlaiw-tool-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.zlaiw-tool-tab {
    padding: 8px 18px;
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    background: var(--muted-bg-color);
    color: var(--main-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.zlaiw-tool-tab.active {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}
.zlaiw-tool-tab-panel { display: none; }
.zlaiw-tool-tab-panel.active { display: block; }

/* ===== 结果区 ===== */
.zlaiw-tool-result {
    display: none;
    margin-top: 16px;
    background: var(--muted-bg-color);
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    padding: 16px 18px;
}
.zlaiw-tool-result.show { display: block; }
.zlaiw-tool-result h4 {
    color: var(--key-color);
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
}
.zlaiw-tool-result p {
    color: var(--main-color);
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.7;
}
.zlaiw-tool-result .zlaiw-tool-note {
    color: var(--main-color);
    font-size: 15px;
    line-height: 1.8;
}
.zlaiw-tool-big {
    font-size: 36px;
    font-weight: 700;
    color: var(--theme-color);
    line-height: 1.2;
}
.zlaiw-tool-metric {
    display: inline-block;
    background: var(--main-bg-color);
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    padding: 8px 14px;
    margin: 0 8px 8px 0;
}
.zlaiw-tool-metric b {
    display: block;
    font-size: 24px;
    color: var(--theme-color);
    font-weight: 700;
}
.zlaiw-tool-metric span {
    font-size: 13px;
    color: var(--muted-color);
}

/* ===== 简化结果区（zt-mk-r）统一卡片美化 ===== */
.zt-mk-r {
    display: none;
    margin-top: 16px;
    background: var(--muted-bg-color);
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    padding: 14px 18px;
    color: var(--main-color);
    font-size: 15px;
    line-height: 1.7;
}
.zt-mk-r.show { display: block; }
.zt-mk-r .zt-mk-note {
    color: var(--main-color);
    font-size: 14px;
    line-height: 1.7;
}
.zt-mk-r .zt-mk {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

/* ===== 植物大折叠 + 分类 tab ===== */
.zlaiw-plant-bigfold {
    margin-bottom: 16px;
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    overflow: hidden;
}
.zlaiw-plant-bigfold-head {
    padding: 12px 16px;
    background: var(--muted-bg-color);
    color: var(--key-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    transition: background .2s;
}
.zlaiw-plant-bigfold-head:hover { background: var(--main-border-color); }
.zlaiw-plant-bigfold-head i {
    transition: transform .2s;
    font-size: 12px;
    color: var(--muted-color);
}
.zlaiw-plant-bigfold.open .zlaiw-plant-bigfold-head i { transform: rotate(90deg); }
.zlaiw-plant-selname {
    color: var(--theme-color);
    font-weight: 600;
    margin-left: auto;
    font-size: 13px;
}
.zlaiw-plant-bigfold-body {
    display: none;
    background: var(--main-bg-color);
}
.zlaiw-plant-bigfold.open .zlaiw-plant-bigfold-body { display: block; }
.zlaiw-plant-cattabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--main-border-color);
    background: var(--muted-bg-color);
}
.zlaiw-plant-cattab {
    padding: 5px 12px;
    border: 1px solid var(--main-border-color);
    border-radius: 16px;
    background: var(--main-bg-color);
    color: var(--main-color);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.zlaiw-plant-cattab:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}
.zlaiw-plant-cattab.active {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}
.zlaiw-plant-catcount {
    background: rgba(0,0,0,.1);
    border-radius: 8px;
    padding: 0 5px;
    font-size: 11px;
}
.zlaiw-plant-cattab.active .zlaiw-plant-catcount { background: rgba(255,255,255,.25); }
.zlaiw-plant-panels { padding: 12px 14px; }
.zlaiw-plant-panel { display: none; }
.zlaiw-plant-panel.active { display: block; }
.zlaiw-plant-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.zlaiw-plant-item {
    padding: 6px 14px;
    border: 1px solid var(--main-border-color);
    border-radius: 20px;
    background: var(--muted-bg-color);
    color: var(--main-color);
    cursor: pointer;
    font-size: 13px;
    transition: all .2s;
    user-select: none;
}
.zlaiw-plant-item:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}
.zlaiw-plant-item.selected {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

/* ===== 浇水提醒区域 ===== */
.zlaiw-reminder-box,
.zlaiw-reminder-section {
    margin-top: 20px;
    padding: 16px 18px;
    background: var(--muted-bg-color);
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
}
.zlaiw-reminder-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--key-color);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.zlaiw-reminder-title i { color: var(--theme-color); }
.zlaiw-reminder-login {
    text-align: center;
    padding: 12px 0;
}
.zlaiw-reminder-login p {
    color: var(--muted-color);
    font-size: 13px;
    margin: 0 0 12px;
}
.zlaiw-reminder-form {
    margin-bottom: 14px;
}
.zlaiw-reminder-list {
    border-top: 1px dashed var(--main-border-color);
    padding-top: 12px;
}
.zlaiw-reminder-empty {
    color: var(--muted-color);
    font-size: 13px;
    text-align: center;
    margin: 8px 0;
}
.zlaiw-reminder-loading {
    color: var(--muted-color);
    font-size: 13px;
    text-align: center;
    padding: 12px 0;
}
.zlaiw-reminder-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 10px;
    background: var(--main-bg-color);
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    margin-bottom: 8px;
    font-size: 13px;
}
.zlaiw-reminder-plant {
    font-weight: 700;
    color: var(--key-color);
    min-width: 70px;
}
.zlaiw-reminder-info {
    color: var(--muted-color);
    flex: 1;
    min-width: 180px;
}
.zlaiw-reminder-email {
    color: var(--theme-color);
    font-size: 12px;
}
.zlaiw-reminder-del {
    background: transparent;
    border: 1px solid var(--main-border-color);
    color: var(--muted-color);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
.zlaiw-reminder-del:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* ===== 响应式 ===== */
@media (max-width: 600px) {
    .zlaiw-tool-card { padding: 16px; }
    .zlaiw-tool-row .zlaiw-tool-field { flex: 1 1 100%; }
    .zlaiw-reminder-item { flex-direction: column; align-items: flex-start; }
}

/* ===== v2.2.0 工具级 Tab（自动附加区） ===== */
.zt-tools-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.zt-tools-tab {
    padding: 8px 16px;
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-radius);
    background: var(--muted-bg-color);
    color: var(--main-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
    user-select: none;
}
.zt-tools-tab:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}
.zt-tools-tab.active {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}
.zt-tools-panel { display: none; }
.zt-tools-panel.active { display: block; }
.zt-tools-panel .zlaiw-tool-card { margin-bottom: 0; }

/* 节气 / 节日表格 */
.zlaiw-jq-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 4px;
    font-size: 15px;
}
.zlaiw-jq-table th,
.zlaiw-jq-table td {
    border: 1px solid var(--main-border-color);
    padding: 8px 10px;
    text-align: left;
    color: var(--main-color);
}
.zlaiw-jq-table th {
    background: var(--muted-bg-color);
    color: var(--key-color);
    font-weight: 600;
    white-space: nowrap;
}
.zlaiw-jq-table tr.done td { color: var(--muted-color); }
.zlaiw-jq-table tr.soon td { color: var(--theme-color); font-weight: 600; }

/* 第一级：分组 Tab */
.zt-tools-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}
.zt-tools-group {
    padding: 6px 14px;
    border: 1px solid var(--main-border-color);
    border-radius: 16px;
    background: var(--muted-bg-color);
    color: var(--main-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    user-select: none;
}
.zt-tools-group:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}
.zt-tools-group.active {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}
.zt-tools-gpanel { display: none; }
.zt-tools-gpanel.active { display: block; }
.zt-tools-gpanel .zt-tools-tabs { margin: 0 0 12px; }

@media (max-width: 600px) {
    .zt-tools-tab { padding: 6px 12px; font-size: 12px; }
    .zlaiw-jq-table { font-size: 12px; }
    .zlaiw-jq-table th, .zlaiw-jq-table td { padding: 6px 8px; }
    .zt-tools-group { padding: 5px 12px; font-size: 12px; }
}


/* ============ 工具聚合页面 ============ */
.zlaiw-agg-page { padding: 0; }

.zlaiw-agg-hero {
    text-align: center;
    padding: 12px 0 20px;
}
.zlaiw-agg-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--key-color);
    margin: 0 0 4px;
}
.zlaiw-agg-subtitle {
    font-size: 13px;
    color: var(--muted-color);
    margin: 0;
}

.zlaiw-agg-search {
    position: relative;
    margin-bottom: 16px;
}
.zlaiw-agg-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-color);
    pointer-events: none;
    z-index: 1;
}
.zlaiw-agg-search input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 1px solid var(--main-border-color);
    border-radius: 24px;
    background: var(--main-bg-color);
    color: var(--key-color);
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.zlaiw-agg-search input:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px var(--focus-color-opacity1);
}
.zlaiw-agg-search input::placeholder { color: var(--muted-color); }

.zlaiw-agg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.zlaiw-agg-tab {
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--main-border-color);
    color: var(--muted-color);
    background: var(--main-bg-color);
    transition: all .2s;
    user-select: none;
    white-space: nowrap;
}
.zlaiw-agg-tab:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}
.zlaiw-agg-tab.active {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
    font-weight: 600;
}

.zlaiw-agg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
@media (max-width: 480px) {
    .zlaiw-agg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .zlaiw-agg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.zlaiw-agg-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--main-border-color);
    background: var(--main-bg-color);
    text-decoration: none;
    color: var(--key-color);
    transition: all .25s ease;
}
.zlaiw-agg-card:hover {
    border-color: var(--theme-color);
    box-shadow: 0 6px 20px var(--main-shadow);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--key-color);
}
.zlaiw-agg-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1;
}
.zlaiw-agg-card.cat-ai .zlaiw-agg-icon-wrap { background: linear-gradient(135deg, rgba(98,123,245,.2), rgba(98,123,245,.08)); }
.zlaiw-agg-card.cat-health .zlaiw-agg-icon-wrap { background: linear-gradient(135deg, rgba(231,76,60,.18), rgba(231,76,60,.06)); }
.zlaiw-agg-card.cat-life .zlaiw-agg-icon-wrap { background: linear-gradient(135deg, rgba(243,156,18,.18), rgba(243,156,18,.06)); }
.zlaiw-agg-card.cat-baby .zlaiw-agg-icon-wrap { background: linear-gradient(135deg, rgba(233,30,99,.18), rgba(233,30,99,.06)); }
.zlaiw-agg-card.cat-folk .zlaiw-agg-icon-wrap { background: linear-gradient(135deg, rgba(155,89,182,.18), rgba(155,89,182,.06)); }
.zlaiw-agg-card.cat-petplant .zlaiw-agg-icon-wrap { background: linear-gradient(135deg, rgba(39,174,96,.18), rgba(39,174,96,.06)); }
.zlaiw-agg-card.cat-farm .zlaiw-agg-icon-wrap { background: linear-gradient(135deg, rgba(139,69,19,.18), rgba(139,69,19,.06)); }

.zlaiw-agg-body { width: 100%; }
.zlaiw-agg-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.zlaiw-agg-desc {
    font-size: 11px;
    color: var(--muted-color);
    margin-top: 3px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zlaiw-agg-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--muted-color);
    font-size: 14px;
}

/* 统一结果数字为绿色 */
.zlaiw-tool-result b, .zlaiw-tool-result .zlaiw-tool-metric b, .zt-mk-r b { color: var(--theme-color) !important; }
.zlaiw-tool-big { color: var(--theme-color) !important; }

/* ============================================================
   追加A：真太阳时 金色小问号 + 说明弹窗（6工具通用）
   追加B：仪式等待 多步骤进度（6工具通用框架）
   ============================================================ */
/* A1. 金色小问号按钮 */
.zts-q{display:inline-flex;width:17px;height:17px;border-radius:50%;align-items:center;justify-content:center;
 border:1.4px solid #d4af37;color:#e8c96a;font-size:11px;font-weight:700;line-height:1;
 cursor:pointer;vertical-align:middle;margin-left:5px;flex:0 0 auto;
 background:radial-gradient(circle,rgba(212,175,55,.18),rgba(212,175,55,.04));
 transition:transform .18s ease, box-shadow .18s ease;}
.zts-q:hover{transform:scale(1.18);box-shadow:0 0 10px rgba(232,201,106,.7);}
/* A2. 说明弹窗 */
.zts-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:18px;
 background:rgba(20,16,8,.62);backdrop-filter:blur(2px);}
.zts-modal.open{display:flex;animation:ztsFadeIn .22s ease;}
@keyframes ztsFadeIn{from{opacity:0;}to{opacity:1;}}
.zts-modal-box{width:90%;max-width:480px;max-height:82vh;overflow:auto;border-radius:14px;padding:20px 20px 16px;
 background:#fff8ea;border:1.5px solid #d4af37;box-shadow:0 18px 50px rgba(0,0,0,.4);
 position:relative;color:#4a3820;line-height:1.85;}
.zts-modal-box h4{margin:0 0 10px;padding-right:28px;font-size:16px;color:#9c7a1e;letter-spacing:2px;}
.zts-modal-box ol{margin:0;padding-left:20px;}
.zts-modal-box ol li{margin:7px 0;font-size:13.5px;color:#4a3820;}
.zts-modal-box .zts-close{position:absolute;top:10px;right:12px;width:28px;height:28px;border-radius:50%;
 border:1.4px solid #d4af37;background:transparent;color:#9c7a1e;font-size:16px;line-height:1;cursor:pointer;font-weight:700;}
.zts-modal-box .zts-close:hover{background:#d4af37;color:#fff;}
/* B1. 多步骤进度 */
.zlaiw-steps{position:relative;z-index:6;display:flex;flex-direction:column;gap:9px;
 max-width:300px;margin:14px auto 0;text-align:left;}
.zlaiw-step{display:flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,.55);
 transition:color .3s;}
.zlaiw-step .sdot{flex:0 0 auto;width:20px;height:20px;border-radius:50%;border:1.5px solid rgba(255,255,255,.4);
 display:flex;align-items:center;justify-content:center;font-size:11px;transition:.3s;}
.zlaiw-step.on{color:#ffe9a8;}
.zlaiw-step.on .sdot{border-color:#e8c96a;background:rgba(212,175,55,.25);color:#e8c96a;box-shadow:0 0 10px rgba(232,201,106,.6);}
.zlaiw-step.done{color:rgba(255,255,255,.85);}
.zlaiw-step.done .sdot{border-color:#8fd6a0;background:rgba(80,180,110,.25);color:#8fd6a0;}
.zlaiw-step .stxt{letter-spacing:1px;}
.zlaiw-step .sdot::before{content:attr(data-n);}
.zlaiw-step.done .sdot::before{content:'✓';}
@media(max-width:640px){.zlaiw-steps{max-width:260px;gap:7px;}.zlaiw-step{font-size:12px;}}

/* B2. 浅色底步骤覆盖（姓名/六爻 浅敦煌沙、竹简木色） */
.zlaiw-steps.light .zlaiw-step{color:rgba(80,55,25,.62);}
.zlaiw-steps.light .sdot{border-color:rgba(150,110,40,.55);}
.zlaiw-steps.light .on{color:#8a5a12;}
.zlaiw-steps.light .on .sdot{border-color:#b8862a;background:rgba(184,134,42,.22);color:#8a5a12;box-shadow:0 0 8px rgba(184,134,42,.5);}
.zlaiw-steps.light .done{color:rgba(80,55,25,.92);}
.zlaiw-steps.light .done .sdot{border-color:#6f9a55;background:rgba(111,154,85,.25);color:#557a3a;}
/* A3. 各工具既有问号按钮金色化（保留其原有触发逻辑） */
.bz-ts-help{filter:none;}
.hhw-ts .q, .zjw-ts .q, .qmw-q{width:17px!important;height:17px!important;border-radius:50%!important;font-size:11px!important;font-weight:700!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:5px;flex:0 0 auto;
 border:1.4px solid #d4af37!important;color:#e8c96a!important;cursor:pointer;
 background:radial-gradient(circle,rgba(212,175,55,.2),rgba(212,175,55,.05))!important;
 transition:transform .18s, box-shadow .18s;}
.hhw-ts .q:hover,.zjw-ts .q:hover,.qmw-q:hover{transform:scale(1.18);box-shadow:0 0 10px rgba(232,201,106,.75);}

/* ============================================================
   问题2修复：统一醒目的亮金问号（任何底色可见）
   ============================================================ */
.zts-q{display:inline-flex !important;width:19px !important;height:19px !important;border-radius:50% !important;
 align-items:center !important;justify-content:center !important;border:1.5px solid #2a1e00 !important;
 color:#ffd400 !important;font-size:12px !important;font-weight:800 !important;line-height:1 !important;
 cursor:pointer !important;vertical-align:middle;margin:0 0 0 5px !important;flex:0 0 auto !important;
 background:rgba(0,0,0,.40) !important;text-shadow:0 0 3px rgba(0,0,0,.95) !important;
 box-shadow:0 1px 4px rgba(0,0,0,.35) !important;transition:transform .18s, box-shadow .18s !important;}
.zts-q:hover,.zts-q:active{transform:scale(1.2);box-shadow:0 0 12px rgba(255,212,0,.85) !important;}
/* 各工具旧问号统一替换为同一套（覆盖此前按主题变色的规则） */
.bz-ts-help,.hhw-ts .q,.zjw-ts .q,.qmw-q{
 width:19px !important;height:19px !important;border-radius:50% !important;font-size:12px !important;font-weight:800 !important;
 display:inline-flex !important;align-items:center !important;justify-content:center !important;margin:0 0 0 5px !important;flex:0 0 auto !important;
 border:1.5px solid #2a1e00 !important;color:#ffd400 !important;cursor:pointer !important;
 background:rgba(0,0,0,.40) !important;line-height:1 !important;vertical-align:middle !important;
 box-shadow:0 1px 4px rgba(0,0,0,.35) !important;transition:transform .18s, box-shadow .18s !important;}
.bz-ts-help:hover,.hhw-ts .q:hover,.zjw-ts .q:hover,.qmw-q:hover{transform:scale(1.2);box-shadow:0 0 12px rgba(255,212,0,.85) !important;}
.bz-ts-help svg{display:none;}
.bz-ts-help::after{content:"?";}

/* ===== 统一高对比 toast（保存成功等轻提示） ===== */
.zlaiw-toast{
 position:fixed !important;left:50% !important;bottom:16% !important;transform:translateX(-50%) translateY(18px) !important;
 background:rgba(18,14,8,.94) !important;color:#ffd400 !important;
 border:1.5px solid rgba(255,212,0,.55) !important;
 padding:13px 28px !important;border-radius:12px !important;
 font-size:15px !important;font-weight:700 !important;letter-spacing:1.5px !important;line-height:1.5 !important;
 z-index:999999 !important;opacity:0 !important;pointer-events:none !important;
 max-width:86vw !important;text-align:center !important;
 box-shadow:0 10px 40px rgba(0,0,0,.65),0 0 24px rgba(255,200,60,.25),inset 0 1px 0 rgba(255,220,120,.15) !important;
 text-shadow:0 1px 4px rgba(0,0,0,.9) !important;
 transition:opacity .3s ease,transform .3s ease !important;}
.zlaiw-toast.show{opacity:1 !important;transform:translateX(-50%) translateY(0) !important;}
@media(max-width:640px){.zlaiw-toast{font-size:14px !important;padding:11px 20px !important;bottom:14% !important;}}

/* ===== 城市模糊搜索自定义下拉（替代原生 datalist） ===== */
.zlw-citywrap{position:relative;}
.zlw-citywrap.city-open,.qmw-citywrap.city-open,.npw-citywrap.city-open{z-index:60;}
.zlw-citylist{display:none;position:absolute;left:0;right:0;top:100%;margin-top:4px;max-height:240px;overflow:auto;
 background:#fff;color:#33291d;border:1px solid rgba(0,0,0,.14);border-radius:8px;
 box-shadow:0 10px 28px rgba(0,0,0,.22);z-index:999;}
.zlw-citylist .opt{padding:9px 12px;cursor:pointer;font-size:13px;line-height:1.45;}
.zlw-citylist .opt+.opt{border-top:1px solid rgba(0,0,0,.06);}
.zlw-citylist .opt.active,.zlw-citylist .opt:hover{background:#f2e6c8;}
.zlw-citylist .opt small{color:#9a8c6c;margin-left:6px;font-size:11px;}

/* ==================================================
   全局防溢出兜底（主文章 / 文章推荐位 / 聚合面板通用）
   长URL·长数字·连续字符·图片·表格·pre 一律不撑破容器
   ================================================== */
.zlaiw-tool-card,.zt-tools-panel,.zlaiw-tools-wrap,
[class*="-result"],[class*="-report"]{overflow-wrap:break-word;word-wrap:break-word;}
.zlaiw-tool-card img,.zt-tools-panel img,[class*="-result"] img{max-width:100%;height:auto;}
.zlaiw-tool-card pre,.zt-tools-panel pre,[class*="-result"] pre{white-space:pre-wrap;overflow-wrap:break-word;}
.zlaiw-tool-card table,.zt-tools-panel table,[class*="-result"] table{max-width:100%;border-collapse:collapse;}
.zlaiw-tool-card td,.zt-tools-panel td,[class*="-result"] td,
.zlaiw-tool-card th,.zt-tools-panel th,[class*="-result"] th{overflow-wrap:break-word;}
.zt-tools-panel input,.zt-tools-panel select,.zt-tools-panel textarea{max-width:100%;box-sizing:border-box;}
.zlaiw-tool-card a,.zt-tools-panel a{overflow-wrap:break-word;}
