/* BrainON Services V26. All selectors are isolated from the existing Viewer and forms. */
#book-layout-service { position:relative; border-radius:8px; transition:background-color .2s,box-shadow .2s; }
html.bn-svc-ready #book-layout-service { cursor:pointer; }
#book-layout-service:hover { background:rgba(255,255,255,.48); }
#book-layout-service .bn-svc-title-link { color:inherit; text-decoration:none; }
#book-layout-service .bn-svc-detail-link { position:relative; display:inline-flex; align-items:center; gap:10px; margin-top:9px; color:#b82838; font:600 13px/1.5 AvenirReg,Arial,sans-serif; text-decoration:none; letter-spacing:.025em; }
#book-layout-service .bn-svc-detail-link::after { content:"";position:absolute;left:0;bottom:-2px;width:100%;height:1px;background:#b82838;transform:scaleX(0);transform-origin:left; }
#book-layout-service.bn-svc-hover-pending .bn-svc-detail-link::after { animation:bn-svc-dwell 2s linear both; }
#book-layout-service .bn-svc-detail-link:hover { color:#921826; }
#book-layout-service a:focus-visible { outline:2px solid #b82838; outline-offset:5px; border-radius:2px; }
.bn-svc-dialog { --bn-svc-red:#b92d3d; --bn-svc-ink:#24272b; --bn-svc-muted:#666b70; display:none; padding:0; border:1px solid rgba(255,255,255,.7); border-radius:18px; width:min(1136px,calc(100vw - 56px)); max-width:none; max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); margin:auto; color:var(--bn-svc-ink); background:#fcfbf8; box-shadow:0 34px 100px rgba(0,0,0,.38),0 2px 12px rgba(0,0,0,.14); overflow:auto; overscroll-behavior:contain; text-align:left; font:15px/1.6 AvenirReg,Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
.bn-svc-dialog[open] { display:block; animation:bn-svc-reveal .24s ease-out both; }
.bn-svc-dialog::backdrop { background:rgba(19,24,29,.65); backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); animation:bn-svc-dim .22s ease-out both; }
.bn-svc-dialog.bn-svc-closing { animation:bn-svc-out .16s ease-in both; }
.bn-svc-dialog.bn-svc-closing::backdrop { animation:bn-svc-undim .16s ease-in both; }
.bn-svc-dialog *, .bn-svc-dialog *::before, .bn-svc-dialog *::after { box-sizing:border-box; }
.bn-svc-dialog p { padding:0; }
.bn-svc-dialog h3 { background:none; border:0; text-align:left; }
.bn-svc-dialog p.bn-svc-scope { padding-top:13px; }
.bn-svc-dialog [hidden] { display:none!important; }
.bn-svc-dialog a, .bn-svc-dialog button { -webkit-tap-highlight-color:transparent; }
.bn-svc-dialog a:focus-visible, .bn-svc-dialog button:focus-visible { outline:2px solid var(--bn-svc-red); outline-offset:4px; }
.bn-svc-dialog a { text-decoration:none; }
.bn-svc-bar { position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;padding:17px 24px 17px 30px;border-bottom:1px solid #e6e4e0;background:rgba(252,251,248,.96);backdrop-filter:blur(16px); }
.bn-svc-bar-title { display:flex;align-items:center;gap:17px; }
.bn-svc-number { color:var(--bn-svc-red);font-size:12px;letter-spacing:.1em;border-right:1px solid #d8d6d0;padding-right:17px; }
.bn-svc-bar h2 { margin:0!important;padding:0!important;background:none!important;color:#24272b!important;font:500 22px/1.25 PlayfairSmBold,Georgia,serif!important;letter-spacing:0!important; }
.bn-svc-close { display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid #dad8d3;border-radius:50%;color:#393d42;background:transparent;font:28px/1 Arial,sans-serif;transition:background .15s,color .15s,transform .15s; }
.bn-svc-close:hover { color:#fff;background:var(--bn-svc-red);border-color:var(--bn-svc-red);transform:rotate(5deg); }
.bn-svc-nojs-back { display:none; }
.bn-svc-grid { display:grid;grid-template-columns:1fr 1fr; }
.bn-svc-visual { display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:30px 32px 27px;color:#f4f0e8;background:radial-gradient(ellipse at 50% 35%,#3b4248 0,#22292f 58%,#1b2228 100%); }
.bn-svc-visual-top { display:flex;justify-content:space-between;align-items:center;gap:14px; }
.bn-svc-eyebrow { margin:0;letter-spacing:.16em;font:600 10px/1.5 AvenirReg,Arial,sans-serif; }
.bn-svc-visual .bn-svc-eyebrow { color:#c5c5bc; }
.bn-svc-example-count { color:#a7abae;font-size:11px;letter-spacing:.14em; }
.bn-svc-stage { margin:16px 0 22px; }
.bn-svc-stage figure { margin:0; }
.bn-svc-stage img { display:block;width:100%;height:294px;object-fit:contain;object-position:center;filter:drop-shadow(0 24px 15px rgba(0,0,0,.36)); }
.bn-svc-stage figcaption { margin-top:22px; }
.bn-svc-project-type { color:#e99ba1;font-size:9px;font-weight:600;letter-spacing:.15em; }
.bn-svc-stage h3 { margin:6px 0 7px;color:#fff;font:500 27px/1.23 PlayfairSmBold,Georgia,serif;letter-spacing:0; }
.bn-svc-stage p { margin:0;color:#b9bfc2;font-size:12px;line-height:1.6; }
.bn-svc-stage a { display:inline-block;margin-top:12px;color:#f0eee8;font-size:12px;border-bottom:1px solid #72787b;padding-bottom:2px; }
.bn-svc-stage a:hover { color:#ffbac0;border-color:#ffbac0; }
.bn-svc-stage a span { margin-left:8px; }
.bn-svc-example-picker { display:flex;gap:8px;flex-wrap:wrap; }
.bn-svc-example-picker button { min-height:38px;border:1px solid #555d62;padding:7px 14px;border-radius:50px;background:transparent;color:#d7dbdd;font:12px/1.35 AvenirReg,Arial,sans-serif;transition:background .15s,border-color .15s,color .15s; }
.bn-svc-example-picker button:hover { border-color:#eee9df;color:#fff; }
.bn-svc-example-picker button[aria-pressed="true"] { background:#f3eee5;border-color:#f3eee5;color:#22292f; }
.bn-svc-copy { min-width:0;padding:30px 34px 26px; }
.bn-svc-copy > .bn-svc-eyebrow { color:#8b6f67;letter-spacing:.11em; }
.bn-svc-copy h3 { margin:13px 0 15px;padding:0;color:#24272b;font:500 36px/1.13 PlayfairSmBold,Georgia,serif;letter-spacing:-.025em; }
.bn-svc-copy h3 em { color:#a72d3a;font-family:PlayfairIta,Georgia,serif;font-weight:400; }
.bn-svc-intro { margin:0 0 21px;font-size:14px;line-height:1.7;color:#62676b; }
.bn-svc-outcomes { margin:0; }
.bn-svc-outcomes > div { position:relative;margin:0 0 15px;padding-left:17px; }
.bn-svc-outcomes > div::before { content:"";position:absolute;left:0;top:8px;width:4px;height:4px;border-radius:50%;background:var(--bn-svc-red); }
.bn-svc-outcomes dt { font:600 14px/1.5 AvenirMed,Arial,sans-serif; }
.bn-svc-outcomes dd { margin:3px 0 0;color:#666b70;font-size:13px;line-height:1.55; }
.bn-svc-scope { margin:18px 0;padding-top:13px;border-top:1px solid #e6e2dd;color:#757575;font-size:11px;line-height:1.55; }
.bn-svc-actions { display:flex;gap:9px;align-items:stretch; }
.bn-svc-actions a { display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:5px;padding:10px 14px;font:600 12px/1.4 AvenirMed,Arial,sans-serif;text-align:center;transition:background .15s,color .15s,border-color .15s; }
.bn-svc-primary { flex:1.12;color:#fff!important;background:var(--bn-svc-red);border:1px solid var(--bn-svc-red); }
.bn-svc-primary span { margin-left:14px; }
.bn-svc-primary:hover { background:#922231;border-color:#922231; }
.bn-svc-secondary { flex:1;color:#45494c!important;border:1px solid #cecbc5;background:transparent; }
.bn-svc-secondary:hover { border-color:#a72d3a;background:#f5eee9; }
.bn-svc-price-note { margin:10px 0 0;color:#797b7b;font-size:10px;line-height:1.6; }
.bn-svc-resources { display:flex;gap:17px;flex-wrap:wrap;margin-top:15px; }
.bn-svc-resources a { font-size:10px;color:#686b6b;text-decoration:underline;text-underline-offset:3px; }
.bn-svc-resources a:hover { color:var(--bn-svc-red); }
.bn-svc-sr { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
/* Without scripting, the ordinary hash link reveals the same content inline. */
html:not(.bn-svc-ready) .bn-svc-dialog:target { display:block;position:relative;margin:24px auto;max-height:none;width:calc(100% - 30px); }
html:not(.bn-svc-ready) .bn-svc-dialog .bn-svc-close,
html:not(.bn-svc-ready) .bn-svc-dialog .bn-svc-example-picker { display:none; }
html:not(.bn-svc-ready) .bn-svc-dialog .bn-svc-nojs-back { display:block;color:#a72d3a;font-size:12px; }
html:not(.bn-svc-ready) .bn-svc-dialog figure[hidden] { display:block!important;margin-top:28px; }
@media (max-width:760px) {
 .bn-svc-dialog { width:calc(100vw - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:14px; }
 .bn-svc-bar { padding:12px 14px 12px 19px;min-height:64px; }
 .bn-svc-bar-title { gap:11px; }
 .bn-svc-number { padding-right:11px; }
 .bn-svc-bar h2 { font-size:19px!important; }
 .bn-svc-grid { grid-template-columns:1fr; }
 .bn-svc-visual { padding:21px 23px 23px; }
 .bn-svc-stage { margin:9px 0 18px; }
 .bn-svc-stage img { height:220px; }
 .bn-svc-stage figcaption { margin-top:12px; }
 .bn-svc-stage h3 { font-size:25px; }
 .bn-svc-example-picker button { min-height:40px; }
 .bn-svc-copy { padding:27px 23px; }
 .bn-svc-copy h3 { font-size:34px; }
 .bn-svc-intro { font-size:14px; }
 .bn-svc-outcomes dt { font-size:14px; }
 .bn-svc-outcomes dd { font-size:13px; }
 .bn-svc-scope { font-size:12px; }
 .bn-svc-price-note, .bn-svc-resources a { font-size:11px; }
}
@media (max-width:360px) { .bn-svc-copy,.bn-svc-visual { padding-left:18px;padding-right:18px; } .bn-svc-actions { flex-direction:column; } .bn-svc-stage img { height:190px; } }
@media (prefers-reduced-motion:reduce) { .bn-svc-dialog,.bn-svc-dialog::backdrop,.bn-svc-dialog *,#book-layout-service,#book-layout-service * { animation:none!important;transition:none!important;scroll-behavior:auto!important; } }
@keyframes bn-svc-dwell { to { transform:scaleX(1); } }
@keyframes bn-svc-reveal { from { opacity:0;transform:translateY(10px) scale(.988); } to { opacity:1;transform:none; } }
@keyframes bn-svc-out { to { opacity:0;transform:translateY(6px) scale(.992); } }
@keyframes bn-svc-dim { from { background:rgba(19,24,29,0);backdrop-filter:blur(0); } }
@keyframes bn-svc-undim { to { background:rgba(19,24,29,0);backdrop-filter:blur(0); } }
