/* Selection components inherit the homepage's brand typography. */
.qtqc-guide-page .qtqc-container{width:min(1180px,calc(100% - 40px))}
.qtqc-guide-page .qtqc-page .qtqc-reading-layout:has(.qtqc-guide-sidebar){display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:48px;align-items:start}
.qtqc-guide-sidebar{position:sticky;top:180px;min-width:0;padding:22px;border:1px solid #dbe9ff;border-radius:20px;background:#f4f9ff}
.qtqc-guide-page .qtqc-guide-sidebar h2{font-size:18px;line-height:1.5;margin:0 0 8px}.qtqc-guide-sidebar>p{font-size:13px;line-height:1.8;color:#53657f;margin-bottom:12px}
.qtqc-guide-sidebar nav>a{display:block;padding:14px 0;font-size:14px;font-weight:650;line-height:1.7;border-top:1px solid #dbe9ff}.qtqc-guide-sidebar a>span{display:block;font-size:12px;font-weight:400;color:#53657f;margin-top:3px}
.qtqc-guide-page .qtqc-prose>p,.qtqc-guide-page .qtqc-prose>ul,.qtqc-guide-page .qtqc-prose>ol{max-width:76ch}
.qtqc-guide-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:26px 0 30px;border:1px solid #dbe9ff;border-radius:16px;background:#fff}
.qtqc-guide-table table{min-width:620px;margin:0!important;border:0!important;font-size:14px;line-height:1.75}
.qtqc-guide-table caption{caption-side:top;text-align:left;padding:15px 18px;font-weight:650;color:#17325f;background:#f4f9ff}
.qtqc-guide-table th,.qtqc-guide-table td{width:auto;white-space:normal;text-transform:none;letter-spacing:normal;padding:14px 16px;line-height:1.75}
.qtqc-guide-table th[scope=row]{width:25%;font-weight:650;background:#f9fbff}
.qtqc-guide-choices,.qtqc-guide-routes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;margin:24px 0 34px}
.qtqc-guide-page .qtqc-prose .qtqc-guide-choices>a,.qtqc-guide-page .qtqc-prose .qtqc-guide-routes>a{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid #dbe9ff;border-radius:20px;background:linear-gradient(150deg,#f5f9ff,#fff);color:#17325f;text-decoration:none;min-width:0}
.qtqc-guide-page .qtqc-prose .qtqc-guide-choices h3,.qtqc-guide-page .qtqc-prose .qtqc-guide-routes h3{font-size:19px;line-height:1.5;margin:0;letter-spacing:-.015em}
.qtqc-guide-page .qtqc-prose .qtqc-guide-choices p,.qtqc-guide-page .qtqc-prose .qtqc-guide-routes p{font-size:14px;line-height:1.8;margin:0;color:#53657f}
.qtqc-guide-choices small{font-size:12px;color:#53657f}.qtqc-guide-link,.qtqc-guide-routes a>span{display:block;margin-top:auto;font-size:14px;font-weight:650;color:#075eea}
.qtqc-guide-page .qtqc-guide-choices>a:hover,.qtqc-guide-page .qtqc-guide-routes>a:hover{border-color:#075eea;background:#f0f7ff}
.qtqc-guide-page .qtqc-prose h2,.qtqc-guide-page .qtqc-prose h3{scroll-margin-top:190px}
.qtqc-guide-page .qtqc-guide-table:focus-visible,.qtqc-guide-page .qtqc-guide-choices a:focus-visible,.qtqc-guide-page .qtqc-guide-routes a:focus-visible{outline:2px solid #075eea;outline-offset:4px}
@media(max-width:849px){.qtqc-guide-page .qtqc-prose h2,.qtqc-guide-page .qtqc-prose h3{scroll-margin-top:115px}.qtqc-guide-table:after{content:"Vuốt ngang để xem đủ các cột";display:block;position:sticky;left:0;padding:10px 14px;color:#53657f;background:#f4f9ff;font-size:12px}.qtqc-guide-table table{font-size:13px}.qtqc-guide-page .qtqc-prose .qtqc-guide-choices>a,.qtqc-guide-page .qtqc-prose .qtqc-guide-routes>a{padding:20px}}
@media(max-width:1050px){.qtqc-guide-page .qtqc-page .qtqc-reading-layout:has(.qtqc-guide-sidebar){grid-template-columns:minmax(0,1fr) 230px;gap:28px}}
@media(max-width:849px){.qtqc-guide-page .qtqc-page .qtqc-reading-layout:has(.qtqc-guide-sidebar){display:block}.qtqc-guide-sidebar{position:static;margin-top:30px}.qtqc-guide-page .qtqc-container{width:calc(100% - 32px)}}
/* Progressive disclosure for the existing guide body; desktop keeps the full article. */
.qtqc-guide-page .qtqc-compact-intro>summary,.qtqc-guide-overview>summary{display:none}
.qtqc-guide-section>summary{list-style:none;cursor:default}
.qtqc-guide-section>summary::-webkit-details-marker{display:none}
.qtqc-guide-quick{display:none}
@media(max-width:800px){
 .qtqc-guide-page .qtqc-breadcrumb{flex-wrap:nowrap;white-space:nowrap;overflow-x:auto;gap:8px;padding:12px 0 6px;scrollbar-width:none}
 .qtqc-guide-page .qtqc-breadcrumb::-webkit-scrollbar{display:none}
 .qtqc-guide-page .qtqc-breadcrumb>[aria-current=page],.qtqc-guide-page .qtqc-breadcrumb>span:nth-last-child(2){display:none}
 .qtqc-site-ui.qtqc-guide-page .qtqc-page-heading{padding:8px 0 14px}
 .qtqc-guide-page .qtqc-page-heading>.qtqc-eyebrow{display:none}
 .qtqc-site-ui.qtqc-guide-page .qtqc-page-heading h1{font-size:26px;line-height:1.35;margin:0 0 8px}
 .qtqc-guide-page .qtqc-compact-intro>summary{display:list-item;cursor:pointer;color:#075eea;font-size:14px;line-height:1.5;padding:8px 0}
 .qtqc-guide-page .qtqc-compact-intro p{font-size:15px;line-height:1.65;margin:4px 0 8px}
 .qtqc-guide-quick{display:block;margin:0 0 18px}
 .qtqc-guide-quick>strong{display:block;font-size:16px;margin:0 0 10px;color:#17325f}
 .qtqc-guide-quick>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .qtqc-guide-page .qtqc-prose .qtqc-guide-quick a{display:flex;align-items:center;gap:6px;justify-content:space-between;padding:10px 12px;min-height:48px;border:1px solid #dbe9ff;border-radius:12px;background:#f4f9ff;font-size:14px;line-height:1.5;font-weight:600;color:#075eea;text-decoration:none}
 .qtqc-guide-section,.qtqc-guide-overview{border:1px solid #dbe9ff;border-radius:12px;margin:0 0 10px;overflow:hidden}
 .qtqc-guide-section>summary,.qtqc-guide-overview>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;cursor:pointer;list-style:none}
 .qtqc-guide-overview>summary::-webkit-details-marker{display:none}
 .qtqc-guide-section>summary:after,.qtqc-guide-overview>summary:after{content:'+';font-size:24px;line-height:1;color:#075eea;flex:none}
 .qtqc-guide-section[open]>summary:after,.qtqc-guide-overview[open]>summary:after{content:'−'}
 .qtqc-guide-page .qtqc-prose .qtqc-guide-section>summary h2{font-size:18px;line-height:1.45;margin:0;color:#17325f}
 .qtqc-guide-overview>summary{font-size:18px;font-weight:600;color:#17325f}
 .qtqc-guide-section>div,.qtqc-guide-overview>div{padding:0 16px 16px}
 .qtqc-guide-page .qtqc-prose .qtqc-guide-section>div>p{font-size:16px;line-height:1.75}
 .qtqc-guide-section>summary:focus-visible,.qtqc-guide-overview>summary:focus-visible,.qtqc-guide-quick a:focus-visible{outline:2px solid #075eea;outline-offset:-3px}
}
