.notify-watchdog-module-v1 {
    --nwm-bg: #f4f7fc;
    --nwm-surface: #ffffff;
    --nwm-surface-2: #f8fbff;
    --nwm-border: #dfe8f5;
    --nwm-text: #0f172a;
    --nwm-muted: #5d6b85;
    --nwm-blue: #2563eb;
    --nwm-blue-dark: #1d4ed8;
    --nwm-violet: #7c3aed;
    --nwm-teal: #14b8a6;
    --nwm-emerald: #10b981;
    --nwm-amber: #f59e0b;
    --nwm-rose: #f43f5e;
    --nwm-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    --nwm-shadow-sm: 0 16px 36px rgba(15, 23, 42, 0.08);
    color: var(--nwm-text);
    background: var(--nwm-bg);
}

.notify-watchdog-module-v1 * {
    box-sizing: border-box;
}

.notify-watchdog-module-v1 .container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.notify-watchdog-module-v1 .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
    font-size: 0.96rem;
    border: 1px solid transparent;
}

.notify-watchdog-module-v1 .primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #4f9bff 0%, #2b6fe7 100%);
    box-shadow: 0 12px 28px rgba(43, 111, 231, 0.32);
}

.notify-watchdog-module-v1 .primary-btn:hover {
    transform: translateY(-2px);
}

.notify-watchdog-module-v1 .secondary-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.notify-watchdog-module-v1 .secondary-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.nwm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    color: #5d7596;
}

.nwm-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.20), transparent 18%),
        radial-gradient(circle at 66% 52%, rgba(37, 99, 235, 0.22), transparent 22%),
        linear-gradient(135deg, #050a13 0%, #0a1424 52%, #101d33 100%);
}

.nwm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    pointer-events: none;
}

.nwm-hero .container,
.nwm-strip .container,
.nwm-section .container,
.nwm-final .container {
    position: relative;
    z-index: 1;
}

.nwm-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
    gap: 30px;
    align-items: center;
    padding: 46px 0 36px;
}

.nwm-hero h1 {
    margin: 0;
    max-width: 800px;
    font-size: clamp(2.2rem, 3.8vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.nwm-lead {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.76);
}

.nwm-actions,
.nwm-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.nwm-microcopy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nwm-microcopy span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
}

.nwm-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-top: 22px;
}

.nwm-quicklinks a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.84);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.nwm-quicklinks a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nwm-hero-board {
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.nwm-hero-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.nwm-hero-board__head strong {
    font-size: 1rem;
}

.nwm-hero-board__head span {
    color: rgba(255,255,255,0.64);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nwm-hero-diagram {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.nwm-hero-node {
    min-height: 146px;
    padding: 16px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.nwm-hero-node i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.nwm-hero-node strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.24;
}

.nwm-hero-node span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.72);
    font-size: 0.82rem;
    line-height: 1.55;
}

.nwm-hero-node--rule {
    background: linear-gradient(180deg, rgba(37,99,235,0.22) 0%, rgba(255,255,255,0.08) 100%);
}

.nwm-hero-node--action {
    background: linear-gradient(180deg, rgba(20,184,166,0.16) 0%, rgba(255,255,255,0.08) 100%);
}

.nwm-hero-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.84);
    font-size: 0.86rem;
}

.nwm-hero-events {
    display: grid;
    gap: 12px;
}

.nwm-hero-event {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(5, 10, 19, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.nwm-hero-event__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nwm-hero-event__body strong {
    display: block;
    font-size: 0.92rem;
}

.nwm-hero-event__body span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,0.68);
    font-size: 0.83rem;
    line-height: 1.56;
}

.nwm-hero-event__tag {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nwm-hero-event__tag--restart {
    background: rgba(20,184,166,0.18);
    color: #bff7ef;
}

.nwm-hero-event__tag--watch {
    background: rgba(96,165,250,0.18);
    color: #c9e1ff;
}

.nwm-hero-event__tag--ok {
    background: rgba(16,185,129,0.18);
    color: #bff7df;
}

.nwm-hero-board__routes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.nwm-hero-board__routes span {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    font-weight: 700;
}

.nwm-strip {
    padding: 24px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.nwm-strip__box {
    padding: 26px 30px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--nwm-border);
    box-shadow: var(--nwm-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.nwm-strip__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #13213f;
}

.nwm-strip__box p {
    margin: 10px 0 0;
    color: var(--nwm-muted);
    line-height: 1.72;
}

.nwm-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none;
}

.nwm-section {
    padding: 78px 0 0;
}

.nwm-section--soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(248,251,255,0.9) 100%);
    padding-bottom: 6px;
}

