html:has(.nj-service-dialog[open]){scrollbar-gutter:stable}
.nj-service-dialog{--nj-dialog-line:#e8e1ce;padding:0;border:1px solid var(--nj-dialog-line);border-radius:22px;width:min(860px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;overflow:hidden;background:#fffdf7;color:#29271f;box-shadow:0 30px 100px #05152255;direction:rtl;isolation:isolate}
.nj-service-dialog:not([open]){display:none}.nj-service-dialog::backdrop{background:#0b1c2bc9;backdrop-filter:blur(5px)}
.nj-service-dialog__shell{display:flex;flex-direction:column;max-height:calc(100dvh - 48px)}
.nj-service-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid var(--nj-dialog-line);border-top:4px solid #f6ca15;background:#fffdf7;flex-shrink:0}
.nj-service-dialog__header span{font-size:.75rem;color:#796b46}.nj-service-dialog__header h2{color:#29271f;font-size:clamp(1.15rem,2.3vw,1.7rem);line-height:1.7;margin:4px 0 0}
.nj-service-dialog__close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid var(--nj-dialog-line);border-radius:12px;background:#fff;color:#514b3b;cursor:pointer}.nj-service-dialog__close:hover{background:#fff0ed;color:#b51c27;border-color:#e5b9af}
.nj-service-dialog .nj-service-dialog__content{padding:25px 28px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#c5b899 #fffdf7;min-height:0;line-height:2.1;flex:1}
.nj-service-dialog__content .nj-source-section{padding-block:12px}.nj-service-dialog__content .nj-source-grid{grid-template-columns:1fr}.nj-service-dialog__content .nj-source-card{box-shadow:none;padding:18px}.nj-service-dialog__content img{max-width:100%;height:auto;max-height:380px;object-fit:contain}.nj-service-dialog__content iframe,.nj-service-dialog__content video{max-width:100%}.nj-service-dialog__content table{max-width:100%;display:block;overflow:auto}.nj-service-dialog__content :is(h1,h2,h3){color:#29271f;font-size:1.15rem}.nj-service-dialog__content a:not(.nj-btn){color:#a41e27}
.nj-service-dialog__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 28px;border-top:1px solid var(--nj-dialog-line);background:#fff9e7;flex-shrink:0}.nj-service-dialog__footer .nj-btn{font-size:.85rem}.nj-service-dialog__back{border:0;background:transparent;color:#625942;font:inherit;font-size:.85rem;cursor:pointer;padding:10px 12px;min-height:44px}.nj-service-dialog__back:hover{color:#a41e27}.nj-service-dialog :focus-visible{outline:3px solid #b51c27;outline-offset:3px}
.nj-service:has(a[data-nj-service]) .nj-service__link:after{content:"";position:absolute;inset:0}.nj-section-card:has(a[data-nj-service]){position:relative}.nj-section-card:has(a[data-nj-service]) .nj-section-card__link:after{content:"";position:absolute;inset:0}.nj-section-card:has(a[data-nj-service]):focus-within,.nj-service:has(a[data-nj-service]):focus-within{outline:3px solid #b51c27;outline-offset:3px}
@media(max-width:600px){.nj-service-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:17px}.nj-service-dialog__shell{max-height:calc(100dvh - 24px)}.nj-service-dialog__header{padding:16px;gap:12px}.nj-service-dialog .nj-service-dialog__content{padding:16px}.nj-service-dialog__footer{padding:13px 16px;gap:10px;flex-wrap:wrap}.nj-service-dialog__footer .nj-btn{font-size:.77rem;padding:10px 14px}.nj-service-dialog__back{font-size:.77rem}.nj-service-dialog__content img{max-height:260px}}
@media(prefers-reduced-motion:reduce){.nj-service-dialog *{scroll-behavior:auto!important;transition:none!important}}
