/* 52 · 耳机清洁与更换周期 —— 声波波纹版式：青碧主色、波形曲线母题、频次波峰 */
.ect{
  --ink:#1d2b2b; --sub:#6e8a8a; --card:#ffffff; --line:#d3e4e1;
  --pri:#158f7e; --pri-deep:#0e6a5c; --pri-soft:#e2f3ef; --ok:#2f7d5e; --warn:#b07a1f; --bad:#b23b4e; --bg:#f1f8f6;
  --ect-font:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",system-ui,sans-serif;
  --ect-num:"Bahnschrift","Segoe UI Variable Text",ui-monospace,monospace;
  color:var(--ink); background:var(--bg); font-family:var(--ect-font);
  font-size:15px; line-height:1.8; letter-spacing:.12px;
  padding:30px 16px 64px;
}
:root[data-theme="dark"] .ect{
  --ink:#e4f0ed; --sub:#8fb0aa; --card:#16241f; --line:#2c4a40;
  --pri:#5ec9b5; --pri-deep:#3dab96; --pri-soft:#1e352e; --ok:#7fd0a8; --warn:#e0b46a; --bad:#ff8fa0; --bg:#101b17;
}
.ect-wrap{max-width:1120px;margin:0 auto;}
.ect *{box-sizing:border-box;}
.ect h1,.ect h2,.ect h3{margin:0;}
.ect b{font-weight:700;color:var(--pri-deep);}
:root[data-theme="dark"] .ect b{color:var(--pri);}
.ect-hero{
  display:grid;grid-template-columns:minmax(0,1.62fr) 180px;gap:34px;align-items:center;
  background:linear-gradient(120deg,var(--card) 0%,var(--pri-soft) 100%);
  border:1px solid var(--line);border-radius:20px;padding:34px 38px;
  box-shadow:0 10px 30px rgba(21,143,126,.08);position:relative;overflow:hidden;
}
.ect-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;
  background:repeating-linear-gradient(180deg,var(--pri) 0 10px,transparent 10px 16px,var(--pri-deep) 16px 22px,transparent 22px 30px);}
