/* TriBook V25.6 — site-wide editorial design */
html[data-theme=light],html:not([data-theme]){color-scheme:light;--bg:#f4f7fb;--card:#fff;--line:#dce5ef;--text:#14263d;--muted:#53657a;--accent:#0757a6;--green:#127d63;--gold:#98601b;--blue:#0756a5;--soft:#eaf2fc}
html[data-theme=dark]{--blue:#73b9ff;--soft:#172c46;--bg:#0b1627;--card:#112239;--line:#2b415c;--text:#edf5ff;--muted:#b3c4d8;--accent:#86c2ff}
html body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.65}html .wrap{width:min(1240px,calc(100% - 48px))}html header,html[data-theme=light] header{background:var(--card);color:var(--text);border-bottom:1px solid var(--line);box-shadow:0 2px 10px #102b4610;backdrop-filter:none}html header .nav{min-height:66px;gap:20px}html header .brand{flex:none;display:flex;gap:7px;align-items:center;color:var(--text);font-size:25px;letter-spacing:-1px;font-weight:850}html header .brand .tb256-mark{width:37px;height:37px;object-fit:contain;display:block;max-width:none}html header .brand .tb256-word em{color:var(--blue);font-style:normal}html header .navlinks,html[data-theme=light] header .navlinks{display:flex;gap:24px;align-items:center;color:var(--text);font-weight:650;font-size:14px;flex:1;justify-content:center}html header .navlinks a:hover{color:var(--blue)}html header .navright{display:none}html header .langswitch{display:flex;gap:2px;align-items:center;background:var(--soft);border:0;padding:3px;border-radius:8px;flex:none}html header .langswitch :is(a,span){color:var(--text);border:0;padding:4px 8px;font-size:12px;border-radius:5px}html header .langswitch [aria-current=true]{background:#0756a5;color:#fff}html header .tb10-theme,html[data-theme=light] header .tb10-theme{border:1px solid var(--line);color:var(--text);background:var(--card);padding:5px 10px;min-width:34px}html .tb256-searchlink{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:8px;color:var(--text)}.tb256-searchlink svg{width:20px;height:20px}.tb256-searchlink:hover{background:var(--soft)}
html .primary{background:#0756a5;color:white;border-color:#0756a5}html .primary:hover:not(:disabled){background:#064583}html :is(.secondary,.filter,.tb8-fav){border-color:var(--line);background:var(--card);color:var(--text)}html :is(.secondary,.filter,.tb8-fav):hover{background:var(--soft)}html .filter.active{background:#0756a5;color:#fff}html .hero{position:relative;display:flex;align-items:flex-end;min-height:400px;isolation:isolate;background:#0a213c;border:0;border-radius:16px;box-shadow:none;overflow:hidden;margin:22px 0 18px}html .heroart{position:absolute;inset:0;z-index:-2;height:100%;min-height:0;width:100%;display:block}html .heroart img{width:100%;height:100%;object-fit:cover;max-height:none;display:block}html .hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071a31ed 0%,#071a3199 40%,#071a3112 100%)}html .herotext{position:relative;padding:40px;max-width:680px;color:white}html .hero h1{font-size:clamp(35px,5vw,59px);line-height:1.1;letter-spacing:-1.5px;color:#fff;margin:14px 0}html .hero h1 span{color:#b6ddff}html .hero .eyebrow,html[data-theme=light] .hero .eyebrow{color:#d8edff;letter-spacing:.12em}html .hero p{color:#eaf2fa}html .hero .secondary,html[data-theme=light] .hero .secondary{background:#ffffff20;color:white;border:1px solid #ffffff80}html .hero .primary{background:#0756a5;color:white}html .sectionhead h2,html .tb25-featured h2{font-size:clamp(23px,3vw,32px);color:var(--text);letter-spacing:-.6px}html .sectionhead{border-bottom:1px solid var(--line);padding-bottom:12px}html .ed-kicker,html .ed-more{color:var(--blue);font-weight:750}html .tb25-featured{margin:28px 0}html .tb25-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}html :is(.ed-card,.tb25-card,.tile,.tb10-panel,.tb9-guide,.ed-panel,.strip,.stat,.legal,.tb8-search){background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 12px #102b4608;color:var(--text)}html :is(.ed-card,.tb25-card):hover{border-color:var(--blue);transform:translateY(-2px)}html .ed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}html .ed-card>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}html .ed-body{padding:18px}html .ed-body h3{font-size:19px;line-height:1.4;color:var(--text)}html .ed-body p{color:var(--muted);font-size:14px;line-height:1.6}html .ed-banner{background:var(--card);border:1px solid var(--line);border-radius:14px;color:var(--text);margin-top:22px}html .ed-banner h1{color:var(--text)}html .ed-banner p{color:var(--muted)}html .topicbar a{background:var(--card);border:1px solid var(--line);color:var(--blue);border-radius:8px}html .tb8-search label{color:var(--blue)}html :is(.tb8-search input,.tb8-filter input,.tb8-filter select){background:var(--card);color:var(--text);border-color:var(--line)}html .tb8-results a{background:var(--soft);color:var(--text)}html .footer{border-color:var(--line);color:var(--muted)}html .ed-article:not(.tb23-editorial){background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:14px;padding:clamp(18px,4vw,36px);max-width:920px;margin:25px auto 50px}html .ed-article:not(.tb23-editorial) h1{font-size:clamp(29px,4vw,42px);color:var(--text)}

@media(max-width:850px){html header .nav{flex-wrap:wrap;gap:9px;padding:10px 0}html header .navlinks,html[data-theme=light] header .navlinks{order:5;flex:1 0 100%;justify-content:flex-start;overflow-x:auto;gap:18px;white-space:nowrap;padding:4px 0;font-size:13px}html header .langswitch{margin-left:auto}}
@media(max-width:560px){html .wrap{width:calc(100% - 24px)}html header .brand{font-size:22px}html header .brand .tb256-mark{width:30px;height:30px}}

/* V25.7 — consistent Vietnamese typography and responsive imagery */
html{--tb-font:Arial,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
html body,html body :is(h1,h2,h3,h4,h5,h6,p,button,input,select,textarea,label,summary,li,figcaption){font-family:var(--tb-font)!important;letter-spacing:normal;}
html body{font-size:16px;line-height:1.65;font-weight:400;}
html body :is(h1,h2,h3,h4,h5,h6){font-weight:700;line-height:1.32;overflow-wrap:break-word;word-break:normal;}
html body :is(p,li,figcaption){word-break:normal;overflow-wrap:break-word;}
html body .hero h1{font-size:clamp(32px,4.4vw,54px);line-height:1.15;letter-spacing:-.025em;}
html body .ed-body h3{font-size:19px;line-height:1.4;}
html body .ed-card .ed-body{min-width:0;}
html body .ed-article a:not(.primary){color:var(--accent);}
html body img{max-width:100%;}
html body .ed-card>img,html body .tb25-card>img{display:block;width:100%;height:auto!important;min-height:0!important;aspect-ratio:16/9;object-fit:cover;object-position:center;}
html body .ed-banner img{display:block;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9;object-fit:cover;}
html body .ed-book{min-width:0;overflow:hidden;}
html body .book-jacket{box-sizing:border-box;max-width:100%;}
html body .book-jacket .jacket-art{object-fit:contain!important;aspect-ratio:auto!important;}
html body .tb256-mark{object-fit:contain!important;}
html body .navlinks a{white-space:nowrap;}
html body .tb8-search input{max-width:100%;}
html body .tb23-editorial{--tb23-blue:var(--accent);--tb23-ink:var(--text);--tb23-dim:var(--muted);--tb23-surface:var(--card);--tb23-line:var(--line)}
html body .tb23-hero-visual>img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;max-width:100%}
html body .tb23-editorial .tb22-figure img{display:block;max-width:100%;width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
html body .tb23-editorial .tb23-body,html body .tb23-editorial .tb23-layout{min-width:0}
html body .tb23-editorial .tb23-hero h1{overflow-wrap:break-word}
html body .tb23-editorial .tb16-story p{word-break:normal;overflow-wrap:break-word}
@media(max-width:850px){html body .tb23-hero-visual>img{max-height:none!important}}
