/* Independent mobile shell. No desktop-home presentation is changed here. */
body.la4-site .la39-mobile{display:none}
@media(max-width:980px){
  body.la4-site{--la39-dock-height:66px;--la39-safe-bottom:env(safe-area-inset-bottom,0px);padding-bottom:calc(var(--la39-dock-height) + var(--la39-safe-bottom));}
  body.la4-site .la39-mobile{font-family:Poppins,"Segoe UI",Arial,sans-serif;color:#14244c;box-sizing:border-box}
  body.la4-site .la39-mobile *{box-sizing:border-box}
  body.la4-site .la39-mobile svg{width:21px;height:21px;flex:none}
  body.la4-site .la39-mobile a{text-decoration:none;color:inherit}
  body.la4-site .la39-mobile button,body.la4-site .la39-mobile input{font:inherit}
  body.la4-site .la39-mobile :is(a,button,input):focus-visible{outline:2px solid #a8782a;outline-offset:3px}
  body.la4-site .la39-header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:160;min-height:68px;padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid #eae6dd;}
  body.la4-site.admin-bar .la39-header{top:32px}
  body.la4-site .la39-brand{display:flex;align-items:center;min-height:44px;flex:none}
  body.la4-site .la39-brand img{display:block;width:130px;height:auto;max-width:100%}
  body.la4-site .la39-header-actions{display:flex;align-items:center;gap:8px}
  body.la4-site .la39-header-actions>a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 11px;border-radius:12px;font-size:12px;font-weight:500;white-space:nowrap}
  body.la4-site .la39-talk{background:#14244c;color:#fff!important}
  body.la4-site .la39-talk svg{color:#e0bc70;width:18px;height:18px}
  body.la4-site .la39-menu-toggle{background:#f6f3eb;border:1px solid #e9e0cd}
  body.la4-site .la39-menu-toggle svg{width:18px;height:18px}
  body.la4-site .la39-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:820;left:0;right:0;bottom:0;min-height:calc(var(--la39-dock-height) + var(--la39-safe-bottom));padding:6px max(8px,env(safe-area-inset-right)) calc(6px + var(--la39-safe-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #e5e4de;background:#fff;box-shadow:0 -7px 24px #14244c06;transition:transform .18s ease;}
  body.la4-site .la39-bottom-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:52px;border-radius:13px;color:#64718a;font-size:10px;font-weight:500;line-height:1.35}
  body.la4-site .la39-bottom-nav>a[aria-current="page"],body.la4-site .la39-bottom-nav>a[aria-expanded="true"]{background:#f7f2e7;color:#14244c}
  body.la4-site .la39-bottom-nav>a[aria-current="page"] svg,body.la4-site .la39-bottom-nav>a[aria-expanded="true"] svg{color:#a8782a}
  body.la4-site .la39-bottom-nav svg{width:22px;height:22px}
  body.la4-site.la39-keyboard-open .la39-bottom-nav{transform:translateY(110%);visibility:hidden;pointer-events:none}
  body.la4-site.la39-keyboard-open .la36-callback-launcher,body.la4-site.la39-keyboard-open .la36-callback-noscript{visibility:hidden;pointer-events:none}
  body.la4-site .la36-callback-launcher,body.la4-site .la36-callback-noscript{bottom:calc(var(--la39-dock-height) + var(--la39-safe-bottom) + 12px)}
  /* Menu-only refinement: the approved header and dock above are unchanged. */
  body.la4-site .la39-menu-dialog{position:fixed;inset:auto;top:calc(var(--la39-viewport-top,0px) + 8px);left:50%;right:auto;bottom:auto;transform:translateX(-50%);width:min(680px,calc(100vw - 16px));height:min(780px,calc(var(--la39-viewport-height,100dvh) - 16px));max-width:none;max-height:none;margin:0;padding:0;border:1px solid #ffffff8c;border-radius:24px;background:#f7f7f2;box-shadow:0 24px 80px #07172d4d;overflow:hidden;overscroll-behavior:contain;}
  body.la4-site .la39-menu-dialog[open]{display:flex;flex-direction:column;animation:la39-menu-arrive .2s ease-out both}
  body.la4-site .la39-menu-dialog:not([open]){display:none}
  body.la4-site .la39-menu-dialog::backdrop{background:#09162b8c;backdrop-filter:blur(5px)}
  body.la4-site .la39-menu-dialog.la39-dialog-fallback[open]{z-index:1008;box-shadow:0 0 0 100vmax #09162b8c,0 24px 80px #07172d4d}
  body.la4-site.la39-menu-fallback-open>:not(.la39-menu-dialog){pointer-events:none}
  body.la4-site .la39-menu-dialog .la39-menu-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;min-height:84px;padding:18px 20px;background:linear-gradient(120deg,#14244c,#213654);border-bottom:1px solid #ffffff14}
  body.la4-site .la39-menu-dialog .la39-menu-head h2{margin:0;font-size:clamp(22px,6vw,28px);font-weight:500;line-height:1.25;letter-spacing:-.04em;color:#fff}
  body.la4-site .la39-menu-dialog .la39-menu-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #ffffff24;border-radius:14px;background:#ffffff0c;color:#fff;cursor:pointer;transition:background .16s ease}
  body.la4-site .la39-menu-dialog .la39-menu-close svg{width:20px;height:20px}
  body.la4-site .la39-menu-dialog .la39-menu-tools{flex:0 1 auto;min-height:0;padding:16px 18px 14px;overflow:auto;background:#fff;border-bottom:1px solid #e8eae9;scrollbar-width:thin}
  body.la4-site .la39-menu-dialog .la39-menu-tools[hidden]{display:none}
  body.la4-site .la39-menu-dialog .la39-search-box{display:flex;align-items:center;gap:10px;border:1px solid #e5e8e8;border-radius:14px;padding:0 13px;background:#f7f8f8;transition:background .16s ease,border-color .16s ease}
  body.la4-site .la39-menu-dialog .la39-search-box:focus-within{background:#fff;border-color:#8a98ad}
  body.la4-site .la39-menu-dialog .la39-search-box>svg{width:20px;height:20px;color:#a8782a}
  body.la4-site .la39-menu-dialog .la39-search-box input{display:block;width:100%;min-width:0;min-height:48px;padding:11px 0;border:0;outline:0;background:transparent;color:#14244c;font-size:16px;font-weight:400}
  body.la4-site .la39-menu-dialog .la39-search-box input::placeholder{color:#64718a;font-size:13px}
  body.la4-site .la39-menu-dialog .la39-search-box button{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-right:-6px;border:0;background:transparent;color:#465571;cursor:pointer}
  body.la4-site .la39-menu-dialog .la39-search-box button[hidden]{display:none}
  body.la4-site .la39-menu-dialog .la39-menu-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:12px;overflow:visible;padding:0}
  body.la4-site .la39-menu-dialog .la39-menu-filters button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:62px;padding:7px 2px;border:1px solid transparent;border-radius:12px;background:#f7f8f8;color:#52617b;font-size:10px;font-weight:500;line-height:1.3;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
  body.la4-site .la39-menu-dialog .la39-menu-filters button svg{width:19px;height:19px;color:#66758b}
  body.la4-site .la39-menu-dialog .la39-menu-filters button[aria-pressed="true"]{background:#14244c;color:#fff;box-shadow:0 3px 9px #14244c16}
  body.la4-site .la39-menu-dialog .la39-menu-filters button[aria-pressed="true"] svg{color:#e0bc70}
  body.la4-site .la39-menu-dialog .la39-menu-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:17px 18px calc(20px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#bbc2cc transparent}
  body.la4-site .la39-menu-dialog .la39-menu-quick{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-bottom:24px}
  body.la4-site .la39-menu-dialog .la39-menu-quick>a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 13px;border-radius:13px;font-size:12px;font-weight:500;line-height:1.45}
  body.la4-site .la39-menu-dialog .la39-menu-quick>a.la39-menu-callback{justify-content:flex-start;background:#14244c;color:#fff;box-shadow:0 4px 12px #14244c0e}
  body.la4-site .la39-menu-dialog .la39-menu-callback>svg:first-child{color:#e0bc70;width:18px;height:18px}
  body.la4-site .la39-menu-dialog .la39-menu-callback>svg:last-child{margin-left:auto;width:16px;height:16px;color:#e0bc70}
  body.la4-site .la39-menu-dialog .la39-menu-login{border:1px solid #e1e5e7;background:#fff}
  body.la4-site .la39-menu-dialog .la39-menu-login svg{width:16px;height:16px}
  body.la4-site .la39-menu-dialog .la39-menu-sections{display:grid;gap:23px;align-items:start}
  body.la4-site .la39-menu-dialog .la39-menu-section[hidden],body.la4-site .la39-menu-dialog .la39-menu-section li[hidden],body.la4-site .la39-menu-dialog .la39-menu-empty[hidden]{display:none}
  body.la4-site .la39-menu-dialog .la39-menu-section h3{display:flex;align-items:center;gap:9px;margin:0 0 10px;color:#14244c;font-size:14px;font-weight:500;line-height:1.4}
  body.la4-site .la39-menu-dialog .la39-menu-section h3 svg{width:19px;height:19px;color:#a8782a}
  body.la4-site .la39-menu-dialog .la39-menu-section ul{display:grid;gap:0;list-style:none;margin:0;padding:4px 14px;border:1px solid #e8ebe9;border-radius:16px;background:#fff;box-shadow:0 4px 16px #14244c03}
  body.la4-site .la39-menu-dialog .la39-menu-section li+li{border-top:1px solid #eef0ed}
  body.la4-site .la39-menu-dialog .la39-menu-section a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin:2px -6px;padding:12px 6px;border-radius:10px;font-size:13px;line-height:1.5;color:#465571;transition:background .16s ease,color .16s ease}
  body.la4-site .la39-menu-dialog .la39-menu-section a>span{min-width:0;overflow-wrap:anywhere}
  body.la4-site .la39-menu-dialog .la39-menu-section a[aria-current="page"]{padding-inline:10px;background:#edf0f5;color:#14244c;font-weight:500}
  body.la4-site .la39-menu-dialog .la39-menu-section a>svg{width:16px;height:16px;color:#a8782a}
  body.la4-site .la39-menu-dialog .la39-menu-contact{display:grid;gap:5px;margin-top:24px;border-top:1px solid #e3e7e5;padding-top:13px}
  body.la4-site .la39-menu-dialog .la39-menu-contact a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;font-size:12px;color:#52617b}
  body.la4-site .la39-menu-dialog .la39-menu-contact svg{width:16px;height:16px;color:#a8782a}
  body.la4-site .la39-menu-dialog .la39-menu-empty{margin:18px 0;color:#52617b;font-size:13px;line-height:1.8}
  body.la4-site .la39-menu-dialog .la39-menu-empty a{display:inline-block;color:#14244c;text-decoration:underline;min-height:44px;padding:8px 0}
  body.la4-site .la39-menu-dialog :is(a,button,input):focus-visible{outline:2px solid #a8782a;outline-offset:3px}
  body.la4-site .la39-menu-dialog .la39-menu-close:focus-visible{outline-color:#e0bc70}
  body.la4-site .la39-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}
@media(max-width:782px){body.la4-site.admin-bar .la39-header{top:46px}}
@media(max-width:360px){body.la4-site .la39-header{gap:8px;padding-inline:12px}body.la4-site .la39-brand img{width:112px}body.la4-site .la39-header-actions{gap:5px}body.la4-site .la39-header-actions>a{padding-inline:9px}body.la4-site .la39-menu-head h2{font-size:20px}}
@media(max-width:980px) and (prefers-reduced-motion:reduce){body.la4-site .la39-bottom-nav{transition:none}}

@keyframes la39-menu-arrive{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(min-width:600px) and (max-width:980px){
  body.la4-site .la39-menu-dialog .la39-menu-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
  body.la4-site .la39-menu-dialog .la39-menu-filters button{font-size:12px}
}
@media(max-width:980px) and (max-height:560px){
  body.la4-site .la39-menu-dialog .la39-menu-head{min-height:64px;padding-block:10px}
  body.la4-site .la39-menu-dialog .la39-menu-tools{padding-block:10px}
  body.la4-site .la39-menu-dialog .la39-menu-filters{margin-top:8px}
  body.la4-site .la39-menu-dialog .la39-menu-filters button{min-height:44px;flex-direction:row;gap:4px;padding-inline:2px}
  body.la4-site .la39-menu-dialog .la39-menu-filters button svg{display:none}
}
@media(max-width:980px) and (hover:hover) and (pointer:fine){
  body.la4-site .la39-menu-dialog .la39-menu-close:hover{background:#ffffff20}
  body.la4-site .la39-menu-dialog .la39-menu-filters button[aria-pressed="false"]:hover,body.la4-site .la39-menu-dialog .la39-menu-section a:hover{background:#edf0f5;color:#14244c}
}
@media(max-width:980px) and (prefers-reduced-motion:reduce){
  body.la4-site .la39-menu-dialog[open]{animation:none}
  body.la4-site .la39-menu-dialog :is(a,button,input),body.la4-site .la39-menu-dialog .la39-search-box{transition:none}
}