.ect-badge{display:inline-block;font-size:12px;font-weight:700;letter-spacing:1.4px;color:var(--pri-deep);background:var(--card);border:1px solid var(--line);border-radius:999px;padding:5px 14px;}
.ect-hero h1{font-size:31px;line-height:1.34;font-weight:800;margin:16px 0 10px;letter-spacing:.3px;}
.ect-hero h1 em{display:block;font-style:normal;font-size:16.5px;font-weight:600;color:var(--sub);letter-spacing:.2px;margin-top:8px;}
.ect-hero p{margin:0;max-width:780px;font-size:15px;line-height:1.85;}
.ect-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;}
.ect-hero-meta span{font-size:12px;font-weight:600;color:var(--sub);background:var(--card);border:1px dashed var(--line);border-radius:6px;padding:4px 10px;}
.ect-hero-wave{display:flex;flex-direction:column;align-items:center;gap:10px;}
.ect-wave-svg{width:150px;height:110px;background:var(--bp,var(--pri-soft));border-radius:10px;padding:6px;background:var(--pri-soft);}
.ect-wave-line{fill:none;stroke:var(--pri);stroke-width:3;stroke-linecap:round;}
.ect-wave-dim{stroke:var(--pri);opacity:.4;stroke-width:2;}
.ect-wave-dot{fill:var(--pri-deep);}
.ect-wave-note{font-size:11px;color:var(--sub);text-align:center;line-height:1.5;}
.ect-card,.ect-panel,.ect-empty{
  background:var(--card);border:1px solid var(--line);border-radius:16px;
  box-shadow:0 2px 12px rgba(21,143,126,.05);padding:24px 26px;margin-top:20px;
}
.ect-card-h,.ect-h2{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:18px;}
.ect-card-h h2{font-size:20px;font-weight:750;}
.ect-h2{font-size:18px;font-weight:750;}
.ect-card-tip,.ect-h2 span{font-size:12.5px;font-weight:500;color:var(--sub);}
.ect-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr);gap:26px;}
.ect-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;}
.ect-f{display:flex;flex-direction:column;gap:7px;font-size:13.5px;font-weight:650;}
.ect-f select,.ect-f input,.ect-ta{
  width:100%;font:500 14px var(--ect-font);color:var(--ink);background:var(--bg);
  border:1px solid var(--line);border-radius:10px;padding:10px 12px;outline:none;transition:border-color .18s,box-shadow .18s;
}
.ect-f select:hover,.ect-f input:hover,.ect-ta:hover{border-color:var(--pri);}
.ect-f select:focus,.ect-f input:focus,.ect-ta:focus{border-color:var(--pri);box-shadow:0 0 0 3px var(--pri-soft);}
.ect-num{display:flex;align-items:center;gap:8px;}
.ect-num input{flex:1;min-width:0;}
.ect-num i{font-style:normal;font-size:12px;color:var(--sub);white-space:nowrap;}
.ect-aside{background:var(--bg);border-left:3px solid var(--pri);border-radius:0 12px 12px 0;padding:14px 16px;}
.ect-aside h3{font-size:14px;margin-bottom:8px;}
.ect-aside p{margin:0 0 10px;font-size:13px;line-height:1.75;color:var(--sub);}
.ect-aside-warn{color:var(--warn)!important;}
.ect-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.ect-btn{
  font:650 14px var(--ect-font);color:var(--ink);background:var(--card);border:1px solid var(--line);
  border-radius:10px;padding:10px 20px;cursor:pointer;transition:transform .15s,border-color .15s,background .15s,box-shadow .15s;white-space:nowrap;
}
.ect-btn:hover{transform:translateY(-1px);border-color:var(--pri);box-shadow:0 6px 16px rgba(21,143,126,.14);}
.ect-btn:active{transform:translateY(0);}
.ect-btn-main{background:var(--pri);color:#fff;border-color:var(--pri);}
.ect-btn-main:hover{background:var(--pri-deep);}
.ect-btn-ghost{background:transparent;color:var(--sub);}
.ect-msg{font-size:13px;color:var(--sub);margin:12px 0 0;min-height:20px;line-height:1.6;}
.ect-empty{text-align:center;padding:46px 20px;color:var(--sub);}
.ect-empty-ic{display:block;font-size:30px;margin-bottom:8px;}
.ect-empty b{display:block;font-size:16px;color:var(--ink);}
.ect-empty em{display:block;font-style:normal;font-size:13px;margin-top:6px;line-height:1.7;}
.ect-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:20px;}
.ect-kpi{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px 16px;display:flex;flex-direction:column;gap:4px;}
.ect-kpi.is-hero{background:linear-gradient(140deg,var(--pri),var(--pri-deep));border-color:transparent;color:#fff;}
.ect-kpi .k{font-size:12.5px;color:var(--sub);}
.ect-kpi.is-hero .k,.ect-kpi.is-hero .s{color:#d7f0ea;}
.ect-kpi .v{font:800 27px/1.2 var(--ect-num);letter-spacing:.5px;}
.ect-kpi-txt{font-size:18px!important;font-family:var(--ect-font)!important;font-weight:750!important;}
.ect-kpi .s{font-size:11.5px;color:var(--sub);}
.ect-tw{overflow:auto;}
.ect-tb{width:100%;border-collapse:collapse;font-size:13.5px;min-width:560px;}
.ect-tb th,.ect-tb td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;}
.ect-tb th{font-size:12px;color:var(--sub);background:var(--bg);font-weight:650;}
.ect-tb tbody tr:hover{background:var(--pri-soft);}
.ect-due{font:700 12px var(--ect-num);border-radius:999px;padding:2px 10px;display:inline-block;}
.ect-due.is-ok{background:var(--pri-soft);color:var(--pri-deep);}
.ect-due.is-soon{background:#f7ecd4;color:#8a5f12;}
.ect-due.is-late{background:#fbe9ec;color:var(--bad);}
:root[data-theme="dark"] .ect-due.is-soon{background:#33291a;color:#e0b46a;}
:root[data-theme="dark"] .ect-due.is-late{background:#3a2228;color:#ff8fa0;}
.ect-note{font-size:13px;color:var(--sub);background:var(--bg);border-radius:10px;padding:10px 14px;margin:14px 0 0;line-height:1.7;}
.ect-ta{min-height:104px;resize:vertical;line-height:1.7;}
.ect-final{margin-top:22px;}
@media (max-width:860px){
  .ect{padding:20px 12px 48px;}
  .ect-hero{grid-template-columns:1fr;padding:24px 20px;}
  .ect-hero h1{font-size:25px;}
  .ect-hero-wave{display:none;}
  .ect-grid,.ect-fields,.ect-kpis{grid-template-columns:1fr;}
  .ect-card,.ect-panel{padding:18px 16px;}
  .ect-h2,.ect-card-h{flex-direction:column;gap:4px;}
}
