/* =====================================================================
   CloudBrum service page styles (shared by every service page)
   Scope: everything lives under .svc so it cannot leak into other pages.
   Per-provider accent: set --pc (accent) and --pbg (tint) on the .svc root.
   ===================================================================== */

.svc { --ink: #1e1b3a; --muted: #5b5a75; --soft: #65648a; --line: #ece8f6; --brand: #6d3fc0; --brand-soft: #f3edff;
       color: var(--ink); font-size: 15px; line-height: 1.7; }
.svc *, .svc *::before, .svc *::after { box-sizing: border-box; }
.svc a { color: var(--brand); }
.svc p { margin: 0 0 .9rem; color: #3d3b58; }
.svc :where(ul, ol) { padding-left: 1.25rem; margin: 0 0 1rem; }
.svc li { margin-bottom: .3rem; color: #3d3b58; }
.svc label { display: block; margin: 0 0 .25rem !important; font-size: .78rem; font-weight: 700; color: #3d3b58; }
.svc img { max-width: 100%; }
.svc h1, .svc h2, .svc h3, .svc h4 { color: var(--ink); letter-spacing: -.01em; }

/* ---------- Page band + two-column layout ---------- */
.svc-band { width: 90%; max-width: 1400px; margin: 0 auto; padding-top: .25rem; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.75rem; align-items: start; }
.svc-main { min-width: 0; }
.svc-side { position: sticky; top: 76px; display: grid; gap: 1rem; max-height: calc(100vh - 92px); overflow-y: auto; padding-bottom: .5rem; scrollbar-width: thin; }

/* ---------- Breadcrumb ---------- */
.svc-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .75rem 0; font-size: .8rem; color: var(--soft); }
.svc-crumb a { font-weight: 600; text-decoration: none; }
.svc-crumb a:hover { text-decoration: underline; }
.svc-crumb i.bi-chevron-right { font-size: .65rem; }

/* ---------- Hero ---------- */
.svc-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 1.75rem 1.9rem 1.5rem; border: 1px solid #e6daff;
            background: radial-gradient(640px 280px at 100% -20%, var(--pbg), transparent 65%), linear-gradient(135deg, #fbf8ff 0%, #f3ecff 55%, #eef4ff 100%); }
.svc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(84,27,163,.11) 1px, transparent 1px); background-size: 22px 22px;
                    -webkit-mask-image: radial-gradient(circle at 20% 25%, #000, transparent 70%); mask-image: radial-gradient(circle at 20% 25%, #000, transparent 70%); }
.svc-hero > * { position: relative; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
.svc-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.svc-tag i { color: var(--pc); }
.svc-tag.is-sample { background: #fff4d6; border-color: #ffe29a; color: #7a5200; }
.svc-title { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.svc-logo { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--pc); color: #fff; font-size: 2rem; box-shadow: 0 10px 22px rgba(30,27,58,.16); overflow: hidden; }
.svc-logo img { width: 68%; height: 68%; object-fit: contain; }
.svc-logo i { display: none; }
.svc-logo.no-img i { display: block; }
.svc-logo.no-img img { display: none; }
.svc-hero h1 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; line-height: 1.15; }
.svc-hero .svc-sub { margin: 0 0 1rem; max-width: 46rem; font-size: 1rem; color: var(--muted); }
.svc-quick { display: flex; gap: .8rem; padding: .9rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--pc); margin-bottom: 1rem; }
.svc-quick > i { flex: 0 0 auto; color: var(--pc); font-size: 1.25rem; margin-top: .1rem; }
.svc-quick strong { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin-bottom: .15rem; }
.svc-quick p { margin: 0; font-size: .93rem; }
.svc-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .78rem; color: var(--muted); }
.svc-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.svc-meta i { color: var(--soft); }
.svc-meta .svc-views b { color: var(--ink); }

/* ---------- Action bar ---------- */
.svc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.svc-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 12px; border: 1px solid #e4def2; background: #fff; color: #3d3b58; font-size: .82rem; font-weight: 700; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; text-decoration: none !important; }
.svc-btn:hover { background: var(--brand-soft); border-color: #cdbcf0; }
.svc-btn:active { transform: scale(.97); }
.svc-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.svc-btn b { font-weight: 800; color: var(--ink); }
.svc-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.svc-btn[aria-pressed="true"] b { color: #fff; }
.svc-btn.is-down[aria-pressed="true"] { background: #e5384f; border-color: #e5384f; }
.svc-btn.is-primary { background: linear-gradient(135deg, #7d4fd0, #9a6fe0); border-color: transparent; color: #fff; }
.svc-btn.is-primary:hover { box-shadow: 0 8px 18px rgba(125,79,208,.3); }
.svc-btn.is-danger { color: #c4283d; }
.svc-btn.is-danger:hover { background: #fff0f2; border-color: #f5c2c7; }
.svc-sep { flex: 1 1 0; }
.svc-share { position: relative; }
.svc-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 210px; padding: .4rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(30,27,58,.16); display: none; }
.svc-menu.open { display: block; }
.svc-menu a, .svc-menu button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .5rem .65rem; border: 0; background: none; border-radius: 9px; font-size: .84rem; font-weight: 600; color: #2c2a47; text-align: left; cursor: pointer; text-decoration: none !important; }
.svc-menu a:hover, .svc-menu button:hover { background: var(--brand-soft); }
.svc-menu i { width: 1.1rem; text-align: center; color: var(--brand); }

/* ---------- Section cards ---------- */
.svc-sec { position: relative; margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 5px 18px rgba(84,27,163,.05); scroll-margin-top: 80px; }
.svc-sec > header { display: flex; align-items: center; gap: .8rem; padding: .95rem 1.25rem; border-bottom: 1px solid #f3effa; background: linear-gradient(90deg, var(--pbg), #fff 70%); border-radius: 18px 18px 0 0; }
.svc-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: .82rem; font-weight: 800; color: #fff; background: var(--brand); }
.svc-sec h2 { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.svc-sec h2 i { color: var(--pc); margin-right: .35rem; font-size: 1.05rem; }
.svc-flag { margin-left: auto; flex: 0 0 auto; border: 0; background: none; color: var(--soft); font-size: .95rem; padding: .3rem .45rem; border-radius: 8px; cursor: pointer; }
.svc-flag:hover { color: #c4283d; background: #fff0f2; }
.svc-body { padding: 1.15rem 1.3rem 1.2rem; }
.svc-body > :last-child { margin-bottom: 0; }
.svc-body h3 { font-size: 1rem; font-weight: 700; margin: 1.1rem 0 .5rem; }
.svc-body h3:first-child { margin-top: 0; }

/* ---------- Content blocks ---------- */
.svc-callout { display: flex; gap: .75rem; padding: .8rem 1rem; border-radius: 12px; margin: 1rem 0; font-size: .9rem; background: #eef4ff; border: 1px solid #d5e2ff; }
.svc-callout > i { flex: 0 0 auto; margin-top: .15rem; color: #2f5bff; }
.svc-callout p { margin: 0; }
.svc-callout.tip { background: #eafaf2; border-color: #c9ecd8; } .svc-callout.tip > i { color: #12a05f; }
.svc-callout.warn { background: #fff7e6; border-color: #ffe0a3; } .svc-callout.warn > i { color: #d98a00; }
.svc-callout.danger { background: #fff0f2; border-color: #f5c2c7; } .svc-callout.danger > i { color: #e5384f; }
.svc-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: .5rem 0 1rem; }
.svc-card { padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: #fcfbff; }
.svc-card h4 { margin: 0 0 .25rem; font-size: .92rem; font-weight: 700; }
.svc-card p, .svc-card li { font-size: .86rem; margin-bottom: .2rem; }
.svc-card ul { margin: 0; padding-left: 1.1rem; }
.svc-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0; }
.svc-defs div { padding: .7rem .9rem; border-radius: 12px; background: #fcfbff; border: 1px solid var(--line); }
.svc-defs dt { font-size: .88rem; font-weight: 700; color: var(--ink); }
.svc-defs dd { margin: .15rem 0 0; font-size: .84rem; color: var(--muted); line-height: 1.55; }
.svc-feats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.svc-feats li { display: flex; gap: .6rem; padding: .65rem .85rem; border-radius: 12px; background: #fcfbff; border: 1px solid var(--line); font-size: .88rem; }
.svc-feats i { flex: 0 0 auto; color: var(--pc); margin-top: .2rem; }
.svc-feats b { display: block; color: var(--ink); }
.svc-feats span { color: var(--muted); font-size: .84rem; }
.svc-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1rem; }
.svc-steps > li { counter-increment: s; position: relative; padding: 0 0 1rem 2.6rem; margin: 0; }
.svc-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.svc-steps > li::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; background: #eadfff; }
.svc-steps > li:last-child::after { display: none; }
.svc-steps b { color: var(--ink); }
.svc-steps small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.svc-tablewrap { overflow-x: auto; margin: .5rem 0 1rem; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.svc-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 540px; }
.svc-table th { background: #f7f3ff; color: var(--ink); font-weight: 700; text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.svc-table td { padding: .6rem .8rem; border-bottom: 1px solid #f3effa; vertical-align: top; color: #3d3b58; }
.svc-table tr:last-child td { border-bottom: 0; }
.svc-table td:first-child { font-weight: 600; color: var(--ink); }
.svc-sev { display: inline-block; white-space: nowrap; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: .1rem .5rem; }
.svc-sev.high { background: #ffe3e7; color: #c4283d; } .svc-sev.med { background: #fff0d1; color: #855000; } .svc-sev.low { background: #e5f6ec; color: #0b6e43; }
.svc-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.svc-proscons > div { padding: .9rem 1rem; border-radius: 14px; }
.svc-proscons .pro { background: #f0fbf5; border: 1px solid #c9ecd8; } .svc-proscons .con { background: #fff7f0; border: 1px solid #fbd9bd; }
.svc-proscons h3 { margin: 0 0 .5rem; font-size: .95rem; } .svc-proscons ul { margin: 0; padding-left: 1.1rem; } .svc-proscons li { font-size: .88rem; }
.svc-checklist { list-style: none; padding: 0; }
.svc-checklist li { position: relative; padding-left: 1.7rem; }
.svc-checklist li::before { content: "\2713"; position: absolute; left: 0; top: .05rem; width: 20px; height: 20px; border-radius: 50%; background: #e5f6ec; color: #0b6e43; font-weight: 800; font-size: .72rem; display: grid; place-items: center; line-height: 1; }
.svc-price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: .5rem 0 1rem; }
.svc-price .svc-card h4 { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.svc-price .svc-card h4 em { font-style: normal; font-size: .7rem; font-weight: 800; color: #0b6e43; background: #e5f6ec; border-radius: 999px; padding: .1rem .5rem; white-space: nowrap; }

/* ---------- Code ---------- */
.svc-code { margin: .6rem 0 1rem; border-radius: 14px; overflow: hidden; background: #1c1836; }
.svc-code-bar { display: flex; align-items: center; gap: .25rem; padding: .4rem .5rem .4rem .6rem; background: #2a2450; overflow-x: auto; }
.svc-code-bar button { border: 0; background: none; color: #bcb6e0; font-size: .76rem; font-weight: 700; padding: .35rem .7rem; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.svc-code-bar button.on { background: #4b3a96; color: #fff; }
.svc-code-bar .svc-copy { margin-left: auto; display: inline-flex; gap: .35rem; align-items: center; }
.svc-code pre { display: none; margin: 0; padding: .9rem 1rem 1rem; overflow-x: auto; color: #e9e6ff; font-size: .8rem; line-height: 1.6; background: none; border: 0; tab-size: 2; }
.svc-code pre.on { display: block; }
.svc-code code { color: inherit; background: none; padding: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.svc-code .c { color: #8f89bf; }
.svc-inline { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84em; background: #f3edff; color: #4b2a99; border-radius: 6px; overflow-wrap: anywhere; padding: .08rem .35rem; }

/* ---------- Videos ---------- */
.svc-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.svc-video { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.svc-vthumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, #2b0f57, #6d3fc0); color: #fff; border: 0; width: 100%; cursor: pointer; padding: 0; }
.svc-vthumb i { font-size: 2.6rem; opacity: .9; }
.svc-vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.svc-video figcaption { padding: .7rem .9rem; font-size: .85rem; } .svc-video figcaption b { display: block; color: var(--ink); } .svc-video figcaption span { color: var(--muted); font-size: .78rem; }
.svc-video { margin: 0; }

/* ---------- Interview Q&A ---------- */
.svc-qa { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.svc-qa details { min-width: 0; }
.svc-qa details { border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.svc-qa details[open] { border-color: #cdbcf0; background: #fcfbff; }
.svc-qa summary { list-style: none; cursor: pointer; display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; font-weight: 700; font-size: .92rem; color: var(--ink); }
.svc-qa summary::-webkit-details-marker { display: none; }
.svc-qa summary::after { content: "+"; margin-left: auto; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.svc-qa details[open] summary::after { content: "\2212"; }
.svc-qa summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 13px; }
.svc-qa .lvl { flex: 0 0 auto; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: .15rem .5rem; margin-top: .15rem; }
.svc-qa .lvl.b { background: #e5f6ec; color: #0b6e43; } .svc-qa .lvl.i { background: #eaf1ff; color: #2f5bff; } .svc-qa .lvl.a { background: #ffe3e7; color: #c4283d; }
.svc-qa .ans { padding: 0 1rem .9rem 1rem; font-size: .88rem; } .svc-qa .ans p:last-child { margin-bottom: 0; }

/* ---------- Helpful / feedback strip ---------- */
.svc-helpful { margin: 1.5rem 0 1.25rem; padding: 1.25rem 1.4rem; border-radius: 18px; border: 1px solid #e6daff; background: linear-gradient(135deg, #fbf8ff, #f3ecff); text-align: center; }
.svc-helpful h2 { margin: 0 0 .25rem; font-size: 1.1rem; font-weight: 700; }
.svc-helpful p { margin: 0 0 .9rem; font-size: .88rem; color: var(--muted); }
.svc-helpful .svc-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.svc-thanks { display: none; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: #0b6e43; }
.svc-thanks.show { display: block; }
.svc-endlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }

/* ---------- Sidebar ---------- */
.svc-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.05rem; box-shadow: 0 5px 18px rgba(84,27,163,.05); }
.svc-box h2 { margin: 0 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--soft); }
.svc-toc { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.svc-toc li { margin: 0; }
.svc-toc a { display: flex; gap: .55rem; align-items: baseline; padding: .28rem .5rem; border-radius: 8px; font-size: .82rem; font-weight: 600; color: #3d3b58; text-decoration: none !important; border-left: 3px solid transparent; }
.svc-toc a::before { counter-increment: t; content: counter(t); flex: 0 0 1.3rem; text-align: right; font-size: .68rem; font-weight: 800; color: var(--soft); }
.svc-toc a:hover { background: var(--brand-soft); }
.svc-toc a.on { background: var(--brand-soft); border-left-color: var(--brand); color: var(--brand); }
.svc-toc a.on::before { color: var(--brand); }
.svc-side .svc-btn { width: 100%; justify-content: flex-start; margin-bottom: .45rem; }
.svc-side .svc-btn:last-child { margin-bottom: 0; }
.svc-related { display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-related a { font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--pbg); color: var(--ink); text-decoration: none !important; border: 1px solid transparent; }
.svc-related a:hover { border-color: var(--pc); }
/* Long unbroken names (for example policy constraint IDs) must wrap inside cards on phones */
.svc-card li, .svc-card p { overflow-wrap: anywhere; }
/* Sources and further reading: visible list on the public service pages (same sources as the References popup) */
.svc-sources { margin-top: 1.4rem; }
.svc-sources p { margin: 0 0 .7rem; font-size: .88rem; line-height: 1.55; color: var(--soft); }
.svc-sources ul { list-style: none; margin: 0; padding: 0; }
.svc-sources li { margin: 0 0 .55rem; font-size: .9rem; overflow-wrap: anywhere; }
.svc-sources li a { font-weight: 700; }
.svc-sources li span { display: block; font-size: .78rem; color: var(--soft); }
.svc-tocm { display: none; margin: 0 0 1.1rem; }
.svc-tocm summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.svc-tocm summary::-webkit-details-marker { display: none; }
.svc-tocm[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.svc-tocm .svc-toc { padding: .5rem; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: #fff; }

/* ---------- Modals + toast ---------- */
.svc-modal .modal-content { border: 0; border-radius: 18px; overflow: hidden; }
.svc-modal .modal-header { border: 0 !important; padding: 1.1rem 1.3rem .4rem; background: #fff !important; }
.svc-modal .modal-title { font-size: 1.1rem; font-weight: 800; color: #1e1b3a !important; display: flex; align-items: center; gap: .55rem; }
.svc-modal .modal-title i { color: var(--brand); }
.svc-modal .modal-body { padding: .4rem 1.3rem 1.3rem; }
.svc-modal .modal-body { background: #fff; }
.svc-modal .intro { font-size: .86rem; color: #5b5a75 !important; margin-bottom: 1rem; }
.svc-modal input[type=text], .svc-modal input[type=email], .svc-modal select, .svc-modal textarea { width: 100%; border: 1px solid #ddd6ee; border-radius: 11px; padding: .6rem .8rem; font-size: .9rem; background: #fff; color: var(--ink); margin-bottom: .8rem; }
.svc-modal textarea { min-height: 110px; resize: vertical; }
.svc-modal input:focus, .svc-modal select:focus, .svc-modal textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,63,192,.2); }
.svc-modal [aria-invalid="true"] { border-color: #e5384f !important; background: #fff8f9; }
.svc-modal .svc-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .8rem; color: var(--muted); margin-bottom: .9rem; }
.svc-modal .svc-check input { width: auto; margin: .25rem 0 0; }
.svc-modal .svc-check label { margin: 0 !important; font-weight: 500; color: var(--muted); }
.svc-modal .svc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.svc-modal .svc-btn { width: 100%; justify-content: center; padding: .7rem 1rem; }
.svc-modal .svc-ok { display: none; padding: 1.2rem 0 .4rem; text-align: center; }
.svc-modal .svc-ok i { font-size: 2.4rem; color: #12a05f; }
.svc-modal.sent form { display: none; } .svc-modal.sent .svc-ok { display: block; }
.svc-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); z-index: 2100; max-width: calc(100vw - 32px); padding: .65rem 1.1rem; border-radius: 12px; background: #1e1b3a; color: #fff; font-size: .85rem; font-weight: 600; box-shadow: 0 10px 28px rgba(30,27,58,.35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.svc-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Section header: icon first, number as a small badge, colour per group ---------- */
.svc-sec { --sc: var(--brand); --scbg: var(--brand-soft); }
.svc-sec > header { gap: .9rem; padding: .85rem 1.25rem; background: linear-gradient(90deg, var(--scbg), #fff 72%); }
.svc-ico { position: relative; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--sc); color: #fff; font-size: 1.45rem; box-shadow: 0 6px 14px rgba(30,27,58,.16); }
.svc-ico em { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 4px; border-radius: 999px; background: #fff; color: color-mix(in srgb, var(--sc) 62%, #000); border: 2px solid var(--sc); font-style: normal; font-weight: 800; font-size: .66rem; line-height: 17px; text-align: center; }
.svc-sec h2 { font-size: 1.2rem; }
.svc-hbtns { margin-left: auto; flex: 0 0 auto; display: flex; gap: .35rem; }
.svc-hbtn { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid transparent; background: rgba(255,255,255,.75); color: var(--muted); font-size: .74rem; font-weight: 700; padding: .35rem .6rem; border-radius: 999px; cursor: pointer; line-height: 1; }
.svc-hbtn:hover { background: #fff; border-color: #cdbcf0; color: var(--brand); }
.svc-hbtn.flag:hover { border-color: #f5c2c7; color: #c4283d; background: #fff0f2; }
.svc-hbtn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.svc-hbtn i { font-size: .95rem; }

/* ---------- Mind map / infographic ---------- */
.svc-mm { margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 5px 18px rgba(84,27,163,.05); overflow: hidden; scroll-margin-top: 80px; }
.svc-mm > header { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; padding: .85rem 1.25rem; background: linear-gradient(90deg, var(--pbg), #fff 72%); border-bottom: 1px solid #f3effa; }
.svc-mm h2 { margin: 0; font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.svc-mm h2 i { color: var(--pc); }
.svc-mm-tools { margin-left: auto; display: flex; flex-wrap: wrap; gap: .45rem; }
.svc-mm-body { padding: .9rem 1rem 1rem; }
.svc-mm-body svg { display: block; width: 100%; height: auto; }
.svc-mm-m { display: none; max-width: 420px; margin: 0 auto; }
.svc-mm-note { margin: .6rem 0 0; font-size: .78rem; color: var(--soft); text-align: center; }

/* ---------- Ad slots (placeholders until real ad code is pasted) ---------- */
.svc-ad { margin: 1.4rem 0; text-align: center; clear: both; }
.svc-ad-label { display: block; margin-bottom: .3rem; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6f6d8e; }
.svc-ad-box { min-height: 250px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; }
.svc-ad.is-placeholder .svc-ad-box { border: 1px dashed #d8d2ea; background: #faf8ff; }
.svc-ad-ph { font-size: .78rem; color: #6f6d8e; padding: 1rem; }
.svc-ad--side { margin: 0; }
.svc-ad--feed .svc-ad-box { min-height: 360px; }
.svc-ad--feed { margin: 1.5rem 0 1.25rem; }

/* ---------- Code block: tabs scroll, Copy stays visible ---------- */
.svc-code-bar { display: flex; align-items: center; gap: .4rem; padding: .4rem .5rem .4rem .6rem; background: #2a2450; overflow: visible; }
.svc-tabs { display: flex; gap: .25rem; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-code-bar .svc-copy { margin-left: 0; flex: 0 0 auto; background: rgba(255,255,255,.1); color: #fff; }
.svc-code-bar .svc-copy:hover { background: rgba(255,255,255,.2); }
.svc-contact { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.svc-contact a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; border: 2px solid var(--brand); color: var(--brand); text-decoration: none; font-size: 1.05rem; }
.svc-contact a:hover { background: var(--brand-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .svc-layout { grid-template-columns: minmax(0, 1fr); }
    .svc-side { display: none; }
    .svc-tocm { display: block; }
}
@media (max-width: 767.98px) {
    .svc-band { width: 100%; }
    .svc-hero { padding: 1.25rem 1rem 1.1rem; border-radius: 18px; }
    .svc-logo { width: 52px; height: 52px; font-size: 1.6rem; border-radius: 15px; }
    .svc-body { padding: 1rem 1rem 1.05rem; }
    .svc-sec > header { padding: .85rem 1rem; }
    .svc-grid2, .svc-defs, .svc-feats, .svc-proscons, .svc-price, .svc-videos { grid-template-columns: minmax(0, 1fr); }
    .svc-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
    .svc-actions .svc-btn { justify-content: center; padding: .6rem .5rem; }
    .svc-actions .svc-share { grid-column: auto; }
    .svc-actions .svc-share > .svc-btn { width: 100%; }
    .svc-sep { display: none; }
    .svc-menu { left: auto; right: 0; }
    .svc-modal .modal-dialog { margin: .75rem; }
}
@media (max-width: 767.98px) {
    .svc-ico { width: 42px; height: 42px; font-size: 1.25rem; border-radius: 13px; }
    .svc-sec h2 { font-size: 1.05rem; }
    .svc-hbtn .t { display: none; }
    .svc-hbtn { padding: .45rem .5rem; }
    .svc-sec > header { padding: .8rem .85rem; gap: .7rem; }
    .svc-mm > header { padding: .8rem 1rem; }
    .svc-mm-tools { margin-left: 0; width: 100%; }
    .svc-mm-tools .svc-btn { flex: 1 1 calc(50% - .45rem); justify-content: center; }
    .svc-mm-d { display: none; }
    .svc-mm-m { display: block; }
    .svc-ad-box { min-height: 250px; }
}

/* Tables become stacked cards on phones (labels are added from the header row by cb-service.js) */
@media (max-width: 575.98px) {
    .svc-tablewrap { border: 0; overflow: visible; }
    .svc-table.stack { min-width: 0; }
    .svc-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .svc-table.stack, .svc-table.stack tbody, .svc-table.stack tr, .svc-table.stack td { display: block; width: 100%; }
    .svc-table.stack tr { margin-bottom: .7rem; border: 1px solid var(--line); border-radius: 12px; background: #fcfbff; overflow: hidden; }
    .svc-table.stack td { border-bottom: 1px solid #f3effa; padding: .5rem .8rem; }
    .svc-table.stack td:last-child { border-bottom: 0; }
    .svc-table.stack td::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); margin-bottom: .1rem; }
    .svc-table.stack td:first-child { background: #f7f3ff; font-size: .92rem; }
    .svc-table.stack td:first-child::before { display: none; }
}

@media (prefers-reduced-motion: reduce) { .svc *, .svc-toast { transition: none !important; } }

/* ---------- Print / Save as PDF ---------- */
.svc-print-brand { display: none; }
@media print {
    .topbar, .left-sidenav, .offcanvas, .modal, .modal-backdrop, #btn-back-to-top, .right-mennu-drawer-popup-icon, .svc-side, .svc-tocm,
    .svc-actions, .svc-helpful, .svc-hbtns, .svc-ad, .svc-mm-tools, .svc-toast, .svc-crumb, .cb-skip-link, footer, .footer-2-bg, .half-a-border-on-top, .cover-image { display: none !important; }
    .page-wrapper .page-content { margin: 0 !important; padding: 0 !important; }
    .svc-band { width: 100%; max-width: none; }
    .svc-layout { display: block; }
    .svc-hero, .svc-sec, .svc-box { box-shadow: none; background: #fff; }
    .svc-sec { break-inside: avoid-page; border-color: #ccc; }
    .svc-qa details > .ans { display: block; }
    .svc-code pre { display: block !important; background: #f6f4fb; color: #1e1b3a; border: 1px solid #ddd; }
    .svc-code-bar { display: none; }
    .svc a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #666; word-break: break-all; }
    /* CloudBrum watermark: a fixed element repeats on every printed page */
    body::before { content: "CloudBrum"; position: fixed; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-28deg); font-size: 120pt; font-weight: 800; letter-spacing: .02em; color: rgba(84, 27, 163, .075); z-index: 9999; pointer-events: none; white-space: nowrap; font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
    .svc-mm-d { display: block !important; } .svc-mm-m { display: none !important; }
    .svc-print-brand { display: flex; align-items: center; gap: 10pt; margin: 0 0 12pt; padding-bottom: 8pt; border-bottom: 1.5pt solid #541ba3; font-size: 10pt; color: #444; }
    .svc-print-brand img { height: 28pt; width: auto; }
    .svc-print-brand b { color: #541ba3; font-size: 12pt; }
    body::after { content: "Source: " attr(data-print-url); display: block; margin-top: 12pt; font-size: 9pt; color: #666; }
}

/* ---------- "Get more with AI" card ---------- */
.svc-ai { margin: 1.5rem 0 1.25rem; border-radius: 20px; border: 1px solid #d9cdf6; background: linear-gradient(135deg, #fbf8ff 0%, #f1e9ff 55%, #eef4ff 100%); overflow: visible; scroll-margin-top: 80px; box-shadow: 0 10px 30px rgba(84,27,163,.08); }
.svc-ai-head { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.4rem .4rem; }
.svc-ai-ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 1.45rem; color: #fff; background: linear-gradient(135deg, #7d4fd0, #c05cf0 60%, #f2a100); box-shadow: 0 8px 18px rgba(125,79,208,.35); }
.svc-ai h2 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #1e1b3a; line-height: 1.2; }
.svc-ai-sub { margin: .15rem 0 0; font-size: .86rem; color: #5b5a75; }
.svc-ai-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; padding: .9rem 1.4rem 1.2rem; }
.svc-ai label.l { display: block; margin: 0 0 .3rem !important; font-size: .78rem; font-weight: 700; color: #3d3b58; }
.svc-ai textarea { width: 100%; min-height: 128px; resize: vertical; border: 1px solid #d6cdea; border-radius: 14px; padding: .75rem .9rem; font-size: .92rem; line-height: 1.55; background: #fff; color: #1e1b3a; }
.svc-ai textarea:focus { outline: 0; border-color: #7d4fd0; box-shadow: 0 0 0 3px rgba(125,79,208,.22); }
.svc-ai textarea[aria-invalid="true"] { border-color: #e5384f; background: #fff8f9; }
.svc-ai-meta { display: flex; justify-content: space-between; gap: .5rem; margin-top: .3rem; font-size: .72rem; color: #65648a; min-height: 1.1rem; }
.svc-ai-meta .err { color: #c4283d; font-weight: 600; }
.svc-ai-try { margin-top: .6rem; }
.svc-ai-try > span { display: block; margin-bottom: .35rem; font-size: .74rem; font-weight: 700; color: #65648a; text-transform: uppercase; letter-spacing: .06em; }
.svc-ai-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-ai-chips button { border: 1px solid #ddd2f5; background: #fff; color: #3d3b58; font-size: .78rem; font-weight: 600; line-height: 1.3; padding: .35rem .75rem; border-radius: 999px; cursor: pointer; text-align: left; }
.svc-ai-chips button:hover { background: #f3edff; border-color: #bda6ee; }
.svc-ai-go { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer; padding: .8rem 1.2rem; border-radius: 13px; font-weight: 800; font-size: .92rem; color: #fff; background: linear-gradient(135deg, #7d4fd0, #9a6fe0); box-shadow: 0 8px 18px rgba(125,79,208,.28); transition: transform .15s, box-shadow .15s; }
.svc-ai-go:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(125,79,208,.36); }
.svc-ai-copy { border: 1px solid #d3c6f0; background: #fff; color: #4b2a99; padding: .75rem 1rem; border-radius: 13px; font-weight: 700; font-size: .84rem; cursor: pointer; }
.svc-ai-copy:hover { background: #f3edff; }
.svc-ai-ctx { display: flex; gap: .5rem; align-items: flex-start; margin: .7rem 0 0; font-size: .8rem; color: #5b5a75; }
.svc-ai-ctx input { margin-top: .2rem; }
.svc-ai-ctx label { margin: 0 !important; font-weight: 500; }
.svc-ai-status { min-height: 1.2rem; margin: .5rem 0 0; font-size: .8rem; font-weight: 600; color: #0b6e43; }
.svc-ai details { grid-column: 1 / -1; border-top: 1px dashed #d9cdf6; padding-top: .8rem; }
.svc-ai summary { cursor: pointer; font-size: .82rem; font-weight: 700; color: #4b2a99; }
.svc-ai pre { margin: .6rem 0 0; padding: .8rem 1rem; white-space: pre-wrap; word-break: break-word; font-size: .8rem; line-height: 1.55; border-radius: 12px; background: #fff; border: 1px solid #e6dcf8; color: #3d3b58; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.svc-ai-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; font-size: .74rem; color: #65648a; }
.svc-ai-note i { color: #7d4fd0; margin-right: .25rem; }
@media (max-width: 767.98px) {
  .svc-ai-head { padding: 1rem 1rem .3rem; }
  .svc-ai-body { grid-template-columns: minmax(0, 1fr); padding: .8rem 1rem 1.1rem; gap: 1rem; }
  .svc-ai h2 { font-size: 1.1rem; }
  .svc-ai-go, .svc-ai-copy { flex: 1 1 100%; }
}
@media print { .svc-ai { display: none !important; } }

.svc-btn.is-ai { background: linear-gradient(135deg, #7d4fd0, #c05cf0 70%, #f2a100); border-color: transparent; color: #fff; }
.svc-btn.is-ai:hover { box-shadow: 0 8px 18px rgba(192,92,240,.35); background: linear-gradient(135deg, #7d4fd0, #c05cf0 70%, #f2a100); }
@media (max-width: 767.98px) { .svc-actions .is-ai { grid-column: 1 / -1; } }

/* ---------- Header (Option A): banner + overlapping logo + centred title + grouped action toolbar ---------- */
.svh-wrap { width: 80%; margin: 0 auto; }
.svh { position: relative; margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 26px rgba(84,27,163,.07); }
.svh-banner { position: relative; height: 72px; border-radius: 20px 20px 0 0; overflow: hidden; background: linear-gradient(120deg, #232f3e 0%, #37475a 55%, var(--pc) 140%); display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; padding: .8rem 1.1rem; }
.svh-banner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 18px 18px; }
.svh-banner > * { position: relative; }
.svh-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); }
.svh-chip i { color: var(--pc); }
.svh-logo { position: relative; z-index: 2; width: 88px; height: 88px; margin: -44px auto 0; border-radius: 50%; border: 4px solid #fff; background: var(--pbg); box-shadow: 0 8px 22px rgba(30,27,58,.22); display: grid; place-items: center; overflow: hidden; color: var(--pc); font-size: 2.2rem; }
.svh-logo img { width: 62%; height: 62%; object-fit: contain; }
.svh-logo i { display: none; } .svh-logo.no-img i { display: block; } .svh-logo.no-img img { display: none; }
.svh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; padding: .25rem 1.25rem 0; margin-top: -2.4rem; }
.svh-l { justify-self: start; padding-top: 2.7rem; }
.svh-c { grid-column: 2; text-align: center; padding-top: 3rem; min-width: 0; }
/* title: the (i) button is taken out of the flow so the title text stays exactly centred over the subtitle */
.svc .svh-c h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.svh-title { position: relative; display: inline-block; }
@media (max-width: 575.98px) { .svh-title { max-width: calc(100% - 2.2rem); } }   /* a long heading leaves room for the info bubble beside it, so the page doesn't scroll sideways */
.svh-u { position: relative; display: inline-block; padding-bottom: .18em; }
.svh-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--pc); }
.svh-popwrap { position: absolute; left: 100%; top: 50%; transform: translateY(-62%); margin-left: .4rem; }
.svh-info { display: grid; place-items: center; min-width: 30px; min-height: 30px; border: 0; background: none; color: var(--pc); font-size: 1.1rem; padding: 0; cursor: pointer; line-height: 1; border-radius: 50%; }
.svh-info:hover { background: var(--pbg); } .svh-info:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.svh-pop { display: none; position: absolute; z-index: 15; left: 50%; transform: translateX(-50%); top: calc(100% + 8px); width: min(300px, 86vw); text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(30,27,58,.18); padding: .7rem 1rem; font-size: .8rem; font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--muted); }
.svh-pop.open { display: block; }
.svh-pop .r { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; } .svh-pop b { color: var(--ink); font-weight: 700; }
.svc .svh-sub { margin: .55rem 0 0; font-size: .92rem; line-height: 1.4; font-weight: 500; color: var(--muted); }
/* action toolbar: three groups, equal-width cells */
.svh-bar { display: flex; align-items: stretch; width: 100%; max-width: 560px; margin: 1.1rem auto .85rem; padding: .3rem; border: 1px solid var(--line); border-radius: 16px; background: #faf7ff; }
.svh-grp { flex: 1 1 0; display: flex; min-width: 0; }
.svh-grp + .svh-grp { border-left: 1px solid #e6dcf8; margin-left: .15rem; padding-left: .15rem; }
.svh-cap, .svh-share { flex: 1 1 0; min-width: 0; }
.svh-share { position: relative; display: flex; }
.svh-share > .svh-cap { width: 100%; }
.svh-cap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; padding: .4rem .2rem; border: 0; border-radius: 12px; background: none; cursor: pointer; font-size: .68rem; font-weight: 700; line-height: 1.1; color: var(--muted); letter-spacing: .01em; text-decoration: none !important; transition: background .15s; }
.svh-cap:hover { background: #efe6ff; } .svh-cap:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.svh-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1.5px solid #d6c8f3; color: var(--brand); font-size: 1.15rem; transition: transform .15s; }
.svh-cap:hover .svh-ic { transform: translateY(-1px); }
.svh-cap[aria-pressed="true"] .svh-ic { background: var(--brand); border-color: var(--brand); color: #fff; }
.svh-cap.is-bug .svh-ic { color: #c4283d; border-color: #f0b8bf; } .svh-cap.is-bug:hover { background: #fff0f2; }
.svh-cap.is-ai .svh-ic { background: linear-gradient(135deg, #7d4fd0, #c05cf0 70%, #f2a100); border-color: transparent; color: #fff; }
.svh-cap.is-ai { color: #6d3fc0; }
.svh-cap[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #1e1b3a; color: #fff; font-size: .7rem; font-weight: 600; padding: .25rem .5rem; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 6; letter-spacing: 0; }
.svh-cap[data-tip]:hover::after, .svh-cap[data-tip]:focus-visible::after { opacity: 1; }
.svh .svc-menu { top: calc(100% + 6px); left: 50%; transform: translateX(-50%); }
.svh-stats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3rem 1rem; }
.svh-stat { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 600; color: var(--muted); border: 0; background: none; padding: .15rem .35rem; border-radius: 8px; }
.svh-stat b { color: var(--ink); } .svh-stat i { color: var(--soft); }
button.svh-stat { cursor: pointer; } button.svh-stat:hover { background: #f3edff; }
button.svh-stat[aria-pressed="true"] { background: #f3edff; color: var(--brand); } button.svh-stat[aria-pressed="true"] i { color: var(--brand); }
.svh-author { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--muted); line-height: 1.25; }
.svh-author b { display: block; color: var(--ink); font-size: .84rem; }
.svh-av { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #f2a100, #e5384f); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(30,27,58,.18); }
.svc .svh-sum { margin: 1.1rem 1.25rem 1.1rem; padding: .75rem 1rem; border-radius: 12px; background: #fcfbff; border: 1px solid var(--line); border-left: 4px solid var(--pc); font-size: .93rem; line-height: 1.6; }
.svc .svh-sum b { color: var(--ink); }
@media (max-width: 991.98px) { .svh-wrap { width: 92%; } .svh-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "c" "l"; } .svh-c { grid-area: c; grid-column: auto; } .svh-l { grid-area: l; justify-self: center; padding-top: .5rem; } }
@media (max-width: 767.98px) {
    .svh-wrap { width: 100%; }
    .svh-banner { height: 56px; padding: .55rem .8rem; border-radius: 18px 18px 0 0; }
    .svh-banner .svh-chip:nth-child(2) { display: none; }
    .svh-logo { width: 72px; height: 72px; margin-top: -36px; font-size: 1.8rem; }
    .svh-grid { margin-top: -2rem; padding: 0 1rem; gap: .5rem; }
    .svh-c { padding-top: 2.2rem; } .svh-l { padding-top: 0; }
    .svh-author { gap: .45rem; font-size: .76rem; } .svh-av { width: 28px; height: 28px; font-size: .65rem; }
    .svh-author span:last-child { display: flex; gap: .3rem; align-items: baseline; } .svh-author b { display: inline; }
    .svh-bar { margin: .9rem auto .7rem; } .svh-capt { display: none; } .svh-cap { padding: .35rem .1rem; } .svh-ic { width: 38px; height: 38px; }
    .svh-pop { left: auto; right: -2.2rem; transform: none; }
    .svc .svh-sum { margin: .7rem .8rem .9rem; padding: .65rem .85rem; font-size: .88rem; line-height: 1.55; }
}
@media (max-width: 767.98px), (hover: none) { .svh-cap[data-tip]::after { display: none; } }
@media print { .svh-bar, .svh-info, .svh-popwrap { display: none !important; } .svh-wrap { width: 100%; } }

/* Phones: fade the site's floating Index button while the action toolbar is on screen (it sits right over it) */
.right-mennu-drawer-popup-icon { transition: opacity .2s ease, transform .2s ease; }
body.svh-hide-idx .right-mennu-drawer-popup-icon { opacity: 0; pointer-events: none; transform: translateX(24px); }

/* ---------- "Get more with AI" as a popup ---------- */
.svc-ai-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #fbf8ff 0%, #f1e9ff 55%, #eef4ff 100%); }
.svc-ai-modal .svc-ai { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
.svc-ai-modal .svc-ai-head { padding-right: 3.2rem; }
.svc-ai-modal .svc-ai-close { position: absolute; top: .9rem; right: .9rem; z-index: 5; }
.svc-ai-alt { border: 0; background: none; padding: 0; color: #4b2a99; font-size: .78rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.svc-ai-alt:hover { color: #6d3fc0; }
.svc-ai-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; }
@media (max-width: 767.98px) { .svc-ai-modal .modal-dialog { margin: .6rem; } .svc-ai-modal .svc-ai-ico { width: 42px; height: 42px; font-size: 1.25rem; } }

/* ---------- AI provider dropdown ---------- */
.svc-ai-lbl { display: block; margin: 0 0 .35rem; font-size: .78rem; font-weight: 700; color: #3d3b58; }
.svc-ai-row { display: flex; gap: .5rem; align-items: stretch; }
.svc-ai-dd { position: relative; flex: 0 1 52%; min-width: 0; }
.svc-ai-dd-btn { width: 100%; height: 100%; min-height: 50px; display: flex; align-items: center; gap: .55rem; padding: .4rem .7rem; border: 1.5px solid #d3c6f0; border-radius: 13px; background: #fff; color: #1e1b3a; font-size: .92rem; font-weight: 700; text-align: left; cursor: pointer; }
.svc-ai-dd-btn:hover { border-color: #bda6ee; }
.svc-ai-dd-btn:focus-visible { outline: 2px solid #7d4fd0; outline-offset: 2px; }
.svc-ai-dd-btn .nm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-ai-dd-btn .bi-chevron-down { flex: 0 0 auto; color: #7d4fd0; transition: transform .15s; }
.svc-ai-dd-btn[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.svc-ai-badge { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--c, #7d4fd0); color: #fff; font-style: normal; font-size: .66rem; font-weight: 800; }
.svc-ai-dd-list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: min(320px, 86vw); margin: 0; padding: .35rem; list-style: none; background: #fff; border: 1px solid #e1d8f3; border-radius: 14px; box-shadow: 0 16px 36px rgba(30,27,58,.2); outline: none; max-height: 300px; overflow-y: auto; }
.svc-ai-dd-list li { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .5rem .55rem; border-radius: 10px; font-size: .88rem; font-weight: 600; color: #1e1b3a; cursor: pointer; }
.svc-ai-dd-list li.act { background: #f3edff; }
.svc-ai-dd-list .ck { margin-left: auto; padding-left: .8rem; color: #12a05f; visibility: hidden; }
.svc-ai-dd-list li[aria-selected="true"] .ck { visibility: visible; }
.svc-ai-go { min-height: 50px; }
.svc-ai-copylink { margin: .15rem 0 0; display: inline-flex; align-items: center; gap: .35rem; }
@media (max-width: 767.98px) { .svc-ai-dd { flex: 1 1 62%; } .svc-ai-dd-btn { padding: .4rem .55rem; gap: .45rem; font-size: .88rem; } .svc-ai-go { flex: 0 1 34%; padding: .7rem .6rem; gap: .35rem; } }
.svc-ai-dd-list.up { top: auto; bottom: calc(100% + 6px); }

/* ---------- AI widget: new layout + site theme ---------- */
.svc-ai { background: #f5f2fb; border: 1px solid #e2d9f3; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
.svc-ai-ico { background: #541ba3; color: #ffeb3b; box-shadow: none; }
.svc-ai h2 { color: #541ba3; }
.svc-ai-body { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.1rem 1.5rem; align-items: start; }
.svc-ai-main { min-width: 0; }
.svc-ai-main .svc-ai-lbl { margin-top: .5rem; }
.svc-ai textarea { min-height: 112px; border: 2px solid #ffeb3b; border-radius: 14px; background: #fff; box-shadow: 0 .125rem .25rem rgba(0,0,0,.05); }
.svc-ai textarea:focus { outline: 2px solid #541ba3; outline-offset: 1px; border-color: #ffeb3b; }
.svc-ai-dd-btn { border: 2px solid #ffeb3b; border-radius: 12px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.05); }
.svc-ai-dd-btn:hover { border-color: #ffdc00; }
.svc-ai-dd-btn:focus-visible { outline: 2px solid #541ba3; outline-offset: 2px; }
.svc-ai-dd-btn .bi-chevron-down { color: #541ba3; }
.svc-ai-dd-list { border-color: #e2d9f3; } .svc-ai-dd-list li.act { background: #f5f2fb; }
/* primary action: same yellow + purple as the home page "Search KB" button */
.svc-ai-go { background: #ffb822; color: #541ba3; border: 0; border-radius: 12px; font-weight: 800; box-shadow: 0 .125rem .25rem rgba(0,0,0,.1); }
.svc-ai-go:hover { background: #f5a800; transform: translateY(-1px); box-shadow: 0 .35rem .7rem rgba(0,0,0,.14); }
.svc-ai-go:focus-visible { outline: 2px solid #541ba3; outline-offset: 2px; }
.svc-ai-alt, .svc-ai summary { color: #541ba3; }
.svc-ai-ctx input { accent-color: #541ba3; }
.svc-ai-try { min-width: 0; padding: .9rem 1rem; border-radius: 14px; background: #fff; border: 1px solid #e2d9f3; }
.svc-ai-try > span { display: block; margin: 0 0 .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #65648a; }
.svc-ai-chips { display: flex; flex-direction: column; gap: .45rem; }
.svc-ai-chips button { width: 100%; text-align: left; background: #fff; color: #541ba3; border: 1px solid #d0c2eb; border-radius: 999px; padding: .4rem .85rem; font-size: .8rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
.svc-ai-chips button:hover { background: #f5f2fb; border-color: #b9a3e6; }
.svc-ai-chips button:focus-visible { outline: 2px solid #541ba3; outline-offset: 2px; }
.svc-ai-modal .modal-content { background: #f5f2fb; }
.svc-ai-note i { color: #541ba3; }
@media (max-width: 767.98px) {
  .svc-ai-body { grid-template-columns: minmax(0, 1fr); }
  /* phones: suggestions become a swipeable single row above the text box */
  .svc-ai-try { order: -1; padding: 0; background: none; border: 0; }
  .svc-ai-chips { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; margin: 0 -.15rem; scrollbar-width: none; }
  .svc-ai-chips::-webkit-scrollbar { display: none; }
  .svc-ai-chips button { width: auto; flex: 0 0 auto; white-space: nowrap; margin: 0 .15rem; }
}

/* ---------- Site "Table Of Content" (Index) popup: long list must scroll on short screens ---------- */
#rightinfoModal .modal-dialog { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); display: flex; }
#rightinfoModal .modal-content { width: 100%; max-height: inherit; display: flex; flex-direction: column; overflow: hidden; }
#rightinfoModal .modal-body { position: static; flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
#rightinfoModal .toc-popup-close { z-index: 3; }              /* stays pinned to the popup corner while the list scrolls */
#rightinfoModal h5 { padding-right: 2.2rem; }
#rightinfoModal ul a { display: block; padding: .15rem 0; }
#rightinfoModal ul a.cur { color: #541ba3; font-weight: 700; }
#rightinfoModal ul a.cur::after { content: "  \2190  you are here"; font-weight: 600; font-size: .72rem; color: #65648a; }

/* ---------- Uniform close button (every popup on the service pages) ---------- */
.svc-modal .btn-close, .svc-ai-modal .btn-close, #rightinfoModal .toc-popup-close, #rightinfoModal .btn-close, .offcanvas .btn-close {
    position: relative; flex: 0 0 auto; width: 36px; height: 36px; padding: 0 !important; margin: 0 !important;
    border: 0 !important; border-radius: 50% !important; background: #f3edff none !important; opacity: 1 !important; box-shadow: none !important;
    font-size: 0 !important; line-height: 0; color: #541ba3; cursor: pointer; transition: background .15s, transform .15s;
}
.svc-modal .btn-close::before, .svc-modal .btn-close::after, .svc-ai-modal .btn-close::before, .svc-ai-modal .btn-close::after,
#rightinfoModal .toc-popup-close::before, #rightinfoModal .toc-popup-close::after, #rightinfoModal .btn-close::before, #rightinfoModal .btn-close::after,
.offcanvas .btn-close::before, .offcanvas .btn-close::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: currentColor;
}
.svc-modal .btn-close::before, .svc-ai-modal .btn-close::before, #rightinfoModal .toc-popup-close::before, #rightinfoModal .btn-close::before, .offcanvas .btn-close::before { transform: rotate(45deg); }
.svc-modal .btn-close::after, .svc-ai-modal .btn-close::after, #rightinfoModal .toc-popup-close::after, #rightinfoModal .btn-close::after, .offcanvas .btn-close::after { transform: rotate(-45deg); }
.svc-modal .btn-close:hover, .svc-ai-modal .btn-close:hover, #rightinfoModal .toc-popup-close:hover, #rightinfoModal .btn-close:hover, .offcanvas .btn-close:hover { background: #e6daff !important; }
.svc-modal .btn-close:focus-visible, .svc-ai-modal .btn-close:focus-visible, #rightinfoModal .toc-popup-close:focus-visible, .offcanvas .btn-close:focus-visible { outline: 2px solid #541ba3; outline-offset: 2px; }
.svc-ai-modal .svc-ai-close { top: .8rem; right: .8rem; }
#rightinfoModal .toc-popup-close { position: absolute; top: .6rem; right: .6rem; }

/* ---------- Header: info popup now carries Author; keep it above the action bar ---------- */
.svc .svh-c h1 { position: relative; z-index: 30; }
.svh-bar { position: relative; z-index: 1; }
.svh-pop { z-index: 40; }
.svh-pop .r { align-items: baseline; }

/* ---------- Helpful section: views + references ---------- */
.svc-helpful .svc-views { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .9rem; padding: .25rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #e6daff; font-size: .82rem; font-weight: 600; color: var(--muted); }
.svc-helpful .svc-views b { color: var(--ink); }
.svc-refs-link { margin: .9rem 0 0 !important; }
.svc-refs-link button { border: 0; background: none; padding: .2rem .4rem; font-size: .85rem; font-weight: 700; color: #541ba3; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.svc-refs-link button:hover { color: #3b1277; }
.svc-modal .svc-refs { margin: 0 0 .8rem; padding-left: 1.3rem; }
.svc-modal .svc-refs li { margin: 0 0 .6rem; padding-left: .2rem; font-size: .9rem; color: #1e1b3a; overflow-wrap: anywhere; }
.svc-modal .svc-refs li a { font-weight: 700; color: #541ba3; }
.svc-modal .svc-refs li span { display: block; font-size: .78rem; color: #6b6a85; }
.svc-modal .svc-refs-note { font-size: .8rem; color: #6b6a85; margin: 0; }

/* ---------- AI provider logos ---------- */
.svc-ai-badge { background: #fff !important; border: 1px solid #e6e0f5; overflow: hidden; }
.svc-ai-badge img { width: 20px; height: 20px; display: block; }
.svc-ai-badge.txt { background: var(--c, #7d4fd0) !important; border-color: transparent; color: #fff; }
.svc-modal.svc-ai-modal .btn-close.svc-ai-close { position: absolute; top: .8rem; right: .8rem; z-index: 5; }

/* ---------- Mobile polish (phones) ---------- */
@media (max-width: 575.98px) {
    /* tap targets and legibility */
    .svc-crumb { gap: .1rem .5rem; }
    .svc-crumb a { display: inline-block; padding: .4rem 0; }
    .svc-ico em { font-size: .72rem; }
    .svc-sev, .svc-price .svc-card h4 em { font-size: .72rem; }
    .svc-qa .lvl { font-size: .68rem; }
    .svc-inline { font-size: .78rem; }
    /* interview questions: level badge sits inline with the question so the text gets the full width */
    .svc-qa summary { display: block; position: relative; padding: .8rem 2.8rem .8rem 1rem; line-height: 1.45; }
    .svc-qa summary::after { position: absolute; top: .75rem; right: .8rem; margin: 0; }
    .svc-qa .lvl { display: inline-block; margin: 0 .45rem 0 0; vertical-align: .08em; }
    /* code block: tabs scroll, Copy collapses to an icon */
    .svc-code-bar .svc-copy { font-size: 0; gap: 0; width: 38px; height: 34px; padding: 0; justify-content: center; }
    .svc-code-bar .svc-copy i { font-size: 1rem; }
    /* "Did you find this helpful?" block: tidy column */
    .svc-helpful { padding: 1.1rem 1rem; }
    .svc-helpful .svc-row { flex-wrap: nowrap; }
    .svc-helpful .svc-row .svc-btn { flex: 1 1 0; min-width: 0; justify-content: center; padding-left: .5rem; padding-right: .5rem; }
    .svc-endlinks { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
    .svc-endlinks .svc-btn { width: 100%; justify-content: center; }
    .svc-refs-link button { min-height: 44px; padding: .5rem .8rem; }
}

/* a11y: links inside running text must not rely on colour alone */
.svc p a:not([class]), .svc li a:not([class]), .svc td a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
