/* Fault code library v1.5 (Concept A: navy / blue / yellow) */
body.ts-theme .site-content:has(.ts-fl-page){padding-top:0}
.ts-fl{color:#2b3a4f}
.ts-fl-hero{position:relative;color:#fff;padding:56px 0 40px;background:linear-gradient(180deg,rgba(6,23,45,.86),rgba(11,37,69,.95)),url(../img/hero/battery-960.webp) center/cover no-repeat var(--ts-ink)}
@media(min-width:960px){.ts-fl-hero{background-image:linear-gradient(180deg,rgba(6,23,45,.82),rgba(11,37,69,.95)),url(../img/hero/battery.webp)}}
body.ts-theme .ts-fl-hero h1{color:#fff;font-size:clamp(1.7rem,4vw,2.7rem);margin:8px 0 12px;max-width:860px}
.ts-fl-eyebrow,.ts-fl-crumbs{color:var(--ts-yellow);font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin:0}
.ts-fl-crumbs a{color:#cfe3fa!important;text-decoration:none}
.ts-fl-lead{color:var(--ts-text);font-size:1.05rem;max-width:760px;margin:0 0 22px}
.ts-fl-search{position:relative;max-width:760px}
.ts-fl-search input,.ts-fl-tools input,.ts-fl-tools select{width:100%;font:500 16px Montserrat,sans-serif;padding:15px 18px;border-radius:12px;border:2px solid transparent;background:#fff;color:#0B2545;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.ts-fl-search input:focus,.ts-fl-tools input:focus,.ts-fl-tools select:focus{outline:none;border-color:var(--ts-yellow)}
.ts-fl-tools{display:flex;gap:12px;flex-wrap:wrap;max-width:860px}.ts-fl-tools input{flex:2 1 260px;width:auto}.ts-fl-tools select{flex:1 1 220px;width:auto}
.ts-fl-results{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;background:#fff;border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,.3);max-height:420px;overflow:auto}
.ts-fl-results:empty{display:none}
.ts-fl-results a{display:block;padding:11px 16px;border-bottom:1px solid #eef2f7;color:#0B2545!important;text-decoration:none!important}
.ts-fl-results a:hover,.ts-fl-results a:focus{background:#f0f7ff}
.ts-fl-results b{color:#1a6fc0}.ts-fl-results small{display:block;color:#6a7a90;font-size:12px}
.ts-fl-results p{margin:0;padding:12px 16px;color:#6a7a90}
.ts-fl-warn{margin:24px 0;border-left:6px solid var(--ts-yellow);background:#0B2545;color:#e8eef7;border-radius:10px;padding:14px 18px;font-size:.93rem}
.ts-fl-warn strong{color:var(--ts-yellow)}
.ts-fl-grid{list-style:none;margin:0 0 32px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.ts-fl-grid li{margin:0}
.ts-fl-grid a{display:block;height:100%;padding:16px 18px;border-radius:14px;background:#f4f7fb;border:1px solid #e1e8f1;text-decoration:none!important;color:#0B2545!important;transition:transform .15s,border-color .15s}
.ts-fl-grid a:hover{border-color:var(--ts-blue);transform:translateY(-2px)}
.ts-fl-grid strong{display:block;font-size:1.02rem}.ts-fl-grid span{font-size:13px;color:#5b6b80}
.ts-fl-grid em{display:inline-block;margin-top:6px;font-style:normal;font-size:11px;font-weight:700;background:#e6eef8;color:#1a6fc0;border-radius:99px;padding:2px 8px}
.ts-fl-fams{font-size:.93rem}
.ts-fl-tablewrap{margin:8px 0 32px}
.ts-fl-table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;border:1px solid #e1e8f1;border-radius:14px;overflow:hidden}
.ts-fl-table th{background:#0B2545;color:#fff;text-align:left;padding:12px 14px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.ts-fl-table td{padding:12px 14px;border-top:1px solid #e9eef5;vertical-align:top}
.ts-fl-table tr:nth-child(even) td{background:#fafcfe}
.ts-fl-table tr:target td,.ts-fl-table tr.ts-fl-hit td{background:#fff8d6}
.ts-fl-off{display:none}
.ts-fl-code{white-space:nowrap;width:1%}.ts-fl-code strong{display:block;color:#0B2545;font-size:15px}
.ts-fl-sev{display:inline-block;margin-top:4px;font-size:11px;font-weight:700;border-radius:99px;padding:2px 8px;background:#e6eef8;color:#1a6fc0}
.ts-fl-sev-fault,.ts-fl-sev-protection{background:#fde8e8;color:#b71c1c}.ts-fl-sev-alarm,.ts-fl-sev-warning{background:#fff3cd;color:#7a5a00}
.ts-fl-table summary{cursor:pointer;font-weight:700;color:#0B2545;list-style-position:outside}
.ts-fl-table details p,.ts-fl-table details ul{margin:8px 0 0}.ts-fl-table details ul{padding-left:20px}
.ts-fl-h{font-weight:700;color:#0B2545}
.ts-fl-row-foot{font-size:12.5px;color:#6a7a90}
.ts-fl-help{background:none;border:0;padding:0;color:#1a6fc0;font:700 12.5px Montserrat,sans-serif;text-decoration:underline;cursor:pointer}
.ts-fl-show-sm{display:none}
.ts-fl-pager{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;align-items:center}
.ts-fl-pager button{min-width:40px;height:40px;border-radius:10px;border:1px solid #d5deea;background:#fff;color:#0B2545;font:700 14px Montserrat,sans-serif;cursor:pointer;padding:0 10px}
.ts-fl-pager button[aria-current]{background:#0B2545;color:#fff;border-color:#0B2545}
.ts-fl-pager span{color:#6a7a90;font-size:13px;margin-left:6px}
.ts-fl-faq details{border-bottom:1px solid #e9eef5;padding:12px 0}.ts-fl-faq summary{cursor:pointer;font-weight:700;color:#0B2545}
.ts-fl-cta{display:grid;grid-template-columns:1fr 1.3fr;gap:28px;background:radial-gradient(circle at 0 0,#123764,#0B2545 60%);color:#dbe5f2;border-radius:20px;padding:32px;margin:40px 0}
body.ts-theme .ts-fl-cta h2{color:#fff;margin:0 0 6px}
.ts-fl-cta p{margin:0 0 10px}.ts-fl-cta a{color:var(--ts-yellow)!important}
.ts-fl-area{font-size:.92rem;color:var(--ts-muted)}
.ts-fl-cta-phone{font-weight:700}
.ts-fl-form label{display:block;font-size:13px;font-weight:600;color:inherit;margin-bottom:10px}
.ts-fl-form input,.ts-fl-form textarea{display:block;width:100%;margin-top:4px;font:500 15px Montserrat,sans-serif;padding:11px 13px;border-radius:10px;border:1px solid #c9d5e4;background:#fff;color:#0B2545}
.ts-fl-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ts-fl-hp{position:absolute!important;left:-9999px!important}
.ts-fl-status{min-height:1em;margin:8px 0 0;font-weight:600}.ts-fl-status.ok{color:#38b26b}.ts-fl-status.err{color:#e05656}
.ts-fl-small{font-size:12px;opacity:.75;margin:6px 0 0}
.ts-fl-src{font-size:.85rem;color:#5b6b80}.ts-fl-src h2{font-size:1.1rem}.ts-fl-src li{margin:3px 0}
/* Popup: small corner card, never covers the page */
.ts-fl-pop{position:fixed;right:20px;bottom:96px;z-index:130;width:380px;max-width:calc(100vw - 24px);background:#0B2545;color:#dbe5f2;border:1px solid rgba(255,215,0,.35);border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.4);transform:translateY(20px);opacity:0;transition:transform .3s,opacity .3s}
.ts-fl-pop.on{transform:none;opacity:1}
.ts-fl-pop-x{position:absolute;top:6px;right:8px;background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:6px;z-index:1}
.ts-fl-pop-bar{display:block;width:100%;text-align:left;background:none;border:0;color:#fff;padding:16px 44px 6px 18px;font:800 16px Montserrat,sans-serif;cursor:default}
.ts-fl-pop-bar small{display:block;font-weight:500;font-size:13px;color:var(--ts-yellow);margin-top:2px}
.ts-fl-pop-body{padding:6px 18px 16px;max-height:70vh;overflow:auto}
.ts-fl-pop .ts-fl-form label{color:#dbe5f2}
@media(max-width:767px){
 .ts-fl-hero{padding:36px 0 28px}
 .ts-fl-hide-sm{display:none}.ts-fl-show-sm{display:inline}
 .ts-fl-cta{grid-template-columns:1fr;padding:22px}
 .ts-fl-row{grid-template-columns:1fr}
 .ts-fl-table{font-size:14px}.ts-fl-table td{padding:10px}
 .ts-fl-pop{left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));width:auto}
 .ts-fl-pop.open .ts-fl-pop-body{max-height:calc(100vh - 230px)}
 .ts-fl-pop-bar{cursor:pointer;padding:14px 44px 14px 16px}
 .ts-fl-pop:not(.open) .ts-fl-pop-body{display:none}
}
.ts-fl-table,.ts-fl-table tr{scroll-margin-top:96px}

/* v1.6.0 brand logos */
.ts-fl-logo{display:flex;align-items:center;justify-content:flex-start;height:44px;margin:0 0 10px}
.ts-fl-logo img{max-height:40px;max-width:150px;width:auto;height:auto;object-fit:contain}
.ts-fl-badge{width:56px;justify-content:center;border-radius:10px;background:#0B2545;color:#fff;font-weight:800;font-size:15px;letter-spacing:.04em}
.ts-fl-brandhead{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:8px 0 12px}
body.ts-theme .ts-fl-brandhead h1{margin:0}
.ts-fl-logo-lg{height:72px;margin:0;padding:10px 16px;background:#fff;border-radius:14px;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.ts-fl-logo-lg img{max-height:52px;max-width:190px}
.ts-fl-logo-lg.ts-fl-badge{width:auto;min-width:72px;background:#fff;color:#0B2545;font-size:20px}
.ts-fl-rlogo{height:18px;width:auto;max-width:70px;vertical-align:middle;margin-right:8px;background:#fff;border-radius:4px;padding:1px 3px}

.ts-safety-box{display:flex;gap:12px;align-items:flex-start;margin:16px 0;padding:14px 16px;background:#fff1f0;border:2px solid #d93025;border-radius:12px;color:#5c0b05;font-size:.95rem;line-height:1.5}.ts-safety-box p{margin:0}.ts-safety-box strong{color:#b3261e}.ts-safety-box a{color:#b3261e;font-weight:700}.ts-safety-ico{flex:0 0 28px;height:28px;border-radius:50%;background:#d93025;color:#fff;font-weight:800;display:grid;place-items:center}
