/* ds15 (Phase J, group 'J'): phone layer, <= 760 px only. Loaded by ui_site2_menus.php when ds5_on('J'); everything here is inert above 760 px.
   Parts: (1) sideways menus become strips with a cut edge, a fade, an arrow and a thin track; (2) wide tables keep the first column fixed and slide behind a fade;
   (3) one main action pinned at the bottom (built by ui-ds15.js from the page's own control); (4) header search icon; (5) bottom room so nothing is hidden. No inline style, no brand rule. */
.j15-bar{display:none}
.j15-end{display:none}
.j15-track{display:none}
@media (max-width:760px){
/* ---- (1) strips ---- */
.j15-sc{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:none;position:relative}
.j15-sc::-webkit-scrollbar{display:none}
.j15-sc > *{flex-shrink:0}
.j15-sc > .j15-end{display:block;position:sticky;right:0;top:0;width:0;height:100%;min-height:36px;flex:0 0 0;pointer-events:none;align-self:stretch;z-index:3;overflow:visible}
.j15-end::before{content:"";position:absolute;right:0;top:0;bottom:0;width:48px;background:linear-gradient(90deg,rgba(255,255,255,0),var(--j15-bg,#fff) 78%)}
.j15-arrow{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:1px solid var(--j15-line,#D5DCE6);background:var(--j15-btn,#fff);color:var(--j15-ink,#0B1B2E);font:700 16px/1 Inter,system-ui,sans-serif;padding:0;display:flex;align-items:center;justify-content:center;pointer-events:auto;cursor:pointer;box-shadow:0 2px 6px rgba(11,27,46,.14)}
.j15-arrow:focus-visible{outline:3px solid #1D4ED8;outline-offset:1px}
.j15-atend > .j15-end,.j15-nos > .j15-end{display:none}
.j15-track{display:block;height:3px;border-radius:3px;margin:6px 16px 0;background:var(--j15-trk,rgba(11,27,46,.1));position:relative;overflow:hidden}
.j15-track > i{position:absolute;left:0;top:0;bottom:0;width:30%;border-radius:3px;background:var(--j15-thumb,rgba(11,27,46,.42))}
.j15-trk-nos{display:none}
.j15-dark{--j15-line:rgba(255,255,255,.3);--j15-btn:#243750;--j15-ink:#fff;--j15-trk:rgba(255,255,255,.14);--j15-thumb:rgba(255,255,255,.6)}
/* the firm menu and the workspace bar already scroll: give them room for the arrow and keep the active item visible */
.dsf-mrow.j15-sc{padding-right:12px}
.ds8-wb-in.j15-sc{padding-right:12px}
/* ---- (2) wide tables: first column fixed, the rest slides behind a fade ---- */
.j15-tw{overflow-x:auto;-webkit-overflow-scrolling:touch;position:relative;overscroll-behavior-x:contain}
.j15-tw table{border-collapse:separate;border-spacing:0}
.j15-tw table.j15-tbl{display:table;white-space:nowrap;overflow:visible}
.j15-tw table th:first-child,.j15-tw table td:first-child{position:sticky;left:0;z-index:2;background:#fff;min-width:92px;max-width:156px;white-space:normal;overflow-wrap:anywhere}
.j15-twp:not(.j15-atstart) .j15-tw table th:first-child,.j15-twp:not(.j15-atstart) .j15-tw table td:first-child{box-shadow:6px 0 8px -6px rgba(11,27,46,.28)}
.j15-twp{position:relative}
.j15-twp > .j15-edge{position:absolute;right:0;top:0;bottom:0;width:40px;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 85%);z-index:3}
.j15-twp.j15-atend > .j15-edge,.j15-twp.j15-nos > .j15-edge{display:none}
.j15-twp > .j15-arrow{z-index:4;top:46px}
.j15-twp.j15-atend > .j15-arrow,.j15-twp.j15-nos > .j15-arrow{display:none}
.j15-twp + .j15-track{margin-top:8px}
/* ---- (3) one main action pinned at the bottom ---- */
.j15-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:center;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #E2E7EE;box-shadow:0 -8px 24px rgba(11,27,46,.10);transform:translateY(0);transition:transform .18s ease}
.j15-bar[hidden]{display:none}
.j15-bar.j15-off{transform:translateY(110%);pointer-events:none}
.j15-lead{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px;font:600 13px/1.25 Inter,system-ui,sans-serif;color:#0B1B2E}
.j15-lead small{font:400 12px/1.3 Inter,system-ui,sans-serif;color:#5A6474}
.j15-btn{flex:1 1 auto;min-height:46px;padding:0 18px;border:0;border-radius:11px;background:var(--cta);color:#fff;font:700 15px/1 Inter,system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;cursor:pointer;white-space:nowrap}
.j15-lead + .j15-btn{flex:0 0 auto;min-width:120px}
.j15-btn:focus-visible{outline:3px solid #1D4ED8;outline-offset:2px}
.j15-sub{flex:0 0 auto;min-height:46px;padding:0 14px;border-radius:11px;border:1px solid #D5DCE6;background:#fff;color:#0B1B2E;font:600 14px/1 Inter,system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
.j15-bar.j15-stack{flex-wrap:wrap;gap:8px}
.j15-bar.j15-stack .j15-btn{flex:1 1 100%}
.j15-bar.j15-stack .j15-link{flex:1 1 100%;text-align:center;font:500 13px/1.2 Inter,system-ui,sans-serif;color:#5A6474;text-decoration:underline}
body.j15-room{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
body.j15-room.j15-room-stack{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
/* ---- (4) header search: an icon button next to the menu, the field itself opens the existing search ---- */
.gtop:not(.ds8-m) .ds-hs.hide-m{display:block !important;margin-left:auto;flex:0 0 auto;max-width:44px}
.gtop:not(.ds8-m) .ds-hs.hide-m > a{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid #E2E7EE;border-radius:11px;background:#fff;color:#0B1B2E}
.gtop:not(.ds8-m) .ds-hs.hide-m > a span,.gtop .ds-hs.hide-m > a kbd{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gtop:not(.ds8-m) .ds-hs.hide-m > a svg{width:18px;height:18px;flex:none}
.gtop:not(.ds8-m) .ds-hs.hide-m + .gact{margin-left:8px}
/* ---- (5) tap targets and reading size ---- */
.lfr-site a.btn,.lfr-site button.btn{min-height:44px}
}
@media (prefers-reduced-motion:reduce){.j15-bar{transition:none}}
