/* Isolated campaign dialog: no changes to the shared shell. */
html.br-npromo-open { overflow: hidden; }
dialog.br-npromo:not([open]) { display: none !important; }
dialog.br-npromo {
    --np-bg: #fff;
    --np-text: #12383c;
    --np-muted: #425e61;
    --np-panel: #f0f6f5;
    --np-border: #dce8e5;
    --np-accent: #12615d;
    position: fixed;
    inset: 0;
    width: min(780px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--np-border);
    border-radius: 22px;
    background: var(--np-bg);
    color: var(--np-text);
    font-family: "Yekan Bakh", Tahoma, Arial, sans-serif;
    box-shadow: 0 24px 90px #001c2959;
    text-align: right;
}
.dark dialog.br-npromo, [data-theme="dark"] dialog.br-npromo {
    --np-bg: #082c32;
    --np-text: #f3faf7;
    --np-muted: #c5dcd6;
    --np-panel: #123c40;
    --np-border: #31575a;
    --np-accent: #ace1cd;
}
.br-npromo::backdrop { background: rgb(1 19 24 / 72%); }
.br-npromo, .br-npromo * { box-sizing: border-box; }
.br-npromo button, .br-npromo a { -webkit-tap-highlight-color: transparent; }
.br-npromo__close {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid #365758;
    border-radius: 50%;
    background: #092e33;
    color: #fff;
    cursor: pointer;
}
.br-npromo__layout { display: grid; }
.br-npromo__portrait {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 12px 16px 12px 58px;
    background: #061e25;
    color: #fff;
}
.br-npromo__portrait img {
    display: block;
    width: 56px;
    height: 70px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 10px;
}
.br-npromo__portrait figcaption { display: grid; gap: 6px; font-size: 14px; line-height: 1.6; }
.br-npromo__portrait strong { color: #efc776; font-size: 12px; font-weight: 700; }
.br-npromo__content { padding: 22px 18px 10px; text-align: center; }
.br-npromo__eyebrow { display: block; color: var(--np-muted); font-size: 12px; font-weight: 700; line-height: 1.7; }
.br-npromo #br-npromo-title {
    margin: 8px 0 12px;
    padding: 0;
    font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
    font-size: clamp(26px, 5.8vw, 36px);
    line-height: 1.5;
    font-weight: 900;
    color: var(--np-text);
    letter-spacing: 0;
}
.br-npromo #br-npromo-title em { color: var(--np-accent); font-style: normal; }
.br-npromo #br-npromo-description { margin: 0; color: var(--np-muted); font-size: 15px; line-height: 1.95; }
.br-npromo__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}
.br-npromo__features li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 76px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--np-border);
    border-radius: 13px;
    background: var(--np-panel);
    color: var(--np-muted);
    text-align: right;
    font-size: 12px;
    line-height: 1.8;
}
.br-npromo__features li::before { content: none; }
.br-npromo__features b { color: var(--np-text); font-size: 13px; font-weight: 750; }
.br-npromo__symbol { display: grid; place-items: center; flex: 0 0 30px; color: var(--np-accent); font-size: 25px; font-weight: 850; direction: ltr; }
.br-npromo__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 12px;
    border: 1px solid #dcac4e;
    border-radius: 12px;
    background: #edbf65;
    color: #122f31 !important;
    font: 800 15px/1.65 "Yekan Bakh", Tahoma, sans-serif;
    text-decoration: none !important;
    transition: background .18s ease;
}
.br-npromo__cta:hover { background: #ffda90; }
.br-npromo__later {
    width: 100%;
    min-height: 44px;
    margin-top: 5px;
    border: 0;
    background: transparent;
    color: var(--np-muted);
    font: 500 13px/1.6 "Yekan Bakh", Tahoma, sans-serif;
    cursor: pointer;
}
.br-npromo :focus-visible { outline: 3px solid #cc942b; outline-offset: 2px; }
@media (min-width: 700px) {
    .br-npromo__layout { grid-template-columns: 260px minmax(0, 1fr); }
    .br-npromo__portrait { display: block; padding: 0; min-height: 100%; }
    .br-npromo__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-position: 70% top; }
    .br-npromo__portrait::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #031b24); }
    .br-npromo__portrait figcaption { position: absolute; inset: auto 20px 24px; z-index: 1; font-size: 19px; }
    .br-npromo__portrait strong { font-size: 14px; }
    .br-npromo__content { padding: 52px 28px 14px; }
    .br-npromo__features { margin-block: 22px; }
    .br-npromo__features li { min-height: 82px; font-size: 13px; }
    .br-npromo__features b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .br-npromo__cta { transition: none; } }
@media print { dialog.br-npromo { display: none !important; } html.br-npromo-open { overflow: visible; } }
