.ed-app{max-width:1120px}.ed-app .tk-heading{margin:16px 0 28px}.ed-app .tk-panel{margin-bottom:20px}.ed-app h2{font-size:20px;margin:0 0 18px}.ed-controls{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin-bottom:20px}.ed-controls>label{flex:1;min-width:140px}.ed-app label{display:block;font-size:14px;font-weight:600}.ed-app .field{display:block;width:100%;margin-top:8px;min-height:48px;font-size:16px}.ed-app textarea.field{line-height:1.8}.ed-number-input{font:500 clamp(22px,4vw,36px) var(--tech);margin-bottom:20px}.ed-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px}.ed-workspace>.tk-panel{align-self:start}.ed-output{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-height:650px;overflow:auto;line-height:1.9;min-height:80px}.ed-chinese{font-size:clamp(25px,4vw,38px);font-weight:700;line-height:1.8;padding:24px;border-radius:14px;background:var(--bg2);color:var(--a);min-height:120px;max-height:none}.ed-examples{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 28px}.ed-examples .btn{font-size:13px;min-height:40px}.ed-check{display:flex!important;align-items:center;gap:8px;margin:14px 0 22px;min-height:40px}.ed-check input{width:18px;height:18px;accent-color:var(--a)}.ed-error{color:#b42318;background:#fef3f2;padding:14px 18px;border-radius:12px;line-height:1.7;overflow-wrap:anywhere}.ed-error:empty{display:none}.ed-size-result{font-size:clamp(18px,3vw,26px);font-weight:700;white-space:pre-line;color:var(--a);line-height:1.8}.ed-table-wrap{overflow:auto}.ed-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;white-space:nowrap}.ed-table caption{text-align:left;font-size:13px;color:var(--dim);padding:10px 0}.ed-table td,.ed-table th{padding:12px 16px;text-align:left;border-bottom:1px solid var(--line)}.ed-table th{font-size:13px}.ed-selected{background:var(--read);font-weight:700}.ed-group{padding:0 16px 12px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}.ed-group h3{font-size:15px;color:var(--a);margin-bottom:8px}.ed-group ol{margin-top:0}.ed-output li{padding:2px 4px;overflow-wrap:anywhere}.ed-help{padding:16px 4px;line-height:1.9;color:var(--dim)}.ed-help h2{color:var(--text)}.ed-help a{color:var(--a)}.ed-random-panel{text-align:center}.ed-random-panel .ed-controls{max-width:450px;margin:0 auto 24px;text-align:left}.ed-run{min-width:190px;min-height:56px;font-size:19px}.ed-random-summary{font-size:22px;font-weight:700;margin:30px 0}.ed-rolls{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:20px 0 28px}.ed-coin,.ed-die{display:grid;place-items:center;flex:none;width:76px;height:76px;font-weight:800;font-size:28px;animation:ed-pop .3s ease-out}.ed-coin{background:#fff2c8;color:#705116;border:4px double #b99340;border-radius:50%;box-shadow:0 4px 0 #b99340}.ed-tail{background:#eee7ff;color:#62458b;border-color:#9b80bd;box-shadow:0 4px 0 #9b80bd}.ed-die{border-radius:14px;background:var(--bg2);border:1px solid var(--line);color:var(--a);font-family:'Segoe UI Symbol',sans-serif}.ed-random-panel .tk-actions{justify-content:center}.ed-history{padding-left:26px;max-height:400px;overflow:auto}.ed-history li{padding:10px 4px;line-height:1.7;border-bottom:1px solid var(--line);overflow-wrap:anywhere;white-space:pre-line}.ed-copy-field{position:fixed;opacity:0;pointer-events:none;top:0;left:0;width:1px;height:1px}.hub-everyday-preview{font-size:24px;font-weight:800;color:var(--a);padding:12px;text-align:center;line-height:1.6;overflow-wrap:anywhere}
@keyframes ed-pop{from{opacity:.3;transform:translateY(8px) scale(.9)}to{opacity:1;transform:none}}
@media(max-width:760px){.ed-app{padding:12px 16px 40px}.ed-workspace{grid-template-columns:1fr;gap:0}.ed-app .tk-panel{padding:18px}.ed-controls{gap:12px}.ed-controls>label{min-width:120px}.ed-chinese{padding:18px}.ed-coin,.ed-die{width:60px;height:60px;font-size:24px}.ed-app .tk-heading h1{font-size:28px}.ed-table td,.ed-table th{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.ed-coin,.ed-die{animation:none}}
.hub-everyday-preview{font-size:20px;padding:4px;width:100%;max-width:100%;line-height:1.5}
.ed-coin{font-size:18px;text-align:center;overflow-wrap:anywhere;padding:4px}.hub-preview-coin .hub-everyday-preview{font-size:14px;line-height:1.3}.ed-app .tk-heading>div{min-width:0}.ed-app .tk-heading h1,.ed-app .tk-heading p,.ed-app .tk-actions .btn{overflow-wrap:anywhere}

/* QR Code */
.ed-qr-preview-box{display:grid;place-items:center;max-width:280px;margin:0 auto 20px;padding:16px;background:#fff;border-radius:14px;box-shadow:0 4px 12px rgba(0,0,0,.08);aspect-ratio:1}.ed-qr-preview-box svg{width:100%;height:100%;display:block}
.ed-qr-options{margin-top:16px}.ed-color-input{min-height:44px;padding:4px;cursor:pointer}
/* Word count */
.ed-wc-textarea{font-size:15px;line-height:1.8}
.ed-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
.ed-stat-card{background:var(--bg2);padding:14px;border-radius:12px;text-align:center;border:1px solid var(--line)}
.ed-stat-num{display:block;font:800 24px var(--tech);color:var(--a);margin-bottom:4px}
.ed-highlight-num{font-size:clamp(24px,3.5vw,36px)}
.ed-stat-lbl{font-size:13px;color:var(--dim)}
.ed-reading-times{margin:16px 0;padding:14px 18px;background:var(--bg2);border-radius:12px;border:1px solid var(--line);line-height:1.8}
.ed-reading-times p{margin:4px 0}
.ed-limits-list{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.ed-limit-header{display:flex;justify-content:space-between;font-size:13px;font-weight:600;margin-bottom:4px}
.ed-progress-track{height:8px;background:var(--line);border-radius:4px;overflow:hidden}
.ed-progress-bar{height:100%;background:var(--a);transition:width .2s}
.ed-bar-over{background:#e5322d}
/* Password */
.ed-pw-display-wrap{display:flex;flex-direction:column;gap:16px;margin-bottom:12px}
.ed-pw-output{font-family:monospace;font-size:clamp(18px,3vw,26px);font-weight:700;padding:20px;border-radius:14px;background:var(--bg2);color:var(--a);word-break:break-all;letter-spacing:1px;min-height:72px;display:grid;place-items:center;text-align:center;border:1px solid var(--line)}
.ed-pw-strength-bar{height:8px;background:var(--line);border-radius:4px;overflow:hidden;margin:14px 0 8px}
.ed-pw-meter{height:100%;transition:width .3s,background-color .3s}
.ed-meter-weak{background:#e5322d}
.ed-meter-medium{background:#f59e0b}
.ed-meter-strong{background:#10b981}
.ed-meter-very-strong{background:#6366f1}
.ed-pw-checkboxes{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0}
/* LED Scroller */
.ed-scroller-stage{
  position:relative;width:100%;height:220px;margin-bottom:16px;
  background:var(--ls-bg,#0a0a00);color:var(--ls-fg,#ffea00);
  border:2px solid #222;border-radius:16px;overflow:hidden;
  cursor:pointer;touch-action:manipulation;user-select:none;
  container-type:size;
}
.ed-scroller-inner{
  position:absolute;top:50%;left:50%;width:100%;height:100%;
  transform:translate(-50%,-50%) rotate(var(--ls-rotation,0deg)) scaleX(var(--ls-mirror,1));
}
.ed-scroller-mirrored{--ls-mirror:-1}
#ed-scroller-canvas{display:block;width:100%;height:100%}
#ed-scroller-msg{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ed-scroller-overlay{position:absolute;inset:0;pointer-events:none;z-index:1}
.ed-scroller-stage[data-style="matrix"] .ed-scroller-inner{
  background-image:radial-gradient(circle closest-side,color-mix(in srgb,var(--ls-fg) 13%,var(--ls-bg)) 74%,transparent 80%);
  background-size:var(--ls-pitch,5px) var(--ls-pitch,5px);
}
.ed-scroller-stage[data-style="matrix"] canvas{filter:drop-shadow(0 0 calc(var(--ls-pitch,5px) * .25) color-mix(in srgb,var(--ls-fg) 40%,transparent))}
.ed-scroller-stage[data-style="neon"] canvas{filter:drop-shadow(0 0 8px var(--ls-fg)) drop-shadow(0 0 18px var(--ls-fg))}
.ed-scroller-stage[data-style="retro"]{border:8px dotted var(--ls-fg);box-shadow:inset 0 0 24px color-mix(in srgb,var(--ls-fg) 40%,transparent)}
.ed-scroller-stage[data-style="retro"] canvas{filter:drop-shadow(0 0 10px var(--ls-fg))}
.ed-scroller-stage[data-effect="strobe"] .ed-scroller-inner{animation:ed-marquee-strobe .45s steps(2,start) infinite}
.ed-scroller-stage[data-effect="scanline"] .ed-scroller-overlay{background-image:repeating-linear-gradient(0deg,rgba(0,0,0,.45) 0 2px,transparent 2px 4px)}
@keyframes ed-marquee-strobe{0%{filter:brightness(1)}50%{filter:brightness(1.9) contrast(1.2)}}
#ed-ls-size{padding-inline:0;accent-color:var(--a)}
#ed-ls-size-value{color:var(--a);font-variant-numeric:tabular-nums}
.ed-ls-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.ed-ls-emoji{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.ed-ls-emoji .btn{min-width:42px;min-height:42px;padding:4px;font-size:1.15rem}
.ed-ls-concert{margin-bottom:10px}
.ed-ls-concert summary{padding:8px 0;color:var(--a);font-weight:700;cursor:pointer}
.ed-ls-concert .ed-ls-presets{margin:4px 0 0}
.ed-ls-library h2{font-size:1rem}
.ed-ls-library .btn{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#ed-ls-share-status:empty{display:none}
#ed-ls-share-output{margin-top:10px}
.ed-ls-invite{
  width:min(420px,calc(100% - 32px));padding:20px;border:1px solid var(--line);border-radius:16px;
  background:var(--bg);color:var(--text);
}
.ed-ls-invite::backdrop{background:#15111ab3}
.ed-ls-invite h2{margin:0;font-size:1.1rem}
.ed-ls-invite p{overflow-wrap:anywhere}
.ed-ls-bts{margin:0 0 16px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg2)}
.ed-ls-bts summary{padding:12px 0;color:var(--a);font-weight:700;cursor:pointer}
.ed-ls-bts-group{margin:0 0 14px}
.ed-ls-bts-group h2{margin:0 0 8px;font-size:.95rem}
.ed-ls-bts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,7.25rem),1fr));gap:8px}
.ed-ls-bts-option.btn{
  display:grid;align-content:start;justify-items:start;gap:3px;min-width:0;padding:8px 10px;
  text-align:start;white-space:normal;overflow-wrap:anywhere;
}
.ed-ls-bts-option strong{color:var(--text);line-height:1.35}
.ed-ls-bts-option small{color:var(--a);font-size:.75rem}
.ed-ls-bts-option span{font-size:.8rem;font-weight:400;line-height:1.35}
.ed-ls-colors{display:flex;gap:12px;align-items:end}
.ed-ls-colors label{flex:1;min-width:0}
.ed-ls-toggles{margin:10px 0 4px}
.ed-ls-toggles label[for="ed-ls-shake"]{display:block;max-width:18rem;margin:8px 0 0}
.ed-ls-bursts{position:absolute;inset:0;z-index:2;pointer-events:none}
.ed-ls-particle{position:absolute;display:block;background:currentColor;box-shadow:0 0 .45rem currentColor}
.ed-ls-particle-fireworks{width:6px;height:6px;border-radius:50%}
.ed-ls-particle-confetti{width:7px;height:12px;border-radius:2px}
.ed-ls-particle-hearts{background:none;box-shadow:none;font-size:clamp(24px,7vmin,64px);text-shadow:0 0 12px currentColor}
.ed-ls-fx-controls{display:none}
.ed-scroller-stage[data-expanded] .ed-ls-fx-controls{
  display:flex;gap:6px;position:absolute;z-index:3;
  top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));
}
.ed-ls-fx-controls button{
  width:44px;height:44px;padding:0;border:1px solid #ffffff55;border-radius:12px;
  background:#161321df;color:white;font-size:1.2rem;cursor:pointer;
}
.ed-scroller-exit{display:none;z-index:2}
html.ed-scroller-expanded,html.ed-scroller-expanded body{overflow:hidden}
.ed-scroller-stage[data-expanded]{
  position:fixed;
  inset:0;
  width:100%;
  height:100vh;
  height:100dvh;
  margin:0;
  border-width:0;
  border-radius:0;
  z-index:9999;
}
.ed-scroller-stage:is(:fullscreen,:-webkit-full-screen){height:100%}
@media (orientation:portrait){
  .ed-scroller-stage[data-expanded][data-touch] .ed-scroller-inner{
    --ls-rotation:90deg;
    width:100dvh;height:100vw;
    width:100cqh;height:100cqw;
  }
}
.ed-scroller-stage[data-expanded] .ed-scroller-exit{
  display:grid;
  place-items:center;
  position:absolute;
  top:12px;
  right:12px;
  top:max(12px,env(safe-area-inset-top));
  right:max(12px,env(safe-area-inset-right));
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(255,255,255,.25);
  color:#fff;
  font-size:32px;
  border:0;
  cursor:pointer;
}
/* Discount */
.ed-mini{display:inline-block;width:80px;min-height:38px;padding:4px 8px;font-size:15px;margin:0 6px;text-align:center}
.ed-calc-quick{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.ed-calc-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;padding:12px 16px;background:var(--bg2);border-radius:10px;border:1px solid var(--line)}
@media(max-width:760px){.ed-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-calc-row{font-size:14px}}

/* Distinct Themes per Tool */
[data-tool="bmi"]{--a:#059669;--a-hover:#047857}
[data-tool="unit-converter"]{--a:#0284c7;--a-hover:#0369a1}
[data-tool="mortgage"]{--a:#d97706;--a-hover:#b45309}
[data-tool="aspect-ratio"]{--a:#ea580c;--a-hover:#c2410c}
[data-tool="color-converter"]{--a:#e11d48;--a-hover:#be123c}

/* BMI Gauge & Badges */
.ed-panel-emerald{border-top:3px solid #10b981}
.ed-highlight-emerald{color:#059669}
.ed-card-emerald{border-color:rgba(16,185,129,.3);background:#f0fdf4}
.ed-gauge-wrap{position:relative;margin:22px 0 28px}
.ed-gauge-track{height:16px;border-radius:8px;display:flex;overflow:hidden;box-shadow:inset 0 1px 3px rgba(0,0,0,.15)}
.ed-gauge-seg{height:100%;display:grid;place-items:center;font-size:10px;font-weight:700;color:rgba(0,0,0,.65)}
.ed-gauge-under{flex:18.5;background:#38bdf8}
.ed-gauge-norm{flex:5.5;background:#10b981;color:#fff}
.ed-gauge-over{flex:3.0;background:#f59e0b;color:#fff}
.ed-gauge-obese{flex:8.0;background:#f43f5e;color:#fff}
.ed-gauge-pointer{position:absolute;top:18px;transform:translateX(-50%);font-size:13px;color:#111;transition:left .3s}
.ed-badge-emerald,.ed-badge-normal{display:inline-block;padding:2px 8px;border-radius:6px;background:#dcfce7;color:#15803d;font-weight:700}
.ed-badge-underweight{display:inline-block;padding:2px 8px;border-radius:6px;background:#e0f2fe;color:#0369a1;font-weight:700}
.ed-badge-overweight{display:inline-block;padding:2px 8px;border-radius:6px;background:#fef3c7;color:#b45309;font-weight:700}
.ed-badge-obese{display:inline-block;padding:2px 8px;border-radius:6px;background:#ffe4e6;color:#be123c;font-weight:700}

/* Unit Converter */
.ed-panel-sky{border-top:3px solid #0ea5e9}
.ed-uc-row{display:flex;align-items:end;gap:12px;margin-bottom:16px}
.ed-uc-col{flex:1;min-width:0}
.ed-uc-swap{width:48px;height:48px;font-size:22px;padding:0;display:grid;place-items:center;border-radius:50%;align-self:end;margin-bottom:2px}
.ed-floor-diagram{display:flex;flex-wrap:wrap;align-items:end;gap:20px;margin:16px 0 28px}
.ed-floor-ping{width:180px;height:180px;border:2px solid #0284c7;background:#f0f9ff;display:grid;grid-template-columns:1fr 1fr;position:relative;border-radius:8px;padding:4px;gap:4px}
.ed-floor-tatami{border:1px dashed #0ea5e9;display:grid;place-items:center;font-size:12px;font-weight:700;color:#0284c7;background:#fff;border-radius:4px}
.ed-floor-ping-lbl{position:absolute;bottom:-24px;left:0;width:100%;text-align:center;font-size:12px;font-weight:700;color:#0284c7;white-space:nowrap}
.ed-floor-m2{width:99px;height:99px;border:2px solid #64748b;background:#f8fafc;display:grid;place-items:center;font-size:13px;font-weight:700;border-radius:6px;color:#334155}
.ed-temp-diagram{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.ed-temp-mark{padding:12px 6px;background:var(--bg2);border:1px solid var(--line);border-radius:8px;text-align:center}
.ed-temp-mark span{display:block;font-weight:700;font-size:14px;color:#0284c7}
.ed-temp-mark small{font-size:12px;color:var(--dim)}

/* Mortgage */
.ed-panel-amber{border-top:3px solid #f59e0b}
.ed-highlight-amber{color:#d97706}
.ed-card-amber{border-color:rgba(245,158,11,.3);background:#fffbeb}
.ed-mortgage-visual{margin:20px 0}
.ed-mortgage-labels{display:flex;justify-content:space-between;font-size:14px;margin-bottom:6px}
.ed-mortgage-bar{height:18px;border-radius:9px;display:flex;overflow:hidden;background:#e2e8f0}
.ed-mortgage-bar-p{background:#10b981;transition:width .3s}
.ed-mortgage-bar-i{background:#f59e0b;transition:width .3s}
.ed-mg-container{min-width:0;max-width:100%}
.ed-mg-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:12px}
.ed-mg-tab{font-size:13px;padding:6px 12px;border-radius:20px;background:var(--bg2);color:var(--text);border:1px solid var(--line);cursor:pointer;transition:all .2s;white-space:nowrap}
.ed-mg-tab.active{background:#f59e0b;color:#fff;border-color:#d97706;font-weight:700}
.ed-mg-basis-toggle{margin-bottom:16px}
.ed-mg-presets{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 16px}
.ed-mg-presets .ed-pill{font-size:12px;min-height:30px;padding:4px 10px;border-radius:15px;background:var(--bg2);border:1px solid var(--line);color:var(--text);cursor:pointer}
.ed-mg-presets .ed-pill.active{background:#f59e0b;color:#fff;border-color:#d97706;font-weight:700}
.ed-mg-sep{color:var(--line);margin:0 4px;font-size:12px}
.ed-mg-split-card{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 16px;background:var(--bg2);border-radius:10px;border:1px solid var(--line);margin-bottom:16px}
.ed-mg-split-col{display:flex;flex-direction:column;gap:2px}
.ed-mg-split-lbl{font-size:12px;color:var(--dim)}
.ed-mg-split-val{font:700 16px var(--tech);color:#d97706}
.ed-mg-alert{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;padding:12px 16px;border-radius:10px;font-size:14px;font-weight:600;margin:16px 0;word-break:break-word}

.ed-mg-verdict{padding:14px 18px;border-radius:10px;font-size:15px;font-weight:700;margin:16px 0;line-height:1.6;word-break:break-word}
.ed-mg-verdict.yes{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
.ed-mg-verdict.no{background:#fffbeb;border:1px solid #fde68a;color:#92400e}
.ed-schedule-panel{margin-top:20px;min-width:0;max-width:100%}
.ed-schedule-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.ed-schedule-header h2{margin:0}
.ed-schedule-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ed-toggle-group{display:inline-flex;border-radius:8px;background:var(--bg2);padding:2px;border:1px solid var(--line)}
.ed-toggle-btn{background:transparent;border:none;padding:6px 14px;font-size:13px;border-radius:6px;cursor:pointer}
.ed-toggle-btn.active{background:#f59e0b;color:#fff;font-weight:700}
.ed-schedule-table-wrap{max-height:480px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow-x:auto;max-width:100%;min-width:0}
.ed-schedule-table{font-size:12px;width:100%;min-width:480px}
.ed-schedule-table th{background:var(--bg2);position:sticky;top:0;z-index:1;padding:8px 10px}
.ed-schedule-table td{padding:8px 10px}
.ed-schedule-table tr:hover{background:var(--bg2)}



/* Aspect Ratio */
.ed-panel-orange{border-top:3px solid #f97316}
.ed-highlight-orange{color:#ea580c}
.ed-card-orange{border-color:rgba(234,88,12,.3);background:#fff7ed}
.ed-ar-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
.ed-pill{font-size:13px;min-height:36px;padding:6px 14px;border-radius:20px}
.ed-ar-frame-stage{width:100%;height:220px;display:grid;place-items:center;background:var(--bg2);border-radius:14px;border:1px solid var(--line);overflow:hidden;padding:16px}
.ed-ar-box{max-width:100%;max-height:100%;border:2px solid #ea580c;background:rgba(234,88,12,.08);border-radius:8px;display:grid;place-items:center;transition:aspect-ratio .3s;padding:8px}
.ed-ar-box-dim{font-size:13px;font-weight:700;color:#ea580c;background:rgba(255,255,255,.95);padding:4px 10px;border-radius:6px;box-shadow:0 2px 6px rgba(0,0,0,.08);white-space:nowrap}

/* Color Converter */
.ed-panel-rose{border-top:3px solid #f43f5e}
.ed-color-large{height:52px;width:100%;padding:4px;cursor:pointer}
.ed-contrast-demo{padding:22px;border-radius:12px;margin-bottom:16px;box-shadow:inset 0 1px 4px rgba(0,0,0,.15);transition:background-color .2s}
.ed-contrast-text-light{color:#fff;font-size:16px;font-weight:700;margin:0 0 8px}
.ed-contrast-text-dark{color:#000;font-size:16px;font-weight:700;margin:0}
.ed-badge-pass{display:inline-block;padding:2px 8px;border-radius:6px;background:#dcfce7;color:#15803d;font-weight:700}
.ed-badge-fail{display:inline-block;padding:2px 8px;border-radius:6px;background:#fee2e2;color:#b91c1c;font-weight:700}
.ed-palette-strip{display:flex;height:42px;border-radius:8px;overflow:hidden;margin-top:12px;border:1px solid var(--line)}
.ed-color-chip{flex:1;border:none;cursor:pointer;padding:0;transition:transform .15s}
.ed-color-chip:hover{transform:scaleY(1.15)}
