/* Scoped to the customer guide; other panel pages keep their existing layout. */
body.tai-panel:has(#tai-customer-guide) .main-header{margin-left:0!important;position:sticky;top:0;left:0;width:100%;z-index:1030}
body.tai-panel:has(#tai-customer-guide) .content-wrapper{margin:0!important;padding:28px 12px!important;min-height:calc(100vh - 130px)!important}
body.tai-panel:has(#tai-customer-guide) .content-wrapper>.content>.container-fluid>.row>.col-xl-9{flex:0 0 100%;max-width:100%}
body.tai-panel:has(#tai-customer-guide) .wrapper{width:100%;flex:1}
body.tai-panel:has(#tai-customer-guide) .tai-contact{margin-left:0!important}
.tai-customer-guide{max-width:1120px;margin:0 auto;color:inherit;line-height:1.8;font-size:15px;overflow-wrap:anywhere}
.tai-customer-guide *{box-sizing:border-box}
.tai-customer-guide .tg-intro{padding:30px;border-radius:16px;background:linear-gradient(125deg,#3532a9,#5551e8);color:#fff}
.tai-customer-guide .tg-eyebrow{font-size:12px;letter-spacing:.12em;color:#e0e0ff}
.tai-customer-guide h1{font-size:clamp(24px,3vw,34px);font-weight:700;line-height:1.4;margin:12px 0}
.tai-customer-guide .tg-intro p{margin:8px 0}.tai-customer-guide .tg-note{font-size:14px;color:#ececff;max-width:850px}
.tai-customer-guide .tg-official{display:inline-block;margin-top:12px;padding:7px 14px;border:1px solid #a5a2ff;border-radius:8px;color:white;text-decoration:none}
.tai-customer-guide .tg-index{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 24px}
.tai-customer-guide .tg-index a{border:1px solid #cccde5;border-radius:24px;padding:7px 15px;text-decoration:none;color:inherit}
.tai-customer-guide .tg-index a:hover{background:#4644d9;color:#fff;border-color:#4644d9}
.tai-customer-guide .tg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tai-customer-guide .tg-card{background:var(--tg-card,#fff);border:1px solid var(--tg-border,#e1e3ed);border-radius:14px;padding:24px;scroll-margin-top:90px}
.tai-customer-guide .tg-number{font-size:13px;font-weight:700;color:#7774df;letter-spacing:.1em}
.tai-customer-guide h2{font-size:20px;font-weight:600;margin:8px 0 14px;line-height:1.5}
.tai-customer-guide p{margin:0 0 12px}.tai-customer-guide ol{padding-left:22px;margin:0 0 12px}.tai-customer-guide li{padding-left:3px;margin-bottom:6px}
.tai-customer-guide code{padding:2px 6px;background:rgba(105,103,180,.1);border-radius:4px;color:inherit}
.tai-customer-guide .tg-source{display:inline-block;margin:6px 14px 0 0;color:var(--tg-link,#4644d9);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.tai-customer-guide .tg-local{font-size:13px;color:var(--tg-link,#4644d9)}
.tai-customer-guide .tg-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;border:1px solid var(--tg-border,#e1e3ed);border-radius:14px;padding:24px;background:var(--tg-card,#fff)}
.tai-customer-guide .tg-contact h2{margin-top:0}.tai-customer-guide .tg-support{display:inline-block;flex-shrink:0;padding:10px 18px;background:#4644d9;color:#fff;border-radius:9px;text-decoration:none}
.tai-customer-guide .tg-attribution{font-size:12px;margin-top:20px;opacity:.75}
body.dark-mode .tai-customer-guide,body.dark .tai-customer-guide{--tg-card:#292d35;--tg-border:#454956;--tg-link:#b5b3ff}
@media(max-width:680px){.tai-customer-guide .tg-grid{grid-template-columns:1fr}.tai-customer-guide .tg-intro{padding:23px}.tai-customer-guide .tg-card{padding:20px}.tai-customer-guide .tg-contact{align-items:flex-start;flex-direction:column}.tai-customer-guide .tg-index{gap:6px}.tai-customer-guide .tg-index a{padding:6px 11px}body.tai-panel:has(#tai-customer-guide) .content-wrapper{padding:18px 0!important}}

html:has(link#styles[href*="dark.css"]) .tai-customer-guide{--tg-card:#292d35;--tg-border:#454956;--tg-link:#b5b3ff}
body.tai-panel:has(#tai-customer-guide) #navbar-menu .active>.nav-link{color:#fff;font-weight:600}
