/* Content uses the original catalogue shell: same placement, glass and breakpoints. */
#catalog.has-content>:not(#site-window){display:none!important}
#site-window{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;width:100%;padding:0;border:0;background:none;color:#29496b;font:14px/1.6 "Segoe UI",Arial,sans-serif}
#site-window[hidden]{display:none}
#site-window *{box-sizing:border-box}
#site-window .sw-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 0 5px;flex-shrink:0}
#site-window .sw-heading{min-width:0;flex:1}
#site-window .sw-eyebrow{font:650 10px/1.45 "Segoe UI",Arial,sans-serif;letter-spacing:.13em;color:#597aa0}
#site-window h2{font:550 30px/1.15 "Segoe UI",Arial,sans-serif;letter-spacing:-.025em;color:#233e76;margin:4px 0 13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
#site-window .sw-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
#site-window .sw-actions button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #ffffffcf;border-radius:50%;background:#f4faffb0;color:#3f709a;cursor:pointer}
#site-window .sw-actions button:disabled{opacity:.35;cursor:default}
#site-window .sw-actions button:hover:not(:disabled){background:#d0eefa;border-color:#1685c4}
#site-window svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#site-window .sw-mode{display:flex;gap:3px;padding:3px;border:1px solid #fff;border-radius:24px;background:#e2edfa9c}
#site-window .sw-mode :is(a,span){display:grid;place-items:center;height:27px;min-width:30px;border-radius:20px;font-size:10px;font-weight:650;text-decoration:none;color:#476c92}
#site-window .sw-mode span{background:linear-gradient(120deg,#248bb1,#6470c5);color:#fff}
#site-window .sw-mode a:hover{background:#fff}
#site-window .sw-body{position:relative;min-height:0;flex:1;border-radius:12px;overflow:hidden}
#site-window .sw-frame-host{height:100%}
#site-window iframe{display:block;width:100%;height:100%;border:0;background:transparent;opacity:0;transition:opacity .18s}
#site-window iframe.is-ready{opacity:1}
#site-window .sw-status{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:20px;text-align:center;font-size:13px;color:#5b7c9e;background:#eff6ffe8}
#site-window .sw-status[hidden]{display:none}
#site-window .sw-spinner{width:28px;height:28px;border:2px solid #bdd9ec;border-top-color:#5789b6;border-radius:50%;animation:sw-spin .8s linear infinite}
#site-window .sw-fallback{color:#286e9c;padding:8px 14px;border-radius:20px;border:1px solid #c4d9e9;background:#fff;text-decoration:none}
#site-window :is(button,a):focus-visible{outline:2px solid #3888b6;outline-offset:2px}
@keyframes sw-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){#site-window .sw-header{gap:8px}#site-window h2{font-size:clamp(22px,5.7vw,27px);line-height:1.2;margin:4px 0 13px}#site-window .sw-actions{gap:4px}#site-window .sw-actions button{width:31px;height:31px}#site-window .sw-mode{padding:2px}#site-window .sw-mode :is(a,span){min-width:25px;height:25px}#site-window .sw-eyebrow{font-size:8px;letter-spacing:.06em}#site-window .sw-tabs a{font-size:10px;padding:6px 9px}}
@media(prefers-reduced-motion:reduce){#site-window .sw-spinner{animation:none}#site-window iframe{transition:none}}
/* Inherit the catalogue typography and use its single outer gutter. */
#site-window{font:inherit;color:inherit}
#site-window .sw-eyebrow{display:none}
#site-window h2{font:inherit;font-size:34px;font-weight:600;line-height:1.15;letter-spacing:normal;margin:4px 0 13px;color:#233e76}
#site-window .sw-header{align-items:flex-start;padding-bottom:5px;gap:10px}
#site-window .sw-actions button{background:linear-gradient(145deg,#f4faffad,#e6ebff80);border-color:#ffffffcf;box-shadow:inset 0 1px #ffffffd9;transition:background .2s,box-shadow .2s}
#site-window .sw-actions button:hover:not(:disabled){background:#eff9ffe6;border-color:#fff;box-shadow:0 0 12px #ccf3ff,inset 0 1px #fff}
#site-window .sw-body{border-radius:12px;background:transparent}
@media(max-width:900px){#site-window h2{font-size:26px;line-height:1.2}#site-window .sw-header{gap:8px}}

#catalog.has-content{overflow:hidden!important}
#site-window .sw-frame-host{min-height:0;overflow:hidden}

/* Allow Vietnamese descenders and long headings to occupy their full line boxes. */
#site-window .sw-heading{overflow:visible}
#site-window h2{display:block;-webkit-line-clamp:unset;overflow:visible;line-height:1.35;padding-bottom:5px;margin-bottom:10px;max-height:none}