.nwm-section--screenshot {
    padding-top: 72px;
}

.nwm-section-head {
    margin-bottom: 34px;
    text-align: center;
}

.nwm-section-head.compact {
    margin-bottom: 30px;
}

.nwm-section-head h2,
.nwm-final h2,
.nwm-screenshot-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.04;
    color: #13213f;
}

.nwm-section-head p,
.nwm-final p,
.nwm-screenshot-copy p {
    margin: 12px auto 0;
    max-width: 840px;
    color: var(--nwm-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.nwm-scope-grid,
.nwm-problem-grid,
.nwm-feature-grid,
.nwm-boundary-grid,
.nwm-plan-grid {
    display: grid;
    gap: 20px;
}

.nwm-scope-grid,
.nwm-boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nwm-problem-grid,
.nwm-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nwm-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nwm-scope-card,
.nwm-card,
.nwm-feature-card,
.nwm-boundary-card,
.nwm-plan-card,
.nwm-flow__step {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--nwm-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.95) 100%);
    box-shadow: var(--nwm-shadow-sm);
}

.nwm-scope-card--blue {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.nwm-scope-card--violet {
    background: linear-gradient(180deg, #ffffff 0%, #f6f3ff 100%);
}

.nwm-scope-card__icon,
.nwm-feature-card__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 18px;
    font-size: 1.08rem;
}

.nwm-scope-card--blue .nwm-scope-card__icon,
.nwm-feature-card__icon {
    background: rgba(37, 99, 235, 0.10);
    color: var(--nwm-blue);
}

.nwm-scope-card--violet .nwm-scope-card__icon {
    background: rgba(124, 58, 237, 0.10);
    color: var(--nwm-violet);
}

.nwm-scope-card h3,
.nwm-card h3,
.nwm-feature-card h3,
.nwm-boundary-card h3,
.nwm-plan-card h3,
.nwm-flow__step h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.14;
    color: #13213f;
}

.nwm-scope-card p,
.nwm-card p,
.nwm-feature-card p,
.nwm-boundary-card p,
.nwm-plan-card p,
.nwm-flow__step p {
    margin: 12px 0 0;
    color: var(--nwm-muted);
    line-height: 1.7;
}

.nwm-scope-card ul,
.nwm-boundary-card ul {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 11px;
}

.nwm-scope-card li,
.nwm-boundary-card li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    line-height: 1.58;
    color: var(--nwm-muted);
}

.nwm-scope-card li i,
.nwm-boundary-card li i {
    margin-top: 3px;
    color: var(--nwm-blue);
}

.nwm-screenshot-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.76fr) minmax(360px, 1.24fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid var(--nwm-border);
    background:
        radial-gradient(circle at 98% 6%, rgba(37,99,235,0.10), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--nwm-shadow);
}

.nwm-screenshot-copy p {
    margin-left: 0;
    margin-right: 0;
}

.nwm-screenshot-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nwm-screenshot-notes span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(37,99,235,0.08);
    color: #1e3a8a;
    font-size: 0.86rem;
    font-weight: 700;
}

.nwm-screenshot-frame {
    margin: 0;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid #dbe6f4;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.nwm-screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.nwm-screenshot-frame figcaption {
    margin-top: 10px;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.55;
}

.nwm-boundary-card--good {
    background: linear-gradient(180deg, #ffffff 0%, #f3fbf7 100%);
}

.nwm-boundary-card--good li i {
    color: var(--nwm-emerald);
}

.nwm-boundary-card--muted {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.nwm-boundary-card--muted li i {
    color: #64748b;
}

.nwm-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nwm-flow__step {
    position: relative;
}

.nwm-flow__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--nwm-blue);
    font-size: 0.9rem;
    font-weight: 800;
}

