html:has(#tnt-bar){margin:0!important;padding:0!important;overflow-x:clip}
body:has(#tnt-bar){margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-width:0!important;overflow-x:clip!important;height:auto!important;min-height:100vh;}
#tnt-bar{position:relative;z-index:1000;background:#f8fafc;color:#183c35;border-bottom:1px solid #d8e3de;font:500 14px/1.5 system-ui,-apple-system,sans-serif;width:100%;box-sizing:border-box;isolation:isolate}
#tnt-bar *{box-sizing:border-box}
#tnt-bar a{color:#274e43!important;text-decoration:none!important;white-space:nowrap}
#tnt-bar a:hover{background:#e5efe8}
#tnt-bar a:focus-visible,#tnt-bar button:focus-visible{outline:3px solid #8aaf42;outline-offset:2px}
#tnt-bar .tnt-top{display:flex;align-items:center;gap:20px;padding:12px clamp(16px,2vw,40px);min-height:52px}
#tnt-bar .tnt-brand{font-size:18px;font-weight:750;letter-spacing:.02em}
#tnt-bar .tnt-home{margin-left:auto;font-size:13px}
#tnt-toggle{display:none;border:1px solid #b6cabc;background:white;color:#274e43;border-radius:8px;padding:8px 12px;font:inherit;cursor:pointer}
#tnt-menu{display:flex;flex-wrap:wrap;gap:8px 24px;padding:0 clamp(16px,2vw,40px) 12px;margin:0;max-width:none}
#tnt-bar .tnt-group{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
#tnt-bar .tnt-group>span{font-size:12px;color:#667d74;padding-right:5px}
#tnt-bar .tnt-group a{display:inline-flex;padding:7px 10px;border-radius:7px;font-size:13px}
#tnt-bar [aria-current=page]{background:#2f5c4f!important;color:white!important}
/* A page owns the viewport; only wide data tables scroll horizontally. */
body:has(#tnt-bar)>main,body:has(#tnt-bar)>.container,body:has(#tnt-bar)>.wrap,body:has(#tnt-bar)>.wp-wrap{width:100%;max-width:none!important;margin-left:auto;margin-right:auto;box-sizing:border-box;padding-left:clamp(16px,2vw,40px);padding-right:clamp(16px,2vw,40px)}
body:has(#tnt-bar) #ftcApp{width:100%;max-width:1200px;padding:clamp(16px,3vw,40px);border-radius:0;min-height:calc(100vh - 140px)}
body:has(#tnt-bar)>nav[aria-label="投資工具"]{display:none}
body:has(#tnt-bar) img,body:has(#tnt-bar) svg{max-width:100%}
@media(max-width:760px){#tnt-bar .tnt-top{gap:12px}#tnt-bar .tnt-brand{font-size:16px}#tnt-bar .tnt-home{display:none}#tnt-toggle{display:block;margin-left:auto}#tnt-menu{display:none;padding-top:6px}#tnt-menu.tnt-open{display:flex;flex-direction:column}#tnt-bar .tnt-group>span{flex:0 0 100%}#tnt-bar .tnt-group a{min-height:42px}body:has(#tnt-bar)>main{padding-left:12px;padding-right:12px}}

#tnt-menu{gap:8px;align-items:center}
#tnt-bar details.tnt-group{position:relative;display:block}
#tnt-bar .tnt-group summary{list-style:none;cursor:pointer;user-select:none;padding:10px 16px;border-radius:8px;color:#365d51;font-weight:650;white-space:nowrap}
#tnt-bar .tnt-group summary::-webkit-details-marker{display:none}
#tnt-bar .tnt-group summary:after{content:'⌄';margin-left:12px;color:#789186}
#tnt-bar .tnt-group[open] summary{background:#e3ede6}
#tnt-bar .tnt-current-group summary{color:#204d3d;box-shadow:inset 0 -3px #426e56}
#tnt-bar .tnt-links{position:absolute;top:calc(100% + 7px);left:0;min-width:230px;background:#fff;padding:8px;border:1px solid #d4e1d8;border-radius:12px;box-shadow:0 12px 35px #173d3220}
#tnt-bar .tnt-links a{display:flex;padding:12px 16px;border-radius:7px;min-height:44px}
#tnt-bar .tnt-group summary:focus-visible{outline:3px solid #8aaf42;outline-offset:2px}
@media(min-width:1000px){#tnt-bar{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding:12px clamp(16px,2vw,40px)}#tnt-bar .tnt-top{display:contents}#tnt-bar .tnt-brand{grid-column:1;grid-row:1}#tnt-menu{grid-column:2;grid-row:1;padding:0}#tnt-bar .tnt-home{grid-column:3;grid-row:1}#tnt-bar #tnt-toggle{display:none}}
@media(max-width:760px){#tnt-menu.tnt-open{align-items:stretch;gap:4px}#tnt-bar .tnt-links{position:static;box-shadow:none;border:0;border-left:2px solid #d4e1d8;border-radius:0;margin:0 0 8px 16px;background:transparent;padding:2px 0 2px 10px}#tnt-bar .tnt-group summary{padding:12px}#tnt-bar .tnt-group summary:after{float:right}#tnt-bar .tnt-current-group summary{box-shadow:none;background:#e3ede6}}
