
:root{--tp-bg:#070b12;--tp-panel:#0d131d;--tp-panel2:#111a26;--tp-text:#f5f7fb;--tp-muted:#8d9aaa;--tp-line:rgba(255,255,255,.08);--tp-blue:#3b82f6;--tp-purple:#7c3aed;--tp-green:#22c55e}
*{box-sizing:border-box}.tp-site{background:var(--tp-bg);color:var(--tp-text);min-height:100vh;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.tp-site a{color:inherit;text-decoration:none}.tp-container{width:min(1280px,calc(100% - 40px));margin:auto}
.tp-topbar{height:38px;background:#05080d;border-bottom:1px solid var(--tp-line);font-size:12px}.tp-topbar-inner{display:flex;align-items:center;justify-content:space-between;height:100%;color:var(--tp-muted)}.tp-top-message{color:#b9c4d3}.tp-top-message::first-letter{color:#3b82f6}.tp-social{display:flex;gap:14px}.tp-social a{opacity:.75}.tp-social a:hover{opacity:1;color:#60a5fa}
.tp-nav-wrap{height:76px;background:rgba(7,11,18,.94);border-bottom:1px solid var(--tp-line);position:relative;z-index:20}.tp-nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}.tp-logo img{max-width:190px;width:auto}.tp-nav-menu{display:flex;align-items:center;gap:22px}.tp-menu{display:flex;align-items:center;gap:26px;margin:0;padding:0;list-style:none}.tp-menu>li>a{font-size:14px;font-weight:600;color:#cbd5e1;padding:29px 0;display:block}.tp-menu>li>a:hover,.tp-menu>li.current-menu-item>a{color:#60a5fa}.tp-search-btn,.tp-theme-toggle{border:0;background:none;color:#cbd5e1;font-size:24px;cursor:pointer}.tp-theme-toggle{font-size:20px}.tp-mobile-toggle{display:none;background:none;border:0}.tp-mobile-toggle span{display:block;width:24px;height:2px;background:#fff;margin:5px}
.tp-hero{padding:28px 0 20px}.tp-hero-shell{height:480px;position:relative;overflow:hidden;border:1px solid var(--tp-line);border-radius:18px;background:#0b1018}.tp-slides,.tp-slide{height:100%}.tp-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s}.tp-slide.is-active{opacity:1;visibility:visible}.tp-slide-bg,.tp-slide-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tp-slide-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,7,14,.97) 0%,rgba(3,7,14,.78) 42%,rgba(3,7,14,.15) 100%)}.tp-slide-content{position:absolute;left:55px;top:50%;transform:translateY(-50%);width:min(610px,60%)}.tp-badge,.tp-kicker{display:inline-block;color:#fff;background:linear-gradient(90deg,var(--tp-purple),#2563eb);padding:7px 12px;border-radius:7px;font-size:11px;font-weight:800;letter-spacing:.5px}.tp-kicker{background:none;color:#60a5fa;padding:0;margin-bottom:7px}.tp-slide h1{font-size:46px;line-height:1.08;margin:16px 0 14px;letter-spacing:-1.5px}.tp-slide p{color:#c2cbd8;font-size:16px;line-height:1.7;max-width:570px}.tp-meta{display:flex;gap:18px;color:#a9b4c3;font-size:13px;margin:18px 0}.tp-btn{display:inline-flex;align-items:center;padding:12px 20px;border-radius:8px;font-weight:700;font-size:14px}.tp-btn-primary{background:#2563eb;box-shadow:0 8px 28px rgba(37,99,235,.25)}.tp-slider-prev,.tp-slider-next{position:absolute;top:50%;transform:translateY(-50%);border:1px solid var(--tp-line);background:rgba(5,9,15,.72);color:#fff;width:42px;height:42px;border-radius:50%;font-size:28px;cursor:pointer;z-index:3}.tp-slider-prev{left:15px}.tp-slider-next{right:15px}.tp-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:7px;z-index:3}.tp-dots button{width:8px;height:8px;border:0;border-radius:50%;background:#667085;cursor:pointer;padding:0}.tp-dots button.active{width:25px;border-radius:8px;background:#3b82f6}
.tp-categories{padding:10px 0 34px}.tp-category-grid{display:grid;grid-template-columns:repeat(5,1fr);background:var(--tp-panel);border:1px solid var(--tp-line);border-radius:14px;overflow:hidden}.tp-category{padding:20px;display:flex;gap:13px;align-items:center;border-right:1px solid var(--tp-line)}.tp-category:last-child{border:0}.tp-category:hover{background:#111a27}.tp-icon{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;background:#101b33;color:#60a5fa;font-size:19px;flex:none}.tp-category b{display:block;font-size:13px;margin-bottom:5px}.tp-category small{display:block;color:var(--tp-muted);font-size:11px;line-height:1.4}
.tp-section{padding:28px 0 42px}.tp-section-alt{background:#090e16;border-top:1px solid var(--tp-line);border-bottom:1px solid var(--tp-line)}.tp-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.tp-section-head h2{margin:0;font-size:25px}.tp-link{font-size:13px;color:#60a5fa}.tp-post-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tp-card,.tp-project,.tp-server{background:var(--tp-panel);border:1px solid var(--tp-line);border-radius:12px;overflow:hidden}.tp-card:hover,.tp-project:hover,.tp-server:hover{border-color:rgba(59,130,246,.45);transform:translateY(-2px);transition:.2s}.tp-card-image{display:block;height:170px;position:relative;overflow:hidden}.tp-card-image img{width:100%;height:100%;object-fit:cover}.tp-card-tag{position:absolute;left:10px;bottom:10px;background:#101827dd;color:#7dd3fc;border:1px solid #334155;padding:4px 8px;border-radius:5px;font-size:10px}.tp-card-body{padding:15px}.tp-card h3,.tp-project h3{font-size:16px;line-height:1.4;margin:0 0 8px}.tp-card h3 a:hover,.tp-project h3 a:hover{color:#60a5fa}.tp-card-meta{font-size:11px;color:#778397;margin-bottom:10px}.tp-card p,.tp-project p{font-size:12px;color:#8d9aaa;line-height:1.55;margin:0}
.tp-project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tp-project-image{display:block;height:145px}.tp-project-image img{width:100%;height:100%;object-fit:cover}.tp-project-body{padding:14px}.tp-project-body>span{color:#60a5fa;font-size:10px;text-transform:uppercase;font-weight:700}.tp-small-btn{display:inline-block;margin-top:13px;padding:7px 10px;border:1px solid #334155;border-radius:6px;font-size:11px;color:#cbd5e1}.tp-server-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tp-server{position:relative;padding-bottom:15px}.tp-server-cover{height:120px;display:grid;place-items:center;font-size:25px;font-weight:900;letter-spacing:2px;background:radial-gradient(circle at 50% 20%,#1e3a5f,#0c111b 65%);color:#e5e7eb}.tp-server b,.tp-server small{display:block;padding:0 15px}.tp-server b{font-size:14px;margin-top:12px}.tp-server small{color:#7f8da1;font-size:11px;margin-top:5px}.tp-server>span{position:absolute;right:14px;bottom:13px;color:#22c55e}
.tp-trust{padding:18px 0 35px}.tp-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);background:var(--tp-panel);border:1px solid var(--tp-line);border-radius:14px;overflow:hidden}.tp-trust-grid>div{padding:20px;border-right:1px solid var(--tp-line)}.tp-trust-grid>div:last-child{border:0}.tp-trust b{display:block;font-size:13px;margin-bottom:6px}.tp-trust span{font-size:11px;color:#7f8da1}
.tp-footer{border-top:1px solid var(--tp-line);padding:48px 0 0;background:#05080d}.tp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:50px;padding-bottom:40px}.tp-footer-grid p{color:#7f8da1;max-width:330px;line-height:1.7;font-size:13px}.tp-footer-grid h4{font-size:13px;margin:0 0 15px}.tp-footer-grid>a,.tp-footer-grid>div>a{display:block;color:#7f8da1;font-size:12px;margin:9px 0}.tp-footer-grid>div>a:hover{color:#60a5fa}.tp-footer-social{display:flex;gap:13px}.tp-footer-social a{display:inline!important;font-size:15px!important}.tp-footer-bottom{border-top:1px solid var(--tp-line);padding:18px 0;display:flex;justify-content:space-between;color:#657184;font-size:11px}
#back2top{position:fixed;right:20px;bottom:20px;width:38px;height:38px;border-radius:8px;background:#2563eb;color:#fff;display:grid;place-items:center;cursor:pointer;z-index:50}
@media(max-width:1000px){.tp-category-grid{grid-template-columns:repeat(3,1fr)}.tp-category:nth-child(3){border:0}.tp-category:nth-child(n+4){display:none}.tp-post-grid,.tp-project-grid{grid-template-columns:repeat(2,1fr)}.tp-server-grid{grid-template-columns:repeat(2,1fr)}.tp-slide h1{font-size:38px}.tp-footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:700px){.tp-container{width:min(100% - 24px,1280px)}.tp-top-message{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-social{display:none}.tp-nav-wrap{height:64px}.tp-logo img{max-height:38px}.tp-nav-menu{display:none}.tp-mobile-toggle{display:block}.tp-hero{padding-top:12px}.tp-hero-shell{height:430px}.tp-slide-content{left:25px;width:calc(100% - 50px)}.tp-slide h1{font-size:31px}.tp-slide p{font-size:13px}.tp-category-grid{grid-template-columns:1fr}.tp-category{border-right:0;border-bottom:1px solid var(--tp-line)}.tp-category:nth-child(n+4){display:flex}.tp-post-grid,.tp-project-grid,.tp-server-grid{grid-template-columns:1fr}.tp-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.tp-footer-grid>div:first-child{grid-column:1/-1}.tp-trust-grid{grid-template-columns:1fr 1fr}.tp-trust-grid>div:nth-child(2){border-right:0}.tp-trust-grid>div:nth-child(n+3){border-top:1px solid var(--tp-line)}.tp-footer-bottom{display:block}.tp-footer-bottom span{display:block;margin:5px 0}}
html,body{margin:0;padding:0;background:var(--tp-bg);color:var(--tp-text)}
.tp-site{width:100%;overflow:hidden}.tp-site main{min-height:40vh}
.tp-light .tp-site{--tp-bg:#f4f7fb;--tp-panel:#fff;--tp-panel2:#eef2f7;--tp-text:#0b1220;--tp-muted:#64748b;--tp-line:rgba(15,23,42,.10)}
@media(max-width:700px){.tp-nav-menu.is-open{display:flex;position:absolute;top:64px;left:12px;right:12px;background:#0b1018;border:1px solid var(--tp-line);padding:15px;border-radius:12px;flex-direction:column;align-items:stretch}.tp-menu{flex-direction:column;align-items:stretch;gap:0}.tp-menu>li>a{padding:10px 0}}


/* TR POLARIS NAVIGATION — isolated from legacy Ripple rules */
.tp-nav { position: relative; z-index: 100; }
.tp-nav nav { min-width: 0; }
.tp-menu, .tp-menu ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.tp-menu > li { position: relative; }
.tp-menu > li > a { position: relative; display: flex !important; align-items: center; gap: 7px; white-space: nowrap; }
.tp-menu > li > a .toggle-icon { display: inline-flex; align-items: center; font-size: 12px; opacity: .8; transition: transform .18s ease; }
.tp-menu > li:hover > a .toggle-icon { transform: rotate(180deg); }
.tp-menu .sub-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    min-width: 245px !important;
    max-width: 320px !important;
    margin: 0 !important;
    padding: 8px !important;
    background: rgba(9,14,23,.98) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.40) !important;
    backdrop-filter: blur(18px);
    z-index: 1000 !important;
}
.tp-menu > .menu-item:hover > .sub-menu,
.tp-menu > .menu-item:focus-within > .sub-menu,
.tp-menu > .menu-item.is-open > .sub-menu { display: block !important; }
.tp-menu .sub-menu li { position: relative; }
.tp-menu .sub-menu li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 12px !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    line-height: 1.35;
    border-radius: 8px;
    white-space: normal !important;
}
.tp-menu .sub-menu li > a:hover,
.tp-menu .sub-menu li.active > a { background: rgba(59,130,246,.13) !important; color: #fff !important; }
.tp-menu .sub-menu .sub-menu { top: -8px !important; left: calc(100% + 8px) !important; }
.tp-menu .sub-menu .toggle-icon { margin-left: auto; }
@media (min-width: 901px) {
    .tp-nav-menu { flex: 1; justify-content: flex-end; min-width: 0; }
    .tp-menu { flex-wrap: nowrap; }
    .tp-menu > li > a { padding: 29px 0 !important; }
    .tp-menu > li:last-child > .sub-menu { left: auto !important; right: 0 !important; }
}
@media (max-width: 900px) {
    .tp-mobile-toggle { position: relative; z-index: 1101; display: block !important; padding: 6px; }
    .tp-nav-menu { display: none !important; }
    .tp-nav-menu.is-open {
        display: flex !important; position: absolute !important; top: calc(100% + 10px) !important; left: 0 !important; right: 0 !important;
        flex-direction: column !important; align-items: stretch !important; gap: 10px !important; padding: 14px !important;
        background: rgba(8,13,21,.99) !important; border: 1px solid rgba(255,255,255,.09) !important; border-radius: 14px !important;
        box-shadow: 0 22px 50px rgba(0,0,0,.38) !important; z-index: 1100 !important;
    }
    .tp-menu { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 2px !important; }
    .tp-menu > li > a { padding: 11px 10px !important; border-radius: 9px; }
    .tp-menu > li > a:hover { background: rgba(59,130,246,.10); }
    .tp-menu .sub-menu, .tp-menu .sub-menu .sub-menu {
        position: static !important; min-width: 0 !important; max-width: none !important; margin: 2px 0 6px 10px !important;
        padding: 4px !important; background: rgba(255,255,255,.03) !important; border-color: rgba(255,255,255,.07) !important; box-shadow: none !important;
    }
    .tp-menu > .menu-item:hover > .sub-menu { display: none !important; }
    .tp-menu > .menu-item.is-open > .sub-menu { display: block !important; }
}

/* ===== TR POLARIS V1.3 CONTENT PAGES ===== */
.tp-page { background: var(--tp-bg); }
.tp-page-hero, .tp-post-hero { padding: 42px 0 34px; border-bottom: 1px solid var(--tp-line); background: linear-gradient(180deg, rgba(18,27,42,.72), rgba(8,13,21,.96)); }
.tp-page-hero h1, .tp-post-hero h1 { margin: 8px 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.06; letter-spacing: -.025em; }
.tp-page-hero p, .tp-post-excerpt { margin: 0; max-width: 850px; color: var(--tp-muted); font-size: 15px; line-height: 1.7; }
.tp-breadcrumb { display:flex; gap:8px; flex-wrap:wrap; color:#778397; font-size:12px; }
.tp-breadcrumb span { color:#334155; }
.tp-page-grid { display:grid; grid-template-columns:minmax(0, 1fr) 320px; gap:24px; padding-top:34px; padding-bottom:52px; }
.tp-page-main { min-width:0; }
.tp-list-grid { display:grid; gap:16px; }
.tp-list-card { display:grid; grid-template-columns:280px minmax(0,1fr); gap:18px; background:var(--tp-panel); border:1px solid var(--tp-line); border-radius:14px; overflow:hidden; }
.tp-list-card:hover { border-color:rgba(59,130,246,.38); transform:translateY(-1px); transition:.2s; }
.tp-list-thumb { display:block; min-height:190px; background:#0d1420; overflow:hidden; }
.tp-list-thumb img { width:100%; height:100%; min-height:190px; object-fit:cover; display:block; }
.tp-list-body { padding:22px 22px 22px 0; align-self:center; }
.tp-list-label, .tp-post-category { color:#60a5fa; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.tp-list-body h2 { margin:7px 0 10px; font-size:22px; line-height:1.28; }
.tp-list-body h2 a:hover { color:#60a5fa; }
.tp-list-meta, .tp-post-meta { display:flex; gap:10px; flex-wrap:wrap; color:#738198; font-size:11px; }
.tp-list-body p { margin:12px 0 0; color:#8b98aa; font-size:13px; line-height:1.65; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.tp-list-body .tp-small-btn { margin-top:14px; }
.tp-sidebar { min-width:0; }
.tp-sidebar-card { margin-bottom:16px; background:var(--tp-panel); border:1px solid var(--tp-line); border-radius:14px; padding:18px; }
.tp-sidebar-card h3 { margin:0 0 14px; font-size:16px; }
.tp-sidebar-post { display:grid; grid-template-columns:72px minmax(0,1fr); gap:11px; align-items:center; padding:10px 0; border-top:1px solid var(--tp-line); }
.tp-sidebar-post:first-of-type { border-top:0; padding-top:0; }
.tp-sidebar-img { width:72px; height:54px; overflow:hidden; border-radius:8px; background:#0b111a; }
.tp-sidebar-img img { width:100%; height:100%; object-fit:cover; }
.tp-sidebar-post b { display:block; color:#d9e2ef; font-size:12px; line-height:1.35; }
.tp-sidebar-post small { display:block; color:#6f7c90; font-size:10px; margin-top:5px; }
.tp-sidebar-copy { margin:0; color:#7f8da1; font-size:12px; line-height:1.6; }
.tp-sticky { position:sticky; top:24px; }
.tp-empty { padding:50px 24px; text-align:center; background:var(--tp-panel); border:1px solid var(--tp-line); border-radius:14px; }
.tp-empty h2 { margin:0 0 8px; font-size:20px; }
.tp-empty p { margin:0; color:var(--tp-muted); }
.tp-pagination { margin-top:20px; }
.tp-pagination nav { display:flex; justify-content:center; }
.tp-pagination .pagination { display:flex; gap:7px; padding:0; margin:0; }
.tp-pagination .page-item .page-link { background:var(--tp-panel); color:#c6d0dd; border:1px solid var(--tp-line); border-radius:8px; padding:8px 11px; }
.tp-pagination .page-item.active .page-link { background:#2563eb; border-color:#2563eb; color:white; }
.tp-post-hero h1 { max-width:1000px; }
.tp-post-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:24px; padding-top:30px; padding-bottom:55px; }
.tp-post-content-card { background:var(--tp-panel); border:1px solid var(--tp-line); border-radius:16px; overflow:hidden; }
.tp-post-cover { aspect-ratio:16/7; background:#0b1119; overflow:hidden; }
.tp-post-cover img { width:100%; height:100%; display:block; object-fit:cover; }
.tp-richtext { padding:30px 34px; }
.tp-richtext .ck-content { color:#c7d0dd; font-size:16px; line-height:1.9; }
.tp-richtext .ck-content > *:first-child { margin-top:0; }
.tp-richtext .ck-content h2, .tp-richtext .ck-content h3, .tp-richtext .ck-content h4 { color:#f3f7fb; line-height:1.25; margin-top:2em; }
.tp-richtext .ck-content p { margin:0 0 1.1em; }
.tp-richtext .ck-content a { color:#60a5fa; text-decoration:underline; text-decoration-color:rgba(96,165,250,.35); text-underline-offset:3px; }
.tp-richtext .ck-content ul, .tp-richtext .ck-content ol { padding-left:1.3em; }
.tp-richtext .ck-content li { margin:.45em 0; }
.tp-richtext .ck-content blockquote { margin:1.5em 0; padding:14px 18px; border-left:3px solid #2563eb; background:rgba(37,99,235,.08); color:#9fb0c5; border-radius:0 10px 10px 0; }
.tp-richtext .ck-content pre, .tp-richtext .ck-content code { background:#070b12; color:#d7e2f0; border:1px solid rgba(255,255,255,.07); border-radius:8px; }
.tp-richtext .ck-content pre { padding:16px; overflow:auto; }
.tp-richtext .ck-content img { max-width:100%; height:auto; border-radius:10px; }
.tp-post-tags { display:flex; gap:8px; flex-wrap:wrap; padding:0 34px 24px; }
.tp-post-tags a { padding:6px 9px; background:#0c1522; border:1px solid var(--tp-line); color:#8db8ef; border-radius:7px; font-size:11px; }
.tp-share { display:flex; align-items:center; gap:13px; padding:18px 34px; border-top:1px solid var(--tp-line); border-bottom:1px solid var(--tp-line); color:#78869a; font-size:12px; }
.tp-related { padding:26px 34px 34px; }
.tp-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tp-related .tp-card-image { height:160px; }

/* Menu: remove the hover gap so the pointer can travel into the dropdown */
.tp-menu > .menu-item { padding-bottom: 0 !important; }
.tp-menu .sub-menu { top:100% !important; }
.tp-menu .sub-menu::before { content:""; position:absolute; left:0; right:0; top:-9px; height:10px; }
.tp-menu .sub-menu .sub-menu { top:-8px !important; left:calc(100% + 1px) !important; }
.tp-menu .sub-menu .sub-menu::before { top:0; left:-8px; right:auto; width:9px; height:100%; }

@media (max-width: 1050px) {
  .tp-page-grid, .tp-post-layout { grid-template-columns:minmax(0,1fr); }
  .tp-sidebar { order:2; }
  .tp-sticky { position:static; }
}
@media (max-width: 700px) {
  .tp-page-hero, .tp-post-hero { padding:30px 0 26px; }
  .tp-page-hero h1, .tp-post-hero h1 { font-size:32px; }
  .tp-list-card { grid-template-columns:1fr; }
  .tp-list-thumb, .tp-list-thumb img { min-height:220px; height:220px; }
  .tp-list-body { padding:18px; }
  .tp-richtext { padding:22px 18px; }
  .tp-post-tags, .tp-share, .tp-related { padding-left:18px; padding-right:18px; }
  .tp-related-grid { grid-template-columns:1fr; }
}

.tp-light .tp-page-hero, .tp-light .tp-post-hero { background:linear-gradient(180deg,#eef3f9,#e7edf5); }
.tp-light .tp-richtext .ck-content { color:#344155; }
.tp-light .tp-richtext .ck-content h2, .tp-light .tp-richtext .ck-content h3, .tp-light .tp-richtext .ck-content h4 { color:#0f172a; }
.tp-light .tp-sidebar-post b, .tp-light .tp-list-body h2, .tp-light .tp-page-hero h1, .tp-light .tp-post-hero h1 { color:#0f172a; }

/* TR Polaris v2 content management UI */
.tp-home-intro { padding: 22px 0 6px; }
.tp-intro-panel { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 26px; background:linear-gradient(135deg,rgba(37,99,235,.13),rgba(15,23,42,.2)); border:1px solid var(--tp-line); border-radius:16px; box-shadow:0 16px 50px rgba(0,0,0,.16); }
.tp-intro-panel h2 { margin:5px 0 8px; font-size:28px; line-height:1.18; }
.tp-intro-panel p { margin:0; color:#8da0b6; max-width:760px; line-height:1.7; }
.tp-btn-ghost { border:1px solid rgba(96,165,250,.35); background:rgba(15,23,42,.55); color:#dce8f8; }
.tp-btn-ghost:hover { border-color:rgba(96,165,250,.7); color:white; }
.tp-download-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.tp-download-card { display:flex; align-items:center; gap:14px; min-width:0; padding:16px 18px; border:1px solid var(--tp-line); background:var(--tp-panel); border-radius:12px; transition:.18s ease; }
.tp-download-card:hover { transform:translateY(-2px); border-color:rgba(59,130,246,.45); }
.tp-download-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:10px; background:rgba(37,99,235,.12); color:#60a5fa; font-size:18px; flex:0 0 auto; }
.tp-download-main { min-width:0; flex:1; }
.tp-download-main b { display:block; color:#e8eef6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tp-download-main small { display:block; margin-top:4px; color:#73839a; font-size:11px; }
.tp-download-arrow { color:#60a5fa; }
.tp-guide-facts, .tp-product-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:var(--tp-line); border-bottom:1px solid var(--tp-line); }
.tp-guide-facts > div, .tp-product-facts > div { padding:14px 16px; background:#0a1018; min-width:0; }
.tp-guide-facts span, .tp-product-facts span { display:block; color:#6f7f93; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.tp-guide-facts b, .tp-product-facts b { display:block; margin-top:5px; color:#dce7f3; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tp-download-hero { display:flex; align-items:center; justify-content:space-between; gap:22px; margin:24px 30px 0; padding:22px; border:1px solid rgba(37,99,235,.25); background:linear-gradient(135deg,rgba(37,99,235,.13),rgba(11,17,25,.75)); border-radius:14px; }
.tp-download-hero h2 { margin:3px 0 4px; font-size:22px; }
.tp-download-hero p { margin:0; color:#8c9bad; font-size:13px; }
.tp-action-bar { display:flex; flex-wrap:wrap; gap:9px; padding:20px 30px 0; }
.tp-small-btn-primary { background:#2563eb !important; border-color:#2563eb !important; color:#fff !important; }
.tp-info-box { margin:0 30px 24px; padding:18px 20px; border:1px solid var(--tp-line); border-radius:12px; background:rgba(8,13,20,.7); }
.tp-info-box h3 { margin:0 0 9px; font-size:15px; }
.tp-info-box > div { color:#9aa8ba; font-size:13px; line-height:1.7; }
.tp-info-box pre { margin:0; color:#c9d6e5; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px; line-height:1.65; overflow:auto; white-space:pre-wrap; }
.tp-toc { display:flex; flex-direction:column; gap:7px; }
.tp-toc a { color:#8798ac; font-size:12px; line-height:1.45; padding-left:10px; border-left:2px solid transparent; }
.tp-toc a:hover, .tp-toc a.is-active { color:#60a5fa; border-left-color:#2563eb; }
.tp-toc a.level-3 { padding-left:24px; font-size:11px; }
.tp-code-wrap { position:relative; margin:1.2em 0; }
.tp-copy-code { position:absolute; top:8px; right:8px; z-index:2; border:1px solid rgba(255,255,255,.1); border-radius:7px; padding:5px 8px; background:rgba(0,0,0,.42); color:#b5c5d8; font-size:10px; cursor:pointer; }
.tp-copy-code:hover { color:white; border-color:rgba(96,165,250,.35); }
.tp-light .tp-intro-panel { background:linear-gradient(135deg,#e8f0fc,#f4f7fb); }
.tp-light .tp-intro-panel p { color:#526274; }
.tp-light .tp-guide-facts > div, .tp-light .tp-product-facts > div { background:#f7f9fc; }
.tp-light .tp-guide-facts b, .tp-light .tp-product-facts b { color:#1f2937; }
.tp-light .tp-download-main b { color:#0f172a; }
.tp-light .tp-info-box { background:#f8fafc; }
.tp-light .tp-info-box > div, .tp-light .tp-info-box pre { color:#475569; }

@media (max-width: 800px) {
  .tp-intro-panel, .tp-download-hero { flex-direction:column; align-items:flex-start; }
  .tp-download-grid { grid-template-columns:1fr; }
  .tp-guide-facts, .tp-product-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* TR Polaris 2.2: search overlay + header controls */
.tp-nav-menu { gap: 14px; }
.tp-search-btn,
.tp-theme-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: #cbd5e1;
    line-height: 1;
    transition: .18s ease;
}
.tp-search-btn { font-size: 22px; }
.tp-theme-toggle { font-size: 18px; margin-left: 0; }
.tp-search-btn:hover,
.tp-theme-toggle:hover { color:#fff; border-color:rgba(96,165,250,.4); background:rgba(37,99,235,.10); }
.tp-search-overlay { position:fixed; inset:0; z-index:5000; display:none; }
.tp-search-overlay.is-open { display:block; }
.tp-search-backdrop { position:absolute; inset:0; background:rgba(1,4,9,.76); backdrop-filter:blur(7px); }
.tp-search-dialog {
    position:relative; width:min(720px,calc(100% - 28px)); margin:10vh auto 0;
    padding:30px; background:#0c121c; border:1px solid rgba(96,165,250,.18); border-radius:18px;
    box-shadow:0 30px 90px rgba(0,0,0,.55);
}
.tp-search-kicker { color:#60a5fa; font-size:10px; font-weight:800; letter-spacing:.16em; }
.tp-search-dialog h2 { margin:7px 0 8px; font-size:28px; color:#f7fafc; }
.tp-search-dialog p { margin:12px 0 0; color:#7f8da1; font-size:12px; line-height:1.6; }
.tp-search-form { display:flex; gap:10px; margin-top:18px; }
.tp-search-input { flex:1; min-width:0; height:48px; padding:0 14px; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:#070c13; color:#e5edf7; outline:none; }
.tp-search-input:focus { border-color:rgba(59,130,246,.7); box-shadow:0 0 0 3px rgba(59,130,246,.13); }
.tp-search-submit { height:48px; padding:0 20px; border:0; border-radius:10px; background:#2563eb; color:#fff; font-weight:700; cursor:pointer; }
.tp-search-close { position:absolute; top:12px; right:13px; width:36px; height:36px; border:1px solid rgba(255,255,255,.08); border-radius:9px; background:rgba(255,255,255,.03); color:#aab7c7; font-size:22px; line-height:1; cursor:pointer; }
.tp-search-close:hover { color:#fff; border-color:rgba(96,165,250,.4); }
.tp-light .tp-search-dialog { background:#fff; border-color:#dbe4ef; }
.tp-light .tp-search-dialog h2 { color:#0f172a; }
.tp-light .tp-search-dialog p { color:#64748b; }
.tp-light .tp-search-input { background:#f8fafc; color:#0f172a; border-color:#d8e0ea; }
@media (max-width:900px) {
  .tp-nav-menu.is-open { gap:12px !important; }
  .tp-nav-menu .tp-search-btn, .tp-nav-menu .tp-theme-toggle { align-self:stretch; width:100%; height:42px; flex:0 0 auto; }
  .tp-search-form { flex-direction:column; }
  .tp-search-submit { width:100%; }
}

/* TR POLARIS v3 - post gallery, lightbox, filters, GitHub and responsive media */
.tp-post-slider{position:relative;background:#070b12;border:1px solid var(--tp-line);margin:0;border-radius:0 0 14px 14px;overflow:hidden}
.tp-post-slides{position:relative;aspect-ratio:16/8;min-height:260px}.tp-post-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease}.tp-post-slide.is-active{opacity:1;visibility:visible;z-index:1}.tp-post-slide-image{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.tp-post-slide-image img{width:100%;height:100%;object-fit:cover;display:block}.tp-post-slider-prev,.tp-post-slider-next{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(6,10,16,.72);color:#fff;font-size:30px;line-height:1;z-index:3;cursor:pointer}.tp-post-slider-prev{left:14px}.tp-post-slider-next{right:14px}.tp-post-slider-dots{position:absolute;bottom:14px;left:0;right:0;z-index:3;display:flex;justify-content:center;gap:7px}.tp-post-slider-dots button{width:8px;height:8px;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,.35);cursor:pointer}.tp-post-slider-dots button.active{width:22px;border-radius:10px;background:#3b82f6}.tp-zoomable-image{cursor:zoom-in}.tp-media-embed{max-width:100%;width:100%;border:0}.tp-article-content iframe{aspect-ratio:16/9;height:auto}.tp-modal-open{overflow:hidden}.tp-lightbox{position:fixed;inset:0;z-index:10000;display:none}.tp-lightbox.is-open{display:block}.tp-lightbox-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(8px)}.tp-lightbox-dialog{position:absolute;inset:5vh 5vw;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.tp-lightbox-image{max-width:100%;max-height:84vh;object-fit:contain;border-radius:12px;box-shadow:0 25px 80px rgba(0,0,0,.55);pointer-events:auto}.tp-lightbox-close{position:absolute;right:0;top:0;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(8,13,21,.9);color:#fff;font-size:30px;cursor:pointer;pointer-events:auto}.tp-lightbox-caption{margin-top:12px;color:#cbd5e1;font-size:13px;text-align:center}.tp-update-grid,.tp-github-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tp-update-card{display:flex;align-items:center;gap:12px;padding:13px;background:var(--tp-panel);border:1px solid var(--tp-line);border-radius:12px;min-width:0}.tp-update-thumb{width:58px;height:46px;flex:0 0 58px;border-radius:8px;overflow:hidden;background:#0c1320}.tp-update-thumb img{width:100%;height:100%;object-fit:cover}.tp-update-main{display:flex;flex-direction:column;min-width:0}.tp-update-main b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-update-main small{margin-top:4px;color:var(--tp-muted);font-size:10px}.tp-update-arrow{margin-left:auto;color:#60a5fa}.tp-github-card{background:var(--tp-panel);border:1px solid var(--tp-line);border-radius:14px;padding:18px}.tp-github-head,.tp-github-project{display:flex;align-items:center;gap:12px}.tp-github-head{margin-bottom:14px}.tp-github-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#111827;color:#fff}.tp-github-head b{display:block;font-size:12px}.tp-github-head small{display:block;color:var(--tp-muted);font-size:10px;margin-top:3px}.tp-github-card h3{font-size:17px;margin:0 0 8px}.tp-github-card p{font-size:12px;color:var(--tp-muted);line-height:1.6;min-height:38px}.tp-github-stats,.tp-github-project-stats{display:flex;gap:12px;flex-wrap:wrap;color:var(--tp-muted);font-size:11px;margin:12px 0}.tp-github-project{margin:0 34px 24px;padding:18px;border:1px solid var(--tp-line);border-radius:12px;background:linear-gradient(135deg,rgba(59,130,246,.08),rgba(17,24,39,.45));flex-wrap:wrap}.tp-github-project>div:first-child{flex:1 1 320px}.tp-github-project h2{margin:4px 0 5px;font-size:20px}.tp-github-project p{margin:0;color:var(--tp-muted);font-size:12px}.tp-file-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tp-file-info-grid span{display:flex;flex-direction:column;gap:4px}.tp-file-info-grid b{font-size:10px;color:var(--tp-muted)}.tp-file-info-grid code{word-break:break-all}.tp-filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.tp-filter-chip{padding:7px 11px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#a9b5c7;font-size:11px;background:rgba(255,255,255,.03)}.tp-filter-chip.is-active,.tp-filter-chip:hover{background:rgba(59,130,246,.16);color:#fff;border-color:rgba(59,130,246,.45)}.tp-light .tp-post-slider{background:#eef2f7}.tp-light .tp-github-icon{background:#e2e8f0;color:#0f172a}.tp-light .tp-update-card,.tp-light .tp-github-card{background:#fff}.tp-light .tp-filter-chip{color:#475569;border-color:rgba(15,23,42,.10);background:#fff}.tp-light .tp-filter-chip.is-active,.tp-light .tp-filter-chip:hover{color:#0f172a;background:#eaf2ff}.tp-light .tp-github-project{background:linear-gradient(135deg,#edf4ff,#f8fafc)}
@media(max-width:1000px){.tp-update-grid,.tp-github-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.tp-post-slides{aspect-ratio:4/3}.tp-update-grid,.tp-github-grid{grid-template-columns:1fr}.tp-file-info-grid{grid-template-columns:1fr}.tp-github-project{margin-left:18px;margin-right:18px}.tp-post-slider-prev,.tp-post-slider-next{width:36px;height:36px;font-size:26px}.tp-lightbox-dialog{inset:7vh 14px}.tp-lightbox-close{right:6px}}


/* TR Polaris v3.3 content placement controls */
.tp-post-slides{height:var(--tp-slide-height,520px);aspect-ratio:auto;min-height:220px;background:#05080d}
.tp-post-slide-image img{width:100%;height:100%;display:block}
.tp-fit-contain .tp-post-slide-image img{object-fit:contain;background:#05080d}
.tp-fit-cover .tp-post-slide-image img{object-fit:cover}
.tp-fit-fill .tp-post-slide-image img{object-fit:fill}
.tp-content-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0;align-items:center}
.tp-content-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;text-decoration:none!important;font-weight:800;line-height:1;transition:.18s ease;border:1px solid transparent;cursor:pointer}
.tp-content-btn-sm{min-height:34px;padding:0 12px;font-size:12px}.tp-content-btn-md{min-height:42px;padding:0 16px;font-size:13px}.tp-content-btn-lg{min-height:50px;padding:0 20px;font-size:14px}
.tp-content-btn-primary{background:#2563eb;color:#fff!important;box-shadow:0 8px 24px rgba(37,99,235,.18)}.tp-content-btn-primary:hover{transform:translateY(-1px);background:#1d4ed8}
.tp-content-btn-ghost{background:transparent;color:#9fc0ff!important;border-color:rgba(96,165,250,.35)}.tp-content-btn-ghost:hover{background:rgba(59,130,246,.1)}
.tp-content-btn-success{background:#16a34a;color:#fff!important}.tp-content-btn-success:hover{background:#15803d}.tp-content-btn-danger{background:#dc2626;color:#fff!important}.tp-content-btn-danger:hover{background:#b91c1c}
.tp-content-btn-icon{font-size:1.05em;line-height:1}
.tp-light .tp-fit-contain .tp-post-slide-image img{background:#eef2f7}
.tp-light .tp-content-btn-ghost{color:#1d4ed8!important;border-color:rgba(29,78,216,.25)}
@media(max-width:700px){.tp-post-slides{height:var(--tp-slide-height,380px)}}

/* TP Polaris Nexus 3.4 */
.tp-logo{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none}.tp-logo img{width:56px;height:56px;object-fit:contain;display:block;flex:0 0 56px}.tp-brand-copy{display:flex;flex-direction:column;min-width:0}.tp-brand-copy strong{font-size:14px;letter-spacing:.04em;color:#f8fafc;line-height:1.1}.tp-brand-copy small{margin-top:4px;font-size:8px;letter-spacing:.14em;color:#64748b;white-space:nowrap}.tp-light .tp-brand-copy strong{color:#0f172a}.tp-content-buttons{justify-content:center}.tp-align-left{justify-content:flex-start;text-align:left}.tp-align-center{justify-content:center;text-align:center}.tp-align-right{justify-content:flex-end;text-align:right}.tp-width-auto{width:auto}.tp-width-full{width:100%}.tp-width-full .tp-content-btn{width:100%}.tp-download-shortcode-action{display:flex;min-width:180px}.tp-download-shortcode-action.tp-align-left{justify-content:flex-start}.tp-download-shortcode-action.tp-align-center{justify-content:center}.tp-download-shortcode-action.tp-align-right{justify-content:flex-end}.tp-btn-ghost{background:transparent!important;color:#9fc0ff!important;border:1px solid rgba(96,165,250,.35)!important}.tp-btn-success{background:#16a34a!important;color:#fff!important}.tp-btn-danger{background:#dc2626!important;color:#fff!important}.tp-section-heading{scroll-margin-top:110px}.tp-section-heading a,.tp-article-content h2,.tp-article-content h3{color:inherit;text-decoration:none}.tp-article-content h2,.tp-article-content h3{scroll-margin-top:110px;cursor:pointer}.tp-heading-anchor{opacity:0;margin-left:8px;color:#60a5fa;font-size:.8em}.tp-article-content h2:hover .tp-heading-anchor,.tp-article-content h3:hover .tp-heading-anchor{opacity:1}.tp-callout{margin:22px 0;padding:16px 18px;border:1px solid var(--tp-line);border-left:4px solid #60a5fa;border-radius:12px;background:rgba(12,18,28,.68);color:#cbd5e1}.tp-callout strong{display:block;margin-bottom:6px;color:#fff}.tp-callout-success{border-left-color:#22c55e}.tp-callout-warning{border-left-color:#f59e0b}.tp-callout-danger{border-left-color:#ef4444}.tp-light .tp-callout{background:#f8fafc;color:#475569}.tp-light .tp-callout strong{color:#0f172a}.tp-post-slider.tp-width-wide{width:min(100%,980px);margin-left:auto;margin-right:auto}.tp-post-slider.tp-width-full{width:100%}.tp-post-slider.tp-align-left{margin-right:auto;margin-left:0}.tp-post-slider.tp-align-center{margin-left:auto;margin-right:auto}.tp-post-slider.tp-align-right{margin-left:auto;margin-right:0}.tp-post-slider .tp-post-slide-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.tp-fit-contain .tp-post-slide-image img{object-fit:contain;object-position:center center}.tp-fit-cover .tp-post-slide-image img{object-fit:cover;object-position:center center}.tp-fit-fill .tp-post-slide-image img{object-fit:fill;object-position:center center}.tp-download-hero{align-items:center}.tp-download-hero .tp-download-copy{flex:1 1 0}.tp-download-hero .tp-download-shortcode-action{flex:0 0 auto}.tp-content-btn{margin:0}.tp-content-buttons .tp-content-btn + .tp-content-btn{margin-left:0}.tp-content-buttons{min-height:42px}
@media(max-width:700px){.tp-brand-copy{display:none}.tp-logo img{width:48px;height:48px;flex-basis:48px}.tp-download-hero .tp-download-shortcode-action{width:100%}.tp-download-hero .tp-download-shortcode-action a{width:100%}.tp-post-slider.tp-width-wide,.tp-post-slider.tp-width-full{width:100%}}

.tp-footer-brand-custom{display:flex;align-items:center;gap:10px}.tp-footer-brand-custom img{width:56px;height:56px;object-fit:contain}.tp-footer-brand-custom strong{font-size:14px;color:#f8fafc;letter-spacing:.04em}.tp-light .tp-footer-brand-custom strong{color:#0f172a}
/* TP Polaris Nexus v3.4.1 horizontal brand lockup */
.tp-logo {display:flex;align-items:center;min-width:0;text-decoration:none}
.tp-logo img {display:block;width:190px;height:auto;max-height:52px;object-fit:contain;object-position:left center;flex:0 0 auto}
.tp-light .tp-logo img{filter:none}
@media(max-width:700px){.tp-logo img{width:165px;max-height:46px}}

/* TP Polaris Nexus 3.4.2: branding, UI blocks, TOC and contact form */
.tp-logo img,
.tp-footer-brand-custom img{
  width:190px!important;
  height:auto!important;
  max-height:50px!important;
  object-fit:contain!important;
  object-position:left center!important;
  flex:0 0 auto!important;
}
.tp-footer-brand-custom img{width:180px!important;max-height:48px!important}
@media(max-width:700px){
  .tp-logo img{width:160px!important;max-height:42px!important}
  .tp-footer-brand-custom img{width:155px!important;max-height:42px!important}
}
/* TP Section Heading is a right-column TOC marker, never a visible content block. */
.tp-section-heading-marker{display:none!important}
/* Safer article shortcode rendering */
.tp-article-content .tp-post-slider,
.tp-article-content .tp-download-hero,
.tp-article-content .tp-callout,
.tp-article-content .tp-content-buttons{clear:both}
/* Contact form: match TP Polaris dark UI and keep the plugin's native submit behavior. */
.tp-page form.contact-form,
.tp-article-content form.contact-form,
.contact-form-wrapper{
  color:#cbd5e1!important;
}
.tp-page form.contact-form .contact-form-group,
.tp-article-content form.contact-form .contact-form-group{margin-bottom:18px}
.tp-page form.contact-form label,
.tp-page form.contact-form .contact-label,
.tp-article-content form.contact-form label,
.tp-article-content form.contact-form .contact-label{
  display:block!important;
  color:#dbe5f1!important;
  font-size:13px!important;
  font-weight:700!important;
  margin-bottom:7px!important;
}
.tp-page form.contact-form input:not([type=checkbox]):not([type=radio]),
.tp-page form.contact-form select,
.tp-page form.contact-form textarea,
.tp-article-content form.contact-form input:not([type=checkbox]):not([type=radio]),
.tp-article-content form.contact-form select,
.tp-article-content form.contact-form textarea{
  width:100%!important;
  background:#0a111b!important;
  color:#e6eef8!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:10px!important;
  min-height:46px!important;
  padding:11px 13px!important;
  box-shadow:none!important;
}
.tp-page form.contact-form textarea,
.tp-article-content form.contact-form textarea{min-height:150px!important;resize:vertical!important}
.tp-page form.contact-form input:focus,
.tp-page form.contact-form select:focus,
.tp-page form.contact-form textarea:focus,
.tp-article-content form.contact-form input:focus,
.tp-article-content form.contact-form select:focus,
.tp-article-content form.contact-form textarea:focus{
  border-color:rgba(59,130,246,.72)!important;
  box-shadow:0 0 0 3px rgba(59,130,246,.12)!important;
}
.tp-page form.contact-form .contact-button,
.tp-article-content form.contact-form .contact-button,
.tp-page form.contact-form button[type=submit]{
  border:0!important;
  border-radius:10px!important;
  background:#2563eb!important;
  color:#fff!important;
  font-weight:800!important;
  padding:12px 22px!important;
  box-shadow:0 12px 30px rgba(37,99,235,.22)!important;
  cursor:pointer!important;
}
.tp-page form.contact-form .contact-message,
.tp-article-content form.contact-form .contact-message{border-radius:10px!important}
.tp-light .tp-page form.contact-form input:not([type=checkbox]):not([type=radio]),
.tp-light .tp-page form.contact-form select,
.tp-light .tp-page form.contact-form textarea,
.tp-light .tp-article-content form.contact-form input:not([type=checkbox]):not([type=radio]),
.tp-light .tp-article-content form.contact-form select,
.tp-light .tp-article-content form.contact-form textarea{
  background:#fff!important;color:#0f172a!important;border-color:#d7dee8!important;
}


/* TP Polaris Nexus 3.4.3 branding/search/contact polish */
.tp-logo{display:flex!important;align-items:center!important;gap:10px!important;min-width:240px;text-decoration:none}
.tp-logo img,.tp-footer-brand-custom>img{width:48px!important;height:48px!important;max-width:48px!important;flex:0 0 48px!important;object-fit:contain!important;object-position:center!important;display:block!important}
.tp-brand-copy{display:flex!important;flex-direction:column!important;min-width:0}
.tp-brand-copy strong{display:block;font-size:14px!important;line-height:1.15!important;letter-spacing:.02em;color:#f8fafc!important;white-space:nowrap}
.tp-brand-copy small{display:block;margin-top:4px;font-size:8px!important;line-height:1.15!important;letter-spacing:.12em;color:#6b7c92!important;white-space:nowrap}
.tp-footer-brand-custom{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:14px}
.tp-footer-brand-custom .tp-brand-copy strong{font-size:15px!important}
.tp-footer-brand-custom .tp-brand-copy small{font-size:8px!important}
.tp-footer-brand-custom>img{border-radius:8px!important}
.tp-light .tp-brand-copy strong{color:#0f172a!important}
.tp-light .tp-brand-copy small{color:#64748b!important}
.tp-page-search-form{display:flex;gap:10px;margin-top:22px;max-width:760px}
.tp-page-search-form input{flex:1;min-width:0;height:50px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:#070c13;color:#edf4fb;padding:0 15px;outline:none}
.tp-page-search-form button{height:50px;padding:0 20px;border:0;border-radius:12px;background:#2563eb;color:#fff;font-weight:800;cursor:pointer}
.tp-page-search-form input:focus{border-color:rgba(59,130,246,.72);box-shadow:0 0 0 3px rgba(59,130,246,.12)}
.tp-page form.contact-form,.tp-article-content form.contact-form,.contact-form-wrapper{position:relative!important;z-index:5!important;pointer-events:auto!important}
.tp-page form.contact-form *,.tp-article-content form.contact-form *{pointer-events:auto!important}
.tp-page form.contact-form input,.tp-page form.contact-form textarea,.tp-page form.contact-form select,.tp-article-content form.contact-form input,.tp-article-content form.contact-form textarea,.tp-article-content form.contact-form select{position:relative!important;z-index:6!important;pointer-events:auto!important;cursor:text!important}
.tp-page form.contact-form button,.tp-article-content form.contact-form button{position:relative!important;z-index:7!important;pointer-events:auto!important;cursor:pointer!important}
@media(max-width:900px){.tp-logo{min-width:0}.tp-logo img,.tp-footer-brand-custom>img{width:42px!important;height:42px!important;flex-basis:42px!important}.tp-brand-copy strong{font-size:13px!important}.tp-brand-copy small{font-size:7px!important}.tp-page-search-form{flex-direction:column}.tp-page-search-form button{width:100%}}

/* TP Polaris Nexus 3.5 master UI */
:root{--tp-container-width:var(--tp-container,1180px)}
.tp-container{width:min(var(--tp-container-width),calc(100% - 36px))!important;max-width:var(--tp-container-width)!important}
.tp-home-flow{display:flex;flex-direction:column;gap:var(--tp-home-gap,44px)}
.tp-home-flow-item{margin:0!important}
.tp-logo{display:flex!important;align-items:center!important;gap:12px!important;min-width:290px!important;height:62px!important}
.tp-logo img.tp-brand-logo-img{width:190px!important;height:48px!important;max-width:190px!important;min-width:190px!important;object-fit:contain!important;object-position:left center!important;border-radius:0!important}
.tp-brand-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important}
.tp-brand-copy strong{font-size:14px!important;color:#f8fafc!important;line-height:1.1!important;white-space:nowrap!important}
.tp-brand-copy small{font-size:8px!important;letter-spacing:.09em!important;color:#7c8ca1!important;white-space:nowrap!important}
.tp-footer-brand-custom{display:flex!important;align-items:center!important;gap:12px!important}
.tp-footer-brand-custom img.tp-brand-logo-img{width:210px!important;height:56px!important;max-width:210px!important;min-width:210px!important;object-fit:contain!important;object-position:left center!important;border-radius:0!important}
.tp-footer-brand-custom .tp-brand-copy strong{font-size:15px!important}.tp-footer-brand-custom .tp-brand-copy small{font-size:8px!important}
.tp-search-input-wrap{position:relative;flex:1;min-width:0}.tp-search-input-wrap .tp-search-input{width:100%!important;padding-right:40px!important}.tp-search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:none;color:#5580ac;font-size:20px;cursor:pointer}
.tp-search-suggestions{margin-top:12px;max-height:410px;overflow:auto;border-radius:12px}.tp-search-tip,.tp-search-empty,.tp-search-loading{padding:14px 12px;color:#8393a8;font-size:12px;background:#0a111a;border:1px solid rgba(148,163,184,.08);border-radius:10px}.tp-live-result{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(148,163,184,.08);background:#0a111a;color:#dce6f3;text-decoration:none}.tp-live-result+.tp-live-result{border-top:0;border-radius:0}.tp-live-result:first-child{border-radius:10px 10px 0 0}.tp-live-result:hover,.tp-live-result:focus{background:#0e1926;border-color:rgba(59,130,246,.25)}.tp-live-thumb{width:48px;height:42px;border-radius:7px;overflow:hidden;background:#0f1722;display:grid;place-items:center}.tp-live-thumb img{width:100%;height:100%;object-fit:cover}.tp-live-icon{color:#60a5fa;font-size:18px}.tp-live-copy{min-width:0}.tp-live-copy b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.tp-live-copy small{display:block;color:#60a5fa;font-size:10px;margin-top:2px}.tp-live-copy em{display:block;color:#7f90a5;font-size:10px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.tp-live-all{display:block;text-align:center;padding:11px;color:#8db8ef;background:#0a111a;border:1px solid rgba(148,163,184,.08);border-top:0;border-radius:0 0 10px 10px;text-decoration:none;font-size:11px;font-weight:800}
.tp-command-overlay{position:fixed;inset:0;z-index:6000;display:none}.tp-command-overlay.is-open{display:block}.tp-command-backdrop{position:absolute;inset:0;background:rgba(2,5,10,.72);backdrop-filter:blur(8px)}.tp-command-dialog{position:relative;width:min(720px,calc(100% - 28px));margin:11vh auto 0;background:#0b121c;border:1px solid rgba(96,165,250,.18);border-radius:16px;box-shadow:0 40px 100px rgba(0,0,0,.55);overflow:hidden}.tp-command-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid rgba(148,163,184,.08);color:#cbd5e1;font-weight:800}.tp-command-head kbd{font-size:10px;padding:4px 7px;border:1px solid rgba(148,163,184,.12);border-radius:6px;color:#7f90a4}.tp-command-input{width:100%;box-sizing:border-box;border:0;border-bottom:1px solid rgba(148,163,184,.08);background:#091019;color:#edf4fb;padding:16px 18px;outline:none;font-size:15px}.tp-command-list{max-height:420px;overflow:auto;padding:8px}.tp-command-list a{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;padding:11px;border-radius:10px;text-decoration:none;color:#d7e1ed}.tp-command-list a>span{grid-row:1 / span 2;font-size:18px}.tp-command-list a b{font-size:12px}.tp-command-list a small{font-size:10px;color:#728297}.tp-command-list a:hover,.tp-command-list a.is-active{background:#101d2c;outline:1px solid rgba(59,130,246,.2)}
.tp-reading-progress{position:fixed;left:0;top:0;height:3px;width:100%;transform-origin:left center;transform:scaleX(0);background:linear-gradient(90deg,#2563eb,#22d3ee,#a855f7);z-index:7000;pointer-events:none}
.tp-post-slider{margin:20px auto;position:relative;overflow:hidden;border-radius:16px;border:1px solid rgba(148,163,184,.1);background:#05090e}.tp-post-slider.tp-align-left{margin-left:0;margin-right:auto}.tp-post-slider.tp-align-right{margin-left:auto;margin-right:0}.tp-post-slider.tp-width-auto{width:fit-content;max-width:100%}.tp-post-slider.tp-width-wide{width:min(100%,980px)}.tp-post-slider.tp-width-full{width:100%}.tp-post-slides{position:relative;height:var(--tp-slide-height,520px)}.tp-post-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .25s ease}.tp-post-slide.is-active{opacity:1;visibility:visible}.tp-post-slide-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border:0;background:#05090e;padding:0;cursor:zoom-in}.tp-post-slide-image img{width:100%;height:100%;display:block}.tp-fit-contain .tp-post-slide-image img{object-fit:contain}.tp-fit-cover .tp-post-slide-image img{object-fit:cover}.tp-fit-fill .tp-post-slide-image img{object-fit:fill}.tp-post-slider-prev,.tp-post-slider-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.15);background:rgba(5,10,16,.7);color:white;font-size:22px;cursor:pointer}.tp-post-slider-prev{left:12px}.tp-post-slider-next{right:12px}.tp-post-slider-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:6px;z-index:2}.tp-post-slider-dots button{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.35);padding:0;cursor:pointer}.tp-post-slider-dots button.active{background:#3b82f6}
.tp-ui-gallery{margin:20px 0}.tp-ui-gallery-title{font-weight:800;margin-bottom:10px}.tp-ui-gallery-main{position:relative;display:flex;align-items:center;gap:10px}.tp-ui-gallery-track{flex:1;min-width:0;border-radius:14px;overflow:hidden;background:#060a10;border:1px solid rgba(148,163,184,.08);display:grid;place-items:center;min-height:280px}.tp-ui-gallery-track img{max-width:100%;max-height:680px;object-fit:contain}.tp-ui-gallery-main>button{width:40px;height:40px;border-radius:50%;border:1px solid rgba(148,163,184,.16);background:#0c1621;color:#eaf2fb;font-size:22px;cursor:pointer;flex:0 0 40px}.tp-ui-gallery-dots{display:flex;gap:6px;justify-content:center;margin-top:10px}.tp-ui-gallery-dots button{width:8px;height:8px;border-radius:50%;border:0;background:#334155;cursor:pointer}.tp-ui-gallery-dots button.is-active{background:#2563eb}
.tp-ui-code{margin:20px 0;border:1px solid rgba(148,163,184,.1);border-radius:12px;overflow:hidden;background:#05090e}.tp-ui-code-head{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;background:#0b121a;color:#7f90a5;font-size:10px;border-bottom:1px solid rgba(148,163,184,.08);text-transform:uppercase;letter-spacing:.08em}.tp-ui-code-head button{border:1px solid rgba(96,165,250,.2);background:#0e1824;color:#8db8ef;border-radius:7px;padding:5px 8px;cursor:pointer}.tp-ui-code pre{margin:0;padding:16px;overflow:auto;color:#dce7f3;font:12px/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap}.tp-ui-tabs{margin:20px 0}.tp-ui-tabs-nav{display:flex;flex-wrap:wrap;gap:6px}.tp-ui-tabs-nav button{border:1px solid rgba(148,163,184,.12);background:#0b131d;color:#8fa0b5;border-radius:9px;padding:8px 11px;cursor:pointer}.tp-ui-tabs-nav button.is-active{background:#2563eb;border-color:#2563eb;color:#fff}.tp-ui-tabs-body{border:1px solid rgba(148,163,184,.1);background:#0a1119;border-radius:0 10px 10px 10px;padding:16px}.tp-ui-tabs-body>div{display:none;color:#aebdce;line-height:1.75}.tp-ui-tabs-body>div.is-active{display:block}
.tp-ui-accordion{display:grid;gap:8px;margin:20px 0}.tp-ui-accordion details{border:1px solid rgba(148,163,184,.1);background:#0a1119;border-radius:10px;padding:0 14px}.tp-ui-accordion summary{cursor:pointer;list-style:none;padding:14px 4px;color:#dce7f3;font-weight:800}.tp-ui-accordion summary::-webkit-details-marker{display:none}.tp-ui-accordion details>div{padding:0 4px 14px;color:#9eafc2;line-height:1.7}
.tp-ui-callout{margin:20px 0;padding:16px 18px;border-radius:12px;border:1px solid rgba(148,163,184,.12);background:#0a1119}.tp-ui-callout strong{display:block;margin-bottom:6px}.tp-ui-callout div{color:#a8b8ca;line-height:1.7}.tp-ui-callout-info{border-color:rgba(59,130,246,.25)}.tp-ui-callout-success{border-color:rgba(34,197,94,.25)}.tp-ui-callout-warning{border-color:rgba(245,158,11,.25)}.tp-ui-callout-danger{border-color:rgba(239,68,68,.25)}
.tp-ui-file-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid rgba(59,130,246,.25);background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(11,17,25,.8));border-radius:14px;margin:20px 0}.tp-ui-file-card h3{margin:3px 0 4px}.tp-ui-file-card p{margin:0;color:#8292a7;font-size:12px}.tp-ui-quote{margin:22px 0;padding:18px 20px;border-left:3px solid #2563eb;background:#0a1119;border-radius:0 12px 12px 0;color:#cbd7e5}.tp-ui-quote cite{display:block;margin-top:8px;color:#6f8196;font-size:11px}
.tp-version-panel{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;align-items:center;margin:22px 30px;padding:16px;border:1px solid rgba(148,163,184,.1);background:#0a1119;border-radius:12px}.tp-version-panel h3{margin:3px 0 0}.tp-version-tabs{display:flex;flex-wrap:wrap;gap:7px}.tp-version-tabs a{padding:8px 11px;border:1px solid rgba(148,163,184,.1);border-radius:8px;color:#aebfd2;text-decoration:none;background:#0d1520}.tp-version-tabs a.is-current{background:#2563eb;border-color:#2563eb;color:#fff}.tp-mirror-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px}.tp-mirror-card{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid rgba(148,163,184,.1);border-radius:10px;background:#0b121b;color:#b6c5d6;text-decoration:none}.tp-mirror-card:hover{border-color:rgba(59,130,246,.4);color:#fff}.tp-external-links{display:flex;flex-wrap:wrap;gap:8px}.tp-external-links a{padding:7px 9px;border:1px solid rgba(148,163,184,.12);border-radius:8px;color:#8db8ef;text-decoration:none}.tp-feature-tags{margin:20px 30px;padding:18px;border:1px solid rgba(148,163,184,.1);background:#0a1119;border-radius:12px}.tp-feature-tags>div:last-child{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.tp-feature-tags span{padding:6px 9px;border-radius:999px;background:#0d1a28;border:1px solid rgba(96,165,250,.16);color:#8eb8ea;font-size:11px}.tp-faq-block{margin:26px 30px}.tp-faq-block h3{margin:0}.tp-faq-block details{border:1px solid rgba(148,163,184,.1);background:#0a1119;border-radius:10px;margin-top:8px;padding:0 14px}.tp-faq-block summary{padding:13px 2px;cursor:pointer;font-weight:800;color:#dce6f0}.tp-faq-block details>div{padding:0 2px 13px;color:#95a6b9;line-height:1.7}
.tp-home-flow>.tp-home-flow-item{width:100%}.tp-trust{margin-top:0}.tp-section{padding-top:18px;padding-bottom:18px}
.tp-heading-linkable{scroll-margin-top:96px}.tp-heading-anchor{display:inline-flex;margin-left:6px;font-size:.75em;color:#5379a5;text-decoration:none;opacity:.6}.tp-heading-linkable:hover .tp-heading-anchor{opacity:1}
.tp-light .tp-ui-code,.tp-light .tp-ui-tabs-body,.tp-light .tp-ui-accordion details,.tp-light .tp-ui-callout,.tp-light .tp-ui-file-card,.tp-light .tp-ui-quote,.tp-light .tp-version-panel,.tp-light .tp-mirror-card,.tp-light .tp-feature-tags,.tp-light .tp-faq-block details{background:#f7f9fc;color:#1f2937}.tp-light .tp-ui-code-head{background:#edf2f7}.tp-light .tp-ui-code pre,.tp-light .tp-ui-tabs-body>div,.tp-light .tp-ui-accordion details>div,.tp-light .tp-ui-callout div,.tp-light .tp-ui-file-card p,.tp-light .tp-ui-quote,.tp-light .tp-mirror-card,.tp-light .tp-feature-tags span,.tp-light .tp-faq-block details>div{color:#475569}.tp-light .tp-ui-tabs-nav button,.tp-light .tp-version-tabs a,.tp-light .tp-external-links a{background:#fff;color:#475569}
@media(max-width:900px){.tp-logo{min-width:0!important}.tp-logo img.tp-brand-logo-img{width:150px!important;min-width:150px!important;height:40px!important}.tp-footer-brand-custom img.tp-brand-logo-img{width:170px!important;min-width:170px!important;height:46px!important}.tp-brand-copy{display:none!important}.tp-version-panel{grid-template-columns:1fr}.tp-ui-file-card{align-items:flex-start;flex-direction:column}.tp-ui-file-card .tp-btn{align-self:flex-start}}
.tp-error-page{min-height:70vh;display:grid;place-items:center;padding:70px 0}.tp-error-card{max-width:720px;text-align:center;padding:50px 36px;border:1px solid var(--tp-line);background:var(--tp-panel);border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.tp-error-code{font-size:120px;line-height:1;font-weight:900;letter-spacing:-.06em;background:linear-gradient(90deg,#60a5fa,#22d3ee,#a855f7);-webkit-background-clip:text;background-clip:text;color:transparent;margin:16px 0}.tp-error-card h1{margin:0 0 10px}.tp-error-card p{color:#8b9ab0;line-height:1.7}.tp-error-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}

/* TP Polaris Nexus 3.5.2 - controls, blocks, search and image fallbacks */
.tp-topbar-actions{display:flex;align-items:center;gap:14px}.tp-topbar .tp-theme-toggle{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.10);border-radius:8px;background:rgba(255,255,255,.03);color:#cbd5e1;cursor:pointer;line-height:1}.tp-nav-menu{position:relative;z-index:50}.tp-search-btn{position:relative;z-index:60;pointer-events:auto}.tp-nav-menu nav,.tp-menu{position:relative;z-index:40}.tp-brand-lockup{position:relative;z-index:30}.tp-home-block{margin-top:var(--tp-home-gap,44px)}.tp-shortcode-block{width:100%}.tp-card-image{display:block;overflow:hidden}.tp-card-img{width:100%;height:100%;object-fit:cover;display:block}.tp-sidebar-thumb{width:100%;height:100%;object-fit:cover;display:block}.tp-hero-image{width:100%;height:100%;object-fit:cover;display:block}.tp-server-cover{min-height:140px;display:grid;place-items:center;padding:18px;text-align:center;background:radial-gradient(circle at 50% 20%,rgba(59,130,246,.24),transparent 60%),#0a111a;color:#eaf2ff;font-size:22px;letter-spacing:1px}.tp-server{overflow:hidden}.tp-search-suggestions{position:relative;z-index:2}.tp-live-result{cursor:pointer}.tp-live-result mark{background:rgba(59,130,246,.25);color:#fff;border-radius:3px;padding:0 2px}.tp-callout,.tp-ui-callout{margin:22px 0;padding:18px 20px;border-radius:12px;border:1px solid rgba(96,165,250,.18);background:#0c1521;box-shadow:0 12px 30px rgba(0,0,0,.12)}.tp-callout-info,.tp-ui-callout-info{border-color:rgba(59,130,246,.35)}.tp-callout-success,.tp-ui-callout-success{border-color:rgba(34,197,94,.35)}.tp-callout-warning,.tp-ui-callout-warning{border-color:rgba(245,158,11,.35)}.tp-callout-danger,.tp-ui-callout-danger{border-color:rgba(239,68,68,.35)}.tp-callout strong,.tp-ui-callout strong{display:block;margin-bottom:7px;color:#f8fafc}.tp-callout div,.tp-ui-callout div{color:#b9c5d5;line-height:1.7}.tp-section-heading-marker{display:block;height:0;scroll-margin-top:100px}.tp-home-block h2{margin-top:0}.tp-home-block .tp-section-head{align-items:flex-end}.tp-nav-menu .tp-theme-toggle{display:none!important}.tp-topbar .tp-theme-toggle{display:inline-flex!important}
@media(max-width:900px){.tp-topbar-actions{gap:8px}.tp-nav-menu .tp-search-btn{width:42px!important;flex:0 0 42px!important}.tp-nav-menu.is-open .tp-search-btn{width:100%!important;flex:0 0 auto!important}.tp-topbar .tp-theme-toggle{width:30px!important;height:30px!important}.tp-nav-menu{z-index:100}.tp-server-cover{min-height:110px;font-size:18px}}
\n\n/* TP Polaris Nexus 3.5.3 — header layout and sizing */\n.tp-nav {\n  display:grid !important;\n  grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr) !important;\n  align-items:center !important;\n  gap:var(--tp-nav-gap,26px) !important;\n  position:relative !important;\n}\n.tp-brand-lockup { justify-self:start !important; min-width:0 !important; display:flex !important; align-items:center !important; gap:12px !important; }\n.tp-nav-center { justify-self:center !important; display:flex !important; align-items:center !important; min-width:0 !important; }\n.tp-nav-center nav { display:flex !important; align-items:center !important; justify-content:center !important; }\n.tp-nav-center .tp-menu { justify-content:center !important; font-size:var(--tp-menu-font-size,14px) !important; }\n.tp-nav-center .tp-menu > li > a { font-size:var(--tp-menu-font-size,14px) !important; }\n.tp-nav-actions { justify-self:end !important; display:flex !important; align-items:center !important; gap:10px !important; position:relative !important; z-index:2000 !important; }\n.tp-nav-actions .tp-search-btn, .tp-nav-actions .tp-mobile-toggle { position:relative !important; z-index:2001 !important; pointer-events:auto !important; }\n.tp-nav-actions .tp-mobile-toggle { display:none; }\n.tp-brand-copy strong { font-size:var(--tp-brand-text-size,14px) !important; }\n.tp-brand-copy small { font-size:var(--tp-brand-tagline-size,8px) !important; }\n.tp-brand-logo-img { width:var(--tp-brand-logo-width,190px) !important; height:auto !important; max-width:none !important; min-width:0 !important; max-height:60px !important; object-fit:contain !important; object-position:left center !important; border-radius:0 !important; }\n.tp-footer-brand-custom img.tp-brand-logo-img { width:var(--tp-brand-logo-width,190px) !important; max-width:none !important; height:auto !important; max-height:64px !important; }\n.tp-home-editor-content { width:100%; }\n.tp-home-editor-content > .tp-shortcode-block:first-child { margin-top:0; }\n.tp-home-editor-content > .tp-shortcode-block { scroll-margin-top:90px; }\n@media (min-width:901px){\n  .tp-nav-menu { flex:0 1 auto !important; justify-content:center !important; min-width:0 !important; }\n  .tp-nav-menu .tp-menu { flex-wrap:nowrap !important; }\n}\n@media (max-width:900px){\n  .tp-nav { grid-template-columns:minmax(0,1fr) auto !important; }\n  .tp-nav-center { display:none !important; }\n  .tp-nav-center.is-open { display:flex !important; position:absolute !important; top:calc(100% + 10px) !important; left:0 !important; right:0 !important; flex-direction:column !important; align-items:stretch !important; padding:14px !important; background:rgba(8,13,21,.99) !important; border:1px solid rgba(255,255,255,.09) !important; border-radius:14px !important; box-shadow:0 22px 50px rgba(0,0,0,.38) !important; z-index:1100 !important; }\n  .tp-nav-center.is-open nav, .tp-nav-center.is-open .tp-menu { width:100% !important; }\n  .tp-nav-actions .tp-mobile-toggle { display:flex !important; }\n  .tp-brand-logo-img { width:min(var(--tp-brand-logo-width,190px), 44vw) !important; max-height:44px !important; }\n  .tp-brand-copy strong { font-size:clamp(11px,var(--tp-brand-text-size,14px),16px) !important; }\n  .tp-brand-copy small { font-size:clamp(7px,var(--tp-brand-tagline-size,8px),10px) !important; }\n}\n
/* v3.6 command-palette live search and page-builder polish */
.tp-command-live{margin:0 20px 12px;border:1px solid var(--tp-border,#1b2a45);border-radius:12px;overflow:hidden;background:#0a1220}.tp-command-result{display:flex;align-items:center;gap:10px;padding:10px 12px;color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.06)}.tp-command-result.is-active,.tp-command-result:hover{background:rgba(37,99,235,.14)}.tp-command-result .tp-live-thumb{width:42px;height:32px;flex:0 0 42px;border-radius:6px;overflow:hidden;background:#111827;display:grid;place-items:center}.tp-command-result .tp-live-thumb img{width:100%;height:100%;object-fit:cover}.tp-command-result span:last-child{display:grid;gap:2px}.tp-command-result b{font-size:13px}.tp-command-result small{font-size:11px;opacity:.65}.tp-home-editor-content{display:flex;flex-direction:column;gap:0}.tp-home-editor-content>.tp-shortcode-block{margin-bottom:var(--tp-home-gap,44px)}.tp-ui-comparison{overflow:auto;border:1px solid var(--tp-border,#1b2a45);border-radius:12px;margin:22px 0}.tp-ui-comparison table{width:100%;border-collapse:collapse;min-width:620px}.tp-ui-comparison th,.tp-ui-comparison td{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.07);text-align:left}.tp-ui-comparison th{background:rgba(37,99,235,.1);font-weight:700}.tp-ui-divider{border:0;border-top:1px solid rgba(255,255,255,.12);margin:32px 0}.tp-ui-embed{position:relative;width:100%;aspect-ratio:16/9;background:#030712;border-radius:14px;overflow:hidden;border:1px solid var(--tp-border,#1b2a45);margin:24px 0}.tp-ui-embed iframe{width:100%;height:100%;border:0}.tp-nav-actions{position:relative;z-index:50}.tp-search-btn{position:relative;z-index:60}


/* TP Polaris Nexus 3.6.2 - final header containment */
.tp-nav-wrap{position:relative;z-index:5000!important}
.tp-nav{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;column-gap:28px!important;min-width:0!important}
.tp-brand-lockup{justify-self:start!important;min-width:0!important;max-width:100%!important;display:flex!important;align-items:center!important;gap:12px!important}
.tp-brand-logo-img{display:block!important;width:var(--tp-brand-logo-width,190px)!important;height:auto!important;max-width:var(--tp-brand-logo-width,190px)!important;max-height:60px!important;min-width:0!important;object-fit:contain!important;object-position:left center!important;flex:0 1 auto!important}
.tp-brand-copy{min-width:0!important;flex:0 1 auto!important}
.tp-brand-copy strong,.tp-brand-copy small{white-space:nowrap!important}
.tp-nav-menu.tp-nav-center{display:flex!important;justify-self:center!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
.tp-nav-menu.tp-nav-center nav{width:100%!important;min-width:0!important;overflow:hidden!important}
.tp-nav-menu.tp-nav-center .tp-menu{display:flex!important;align-items:center!important;justify-content:center!important;gap:18px!important;min-width:max-content!important;white-space:nowrap!important;overflow:visible!important}
.tp-nav-menu.tp-nav-center .tp-menu>li{flex:0 0 auto!important}
.tp-nav-menu.tp-nav-center .tp-menu>li>a{font-size:var(--tp-menu-font-size,14px)!important}
.tp-nav-actions{justify-self:end!important;display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;position:relative!important;z-index:9000!important;background:transparent!important}
.tp-nav-actions .tp-search-btn,.tp-nav-actions .tp-mobile-toggle{position:relative!important;z-index:9001!important;pointer-events:auto!important;flex:0 0 auto!important}
.tp-search-btn{width:44px!important;height:44px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:12px!important;background:#0b121d!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
.tp-search-btn:hover{background:#111b2a!important;border-color:rgba(96,165,250,.4)!important}
@media(min-width:901px){
  .tp-nav-menu.tp-nav-center{max-width:calc(100% - 20px)!important}
  .tp-nav-menu.tp-nav-center .tp-menu{gap:16px!important}
}
@media(max-width:1100px) and (min-width:901px){
  .tp-nav{column-gap:16px!important}
  .tp-brand-logo-img{width:min(var(--tp-brand-logo-width,190px),170px)!important}
  .tp-brand-copy strong{font-size:12px!important}
  .tp-brand-copy small{font-size:7px!important}
  .tp-nav-menu.tp-nav-center .tp-menu{gap:12px!important}
  .tp-nav-menu.tp-nav-center .tp-menu>li>a{font-size:12px!important}
}
@media(max-width:900px){
  .tp-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:12px!important}
  .tp-nav-center{display:none!important}
  .tp-nav-center.is-open{display:flex!important}
  .tp-brand-logo-img{width:min(var(--tp-brand-logo-width,190px),55vw)!important;max-width:55vw!important;max-height:46px!important}
}
\n\n/* TP Polaris Nexus 3.6.3 — final header/root isolation */\n@media (min-width: 901px) {\n  .tp-nav-wrap { z-index: 10000 !important; }\n  .tp-nav {\n    display: grid !important;\n    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr) 56px !important;\n    column-gap: 22px !important;\n    align-items: center !important;\n    width: min(1400px, calc(100% - 40px)) !important;\n  }\n  .tp-brand-lockup {\n    justify-self: start !important;\n    min-width: 0 !important;\n    max-width: 100% !important;\n  }\n  .tp-nav-menu.tp-nav-center {\n    justify-self: stretch !important;\n    width: 100% !important;\n    min-width: 0 !important;\n    max-width: none !important;\n    overflow-x: auto !important;\n    overflow-y: hidden !important;\n    scrollbar-width: none !important;\n  }\n  .tp-nav-menu.tp-nav-center::-webkit-scrollbar { display: none !important; }\n  .tp-nav-menu.tp-nav-center nav { width: max-content !important; min-width: 100% !important; overflow: visible !important; }\n  .tp-nav-menu.tp-nav-center .tp-menu {\n    justify-content: center !important;\n    min-width: max-content !important;\n    gap: 18px !important;\n  }\n  .tp-nav-actions {\n    justify-self: end !important;\n    width: 56px !important;\n    min-width: 56px !important;\n    display: flex !important;\n    align-items: center !important;\n    justify-content: flex-end !important;\n    z-index: 10001 !important;\n  }\n  .tp-nav-actions .tp-search-btn {\n    width: 44px !important; height: 44px !important;\n    display: inline-flex !important;\n    visibility: visible !important; opacity: 1 !important;\n    position: relative !important; z-index: 10002 !important;\n  }\n}\n\n/* Root homepage must occupy the whole available width. */\nhtml body .tp-home,\nhtml body .tp-home-editor-content {\n  width: 100% !important;\n  max-width: 100% !important;\n  margin-left: auto !important;\n  margin-right: auto !important;\n}\nhtml body .tp-home-editor-content {\n  display: block !important;\n  background: var(--tp-bg, #050a12) !important;\n  color: var(--tp-text, #eef5ff) !important;\n}\nhtml body main { min-height: 0; }\n
/* TP Polaris Nexus 3.6.4 — absolute 3-zone desktop header
 * Brand stays pinned left, navigation is centered in the viewport,
 * actions stay pinned right. This prevents the search control from being
 * covered by or pushed underneath the menu when the logo changes size.
 */
@media (min-width: 901px) {
  .tp-nav-wrap { z-index: 11000 !important; }
  .tp-nav {
    position: relative !important;
    display: block !important;
    height: 76px !important;
    width: min(1400px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .tp-brand-lockup {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
    max-width: min(34vw, 380px) !important;
    z-index: 11003 !important;
  }
  .tp-brand-logo-img {
    width: var(--tp-brand-logo-width,190px) !important;
    max-width: min(var(--tp-brand-logo-width,190px), 20vw) !important;
    height: auto !important;
    max-height: 58px !important;
    object-fit: contain !important;
    object-position: left center !important;
    flex: 0 0 auto !important;
  }
  .tp-brand-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .tp-brand-copy strong {
    font-size: var(--tp-brand-text-size,14px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
  .tp-brand-copy small {
    font-size: var(--tp-brand-tagline-size,8px) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    letter-spacing: .08em !important;
    opacity: .72 !important;
  }

  .tp-nav-menu.tp-nav-center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: max-content !important;
    max-width: min(62vw, 900px) !important;
    min-width: 0 !important;
    display: block !important;
    overflow: visible !important;
    z-index: 11002 !important;
  }
  .tp-nav-menu.tp-nav-center nav {
    width: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  .tp-nav-menu.tp-nav-center .tp-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--tp-nav-gap, 20px) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    list-style: none !important;
  }
  .tp-nav-menu.tp-nav-center .tp-menu > li {
    position: relative !important;
    flex: 0 0 auto !important;
  }
  .tp-nav-menu.tp-nav-center .tp-menu > li > a {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 28px 0 !important;
    font-size: var(--tp-menu-font-size,14px) !important;
    white-space: nowrap !important;
  }

  .tp-nav-actions {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    z-index: 11005 !important;
    width: auto !important;
    min-width: 44px !important;
    pointer-events: auto !important;
  }
  .tp-nav-actions .tp-search-btn,
  .tp-nav-actions .tp-mobile-toggle {
    position: relative !important;
    z-index: 11006 !important;
    pointer-events: auto !important;
  }
  .tp-nav-actions .tp-search-btn {
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid rgba(148,163,184,.18) !important;
    border-radius: 12px !important;
    background: #0b121d !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #dbe7f6 !important;
    line-height: 1 !important;
    flex: 0 0 46px !important;
  }

  /* Keep the centered nav clear of the fixed left/right zones. */
  @supports (width: min(1px, 2px)) {
    .tp-nav-menu.tp-nav-center {
      max-width: min(62vw, calc(100% - 520px)) !important;
    }
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .tp-brand-lockup { max-width: 300px !important; }
  .tp-brand-logo-img { max-width: 150px !important; }
  .tp-brand-copy small { display: none !important; }
  .tp-nav-menu.tp-nav-center { max-width: calc(100% - 390px) !important; }
  .tp-nav-menu.tp-nav-center .tp-menu { gap: 12px !important; }
  .tp-nav-menu.tp-nav-center .tp-menu > li > a { font-size: 12px !important; }
}

@media (max-width: 900px) {
  .tp-nav { position: relative !important; }
  .tp-brand-lockup { max-width: calc(100% - 80px) !important; }
  .tp-brand-logo-img { max-width: min(var(--tp-brand-logo-width,190px), 48vw) !important; }
  .tp-nav-actions { z-index: 11005 !important; }
}


/* TP Polaris Nexus 3.6.5 — definitive desktop header zones */
@media (min-width: 901px) {
  .tp-nav-wrap { position: relative !important; z-index: 12000 !important; }
  .tp-nav {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 76px !important;
    margin: 0 !important;
    padding: 0 28px !important;
    box-sizing: border-box !important;
  }

  /* LEFT: brand is anchored to the left edge of the header */
  .tp-nav > .tp-brand-lockup {
    position: absolute !important;
    left: 28px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 38vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    z-index: 12003 !important;
  }

  .tp-nav > .tp-brand-lockup .tp-brand-logo-img {
    width: var(--tp-brand-logo-width,190px) !important;
    max-width: 22vw !important;
    height: auto !important;
    max-height: 58px !important;
    flex: 0 0 auto !important;
  }

  .tp-nav > .tp-brand-lockup .tp-brand-copy {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 20vw !important;
    overflow: hidden !important;
  }

  /* CENTER: menu is centered to the viewport, not relative to the brand */
  .tp-nav > .tp-nav-menu.tp-nav-center {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: max-content !important;
    max-width: calc(100vw - 620px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    z-index: 12001 !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center nav {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: clamp(10px, 1.2vw, 24px) !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li {
    flex: 0 0 auto !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li > a {
    white-space: nowrap !important;
    font-size: clamp(12px, .78vw, var(--tp-menu-font-size,14px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* RIGHT: search is pinned to the absolute right edge */
  .tp-nav > .tp-nav-actions {
    position: absolute !important;
    right: 28px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    min-width: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    z-index: 12005 !important;
  }

  .tp-nav > .tp-nav-actions .tp-search-btn {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    position: relative !important;
    z-index: 12006 !important;
  }

  /* Reserve space so the centered menu can never pass underneath brand/search. */
  .tp-nav > .tp-nav-menu.tp-nav-center {
    max-width: min(1100px, calc(100vw - 560px)) !important;
  }
}

@media (min-width: 901px) and (max-width: 1350px) {
  .tp-nav { padding-left: 20px !important; padding-right: 20px !important; }
  .tp-nav > .tp-brand-lockup { left: 20px !important; max-width: 31vw !important; }
  .tp-nav > .tp-brand-lockup .tp-brand-logo-img { max-width: 150px !important; }
  .tp-nav > .tp-brand-lockup .tp-brand-copy { max-width: 16vw !important; }
  .tp-nav > .tp-nav-actions { right: 20px !important; }
  .tp-nav > .tp-nav-menu.tp-nav-center { max-width: calc(100vw - 430px) !important; }
  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu { gap: 10px !important; }
  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li > a { font-size: 12px !important; }
}

/* TP Polaris Nexus 3.6.6 — dropdown visibility repair */
@media (min-width: 901px) {
  .tp-nav-wrap,
  .tp-nav,
  .tp-nav > .tp-nav-menu.tp-nav-center,
  .tp-nav > .tp-nav-menu.tp-nav-center nav {
    overflow: visible !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center {
    isolation: isolate !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu,
  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li,
  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li > .sub-menu {
    overflow: visible !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li > .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 13000 !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li:hover > .sub-menu,
  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li:focus-within > .sub-menu,
  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu > li.is-open > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .tp-nav > .tp-nav-menu.tp-nav-center .tp-menu .sub-menu .sub-menu {
    top: -8px !important;
    left: calc(100% + 1px) !important;
    z-index: 13001 !important;
  }
}


/* ================================================================
   TP POLARIS NEXUS 3.7 — FINAL DESIGN / ACCESSIBILITY / DARK-MODE LAYER
   This layer is intentionally last: it neutralizes legacy theme rules.
   ================================================================ */
:root{--tp-bg:#050a12;--tp-panel:#0b121c;--tp-panel2:#101a28;--tp-text:#eef5ff;--tp-muted:#8fa0b5;--tp-line:#1b2a45;--tp-link:#60a5fa;--tp-input:#07101a;--tp-light-bg:#f4f7fb;--tp-light-panel:#fff;--tp-light-text:#0f172a}
html.tp-light{color-scheme:light}
html:not(.tp-light) body,.tp-site{background:var(--tp-bg);color:var(--tp-text)}
.tp-site a{color:inherit}
/* Desktop header: three hard zones, so menu can never sit underneath search. */
@media(min-width:901px){
  .tp-nav-wrap{height:76px!important;position:relative!important;z-index:20000!important;background:rgba(5,10,18,.97)!important}
  .tp-nav{height:76px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 28px!important;display:grid!important;grid-template-columns:minmax(300px,1fr) minmax(0,900px) minmax(56px,1fr)!important;column-gap:18px!important;align-items:center!important;box-sizing:border-box!important}
  .tp-brand-lockup{grid-column:1!important;justify-self:start!important;display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
  .tp-brand-lockup .tp-brand-logo-img{width:var(--tp-brand-logo-width,190px)!important;height:auto!important;max-width:100%!important;max-height:60px!important;object-fit:contain!important;object-position:left center!important;flex:0 1 auto!important}
  .tp-brand-copy{min-width:0!important;max-width:240px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
  .tp-brand-copy strong{font-size:var(--tp-brand-text-size,14px)!important;color:var(--tp-text)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .tp-brand-copy small{font-size:var(--tp-brand-tagline-size,8px)!important;color:var(--tp-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .tp-nav-menu.tp-nav-center{grid-column:2!important;justify-self:center!important;width:100%!important;max-width:900px!important;min-width:0!important;display:flex!important;justify-content:center!important;overflow:visible!important}
  .tp-nav-menu.tp-nav-center nav{width:100%!important;overflow:visible!important}
  .tp-nav-menu.tp-nav-center .tp-menu{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(7px,1vw,18px)!important;min-width:0!important;overflow:visible!important;white-space:nowrap!important}
  .tp-nav-menu.tp-nav-center .tp-menu>li{flex:0 0 auto!important}
  .tp-nav-menu.tp-nav-center .tp-menu>li>a{font-size:clamp(11px,.76vw,var(--tp-menu-font-size,14px))!important;padding:27px 0!important}
  .tp-nav-actions{grid-column:3!important;justify-self:end!important;width:auto!important;min-width:56px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;z-index:20005!important}
  .tp-nav-actions .tp-search-btn{width:46px!important;height:46px!important;min-width:46px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;z-index:20006!important;pointer-events:auto!important}
  .tp-nav-actions .tp-mobile-toggle{display:none!important}
}
@media(min-width:901px) and (max-width:1450px){
  .tp-nav{grid-template-columns:minmax(255px,1fr) minmax(0,760px) minmax(52px,1fr)!important;padding:0 20px!important;column-gap:10px!important}
  .tp-brand-lockup .tp-brand-logo-img{width:min(var(--tp-brand-logo-width,190px),155px)!important}
  .tp-brand-copy{max-width:170px!important}
  .tp-nav-menu.tp-nav-center .tp-menu{gap:7px!important}
  .tp-nav-menu.tp-nav-center .tp-menu>li>a{font-size:11px!important}
}
@media(max-width:900px){
  .tp-nav-wrap{z-index:20000!important}
  .tp-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:0 14px!important}
  .tp-brand-lockup{min-width:0!important;max-width:calc(100vw - 70px)!important}
  .tp-brand-lockup .tp-brand-logo-img{width:min(var(--tp-brand-logo-width,190px),48vw)!important;max-height:48px!important}
  .tp-brand-copy{max-width:46vw!important}
  .tp-nav-menu.tp-nav-center{display:none!important}
  .tp-nav-menu.tp-nav-center.is-open{display:block!important;position:absolute!important;left:12px!important;right:12px!important;top:calc(100% + 8px)!important;background:var(--tp-panel)!important;border:1px solid var(--tp-line)!important;border-radius:14px!important;box-shadow:0 25px 70px rgba(0,0,0,.5)!important;z-index:20010!important;padding:10px!important}
  .tp-nav-menu.tp-nav-center.is-open .tp-menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;width:100%!important}
  .tp-nav-menu.tp-nav-center.is-open .tp-menu>li>a{padding:11px 12px!important}
  .tp-nav-actions{justify-self:end!important;display:flex!important;gap:7px!important;z-index:20020!important}
  .tp-nav-actions .tp-search-btn{width:42px!important;height:42px!important;min-width:42px!important}
}
/* Dropdowns are always above content and remain clickable. */
.tp-menu .sub-menu{z-index:21000!important;background:var(--tp-panel)!important;color:var(--tp-text)!important;border-color:var(--tp-line)!important;box-shadow:0 24px 60px rgba(0,0,0,.5)!important}
.tp-menu .sub-menu li>a{color:var(--tp-text)!important}
.tp-menu .sub-menu li>a:hover,.tp-menu .sub-menu li.active>a{background:rgba(59,130,246,.15)!important;color:#fff!important}
/* Global dark-mode text repair, including CKEditor HTML that contains old inline black text. */
html:not(.tp-light) .tp-article-content,html:not(.tp-light) .tp-article-content p,html:not(.tp-light) .tp-article-content li,html:not(.tp-light) .tp-article-content td,html:not(.tp-light) .tp-article-content th,html:not(.tp-light) .tp-article-content blockquote,html:not(.tp-light) .tp-page-main,html:not(.tp-light) .tp-page-main p{color:var(--tp-text)!important}
html:not(.tp-light) .tp-article-content h1,html:not(.tp-light) .tp-article-content h2,html:not(.tp-light) .tp-article-content h3,html:not(.tp-light) .tp-article-content h4,html:not(.tp-light) .tp-article-content h5,html:not(.tp-light) .tp-article-content h6{color:var(--tp-text)!important}
html:not(.tp-light) .tp-article-content a{color:#60a5fa!important}
html:not(.tp-light) .tp-article-content table{color:var(--tp-text)!important;border-color:var(--tp-line)!important}
html:not(.tp-light) .tp-article-content td,html:not(.tp-light) .tp-article-content th{border-color:var(--tp-line)!important;background:transparent!important}
html:not(.tp-light) .tp-article-content [style*="color: black"],html:not(.tp-light) .tp-article-content [style*="color:#000"],html:not(.tp-light) .tp-article-content [style*="color: rgb(0, 0, 0)"]{color:var(--tp-text)!important}
html:not(.tp-light) .tp-article-content [style*="background-color: white"],html:not(.tp-light) .tp-article-content [style*="background-color:#fff"]{background:var(--tp-panel)!important}
/* Light mode counterpart. */
html.tp-light body,.tp-light .tp-site{background:var(--tp-light-bg)!important;color:var(--tp-light-text)!important}
html.tp-light .tp-topbar{background:#fff!important;color:#475569!important}
html.tp-light .tp-nav-wrap{background:rgba(255,255,255,.96)!important}
html.tp-light .tp-brand-copy strong,html.tp-light .tp-menu>li>a{color:#0f172a!important}
html.tp-light .tp-brand-copy small,.tp-light .tp-top-message{color:#64748b!important}
html.tp-light .tp-card,html.tp-light .tp-project,html.tp-light .tp-server,html.tp-light .tp-sidebar-card,html.tp-light .tp-update-card,html.tp-light .tp-github-card,html.tp-light .tp-download-card,html.tp-light .tp-intro-panel,html.tp-light .tp-category{background:var(--tp-light-panel)!important;color:var(--tp-light-text)!important;border-color:#dbe4ef!important}
html.tp-light .tp-card h3 a,html.tp-light .tp-project h3 a,html.tp-light .tp-sidebar-card h3,html.tp-light .tp-section-head h2,html.tp-light .tp-page-hero h1,html.tp-light .tp-post-hero h1{color:#0f172a!important}
html.tp-light .tp-card p,html.tp-light .tp-project p,html.tp-light .tp-card-meta,html.tp-light .tp-sidebar-copy{color:#64748b!important}
html.tp-light .tp-article-content,html.tp-light .tp-article-content p,html.tp-light .tp-article-content li,html.tp-light .tp-article-content td,html.tp-light .tp-article-content th,html.tp-light .tp-page-main,html.tp-light .tp-page-main p{color:var(--tp-light-text)!important}
html.tp-light .tp-article-content h1,html.tp-light .tp-article-content h2,html.tp-light .tp-article-content h3,html.tp-light .tp-article-content h4,html.tp-light .tp-article-content h5,html.tp-light .tp-article-content h6{color:#0f172a!important}
html.tp-light .tp-article-content a{color:#2563eb!important}
html.tp-light .tp-article-content [style*="color: white"],html.tp-light .tp-article-content [style*="color:#fff"],html.tp-light .tp-article-content [style*="color: rgb(255, 255, 255)"]{color:#0f172a!important}
/* Content components */
.tp-download-shortcode-action{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-end!important}
.tp-download-shortcode-action.tp-align-left{justify-content:flex-start!important}.tp-download-shortcode-action.tp-align-center{justify-content:center!important}
.tp-callout{margin:22px 0!important;padding:16px 18px!important;border-radius:12px!important;background:var(--tp-panel)!important;border:1px solid var(--tp-line)!important;color:var(--tp-text)!important}
.tp-callout strong{display:block!important;margin-bottom:6px!important;color:var(--tp-text)!important}.tp-callout>div{color:var(--tp-muted)!important;line-height:1.7!important}
.tp-ui-file-card,.tp-ui-code,.tp-ui-tabs-body,.tp-ui-accordion details,.tp-ui-quote,.tp-ui-comparison,.tp-ui-embed{background:var(--tp-panel)!important;color:var(--tp-text)!important;border-color:var(--tp-line)!important}
.tp-ui-file-card h3,.tp-ui-code-head,.tp-ui-tabs-body>div,.tp-ui-accordion summary,.tp-ui-quote,.tp-ui-comparison th,.tp-ui-comparison td{color:var(--tp-text)!important}
.tp-ui-file-card p,.tp-ui-accordion details>div,.tp-ui-quote cite{color:var(--tp-muted)!important}
/* Contact plugin forms: isolate the form so no theme overlay can steal clicks. */
.tp-page form.contact-form,.tp-article-content form.contact-form,.contact-form-wrapper,.contact-form-wrapper form{position:relative!important;z-index:50!important;pointer-events:auto!important;isolation:isolate!important;overflow:visible!important}
.tp-page form.contact-form *,.tp-article-content form.contact-form *,.contact-form-wrapper form *{pointer-events:auto!important}
.tp-page form.contact-form input,.tp-page form.contact-form textarea,.tp-page form.contact-form select,.tp-article-content form.contact-form input,.tp-article-content form.contact-form textarea,.tp-article-content form.contact-form select{position:relative!important;z-index:51!important;display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;cursor:text!important;color:var(--tp-text)!important;background:var(--tp-input)!important;border:1px solid var(--tp-line)!important}
.tp-page form.contact-form label,.tp-article-content form.contact-form label{position:relative!important;z-index:52!important;color:var(--tp-text)!important}
html.tp-light .tp-page form.contact-form input,html.tp-light .tp-page form.contact-form textarea,html.tp-light .tp-page form.contact-form select,html.tp-light .tp-article-content form.contact-form input,html.tp-light .tp-article-content form.contact-form textarea,html.tp-light .tp-article-content form.contact-form select{background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important}
/* Search/command palette */
.tp-search-overlay,.tp-command-overlay{z-index:30000!important}.tp-search-dialog,.tp-command-dialog{z-index:30001!important}
.tp-search-suggestions,.tp-command-live{max-height:440px!important;overflow:auto!important}
.tp-live-result mark{background:rgba(59,130,246,.2)!important;color:inherit!important;border-radius:3px!important;padding:0 2px!important}
/* Image fallback: never render a blank card when an image is missing. */
.tp-card-image img,.tp-project-image img,.tp-list-thumb img,.tp-sidebar-img img,.tp-update-thumb img{background:linear-gradient(135deg,#0b1421,#101c2d)!important;object-fit:cover!important}
/* Focus/keyboard accessibility. */
.tp-site a:focus-visible,.tp-site button:focus-visible,.tp-site input:focus-visible,.tp-site textarea:focus-visible,.tp-site select:focus-visible{outline:2px solid #60a5fa!important;outline-offset:2px!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}


/* Global full-width layout toggle */
body[data-tp-global-full-width="1"] .tp-container{width:100%!important;max-width:none!important;padding-left:28px!important;padding-right:28px!important}
body[data-tp-global-full-width="1"] .tp-post-layout{width:100%!important;max-width:none!important}
body[data-tp-global-full-width="1"] .tp-post-content-card{min-width:0}
@media(max-width:700px){body[data-tp-global-full-width="1"] .tp-container{padding-left:14px!important;padding-right:14px!important}}

/* Rich content rhythm: stable spacing even when the editor normalizes empty paragraphs. */
.tp-article-content>p{margin:0 0 1rem;line-height:1.85}.tp-article-content>h2{margin:2rem 0 .85rem}.tp-article-content>h3{margin:1.6rem 0 .7rem}.tp-article-content>ul,.tp-article-content>ol{margin:0 0 1.2rem;padding-left:1.6rem;line-height:1.8}.tp-article-content>blockquote,.tp-article-content>pre,.tp-article-content>table,.tp-article-content>.tp-ui-divider,.tp-article-content>.tp-ui-callout,.tp-article-content>.tp-ui-file-card,.tp-article-content>.tp-ui-code,.tp-article-content>.tp-ui-tabs,.tp-article-content>.tp-ui-accordion,.tp-article-content>.tp-ui-comparison,.tp-article-content>.tp-ui-embed,.tp-article-content>.tp-video-wrap{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.tp-article-content>p:empty{min-height:1rem;margin-bottom:.5rem}
.tp-article-content pre{white-space:pre-wrap;word-break:break-word}.tp-article-content code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.tp-article-content img{max-width:100%;height:auto}.tp-article-content iframe{max-width:100%}


/* TP Polaris Nexus 4.0.7 — global dark/light content + contact hardening */
html.tp-light .tp-article-content,
html.tp-light .tp-article-content .ck-content,
html.tp-light .tp-article-content p,
html.tp-light .tp-article-content span,
html.tp-light .tp-article-content div,
html.tp-light .tp-article-content li,
html.tp-light .tp-article-content td,
html.tp-light .tp-article-content th,
html.tp-light .tp-page-main,
html.tp-light .tp-page-main .ck-content,
html.tp-light .tp-page-main p,
html.tp-light .tp-page-main .ck-content p{
  color:var(--tp-light-text,#0f172a);
}
html.tp-light .tp-article-content h1,
html.tp-light .tp-article-content h2,
html.tp-light .tp-article-content h3,
html.tp-light .tp-article-content h4,
html.tp-light .tp-article-content h5,
html.tp-light .tp-article-content h6,
html.tp-light .tp-page-main h1,
html.tp-light .tp-page-main h2,
html.tp-light .tp-page-main h3,
html.tp-light .tp-page-main h4,
html.tp-light .tp-page-main h5,
html.tp-light .tp-page-main h6{
  color:#0f172a!important;
}
html.tp-light .tp-article-content strong,
html.tp-light .tp-article-content b,
html.tp-light .tp-page-main strong,
html.tp-light .tp-page-main b{
  color:#0f172a!important;
}
html:not(.tp-light) .tp-article-content,
html:not(.tp-light) .tp-article-content .ck-content,
html:not(.tp-light) .tp-article-content p,
html:not(.tp-light) .tp-article-content span,
html:not(.tp-light) .tp-article-content div,
html:not(.tp-light) .tp-article-content li,
html:not(.tp-light) .tp-article-content td,
html:not(.tp-light) .tp-article-content th,
html:not(.tp-light) .tp-page-main,
html:not(.tp-light) .tp-page-main .ck-content,
html:not(.tp-light) .tp-page-main p,
html:not(.tp-light) .tp-page-main strong,
html:not(.tp-light) .tp-page-main b{
  color:var(--tp-text,#eef5ff);
}

/* Legacy CKEditor inline white/black text is normalized by theme mode. */
html.tp-light .tp-article-content [style*="color:white"],
html.tp-light .tp-article-content [style*="color: white"],
html.tp-light .tp-article-content [style*="color:#fff"],
html.tp-light .tp-article-content [style*="color: #fff"],
html.tp-light .tp-article-content [style*="color:#ffffff"],
html.tp-light .tp-article-content [style*="color: #ffffff"],
html.tp-light .tp-article-content [style*="color:rgb(255,255,255)"],
html.tp-light .tp-article-content [style*="color: rgb(255, 255, 255)"],
html.tp-light .tp-page-main [style*="color:white"],
html.tp-light .tp-page-main [style*="color:#fff"],
html.tp-light .tp-page-main [style*="color:#ffffff"]{
  color:#0f172a!important;
}
html:not(.tp-light) .tp-article-content [style*="color:black"],
html:not(.tp-light) .tp-article-content [style*="color: black"],
html:not(.tp-light) .tp-article-content [style*="color:#000"],
html:not(.tp-light) .tp-article-content [style*="color: #000"],
html:not(.tp-light) .tp-article-content [style*="color:#000000"],
html:not(.tp-light) .tp-page-main [style*="color:black"],
html:not(.tp-light) .tp-page-main [style*="color:#000"],
html:not(.tp-light) .tp-page-main [style*="color:#000000"]{
  color:var(--tp-text,#eef5ff)!important;
}

/* Contact fields always receive pointer input; labels never sit above them. */
.tp-page form.contact-form label,
.tp-page form.contact-form .contact-label,
.tp-article-content form.contact-form label,
.tp-article-content form.contact-form .contact-label{
  pointer-events:none!important;
}
.tp-page form.contact-form input,
.tp-page form.contact-form textarea,
.tp-page form.contact-form select,
.tp-article-content form.contact-form input,
.tp-article-content form.contact-form textarea,
.tp-article-content form.contact-form select{
  pointer-events:auto!important;
  position:relative!important;
  z-index:60!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  touch-action:manipulation!important;
}


html.tp-light .tp-collection .tp-card,
html.tp-light .tp-collection .tp-card h3,
html.tp-light .tp-collection .tp-card p,
html.tp-light .tp-collection .tp-card small,
html.tp-light .tp-collection .tp-card strong,
html.tp-light .tp-collection .tp-card span,
html.tp-light .tp-project-dashboard,
html.tp-light .tp-project-dashboard h2,
html.tp-light .tp-project-dashboard h3,
html.tp-light .tp-project-dashboard p,
html.tp-light .tp-project-dashboard strong,
html.tp-light .tp-project-dashboard span,
html.tp-light .tp-project-dashboard a{
  color:#0f172a!important;
}
html.tp-light .tp-collection .tp-card p,
html.tp-light .tp-collection .tp-card small,
html.tp-light .tp-project-facts small{
  color:#5d6b7e!important;
}
html.tp-light .tp-project-dashboard .tp-kicker{color:#2563eb!important;}
html.tp-light .tp-project-status{color:#15803d!important;}
html.tp-light .tp-project-links a{color:#0f172a!important;background:#f5f8fc!important;}
html.tp-light .tp-project-links a.primary{color:#fff!important;background:#207cff!important;border-color:#207cff!important;}


/* TP Polaris Nexus 4.0.9 - main stylesheet fallbacks */
html.tp-light .tp-terminal{background:#f5f8fc!important;color:#0f172a!important;border-color:#d9e1ec!important}
html.tp-light .tp-terminal-head{background:#eaf0f7!important;color:#0f172a!important}
html.tp-light .tp-terminal pre,html.tp-light .tp-terminal code{color:#0f172a!important}
html.tp-light .tp-collection-empty,html.tp-light .tp-project-dashboard,html.tp-light .tp-server-monitor,html.tp-light .tp-version-item,html.tp-light .tp-step,html.tp-light .tp-notice-list article,html.tp-light .tp-requirement-grid>div,html.tp-light .tp-local-library-col,html.tp-light .tp-reactions,html.tp-light .tp-install-app{background:#fff!important;color:#0f172a!important;border-color:#d9e1ec!important}
html.tp-light .tp-collection .tp-card,html.tp-light .tp-collection .tp-card h3,html.tp-light .tp-collection .tp-card p,html.tp-light .tp-collection .tp-card span,html.tp-light .tp-collection .tp-card small,html.tp-light .tp-collection .tp-card strong{color:#0f172a!important}
html.tp-light .tp-collection .tp-card p,html.tp-light .tp-collection .tp-card small{color:#64748b!important}
html.tp-light .tp-project-dashboard h2,html.tp-light .tp-project-dashboard h3,html.tp-light .tp-project-dashboard p,html.tp-light .tp-project-dashboard span,html.tp-light .tp-project-dashboard strong,html.tp-light .tp-project-dashboard a{color:#0f172a!important}
html.tp-light .tp-project-dashboard .tp-project-facts small{color:#64748b!important}

html body form.contact-form,html body .contact-form,html body .contact-form-wrapper,html body .contact-form-wrapper form,html body .contact-form-container,html body .contact-form-container form{position:relative!important;z-index:1000!important;pointer-events:auto!important;isolation:isolate!important;overflow:visible!important}
html body form.contact-form::before,html body form.contact-form::after,html body .contact-form-wrapper::before,html body .contact-form-wrapper::after,html body .contact-form-container::before,html body .contact-form-container::after{pointer-events:none!important}
html body form.contact-form input,html body form.contact-form textarea,html body form.contact-form select,html body .contact-form input,html body .contact-form textarea,html body .contact-form select,html body .contact-form-wrapper input,html body .contact-form-wrapper textarea,html body .contact-form-wrapper select,html body .contact-form-container input,html body .contact-form-container textarea,html body .contact-form-container select{position:relative!important;z-index:1002!important;pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;touch-action:manipulation!important;cursor:text!important}
html body form.contact-form label,html body .contact-form label,html body .contact-form-wrapper label,html body .contact-form-container label{pointer-events:none!important;position:relative!important;z-index:1001!important}
html.tp-light body form.contact-form input,html.tp-light body form.contact-form textarea,html.tp-light body form.contact-form select,html.tp-light body .contact-form input,html.tp-light body .contact-form textarea,html.tp-light body .contact-form select,html.tp-light body .contact-form-wrapper input,html.tp-light body .contact-form-wrapper textarea,html.tp-light body .contact-form-wrapper select,html.tp-light body .contact-form-container input,html.tp-light body .contact-form-container textarea,html.tp-light body .contact-form-container select{background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important}

/* TP Polaris Nexus 4.0.9 - final contact/block stacking */
html body .tp-article-content > .tp-shortcode-block,
html body .tp-page-main > .tp-shortcode-block,
html body .tp-home-editor-content > .tp-shortcode-block{
  position:relative!important;
  float:none!important;
  clear:both!important;
  z-index:1!important;
  transform:none!important;
  isolation:isolate!important;
}
html body .tp-article-content > .tp-shortcode-block:has(form),
html body .tp-page-main > .tp-shortcode-block:has(form){z-index:9999!important}
html body form.contact-form,
html body form[class*="contact" i],
html body .contact-form,
html body [class*="contact-form" i]{
  position:relative!important;
  float:none!important;
  clear:both!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  transform:none!important;
  z-index:10000!important;
  isolation:isolate!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
html body form.contact-form input,
html body form.contact-form textarea,
html body form.contact-form select,
html body form[class*="contact" i] input,
html body form[class*="contact" i] textarea,
html body form[class*="contact" i] select,
html body .contact-form input,
html body .contact-form textarea,
html body .contact-form select,
html body [class*="contact-form" i] input,
html body [class*="contact-form" i] textarea,
html body [class*="contact-form" i] select{
  position:relative!important;
  float:none!important;
  z-index:10001!important;
  pointer-events:auto!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  touch-action:manipulation!important;
  cursor:text!important;
}

/* TP Polaris v4.2 portal refinements */
.tp-search-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tp-search-filters a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid var(--tp-line,#1b2a45);border-radius:999px;color:var(--tp-muted,#8fa0b5);background:transparent;text-decoration:none;font-size:12px;font-weight:700}
.tp-search-filters a:hover,.tp-search-filters a.is-active{color:#fff;background:var(--tp-primary,#2563eb);border-color:var(--tp-primary,#2563eb)}
html.tp-light .tp-search-filters a{color:#475569;border-color:#d7dee8;background:#fff}
html.tp-light .tp-search-filters a:hover,html.tp-light .tp-search-filters a.is-active{color:#fff;background:var(--tp-primary,#2563eb);border-color:var(--tp-primary,#2563eb)}

/* Mega menus: items with 4+ children automatically use a roomy multi-column dropdown. */

.tp-project-updated{margin-top:5px;color:var(--tp-muted,#9aa8bd);font-size:12px}
html.tp-light .tp-project-updated{color:#64748b}
html.tp-light .tp-status-grid article>span.is-warning{color:#b45309!important}
html.tp-light .tp-status-grid article>span.is-offline{color:#b91c1c!important}
html.tp-light .tp-status-grid article>span.is-unknown{color:#64748b!important}
.tp-status-dot.is-offline{background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.10)}
.tp-status-dot.is-unknown{background:#94a3b8;box-shadow:0 0 0 5px rgba(148,163,184,.10)}
.tp-status-grid article>span.is-online{color:#22c55e}
.tp-status-grid article>span.is-warning{color:#f59e0b}
.tp-status-grid article>span.is-offline{color:#ef4444}
.tp-status-grid article>span.is-unknown{color:#94a3b8}


/* TP Polaris Nexus 4.3.6 — member integration */
.tp-account-menu{position:relative;display:block;margin:0;padding:0;z-index:12000}
.tp-account-menu>summary{list-style:none}
.tp-account-menu>summary::-webkit-details-marker{display:none}
.tp-account-trigger{height:44px;min-width:44px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:#0b121d;color:#d8e2ef;cursor:pointer;transition:.18s ease;white-space:nowrap}
.tp-account-trigger:hover,.tp-account-menu[open] .tp-account-trigger{background:#111b2a;border-color:rgba(96,165,250,.42);color:#fff}
.tp-account-avatar{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:9px;font-weight:900;letter-spacing:.03em;flex:0 0 25px}
.tp-account-avatar-lg{width:40px;height:40px;border-radius:12px;font-size:12px;flex-basis:40px}
.tp-account-label{max-width:150px;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:750}
.tp-account-chevron{font-size:13px;line-height:1;opacity:.7;transform:translateY(-1px)}
.tp-account-dropdown{position:absolute;top:calc(100% + 10px);right:0;width:min(310px,calc(100vw - 28px));padding:9px;border:1px solid rgba(96,165,250,.17);border-radius:15px;background:#0b121d;box-shadow:0 24px 70px rgba(0,0,0,.45);backdrop-filter:blur(18px)}
.tp-account-head{display:flex;align-items:center;gap:11px;padding:11px 10px 13px;margin-bottom:6px;border-bottom:1px solid rgba(148,163,184,.10)}
.tp-account-head>div{min-width:0;display:grid;gap:3px}
.tp-account-head strong{font-size:13px;color:#eef5ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tp-account-head small{font-size:10px;color:#8190a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.tp-account-dropdown>a,.tp-account-dropdown form button{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:0 11px;border:0;border-radius:10px;background:transparent;color:#cdd8e6;text-decoration:none;font-size:12px;font-weight:650;cursor:pointer;text-align:left}
.tp-account-dropdown>a:hover,.tp-account-dropdown form button:hover{background:rgba(59,130,246,.12);color:#fff}
.tp-account-dropdown>a span,.tp-account-dropdown form button span{width:22px;color:#60a5fa;font-size:17px;text-align:center}
.tp-account-dropdown form{margin:0}
.tp-light .tp-account-trigger{background:#fff;border-color:#d8e0ea;color:#334155}
.tp-light .tp-account-trigger:hover,.tp-light .tp-account-menu[open] .tp-account-trigger{background:#f8fafc;color:#0f172a}
.tp-light .tp-account-dropdown{background:#fff;border-color:#dbe4ef;box-shadow:0 24px 60px rgba(15,23,42,.14)}
.tp-light .tp-account-head{border-bottom-color:#e5eaf1}
.tp-light .tp-account-head strong{color:#0f172a}
.tp-light .tp-account-head small{color:#64748b}
.tp-light .tp-account-dropdown>a,.tp-light .tp-account-dropdown form button{color:#334155}
.tp-light .tp-account-dropdown>a:hover,.tp-light .tp-account-dropdown form button:hover{background:#eef5ff;color:#0f172a}

.tp-member-page{min-height:calc(100vh - 160px);display:grid;place-items:center;padding:58px 18px 72px;background:radial-gradient(circle at top,rgba(37,99,235,.10),transparent 42%),var(--tp-bg,#050a12)}
.tp-member-shell{width:min(560px,100%);padding:30px;background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(8,13,21,.98));border:1px solid var(--tp-line,#1b2a45);border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.28)}
.tp-member-brand{display:flex;justify-content:center;margin-bottom:22px}
.tp-member-brand img{width:min(210px,72%);height:auto;max-height:62px;object-fit:contain}
.tp-member-intro{text-align:center;margin-bottom:24px}
.tp-member-intro .tp-kicker{margin-bottom:7px}
.tp-member-intro h1{margin:0 0 9px;font-size:clamp(26px,5vw,36px);line-height:1.08;color:#f8fbff}
.tp-member-intro p{margin:0;color:#8fa0b5;font-size:13px;line-height:1.65}
.tp-member-form form{margin:0}
.tp-member-form .form-group,.tp-member-form .form-control-wrapper{margin-bottom:16px}
.tp-member-form label,.tp-member-form .form-label{display:block;margin-bottom:7px;color:#dbe5f0;font-size:12px;font-weight:750}
.tp-member-form input:not([type=checkbox]):not([type=radio]),.tp-member-form select,.tp-member-form textarea{width:100%;min-height:46px;padding:11px 13px;border:1px solid #263a58;border-radius:10px;background:#101a2a;color:#eef5ff;outline:none;box-sizing:border-box;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.tp-member-form input:not([type=checkbox]):not([type=radio]):focus,.tp-member-form select:focus,.tp-member-form textarea:focus{border-color:#4f8df7;box-shadow:0 0 0 3px rgba(37,99,235,.14);background:#0d1725}
.tp-member-form input::placeholder,.tp-member-form textarea::placeholder{color:#6f7f94}
.tp-member-form .form-check{display:flex;align-items:center;gap:8px;margin:7px 0 16px}
.tp-member-form .form-check input[type=checkbox],.tp-member-form input[type=checkbox]{accent-color:#2563eb}
.tp-member-form .form-check label{margin:0;font-weight:550;color:#9daec2}
.tp-member-form .btn,.tp-member-form button[type=submit]{min-height:46px;padding:0 18px;border-radius:10px;border:0;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:800;box-shadow:0 12px 30px rgba(37,99,235,.18);cursor:pointer;transition:transform .16s ease,filter .16s ease}
.tp-member-form .btn:hover,.tp-member-form button[type=submit]:hover{filter:brightness(1.08);transform:translateY(-1px)}
.tp-member-form .text-danger,.tp-member-form .invalid-feedback{color:#fda4af}
.tp-member-form .invalid-feedback{display:block;font-size:11px;margin-top:5px}
.tp-member-links{display:flex;justify-content:center;gap:5px;align-items:center;margin-top:20px;color:#8190a5;font-size:12px;text-align:center;flex-wrap:wrap}
.tp-member-links a{color:#60a5fa;font-weight:750;text-decoration:none}
.tp-member-links a:hover{text-decoration:underline}
.tp-light .tp-member-page{background:radial-gradient(circle at top,rgba(37,99,235,.08),transparent 42%),var(--tp-light-bg,#f4f7fb)}
.tp-light .tp-member-shell{background:#fff;border-color:#dbe4ef;box-shadow:0 24px 70px rgba(15,23,42,.10)}
.tp-light .tp-member-intro h1{color:#0f172a}
.tp-light .tp-member-intro p{color:#64748b}
.tp-light .tp-member-form label,.tp-light .tp-member-form .form-label{color:#1e293b}
.tp-light .tp-member-form input:not([type=checkbox]):not([type=radio]),.tp-light .tp-member-form select,.tp-light .tp-member-form textarea{background:#f8fafc;color:#0f172a;border-color:#cbd5e1}
.tp-light .tp-member-form input:not([type=checkbox]):not([type=radio]):focus,.tp-light .tp-member-form select:focus,.tp-light .tp-member-form textarea:focus{background:#fff;border-color:#3b82f6}
.tp-light .tp-member-form .form-check label{color:#475569}
@media(max-width:900px){.tp-account-label,.tp-account-chevron{display:none}.tp-account-trigger{padding:0 7px;width:44px}.tp-account-dropdown{right:-4px}.tp-member-page{padding-top:38px}}
@media(max-width:520px){.tp-member-shell{padding:22px 18px;border-radius:16px}.tp-member-page{min-height:calc(100vh - 120px)} }


/* TP Polaris Nexus 4.3.7 — FOB Comment integration
   Keep the third-party comment plugin's behavior intact, but give its
   native Botble form the same layout, spacing, colors, controls and
   light/dark behavior as the Nexus theme. */
.fob-comment-list-section,
.fob-comment-form-section{
  width:100%!important;
  color:var(--tp-text,#eef5ff)!important;
}
.fob-comment-list-section{
  margin-top:28px!important;
}
.fob-comment-form-section{
  margin:36px 0 18px!important;
  padding-top:4px!important;
}
.fob-comment-title{
  color:var(--tp-text,#eef5ff)!important;
  font-size:clamp(24px,3vw,30px)!important;
  line-height:1.2!important;
  font-weight:800!important;
  margin:0 0 14px!important;
}
.fob-comment-form-note{
  color:var(--tp-muted,#8fa0b5)!important;
  font-size:13px!important;
  line-height:1.7!important;
  margin:0 0 20px!important;
}

/* Botble FormBuilder renders the comment fields inside a Bootstrap row.
   Nexus owns this grid so the comment form is stable with or without Bootstrap. */
.fob-comment-form .row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:18px 16px!important;
  margin:0!important;
}
.fob-comment-form .row > [class*="col-"]{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  flex:none!important;
  padding:0!important;
  margin:0!important;
  grid-column:auto!important;
}
/* FormBuilder can wrap fields at different depths; use the actual field names
   to guarantee content, website, consent, captcha and submit span the full row. */
.fob-comment-form .row > :has(textarea[name="content"]),
.fob-comment-form .row > :has(input[name="website"]),
.fob-comment-form .row > :has(input[name="cookie_consent"]),
.fob-comment-form .row > :has(.g-recaptcha),
.fob-comment-form .row > :has(input[type="submit"]),
.fob-comment-form .row > :has(button[type="submit"]){
  grid-column:1 / -1!important;
}
.fob-comment-form textarea[name="content"]{
  width:100%!important;
  min-height:150px!important;
}
.fob-comment-form .form-group,
.fob-comment-form .form-control-wrapper,
.fob-comment-form .form-check{
  margin:0!important;
}
.fob-comment-form label,
.fob-comment-form .form-label{
  display:block!important;
  width:100%!important;
  margin:0 0 7px!important;
  color:#dbe5f1!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:800!important;
}
.fob-comment-form label.required:after{
  color:#60a5fa!important;
}
.fob-comment-form input:not([type="checkbox"]):not([type="radio"]),
.fob-comment-form textarea,
.fob-comment-form select{
  display:block!important;
  width:100%!important;
  min-height:46px!important;
  padding:11px 13px!important;
  border:1px solid rgba(148,163,184,.20)!important;
  border-radius:10px!important;
  outline:none!important;
  box-sizing:border-box!important;
  background:#0a111b!important;
  color:#eef5ff!important;
  box-shadow:none!important;
  font:inherit!important;
  line-height:1.45!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.fob-comment-form textarea{
  min-height:150px!important;
  resize:vertical!important;
}
.fob-comment-form input:not([type="checkbox"]):not([type="radio"]):focus,
.fob-comment-form textarea:focus,
.fob-comment-form select:focus{
  border-color:rgba(59,130,246,.78)!important;
  box-shadow:0 0 0 3px rgba(59,130,246,.13)!important;
  background:#0d1725!important;
}
.fob-comment-form input::placeholder,
.fob-comment-form textarea::placeholder,
.fob-comment-form select:invalid{
  color:#66778d!important;
  opacity:1!important;
}
.fob-comment-form .help-block,
.fob-comment-form small,
.fob-comment-form .form-text{
  color:var(--tp-muted,#8fa0b5)!important;
}
.fob-comment-form .text-danger,
.fob-comment-form .invalid-feedback,
.fob-comment-form .field-error{
  color:#fca5a5!important;
  font-size:11px!important;
  margin-top:5px!important;
}
.fob-comment-form .form-check{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:0!important;
  min-height:24px!important;
}
.fob-comment-form .form-check-input,
.fob-comment-form input[type="checkbox"]{
  width:17px!important;
  height:17px!important;
  min-height:17px!important;
  flex:0 0 17px!important;
  margin:0!important;
  accent-color:#2563eb!important;
}
.fob-comment-form .form-check label{
  width:auto!important;
  margin:0!important;
  color:#9db0c6!important;
  font-size:12px!important;
  font-weight:600!important;
}
.fob-comment-form .g-recaptcha,
.fob-comment-form .captcha-group{
  width:100%!important;
  max-width:100%!important;
  overflow:auto!important;
}
.fob-comment-form button[type="submit"],
.fob-comment-form input[type="submit"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 19px!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:0 12px 30px rgba(37,99,235,.18)!important;
  cursor:pointer!important;
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease!important;
}
.fob-comment-form button[type="submit"]:hover,
.fob-comment-form input[type="submit"]:hover{
  filter:brightness(1.08)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 16px 34px rgba(37,99,235,.23)!important;
}
.fob-comment-form button[type="submit"]:disabled,
.fob-comment-form input[type="submit"]:disabled{
  transform:none!important;
  filter:none!important;
  opacity:.72!important;
  cursor:not-allowed!important;
}

/* Comment list */
.fob-comment-list-wrapper{
  width:100%!important;
}
.fob-comment-list{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
}
.fob-comment-item{
  width:100%!important;
  margin:0!important;
  padding:18px 0!important;
  border-bottom:1px solid rgba(148,163,184,.10)!important;
}
.fob-comment-item-inner{
  display:flex!important;
  align-items:flex-start!important;
  gap:14px!important;
  margin:0!important;
}
.fob-comment-item-avatar{
  width:48px!important;
  min-width:48px!important;
  margin:0!important;
}
.fob-comment-item-avatar img{
  display:block!important;
  width:48px!important;
  height:48px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  border:1px solid rgba(148,163,184,.16)!important;
}
.fob-comment-item-content{
  min-width:0!important;
  flex:1 1 auto!important;
}
.fob-comment-item-body p,
.fob-comment-item-body{
  color:var(--tp-text,#eef5ff)!important;
}
.fob-comment-item-body p{
  margin:0!important;
  font-size:14px!important;
  line-height:1.75!important;
}
.fob-comment-item-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:10px!important;
}
.fob-comment-item-info{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  min-width:0!important;
}
.fob-comment-item-author{
  color:var(--tp-text,#eef5ff)!important;
  font-size:12px!important;
  font-weight:800!important;
  margin:0!important;
  text-decoration:none!important;
}
a.fob-comment-item-author:hover{
  color:#60a5fa!important;
}
.fob-comment-item-date{
  color:var(--tp-muted,#8fa0b5)!important;
  font-size:11px!important;
  margin:0!important;
}
.fob-comment-item-admin-badge{
  border-radius:999px!important;
  background:rgba(59,130,246,.16)!important;
  border:1px solid rgba(59,130,246,.24)!important;
  color:#7db3ff!important;
  padding:4px 8px!important;
  font-size:10px!important;
  font-weight:800!important;
}
.fob-comment-item-actions{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.fob-comment-item-reply,
.fob-comment-item-delete{
  border:0!important;
  background:transparent!important;
  font-size:11px!important;
  font-style:normal!important;
  font-weight:700!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
.fob-comment-item-reply{color:#60a5fa!important}
.fob-comment-item-delete{color:#fb7185!important}
.fob-comment-item-reply:hover{color:#93c5fd!important}
.fob-comment-item-delete:hover{color:#fda4af!important}
.fob-comment-item .fob-comment-list{
  margin:14px 0 0 62px!important;
}

/* Guest/login state */
.fob-comment-form-login-required{
  background:var(--tp-panel,#0b121c)!important;
  border:1px solid var(--tp-line,#1b2a45)!important;
  border-radius:14px!important;
  padding:26px!important;
  color:var(--tp-text,#eef5ff)!important;
}
.fob-comment-form-login-required .fob-comment-login-message{
  color:var(--tp-text,#eef5ff)!important;
}
.fob-comment-form-login-required .fob-comment-login-icon{
  color:#60a5fa!important;
}
.fob-comment-form-login-required .fob-comment-login-btn{
  border-radius:10px!important;
  background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
}

/* Skeleton: use Nexus dark colors by default; the plugin's Bootstrap
   dark-mode selector is not used by Nexus, which toggles html.tp-light. */
.fob-comment-skeleton-title,
.fob-comment-skeleton-avatar,
.fob-comment-skeleton-name,
.fob-comment-skeleton-text{
  background:linear-gradient(90deg,#121c2b 25%,#1a2638 50%,#121c2b 75%)!important;
  background-size:200% 100%!important;
}
.fob-comment-skeleton-title{
  height:28px!important;
  border-radius:8px!important;
}
.fob-comment-skeleton-avatar{
  width:48px!important;
  height:48px!important;
  margin-inline-end:14px!important;
}
.fob-comment-skeleton-name{height:14px!important;width:120px!important;border-radius:6px!important}
.fob-comment-skeleton-text{height:12px!important;border-radius:6px!important}

/* Nexus light mode */
html.tp-light .fob-comment-list-section,
html.tp-light .fob-comment-form-section,
html.tp-light .fob-comment-item-body,
html.tp-light .fob-comment-item-body p{
  color:var(--tp-light-text,#0f172a)!important;
}
html.tp-light .fob-comment-title,
html.tp-light .fob-comment-item-author{
  color:#0f172a!important;
}
html.tp-light .fob-comment-form-note,
html.tp-light .fob-comment-item-date,
html.tp-light .fob-comment-form .help-block,
html.tp-light .fob-comment-form small,
html.tp-light .fob-comment-form .form-text{
  color:#64748b!important;
}
html.tp-light .fob-comment-form label,
html.tp-light .fob-comment-form .form-label{
  color:#1e293b!important;
}
html.tp-light .fob-comment-form input:not([type="checkbox"]):not([type="radio"]),
html.tp-light .fob-comment-form textarea,
html.tp-light .fob-comment-form select{
  background:#fff!important;
  color:#0f172a!important;
  border-color:#cbd5e1!important;
}
html.tp-light .fob-comment-form input:not([type="checkbox"]):not([type="radio"]):focus,
html.tp-light .fob-comment-form textarea:focus,
html.tp-light .fob-comment-form select:focus{
  background:#fff!important;
  border-color:#3b82f6!important;
}
html.tp-light .fob-comment-form input::placeholder,
html.tp-light .fob-comment-form textarea::placeholder{
  color:#94a3b8!important;
}
html.tp-light .fob-comment-form .form-check label{
  color:#475569!important;
}
html.tp-light .fob-comment-item{
  border-bottom-color:rgba(15,23,42,.10)!important;
}
html.tp-light .fob-comment-item-avatar img{
  border-color:#dbe4ef!important;
}
html.tp-light .fob-comment-item-admin-badge{
  background:#eaf2ff!important;
  border-color:#cfe0ff!important;
  color:#2563eb!important;
}
html.tp-light .fob-comment-form-login-required{
  background:#fff!important;
  border-color:#dbe4ef!important;
}
html.tp-light .fob-comment-form-login-required .fob-comment-login-message{
  color:#334155!important;
}
html.tp-light .fob-comment-skeleton-title,
html.tp-light .fob-comment-skeleton-avatar,
html.tp-light .fob-comment-skeleton-name,
html.tp-light .fob-comment-skeleton-text{
  background:linear-gradient(90deg,#e8eef5 25%,#f5f8fb 50%,#e8eef5 75%)!important;
  background-size:200% 100%!important;
}

@media(max-width:700px){
  .fob-comment-form > .row{
    grid-template-columns:minmax(0,1fr)!important;
    gap:15px!important;
  }
  .fob-comment-form > .row > [class*="col-"]{
    grid-column:1 / -1!important;
  }
  .fob-comment-item-inner{gap:11px!important}
  .fob-comment-item-avatar,.fob-comment-item-avatar img{width:42px!important;height:42px!important;min-width:42px!important}
  .fob-comment-item .fob-comment-list{margin-left:0!important;padding-left:48px!important}
  .fob-comment-item-footer{align-items:flex-start!important;flex-direction:column!important}
}

/* v4.3.8 comment integration hardening */
.fob-comment-list-section,
.fob-comment-form-section{width:100%!important;box-sizing:border-box!important}
.fob-comment-list-content{width:100%!important}
.fob-comment-list-wrapper{overflow:visible!important}
.fob-comment-list .fob-comment-item{background:var(--tp-panel,#0b121c)!important;border:1px solid rgba(148,163,184,.12)!important;border-radius:14px!important;padding:16px!important;margin:0 0 12px!important}
html.tp-light .fob-comment-list .fob-comment-item{background:#fff!important;border-color:#dbe4ef!important}
.fob-comment-list .fob-comment-item:last-child{margin-bottom:0!important}
.fob-comment-list .fob-comment-item-body{min-width:0!important}
.fob-comment-list .fob-comment-item-info{gap:9px!important}
.fob-comment-form-section .fob-comment-title{letter-spacing:-.015em!important}
@media(max-width:700px){
  .fob-comment-form .row{grid-template-columns:minmax(0,1fr)!important}
  .fob-comment-form .row > [class*="col-"]{grid-column:1 / -1!important}
  .fob-comment-list .fob-comment-item{padding:14px!important}
}


/* TP Polaris Nexus 4.3.9 integration */
.fob-comment-list-section{position:relative;width:100%;margin:0 0 26px}
.fob-comment-list-content{display:block!important}
.fob-comment-list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 16px}
.fob-comment-kicker{display:block;margin:0 0 4px;color:#60a5fa;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.fob-comment-title{margin:0!important;color:var(--tp-text,#eef5ff)!important;font-size:clamp(22px,2.2vw,30px)!important;line-height:1.15!important;font-weight:800!important;letter-spacing:-.02em!important}
.fob-comment-list-count{display:grid;place-items:center;min-width:38px;height:32px;padding:0 11px;border-radius:999px;background:rgba(59,130,246,.12);border:1px solid rgba(96,165,250,.22);color:#60a5fa;font-size:12px;font-weight:800}
.fob-comment-list-wrapper{min-height:0}
.fob-comment-empty{display:flex;align-items:center;gap:16px;padding:22px;border:1px dashed var(--tp-line,#1b2a45);border-radius:16px;background:linear-gradient(145deg,rgba(13,20,32,.72),rgba(7,13,22,.54));color:var(--tp-text,#eef5ff)}
.fob-comment-empty-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:14px;background:rgba(59,130,246,.12);border:1px solid rgba(96,165,250,.2);color:#60a5fa}
.fob-comment-empty-icon svg{width:24px;height:24px}
.fob-comment-empty strong{display:block;font-size:14px;font-weight:800}
.fob-comment-empty p{margin:4px 0 0;color:var(--tp-muted,#8fa0b5);font-size:12px}
.fob-comment-list-loading{display:none!important;position:absolute;left:0;right:0;bottom:-4px;height:2px;overflow:hidden;border-radius:999px;background:rgba(96,165,250,.08);z-index:2}
.fob-comment-list-loading.is-active{display:block!important}
.fob-comment-list-loading span{display:block;width:35%;height:100%;border-radius:999px;background:linear-gradient(90deg,transparent,#60a5fa,transparent);animation:fob-nexus-progress 1.1s ease-in-out infinite}
@keyframes fob-nexus-progress{0%{transform:translateX(-120%)}100%{transform:translateX(360%)}}
.fob-comment-list .fob-comment-item{position:relative;margin:0 0 12px!important;padding:18px!important;background:var(--tp-panel,#0b121c)!important;border:1px solid var(--tp-line,#1b2a45)!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(0,0,0,.09)}
.fob-comment-list .fob-comment-item:last-child{margin-bottom:0!important}
.fob-comment-item-inner{gap:14px!important;margin-bottom:0!important}
.fob-comment-item-avatar{margin-inline-end:0!important;flex:0 0 48px}
.fob-comment-item-avatar img{width:48px!important;height:48px!important;object-fit:cover;border:1px solid rgba(96,165,250,.18);box-shadow:0 5px 16px rgba(0,0,0,.14)}
.fob-comment-item-content{min-width:0}
.fob-comment-item-body p{margin:0 0 12px!important;color:var(--tp-text,#eef5ff)!important;font-size:14px!important;line-height:1.7!important}
.fob-comment-item-footer{padding-top:10px;border-top:1px solid rgba(148,163,184,.10);gap:14px!important}
.fob-comment-item-info{min-width:0;flex-wrap:wrap}
.fob-comment-item-author{color:var(--tp-text,#eef5ff)!important;font-size:12px!important;font-weight:800!important}
.fob-comment-item-date{color:var(--tp-muted,#8fa0b5)!important;font-size:11px!important}
.fob-comment-item-actions{gap:10px!important}
.fob-comment-item-reply,.fob-comment-item-delete{padding:5px 9px;border:1px solid var(--tp-line,#1b2a45)!important;border-radius:8px;text-decoration:none!important;font-style:normal!important;font-size:11px!important;background:rgba(255,255,255,.025)!important}
.fob-comment-item-reply{color:#60a5fa!important}
.fob-comment-item-delete{color:#f87171!important}
.fob-comment-form-section{margin:34px 0 0!important;padding:22px;border:1px solid var(--tp-line,#1b2a45);border-radius:18px;background:linear-gradient(145deg,rgba(13,20,32,.9),rgba(7,13,22,.82));box-sizing:border-box}
.fob-comment-form-section .fob-comment-title{margin-bottom:7px!important}
.fob-comment-form-note{margin:0 0 18px!important;color:var(--tp-muted,#8fa0b5)!important;font-size:12px!important;line-height:1.6}
.fob-comment-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
.fob-comment-form>*{min-width:0}
.fob-comment-form > .row{display:contents!important;margin:0!important}
.fob-comment-form .row > [class*="col-"]{width:auto!important;max-width:none!important;padding:0!important;float:none!important}
.fob-comment-form .row > :has(textarea[name="content"]),
.fob-comment-form .row > :has(input[name="website"]),
.fob-comment-form .row > :has(input[name="cookie_consent"]),
.fob-comment-form .row > :has(.g-recaptcha),
.fob-comment-form .row > :has(button[type="submit"]),
.fob-comment-form .row > :has(input[type="submit"]){grid-column:1 / -1!important}
.fob-comment-form label,.fob-comment-form .form-label{display:block;margin:0 0 7px!important;color:var(--tp-text,#eef5ff)!important;font-size:11px!important;font-weight:700!important}
.fob-comment-form input:not([type="checkbox"]):not([type="radio"]),.fob-comment-form textarea,.fob-comment-form select{width:100%!important;box-sizing:border-box!important;min-height:44px!important;padding:11px 13px!important;border:1px solid var(--tp-line,#1b2a45)!important;border-radius:11px!important;background:var(--tp-input,#07101a)!important;color:var(--tp-text,#eef5ff)!important;font-size:13px!important;box-shadow:none!important}
.fob-comment-form textarea{min-height:128px!important;resize:vertical}
.fob-comment-form input:not([type="checkbox"]):not([type="radio"]):focus,.fob-comment-form textarea:focus,.fob-comment-form select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.12)!important}
.fob-comment-form input::placeholder,.fob-comment-form textarea::placeholder{color:#6f8097!important}
.fob-comment-form .form-check{display:flex;align-items:flex-start;gap:9px;padding:2px 0!important}
.fob-comment-form .form-check-input{margin:3px 0 0!important;flex:0 0 auto}
.fob-comment-form .form-check label{margin:0!important;color:var(--tp-muted,#8fa0b5)!important;font-size:11px!important;font-weight:500!important;line-height:1.5!important}
.fob-comment-form button[type="submit"],.fob-comment-form input[type="submit"]{justify-self:start!important;border:0!important;border-radius:11px!important;padding:11px 18px!important;background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;font-weight:800!important;box-shadow:0 10px 28px rgba(37,99,235,.2)!important}
.fob-comment-form button[type="submit"]:hover,.fob-comment-form input[type="submit"]:hover{transform:translateY(-1px);filter:brightness(1.04)}
html.tp-light .fob-comment-title,html.tp-light .fob-comment-item-body p,html.tp-light .fob-comment-item-author{color:#0f172a!important}
html.tp-light .fob-comment-list .fob-comment-item{background:#fff!important;border-color:#dbe4ef!important;box-shadow:0 8px 24px rgba(15,23,42,.06)}
html.tp-light .fob-comment-form-section{background:linear-gradient(145deg,#fff,#f7faff);border-color:#dbe4ef}
html.tp-light .fob-comment-form input:not([type="checkbox"]):not([type="radio"]),html.tp-light .fob-comment-form textarea,html.tp-light .fob-comment-form select{background:#fff!important;color:#0f172a!important;border-color:#cbd5e1!important}
html.tp-light .fob-comment-empty{background:linear-gradient(145deg,#fff,#f7faff);border-color:#dbe4ef}
html.tp-light .fob-comment-empty p,html.tp-light .fob-comment-form-note,html.tp-light .fob-comment-form .form-check label,html.tp-light .fob-comment-item-date{color:#64748b!important}
@media(max-width:700px){
.fob-comment-form{grid-template-columns:1fr!important}
.fob-comment-form .row > [class*="col-"]{grid-column:1 / -1!important}
.fob-comment-form-section{padding:18px!important}
.fob-comment-list .fob-comment-item{padding:14px!important}
.fob-comment-item-footer{align-items:flex-start!important;flex-direction:column!important}
.fob-comment-list-heading{align-items:flex-start}
.fob-comment-empty{align-items:flex-start}
}

/* TP Polaris Nexus 4.3.9 comment final integration */

/* TP Polaris Nexus 4.5.0 - Advanced Server Monitor */
.tp-server-monitor-v2{position:relative;overflow:hidden;padding:22px;border-radius:20px;background:linear-gradient(180deg,var(--tp-adv-surface,#0d1420),var(--tp-adv-surface-2,#08101b));border:1px solid var(--tp-adv-border,#22314a);box-shadow:0 18px 50px rgba(0,0,0,.16);color:var(--tp-adv-text,#eef5ff)}.tp-server-monitor-v2:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:2px;background:linear-gradient(90deg,#177eff,#8a3ffc,transparent);opacity:.9}.tp-server-monitor-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.tp-server-monitor-brand{display:flex;align-items:center;gap:12px;min-width:0}.tp-server-monitor-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#177eff,#8a3ffc);color:#fff;font-size:23px;font-weight:900;box-shadow:0 10px 25px rgba(23,126,255,.2)}.tp-server-monitor-v2 .tp-server-monitor-title{font-size:17px;font-weight:900;line-height:1.2}.tp-server-monitor-v2 .tp-server-monitor-target{margin-top:4px;color:var(--tp-adv-muted,#9aa8bd);font-size:11px;max-width:52ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-server-monitor-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.tp-server-game-badge{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid var(--tp-adv-border,#22314a);border-radius:999px;background:rgba(23,126,255,.07);color:var(--tp-adv-muted,#9aa8bd);font-size:10px;font-weight:800;letter-spacing:.04em}.tp-server-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:20px;padding:16px;border:1px solid var(--tp-adv-border,#22314a);border-radius:16px;background:rgba(127,151,185,.04)}.tp-server-primary{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;min-width:0}.tp-server-primary [data-srv-headline]{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-server-primary [data-srv-subtitle]{grid-column:2;margin-top:4px;color:var(--tp-adv-muted,#9aa8bd);font-size:11px}.tp-server-live-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 5px rgba(148,163,184,.1)}.tp-server-live-dot.is-online{background:#22c55e}.tp-server-live-dot.is-degraded{background:#f59e0b}.tp-server-live-dot.is-offline{background:#ef4444}.tp-server-ping-card{min-width:92px;text-align:right}.tp-server-ping-card small{display:block;color:var(--tp-adv-muted,#9aa8bd);font-size:10px}.tp-server-ping-card strong{font-size:24px;line-height:1.15}.tp-server-ping-card span{font-size:10px;color:var(--tp-adv-muted,#9aa8bd);margin-left:2px}.tp-server-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.tp-server-metric{padding:13px 14px;border:1px solid var(--tp-adv-border,#22314a);border-radius:14px;background:rgba(127,151,185,.025);min-width:0}.tp-server-metric span{display:block;color:var(--tp-adv-muted,#9aa8bd);font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.tp-server-metric strong{display:block;margin-top:6px;color:var(--tp-adv-text,#eef5ff);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-server-checks-v2{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.tp-monitor-check-v2{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:7px 10px;border:1px solid var(--tp-adv-border,#22314a);border-radius:999px;background:rgba(127,151,185,.04);font-size:10px}.tp-server-footer{display:flex;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--tp-adv-border,#22314a);color:var(--tp-adv-muted,#9aa8bd);font-size:10px}.tp-server-footer b{color:var(--tp-adv-text,#eef5ff)}html.tp-light .tp-server-monitor-v2{background:linear-gradient(180deg,#fff,#f5f8fc);color:#0f172a;border-color:#d9e1ec}.tp-server-monitor-v2 .tp-server-state{font-size:11px;font-weight:900}.tp-server-monitor-v2 .tp-server-state.is-online{color:#22c55e}.tp-server-monitor-v2 .tp-server-state.is-offline{color:#ef4444}.tp-server-monitor-v2 .tp-server-state.is-degraded{color:#f59e0b}.tp-server-monitor-v2 .tp-server-state.is-warning{color:#f59e0b}@media(max-width:900px){.tp-server-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.tp-server-monitor-v2{padding:16px;border-radius:16px}.tp-server-monitor-top{display:block}.tp-server-monitor-right{justify-content:flex-start;margin-top:10px}.tp-server-hero{align-items:flex-start;flex-direction:column}.tp-server-ping-card{text-align:left}.tp-server-grid{grid-template-columns:1fr 1fr}.tp-server-footer{flex-direction:column}}


/* TP Polaris Nexus 4.6.13 — monitor visual fixes: transparent icon, compact title, non-cropping banner. */
.tp-server-monitor-v3 .tp-server-monitor-icon{background:transparent!important;box-shadow:none!important;border:0!important;}
.tp-server-monitor-v3 .tp-server-monitor-icon img{width:100%;height:100%;object-fit:contain!important;border-radius:10px;background:transparent!important;}
.tp-server-monitor-v3 .tp-server-monitor-title{font-size:15px!important;line-height:1.18!important;height:2.36em!important;min-height:2.36em!important;max-height:2.36em!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
.tp-server-monitor-v3 .tp-server-banner{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:0!important;height:auto!important;max-height:180px!important;overflow:hidden!important;}
.tp-server-monitor-v3 .tp-server-banner img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:180px!important;object-fit:contain!important;object-position:center!important;border-radius:13px!important;}
@media(max-width:700px){.tp-server-monitor-v3 .tp-server-monitor-title{font-size:13px!important;line-height:1.18!important;height:2.36em!important;min-height:2.36em!important;max-height:2.36em!important;}.tp-server-monitor-v3 .tp-server-banner{max-height:140px!important;}.tp-server-monitor-v3 .tp-server-banner img{max-height:140px!important;}}
