.impact-wire {
  position: relative;
  margin: 12px 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #d5dcd5;
  border-radius: 17px;
  background: linear-gradient(145deg,#fbfcf8,#f2f6f1);
  box-shadow: 0 8px 24px #173b2510;
}
.impact-wire.has-impact { border-color: #d7c889; box-shadow: 0 12px 30px #69541118,0 3px 8px #173b250c; }
.impact-wire.has-impact::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(#d65e55,#d3a52c); }
.impact-wire-heading { display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; margin-bottom: 17px; }
.impact-live-mark { display: flex; align-items: center; gap: 7px; align-self: start; padding: 7px 10px; border-radius: 7px; background: #efe3ba; color: #715f26; font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.impact-live-mark i,.impact-urgency i { width: 7px; height: 7px; border-radius: 50%; background: #ce514a; box-shadow: 0 0 0 4px #ce514a16; }
.impact-wire-heading h2 { margin: 0; font: 700 26px/1.08 Georgia,serif; letter-spacing: -.025em; }
.impact-wire-heading p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.impact-source { align-self: start; padding: 6px 9px; border-radius: 7px; background: var(--soft); color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.impact-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 11px; align-items: start; }
.impact-alert { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); box-shadow: 0 4px 13px #173b2509; }
.impact-alert.lead-impact { grid-row: span 3; border-color: #d9c783; background: linear-gradient(150deg,#fffdf5,#fffefa 62%); box-shadow: 0 9px 22px #826b1615; }
.impact-alert-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.impact-urgency { display: inline-flex; align-items: center; gap: 7px; color: #a43f3a; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.impact-category { display: inline-block; margin-top: 12px; padding: 4px 7px; border-radius: 5px; background: #f1dddd; color: #805858; font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.impact-alert h3 { margin: 8px 0 6px; font: 700 20px/1.15 Georgia,serif; letter-spacing: -.015em; }
.impact-summary { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.impact-reason { margin: 13px 0 10px; padding: 11px 12px; border-left: 3px solid #d1ad3e; border-radius: 0 8px 8px 0; background: #f8f3df; }
.impact-reason span,.impact-action>span { display: block; color: #7b6729; font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.impact-reason p { margin: 4px 0 0; font-size: 10px; line-height: 1.5; }
.impact-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0 12px; }
.impact-tags span { padding: 4px 7px; border: 1px solid #cfddd3; border-radius: 99px; background: #edf5ef; color: #3d6750; font-size: 7px; font-weight: 800; }
.impact-action { padding: 10px 11px; border-radius: 9px; background: var(--soft); }
.impact-action strong,.impact-action small { display: block; }
.impact-action strong { margin-top: 3px; font-size: 10px; line-height: 1.4; }
.impact-action small { margin-top: 4px; font-size: 8px; }
.impact-alert>a { display: flex; justify-content: space-between; margin-top: 11px; color: var(--green); font-size: 9px; font-weight: 800; text-decoration: none; }
.impact-alert>a:hover { text-decoration: underline; }
.impact-clear { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px dashed var(--line); border-radius: 11px; background: var(--card); }
.impact-clear>span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dfeee3; color: #39704e; font-weight: 850; }
.impact-clear strong { font-size: 11px; }
.impact-clear p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }

html[data-theme="dark"] .impact-wire { border-color: #525d57; background: linear-gradient(145deg,#333a36,#303733); box-shadow: 0 10px 28px #070b0945; }
html[data-theme="dark"] .impact-wire.has-impact { border-color: #756a3f; }
html[data-theme="dark"] .impact-wire-heading h2 { color: #f1f4f2; }
html[data-theme="dark"] .impact-live-mark { background: #5b5131; color: #f0d979; }
html[data-theme="dark"] .impact-alert { border-color: #505a54; background: #383f3b; box-shadow: 0 5px 15px #070b0938; }
html[data-theme="dark"] .impact-alert.lead-impact { border-color: #776b3f; background: linear-gradient(150deg,#414036,#383d39 62%); }
html[data-theme="dark"] .impact-alert-top { border-color: #505a54; }
html[data-theme="dark"] .impact-reason { border-color: #c5a642; background: #4a4534; }
html[data-theme="dark"] .impact-reason span,html[data-theme="dark"] .impact-action>span { color: #efd776; }
html[data-theme="dark"] .impact-tags span { border-color: #567060; background: #405348; color: #c8e4d2; }
html[data-theme="dark"] .impact-action { background: #414a45; }
html[data-theme="dark"] .impact-clear { border-color: #56615b; background: #383f3b; }

@media(max-width:760px){
  .impact-wire { padding: 16px 13px; }
  .impact-wire-heading { grid-template-columns: 1fr; gap: 9px; }
  .impact-live-mark,.impact-source { justify-self: start; }
  .impact-wire-heading h2 { font-size: 23px; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-alert.lead-impact { grid-row: auto; }
}