.nwm-plan-card__label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(37,99,235,0.10);
    color: #1d4ed8;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.nwm-plan-card--featured {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
    border-color: rgba(37, 99, 235, 0.28);
}

.nwm-final {
    padding: 78px 0 88px;
}

.nwm-final__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    padding: 32px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at right center, rgba(20,184,166,0.24), transparent 18%),
        linear-gradient(135deg, #09111f 0%, #10203a 100%);
    box-shadow: 0 24px 60px rgba(8,16,29,0.20);
}

.nwm-final .nwm-eyebrow,
.nwm-final h2,
.nwm-final p {
    color: #fff;
}

.nwm-final p {
    margin-left: 0;
    margin-right: 0;
    max-width: 760px;
    color: rgba(255,255,255,0.76);
}



/* Scenario-style Watchdog cards for the main module page */
.nwm-watchdog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.nwm-watchdog-card {
    position: relative;
    overflow: hidden;
    min-height: 385px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--nwm-border);
    background:
        radial-gradient(circle at 90% 0%, rgba(37,99,235,0.13), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--nwm-shadow-sm);
}

.nwm-watchdog-card::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -62px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(37,99,235,0.06);
    pointer-events: none;
}

.nwm-watchdog-card--blue {
    background:
        radial-gradient(circle at 90% 0%, rgba(37,99,235,0.13), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.nwm-watchdog-card--teal {
    background:
        radial-gradient(circle at 90% 0%, rgba(20,184,166,0.15), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4fffd 100%);
}

.nwm-watchdog-card--amber {
    background:
        radial-gradient(circle at 90% 0%, rgba(245,158,11,0.15), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.nwm-watchdog-card--violet {
    background:
        radial-gradient(circle at 90% 0%, rgba(124,58,237,0.13), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
}

.nwm-watchdog-card--safe {
    background:
        radial-gradient(circle at 90% 0%, rgba(16,185,129,0.14), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4fff9 100%);
}

.nwm-watchdog-card--history {
    background:
        radial-gradient(circle at 90% 0%, rgba(14,165,233,0.14), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.nwm-watchdog-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.nwm-watchdog-card__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    box-shadow: 0 14px 28px rgba(37,99,235,0.20);
    font-size: 1.22rem;
}

.nwm-watchdog-card--teal .nwm-watchdog-card__icon {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    box-shadow: 0 14px 28px rgba(20,184,166,0.18);
}

.nwm-watchdog-card--amber .nwm-watchdog-card__icon {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    box-shadow: 0 14px 28px rgba(245,158,11,0.18);
}

.nwm-watchdog-card--violet .nwm-watchdog-card__icon {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
    box-shadow: 0 14px 28px rgba(124,58,237,0.18);
}

.nwm-watchdog-card--safe .nwm-watchdog-card__icon {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    box-shadow: 0 14px 28px rgba(22,163,74,0.18);
}

.nwm-watchdog-card--history .nwm-watchdog-card__icon {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    box-shadow: 0 14px 28px rgba(14,165,233,0.18);
}

.nwm-watchdog-card__badge {
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(37,99,235,0.14);
    background: rgba(37,99,235,0.08);
    color: #1e3a8a;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nwm-watchdog-card h3,
.nwm-watchdog-card p,
.nwm-watchdog-mini-board,
.nwm-watchdog-before-after,
.nwm-watchdog-meter,
.nwm-watchdog-schedule,
.nwm-watchdog-control-list,
.nwm-watchdog-log {
    position: relative;
    z-index: 1;
}

.nwm-watchdog-card h3 {
    margin: 0;
    color: #13213f;
    font-size: 1.28rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.nwm-watchdog-card p {
    margin: 12px 0 0;
    color: var(--nwm-muted);
    line-height: 1.64;
}

.nwm-watchdog-mini-board,
.nwm-watchdog-schedule,
.nwm-watchdog-log {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.nwm-watchdog-mini-board span,
.nwm-watchdog-schedule span,
.nwm-watchdog-log span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15,23,42,0.08);
    color: #334155;
    font-weight: 800;
    font-size: 0.88rem;
}

.nwm-watchdog-mini-board i.fa-circle-check,
.nwm-watchdog-log i.fa-circle-check {
    color: #16a34a;
}

.nwm-watchdog-mini-board i.fa-plus,
.nwm-watchdog-schedule i,
.nwm-watchdog-log i.fa-rotate {
    color: var(--nwm-blue);
}

.nwm-watchdog-log i.fa-triangle-exclamation {
    color: #f97316;
}

.nwm-watchdog-before-after,
.nwm-watchdog-control-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.nwm-watchdog-before-after div,
.nwm-watchdog-control-list span {
    padding: 13px 14px;
    border-radius: 17px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(15,23,42,0.08);
}

.nwm-watchdog-before-after strong,
.nwm-watchdog-before-after span,
.nwm-watchdog-control-list strong {
    display: block;
}

.nwm-watchdog-before-after strong,
.nwm-watchdog-control-list strong {
    margin-bottom: 4px;
    color: #13213f;
    font-size: 0.86rem;
}

.nwm-watchdog-before-after span,
.nwm-watchdog-control-list span {
    color: var(--nwm-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.nwm-watchdog-meter {
    margin-top: 22px;
    padding: 17px;
    border-radius: 20px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(245,158,11,0.16);
}

.nwm-watchdog-meter span,
.nwm-watchdog-meter strong {
    display: block;
}

.nwm-watchdog-meter span {
    color: var(--nwm-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.nwm-watchdog-meter div {
    height: 11px;
    margin: 12px 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(245,158,11,0.14);
}

.nwm-watchdog-meter div i {
    display: block;
    width: 76%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316 0%, #f59e0b 100%);
}

.nwm-watchdog-meter strong {
    color: #9a3412;
    font-size: 1rem;
}

@media (max-width: 1180px) {
    .nwm-hero__inner,
    .nwm-strip__box,
    .nwm-screenshot-card,
    .nwm-final__box,
    .nwm-scope-grid,
    .nwm-boundary-grid,
    .nwm-plan-grid,
    .nwm-flow {
        grid-template-columns: 1fr;
    }

    .nwm-problem-grid,
    .nwm-feature-grid {
        grid-template-columns: 1fr;
    }

    .nwm-watchdog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .notify-watchdog-module-v1 .container {
        width: min(1240px, calc(100% - 32px));
    }

    .nwm-hero__inner {
        padding: 36px 0 28px;
    }

    .nwm-hero-diagram {
        grid-template-columns: 1fr;
    }

    .nwm-hero-arrow {
        margin: 0 auto;
        transform: rotate(90deg);
    }

    .nwm-hero-node {
        min-height: 0;
    }

    .nwm-watchdog-card-grid {
        grid-template-columns: 1fr;
    }

    .nwm-watchdog-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .notify-watchdog-module-v1 .container {
        width: min(1240px, calc(100% - 28px));
    }

    .nwm-actions,
    .nwm-final__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nwm-microcopy,
    .nwm-quicklinks,
    .nwm-screenshot-notes {
        flex-direction: column;
        align-items: flex-start;
    }

    .nwm-hero-event {
        grid-template-columns: auto 1fr;
    }

    .nwm-hero-event__tag {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .nwm-hero-board,
    .nwm-strip__box,
    .nwm-scope-card,
    .nwm-card,
    .nwm-feature-card,
    .nwm-watchdog-card,
    .nwm-boundary-card,
    .nwm-plan-card,
    .nwm-flow__step,
    .nwm-screenshot-card,
    .nwm-final__box {
        padding: 20px;
    }

    .nwm-watchdog-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .nwm-screenshot-frame {
        padding: 8px;
    }
}


/* Compact Watchdog hero: clearer first screen, less text-heavy visual load */
.nwm-hero--compact .nwm-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
    gap: 32px;
    padding: 34px 0 30px;
}

.nwm-hero--compact .nwm-eyebrow {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.62);
}

.nwm-hero--compact h1 {
    max-width: 720px;
    font-size: clamp(2.05rem, 3.35vw, 3.12rem);
    line-height: 1.04;
}

.nwm-hero--compact .nwm-lead {
    max-width: 680px;
    margin-top: 16px;
    font-size: 1.02rem;
    line-height: 1.64;
}

.nwm-hero--compact .nwm-actions {
    margin-top: 24px;
}

.nwm-hero--compact .nwm-hero__panel {
    align-self: center;
}

.nwm-hero-visual-card {
    padding: 20px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(12px);
}

.nwm-hero-visual-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.nwm-hero-visual-card__head strong {
    font-size: 1rem;
}

.nwm-hero-visual-card__head span {
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.08);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nwm-hero-status-list {
    display: grid;
    gap: 10px;
}

.nwm-hero-status {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(5, 10, 19, 0.42);
    border: 1px solid rgba(255,255,255,0.08);
}

.nwm-hero-status i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(96,165,250,0.17);
    color: #bfdbfe;
}

.nwm-hero-status--warn i {
    background: rgba(245,158,11,0.17);
    color: #fde68a;
}

.nwm-hero-status--ok i {
    background: rgba(20,184,166,0.18);
    color: #bff7ef;
}

.nwm-hero-status strong,
.nwm-hero-status span {
    display: block;
}

.nwm-hero-status strong {
    font-size: 0.94rem;
    line-height: 1.25;
}

.nwm-hero-status span {
    margin-top: 3px;
    color: rgba(255,255,255,0.66);
    font-size: 0.82rem;
    line-height: 1.45;
}

.nwm-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.nwm-hero-tags span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.78);
    font-size: 0.76rem;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .nwm-hero--compact .nwm-hero__inner {
        grid-template-columns: 1fr;
        padding: 32px 0 28px;
    }

    .nwm-hero--compact .nwm-hero__panel {
        max-width: 720px;
    }
}

@media (max-width: 640px) {
    .nwm-hero--compact .nwm-hero__inner {
        padding: 28px 0 24px;
    }

    .nwm-hero--compact h1 {
        font-size: clamp(1.9rem, 10vw, 2.35rem);
    }

    .nwm-hero--compact .nwm-lead {
        font-size: 0.96rem;
        line-height: 1.58;
    }

    .nwm-hero-visual-card {
        padding: 16px;
        border-radius: 22px;
    }

    .nwm-hero-visual-card__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nwm-hero-status {
        align-items: flex-start;
    }
}


/* Mobile fix: Health/Watchdog comparison strip must not become a narrow two-column card */
@media (max-width: 760px) {
    .nwm-strip {
        padding-top: 18px;
    }

    .nwm-strip__box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        padding: 20px;
        border-radius: 24px;
    }

    .nwm-strip__title {
        font-size: 1.08rem;
        line-height: 1.28;
    }

    .nwm-strip__box p {
        margin-top: 8px;
        font-size: 0.96rem;
        line-height: 1.58;
    }

    .nwm-strip .nwm-textlink {
        flex: 0 0 auto;
        align-self: flex-start;
        padding: 10px 13px;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.08);
        border: 1px solid rgba(37, 99, 235, 0.14);
        color: #1e3a8a;
        font-size: 0.92rem;
        line-height: 1.2;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .nwm-strip__box {
        padding: 18px;
    }

    .nwm-strip__box p {
        font-size: 0.94rem;
    }
}

/* Mobile polish: keep Watchdog card icon and badge on one compact row */
@media (max-width: 640px) {
    .nwm-watchdog-card__top {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 18px;
    }

    .nwm-watchdog-card__icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 16px;
        font-size: 1.02rem;
    }

    .nwm-watchdog-card__badge {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 7px 10px;
        font-size: 0.72rem;
        line-height: 1.12;
        white-space: normal;
        max-width: calc(100% - 60px);
    }
}

@media (max-width: 420px) {
    .nwm-watchdog-card__top {
        gap: 10px;
        margin-bottom: 16px;
    }

    .nwm-watchdog-card__icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 15px;
        font-size: 0.96rem;
    }

    .nwm-watchdog-card__badge {
        min-height: 32px;
        padding: 6px 9px;
        font-size: 0.70rem;
        max-width: calc(100% - 54px);
    }
}
