/* BP251 visual candidate ? isolated development only.
   Intentionally does not change forms, endpoints, data or JS behaviour. */
html body.bp251-preview,html body.bp251-preview.ti-app{
 --bp251-bg:#0a1019;--bp251-surface:#111c2a;--bp251-surface-raised:#162435;
 --bp251-border:#26384b;--bp251-text:#f0f5fb;--bp251-muted:#a4b5c9;
 --bp251-green:#3ce5a2;--bp251-blue:#65aaff;
 --ti-bg:var(--bp251-bg);--ti-text:var(--bp251-text);--ti-green:var(--bp251-green);--ti-stroke:var(--bp251-border);
 color:var(--bp251-text)!important;background:var(--bp251-bg)!important;font-family:Inter,"Segoe UI",system-ui,sans-serif!important;
}
html body.bp251-preview.ti-app :is(.ti-shell,.reseller-shell-v67,.ti-main,.reseller-main-v67){background:transparent!important}
html body.bp251-preview.ti-app :is(.ti-sidebar,.reseller-side-v67){background:#0c1521!important;border-right:1px solid #26384b!important;box-shadow:none!important}
html body.bp251-preview.ti-app .ti-brand-v165{padding:10px 12px 22px!important;border-color:#26384b!important}
html body.bp251-preview.ti-app :is(.nav-v61,.admin-nav-v65)>a,
html body.bp251-preview.ti-app .reseller-side-v67 nav>a{border-radius:8px!important;color:#adbed1!important;min-height:38px!important;font-size:12.5px!important;gap:10px!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.nav-v61,.admin-nav-v65)>a>span:first-child{color:#79adce!important}
html body.bp251-preview.ti-app :is(.nav-v61,.admin-nav-v65)>a:is(.on,[aria-current=page],:hover,:focus-visible),
html body.bp251-preview.ti-app .reseller-side-v67 nav>a:is(.on,:hover,:focus-visible){background:#12352e!important;border-color:#296750!important;color:#7df7c4!important;box-shadow:inset 3px 0 #3ce5a2!important}
html body.bp251-preview.ti-app .nav-label-v61{color:#8396ad!important;font-weight:700!important;letter-spacing:.12em!important;font-size:10px!important}
html body.bp251-preview.ti-app :is(.ti-topbar,.reseller-main-v67>header){background:#0e1825!important;border-bottom:1px solid #26384b!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.ti-top-copy-v165,.ti-crumb-v165){color:#a4b5c9!important}
html body.bp251-preview.ti-app :is(.ti-dashboard-hero,.ti-dashboard-panel,.ti-metric,.reseller-card-v67,.reseller-kpis-v67>div){border:1px solid #26384b!important;background:#111c2a!important;border-radius:14px!important;box-shadow:0 8px 22px #0002!important;color:#f0f5fb!important}
html body.bp251-preview.ti-app .ti-dashboard-hero{padding:24px!important;position:relative!important;overflow:hidden!important;background:linear-gradient(105deg,#142535,#111c2a 70%)!important}
html body.bp251-preview.ti-app .ti-dashboard-hero h1{color:#f0f5fb!important;font-size:clamp(25px,2.6vw,38px)!important;line-height:1.14!important;letter-spacing:-.035em!important;text-shadow:none!important}
html body.bp251-preview.ti-app .ti-dashboard-hero h1 em{color:#3ce5a2!important;text-shadow:none!important}
html body.bp251-preview.ti-app .ti-dashboard-hero p{color:#a4b5c9!important}
html body.bp251-preview.ti-app .ti-dashboard-metrics{margin-top:16px!important;gap:14px!important}
html body.bp251-preview.ti-app .ti-metric{min-height:128px!important;padding:18px!important;box-shadow:none!important;border-top:2px solid #3a6b77!important}
html body.bp251-preview.ti-app .ti-metric:nth-child(2){border-top-color:#36b98d!important}
html body.bp251-preview.ti-app .ti-metric:nth-child(3){border-top-color:#65aaff!important}
html body.bp251-preview.ti-app .ti-metric:nth-child(4){border-top-color:#cfa36d!important}
html body.bp251-preview.ti-app .ti-metric strong{font-size:clamp(21px,2vw,30px)!important;letter-spacing:-.035em!important;color:#f0f5fb!important}
html body.bp251-preview.ti-app .ti-dashboard-panel{padding:20px!important}
html body.bp251-preview.ti-app .ti-dashboard-panel h2{font-size:17px!important;letter-spacing:-.025em!important;color:#f0f5fb!important}
html body.bp251-preview.ti-app :is(.admin-page-v61,.page-v61,.reseller-main-v67) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=submit]),select,textarea){background:#0c1622!important;border-color:#34475c!important;color:#f0f5fb!important;border-radius:9px!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.admin-page-v61,.page-v61,.reseller-main-v67) :is(input,select,textarea):focus-visible{outline:2px solid #65aaff!important;outline-offset:2px!important}
html body.bp251-preview.ti-app :is(.admin-page-v61,.page-v61,.reseller-main-v67) :is(button[type=submit],input[type=submit],.btn-primary,.bp-primary,.bp-submit,.admin-main-action,.v68-primary-action,.v63-submit-sale){background:#3ce5a2!important;border-color:#3ce5a2!important;color:#08251c!important;-webkit-text-fill-color:#08251c!important;box-shadow:none!important;border-radius:9px!important}
html body.bp251-preview.ti-app :is(.admin-page-v61,.page-v61,.reseller-main-v67) :is(table th){background:#182739!important;color:#c0d0e0!important;border-color:#293c50!important;text-transform:none!important;font-weight:650!important}
html body.bp251-preview.ti-app :is(.admin-page-v61,.page-v61,.reseller-main-v67) :is(table td){border-color:#26384b!important}
html body.bp251-preview.ti-app :is(.admin-page-v61,.page-v61) :is(.card,.panel):not(.v66-invoice-paper):not(.v66-invoice-paper *){border-color:#26384b!important;background:#111c2a!important;box-shadow:none!important;border-radius:12px!important}
html body.bp251-preview :is(a,button,input,select,textarea):focus-visible{outline:2px solid #65aaff!important;outline-offset:3px!important}
html body.bp251-preview.bp-ti-v169{background:#0a1019!important}
html body.bp251-preview.bp-ti-v169 .card{background:#111c2a!important;border:1px solid #26384b!important;border-radius:18px!important;box-shadow:0 16px 55px #0004!important}
@media(min-width:1180px){html body.bp251-preview.ti-app .ti-shell{grid-template-columns:244px minmax(0,1fr)!important}html body.bp251-preview.ti-app .ti-sidebar{width:244px!important}html body.bp251-preview.ti-app .ti-topbar{min-height:68px!important}}
@media(max-width:800px){html body.bp251-preview.ti-app .ti-dashboard-hero{padding:18px!important}html body.bp251-preview.ti-app .ti-dashboard-metrics{gap:10px!important}html body.bp251-preview.ti-app .ti-metric{padding:13px!important;min-height:115px!important}html body.bp251-preview.ti-app .ti-metric strong{font-size:21px!important}html body.bp251-preview.ti-app .ti-dashboard-panel{padding:15px!important}}
@media(prefers-reduced-motion:reduce){html body.bp251-preview *,html body.bp251-preview *::before,html body.bp251-preview *::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* BP251.2: structure, hierarchy and invoice visual pass. */
html body.bp251-preview.ti-app .ti-dashboard-metrics>.ti-metric{background:#111d2b!important;background-image:none!important;border:1px solid #2a3d50!important;border-top:3px solid #3ce5a2!important;padding:19px 18px!important;min-height:132px!important;box-shadow:none!important}
html body.bp251-preview.ti-app .ti-dashboard-metrics>.ti-metric:nth-child(2){border-top-color:#60a5fa!important}
html body.bp251-preview.ti-app .ti-dashboard-metrics>.ti-metric:nth-child(3){border-top-color:#36c9b3!important}
html body.bp251-preview.ti-app .ti-dashboard-metrics>.ti-metric:nth-child(4){border-top-color:#e3b26a!important}
html body.bp251-preview.ti-app .ti-metric small{color:#a7b9ce!important;font-size:12px!important;font-weight:600!important}
html body.bp251-preview.ti-app .ti-metric strong{margin:10px 0 8px!important;font-variant-numeric:tabular-nums}
html body.bp251-preview.ti-app .ti-metric span{color:#b2c5d8!important;font-weight:500!important}
html body.bp251-preview.ti-app .ti-dashboard-panel{background:#111d2b!important;background-image:none!important;border:1px solid #26384b!important;box-shadow:none!important}
html body.bp251-preview.ti-app .ti-dashboard-panel .ti-panel-heading{margin-bottom:18px!important;gap:8px!important}
html body.bp251-preview.ti-app .ti-dashboard-panel .ti-panel-heading a{color:#80c3ff!important}
html body.bp251-preview.ti-app .ti-dashboard-panel .ti-record{background:#0d1825!important;background-image:none!important;border-color:#273c51!important;border-radius:9px!important}
html body.bp251-preview.ti-app .ti-dashboard-panel .ti-fact{border-color:#26384b!important}
html body.bp251-preview.ti-app .ti-dashboard-panel .ti-fact span{color:#a4b5c9!important}
html body.bp251-preview.ti-app .ti-sale-row{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;margin:14px 0!important;min-height:30px!important}
html body.bp251-preview.ti-app .ti-sale-row>span{font-size:12px!important;color:#a7b9ce!important}
html body.bp251-preview.ti-app .ti-sale-row>b{font-size:12px!important;white-space:nowrap!important}
html body.bp251-preview.ti-app .ti-sale-track{display:block!important;width:100%!important;min-width:0!important;height:9px!important;background:#26364b!important;border-radius:99px!important;overflow:hidden!important}
html body.bp251-preview.ti-app .ti-sale-track>i{display:block!important;height:100%!important;background:linear-gradient(90deg,#398bed,#3ce5a2)!important;border-radius:99px!important;box-shadow:none!important}
html body.bp251-preview.ti-app .ti-dashboard-actions :is(a,button),html body.bp251-preview.ti-app .sale-top-v61{box-shadow:none!important;border-radius:9px!important;white-space:nowrap!important}
html body.bp251-preview.ti-app .bp25-search{min-width:0!important;background:#0c1622!important;border-color:#34475c!important;box-shadow:none!important}
html body.bp251-preview.ti-app .bp25-search input{min-width:0!important;background:transparent!important;color:#e5edf7!important;border:0!important;box-shadow:none!important}
@media(min-width:1180px){html body.bp251-preview.ti-client.ti-app .ti-topbar{display:grid!important;grid-template-columns:minmax(140px,.8fr) minmax(160px,1.4fr) minmax(150px,.85fr) max-content!important;align-items:center!important;gap:14px!important;padding:14px 24px!important;min-height:76px!important;height:auto!important}html body.bp251-preview.ti-client.ti-app .ti-topbar .bp25-search{width:100%!important;max-width:none!important;margin:0!important}html body.bp251-preview.ti-client.ti-app .ti-topbar .plan-v61{min-width:0!important;width:100%!important;margin:0!important;padding:10px 12px!important}html body.bp251-preview.ti-client.ti-app .ti-topbar .sale-top-v61{margin:0!important;width:auto!important;min-height:40px!important;padding:10px 14px!important;font-size:12px!important}html body.bp251-preview.ti-app .ti-dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:800px){html body.bp251-preview.ti-app .ti-dashboard-metrics>.ti-metric{padding:13px 12px!important;min-height:112px!important}html body.bp251-preview.ti-app .ti-metric strong{font-size:20px!important}html body.bp251-preview.ti-app .ti-sale-row{grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important}html body.bp251-preview.ti-app .ti-sale-row>b{font-size:11px!important}}
/* Browser invoice document only. Export engines remain untouched until parity tests. */
html body.bp251-preview .v66-invoice-paper{background:#fff!important;color:#142236!important;border:1px solid #dbe3ed!important;border-radius:14px!important;box-shadow:0 12px 40px #0002!important;overflow:hidden!important}
html body.bp251-preview .v66-invoice-paper .v66-accent{background:linear-gradient(90deg,#17865f,#3479bd)!important;height:5px!important}
html body.bp251-preview .v66-invoice-paper .v66-product-card{background:#f8fafc!important;border-color:#dde5ef!important;box-shadow:none!important;border-radius:10px!important}
html body.bp251-preview .v66-invoice-paper .v66-total{background:#142b40!important;background-image:none!important;border-radius:10px!important;box-shadow:none!important}
html body.bp251-preview .v66-invoice-paper .v66-thanks{background:#eef6f4!important;background-image:none!important;border-radius:10px!important;color:#183b33!important}
html body.bp251-preview .v66-invoice-paper .v66-summary-row{border-color:#e2e8f0!important}

/* BP251.3 cascade: explicit visual priority for dashboard only. */

html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-metrics>.ti-metric{background:#111d2b!important;background-image:none!important;border:1px solid #2a3d50!important;border-top:3px solid #3ce5a2!important;padding:19px 18px!important;min-height:132px!important;box-shadow:none!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-metrics>.ti-metric:nth-child(2){border-top-color:#60a5fa!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-metrics>.ti-metric:nth-child(3){border-top-color:#36c9b3!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-metrics>.ti-metric:nth-child(4){border-top-color:#e3b26a!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-metric small{color:#a7b9ce!important;font-size:12px!important;font-weight:600!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-metric strong{margin:10px 0 8px!important;font-variant-numeric:tabular-nums}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-metric span{color:#b2c5d8!important;font-weight:500!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-panel{background:#111d2b!important;background-image:none!important;border:1px solid #26384b!important;box-shadow:none!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-panel .ti-panel-heading{margin-bottom:18px!important;gap:8px!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-panel .ti-panel-heading a{color:#80c3ff!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-panel .ti-record{background:#0d1825!important;background-image:none!important;border-color:#273c51!important;border-radius:9px!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-panel .ti-fact{border-color:#26384b!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-panel .ti-fact span{color:#a4b5c9!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-sale-row{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;margin:14px 0!important;min-height:30px!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-sale-row>span{font-size:12px!important;color:#a7b9ce!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-sale-row>b{font-size:12px!important;white-space:nowrap!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-sale-track{display:block!important;width:100%!important;min-width:0!important;height:9px!important;background:#26364b!important;border-radius:99px!important;overflow:hidden!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-sale-track>i{display:block!important;height:100%!important;background:linear-gradient(90deg,#398bed,#3ce5a2)!important;border-radius:99px!important;box-shadow:none!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-actions :is(a,button),html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .sale-top-v61{box-shadow:none!important;border-radius:9px!important;white-space:nowrap!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .bp25-search{min-width:0!important;background:#0c1622!important;border-color:#34475c!important;box-shadow:none!important}
html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .bp25-search input{min-width:0!important;background:transparent!important;color:#e5edf7!important;border:0!important;box-shadow:none!important}
@media(min-width:1180px){html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-client.ti-app .ti-topbar{display:grid!important;grid-template-columns:minmax(140px,.8fr) minmax(160px,1.4fr) minmax(150px,.85fr) max-content!important;align-items:center!important;gap:14px!important;padding:14px 24px!important;min-height:76px!important;height:auto!important}html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-client.ti-app .ti-topbar .bp25-search{width:100%!important;max-width:none!important;margin:0!important}html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-client.ti-app .ti-topbar .plan-v61{min-width:0!important;width:100%!important;margin:0!important;padding:10px 12px!important}html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-client.ti-app .ti-topbar .sale-top-v61{margin:0!important;width:auto!important;min-height:40px!important;padding:10px 14px!important;font-size:12px!important}html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:800px){html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-dashboard-metrics>.ti-metric{padding:13px 12px!important;min-height:112px!important}html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-metric strong{font-size:20px!important}html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-sale-row{grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important}html body.bp251-preview:not(#bp251-unused):not(#bp251-unused2).ti-app .ti-sale-row>b{font-size:11px!important}}

/* BP251.4: standalone access, reseller notices and invoice document. */
html body.bp251-preview.client-login-v619{background:#0a1019!important;background-image:none!important;color:#f0f5fb!important}
html body.bp251-preview.client-login-v619 .client-login-shell-v619{background:transparent!important}
html body.bp251-preview.client-login-v619 .client-login-showcase-v619{background:linear-gradient(150deg,#15283a,#0c1723 80%)!important;border:1px solid #2a3d50!important;border-radius:22px!important;box-shadow:none!important}
html body.bp251-preview.client-login-v619 .client-login-card-v619{background:#111d2b!important;background-image:none!important;border:1px solid #2c4056!important;border-radius:20px!important;box-shadow:0 20px 50px #0003!important;color:#f0f5fb!important}
html body.bp251-preview.client-login-v619 .client-login-copy-v619 h1{color:#f0f5fb!important;text-shadow:none!important;letter-spacing:-.04em!important;line-height:1.1!important}
html body.bp251-preview.client-login-v619 .client-login-card-head-v619 :is(h1,h2,h3){color:#f0f5fb!important}
html body.bp251-preview.client-login-v619 :is(.client-login-kicker-v619,.client-login-card-head-v619 p,.login-security-note-v16,.client-login-safe-v619){color:#a9bed2!important}
html body.bp251-preview.client-login-v619 .client-login-form-v619 input:not([type=checkbox]):not([type=submit]){background:#0b1521!important;border:1px solid #344a61!important;color:#f0f5fb!important;box-shadow:none!important;border-radius:10px!important}
html body.bp251-preview.client-login-v619 .client-login-form-v619 :is(button[type=submit],.login-main-button-v16){background:#3ce5a2!important;background-image:none!important;color:#09251c!important;border-color:#3ce5a2!important;box-shadow:none!important;border-radius:10px!important}
html body.bp251-preview.bp117-public{background:#0a1019!important;background-image:none!important}
html body.bp251-preview.bp117-public :is(.bp120-panel,.bp123-card){background:#111d2b!important;background-image:none!important;border-color:#2a3d50!important;box-shadow:none!important;border-radius:14px!important;color:#f0f5fb!important}
html body.bp251-preview.bp117-public :is(.bp120-btn.primary,.bp124-accent){background:#3ce5a2!important;color:#08251c!important;border-color:#3ce5a2!important;box-shadow:none!important}
html body.bp251-preview.bp117-public .bp123-input{background:#0c1622!important;border-color:#34475c!important;color:#f0f5fb!important}
html body.bp251-preview.invoice-pro-page-v610{background:#0a1019!important;color:#f0f5fb!important}
html body.bp251-preview.invoice-pro-page-v610 .invoice-pro-v610{background:#fff!important;color:#172a40!important;border:1px solid #d9e3ec!important;border-radius:14px!important;box-shadow:0 18px 55px #0003!important}
html body.bp251-preview.invoice-pro-page-v610 :is(.invoice-brand-v610,.invoice-no-v610,.invoice-meta-v610){color:#172a40!important}
html body.bp251-preview.invoice-pro-page-v610 .invoice-total-v610 .grand{background:#142b40!important;color:#fff!important;border-radius:10px!important}
html body.bp251-preview .v66-invoice-paper :is(.v66-brand,.v66-invoice-identity,.v66-client,.v66-date){text-shadow:none!important}
html body.bp251-preview .v66-invoice-paper .v66-product-logo.generic{background:#142b40!important;background-image:none!important}
html body.bp251-preview .v66-invoice-paper .v66-thanks :is(strong,b,p,span,small){color:#183b33!important}
@media(max-width:600px){html body.bp251-preview.client-login-v619 .client-login-card-v619{border-radius:14px!important}html body.bp251-preview.invoice-pro-page-v610 .invoice-pro-v610{max-width:100%!important;min-width:0!important}}

/* BP251.5 ? module-specific surfaces. Shared design tokens, no behavior changes. */
html body.bp251-preview.ti-app .ti-view :is(.module-card-v610,.panel-v62,.v62-calendar-card,.v5-list-card,.admin-focus-card,.reseller-admin-card-v677,.bp144-card,.bp23-editor,.bp23-preview-shell){background:#111d2b!important;background-image:none!important;border:1px solid #2a3d50!important;border-radius:14px!important;box-shadow:none!important;color:#f0f5fb!important;min-width:0}
html body.bp251-preview.ti-app :is(.module-head-v610,.v5-head,.bp23-head,.bp144-heading){gap:14px!important}
html body.bp251-preview.ti-app :is(.ti-screen-title,.ti-section-heading){color:#f0f5fb!important;text-shadow:none!important;letter-spacing:-.025em!important}
html body.bp251-preview.ti-app :is(.ti-section-heading,.panel-title-v62){font-weight:700!important}
html body.bp251-preview.ti-app :is(.v63-sale-step,.v63-selected-sale,.v69-sale-summary,.v62-service-card,.v54-client-asset,.bp24-feature-toggle,.bp23-product-editor,.bp144-person,.reseller-overview-v95){background:#0d1825!important;background-image:none!important;border-color:#2a3d50!important;border-radius:10px!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.v63-sale-brand,.v62-service-card,.bp24-feature-toggle):focus-within{outline:2px solid #65aaff!important;outline-offset:2px}
html body.bp251-preview.ti-app :is(.v5-table-wrap,.table-wrap,.table-modern-v62){border-color:#2a3d50!important;border-radius:12px!important;max-width:100%!important;overflow-x:auto!important}
html body.bp251-preview.ti-app .ti-table{border-collapse:separate!important;border-spacing:0!important}
html body.bp251-preview.ti-app .ti-table th{background:#182739!important;color:#bed0e2!important;font-size:11px!important;letter-spacing:.025em!important}
html body.bp251-preview.ti-app .ti-table td{border-bottom:1px solid #26384b!important}
html body.bp251-preview.ti-app .ti-table tbody tr:hover{background:#162435!important}
html body.bp251-preview.ti-app :is(.v5-stats,.report-kpis-v62,.invoice-summary-v610)>:is(article,div){background:#111d2b!important;background-image:none!important;border:1px solid #2a3d50!important;box-shadow:none!important;border-radius:12px!important}
html body.bp251-preview.ti-app :is(.v68-empty-state,.empty-module-v610,.empty-clean-v62,.bp144-empty){background:#0d1825!important;background-image:none!important;border-color:#2a3d50!important;border-radius:12px!important;color:#a7b9ce!important}
html body.bp251-preview.ti-app :is(.bp-search-line-v92,.bp-filter-v92,.reseller-search-v94,.v62-calendar-trigger){background:#0c1622!important;border-color:#34475c!important;box-shadow:none!important;border-radius:9px!important}
html body.bp251-preview.ti-app :is(.bp193-shell,.bp204-chat){background:#0c1622!important;background-image:none!important;border-color:#2a3d50!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.bp193-head,.bp204-head,.bp193-bottom,.bp204-composer-wrap,.bp204-tools){background:#111d2b!important;background-image:none!important;border-color:#2a3d50!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.bp193-messages,.bp204-messages){background:#0c1622!important;background-image:none!important}
html body.bp251-preview.ti-app :is(.bp193-bubble,.bp204-bubble){border-color:#30465b!important;border-radius:12px!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.bp193-compose,.bp204-composer){background:#0a1420!important;border-color:#34475c!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.bp193-send,.bp204-send){background:#3ce5a2!important;color:#08251c!important;border-color:#3ce5a2!important;box-shadow:none!important}
html body.bp251-preview.ti-app :is(.bp193-suggestions,.bp248-chat-suggest){border-color:#30465b!important}
@media(max-width:600px){html body.bp251-preview.ti-app :is(.module-card-v610,.panel-v62,.v5-list-card,.admin-focus-card,.bp144-card,.bp23-editor,.bp23-preview-shell){max-width:100%!important;min-width:0!important;border-radius:12px!important}html body.bp251-preview.ti-app :is(.v63-sale-step,.v63-selected-sale,.v69-sale-summary,.v62-service-card,.bp23-product-editor){min-width:0!important}}

/* BP251.6: owner dashboard refinement */
html body.bp251-preview.ti-admin .bp251-admin-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:0!important;margin:0 0 20px!important;border:0!important;background:none!important;box-shadow:none!important}
html body.bp251-preview.ti-admin .bp251-admin-heading h1{margin:0!important;font-size:clamp(26px,2.5vw,34px)!important;line-height:1.15!important;letter-spacing:-.04em!important;color:#f0f5fb!important}
html body.bp251-preview.ti-admin .bp251-admin-heading p{margin:7px 0 0!important;color:#a4b5c9!important;font-size:13px!important;line-height:1.5!important}
html body.bp251-preview.ti-admin .bp251-admin-heading+.ti-dashboard-metrics{margin-top:0!important}
html body.bp251-preview.ti-admin .bp251-quick-actions{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin:18px 0 0!important;padding:14px 16px!important;border:1px solid #27384b!important;border-radius:12px!important;background:#111b28!important}
html body.bp251-preview.ti-admin .bp251-quick-actions>strong{color:#b5c5d8!important;font-size:12px!important;font-weight:700!important;margin-right:auto!important}
html body.bp251-preview.ti-admin .bp251-quick-actions .ti-dashboard-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important}
html body.bp251-preview.ti-admin .bp251-quick-actions .ti-dashboard-actions>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;height:auto!important;padding:9px 14px!important;border:1px solid #34475c!important;border-radius:8px!important;background:#152438!important;background-image:none!important;color:#dbe9f8!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important;box-shadow:none!important}
html body.bp251-preview.ti-admin .bp251-quick-actions .ti-dashboard-actions>a:first-child{background:#3ce5a2!important;color:#08291e!important;border-color:#3ce5a2!important}
html body.bp251-preview.ti-admin .bp251-quick-actions .ti-dashboard-actions>a:hover{filter:brightness(1.12)}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-panel-heading{align-items:flex-start!important;margin:0 0 14px!important;padding:0 0 14px!important;border-bottom:1px solid #26384b!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .bp251-panel-sub{display:block!important;color:#91a6be!important;font-size:11px!important;margin-top:5px!important;line-height:1.5!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;margin:0!important;min-height:68px!important;padding:12px 10px!important;border:0!important;border-bottom:1px solid #253449!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record:last-child{border-bottom:0!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record:hover{background:#152337!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-avatar{width:38px!important;height:38px!important;border-radius:11px!important;background:#182d44!important;background-image:none!important;border:1px solid #314b67!important;color:#86bafa!important;font-size:14px!important;box-shadow:none!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record-copy{min-width:0!important;gap:4px!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record-copy>b{font-size:13px!important;line-height:1.3!important;overflow-wrap:anywhere!important;color:#e5eef8!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record-copy>small{font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere!important;color:#94a8bf!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .bp2391-recent-state{min-width:0!important;max-width:150px!important;align-items:flex-end!important;gap:4px!important;text-align:right!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .bp2391-recent-state>small{font-size:10px!important;line-height:1.4!important;color:#96aac0!important;overflow-wrap:anywhere!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-status{font-size:10px!important;border-radius:6px!important;padding:4px 8px!important;font-weight:700!important}
html body.bp251-preview.ti-admin .ti-sidebar>.admin-credit-box{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:6px!important;flex:0 0 auto!important;min-height:82px!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:4px 0 14px!important;padding:13px 15px!important;border:1px solid #2d4358!important;border-radius:12px!important;background:#132232!important;background-image:none!important;box-shadow:none!important;color:#e9f3ff!important}
html body.bp251-preview.ti-admin .ti-sidebar>.admin-credit-box>small{font-size:10px!important;letter-spacing:.1em!important;font-weight:700!important;color:#96aac1!important;line-height:1.4!important;white-space:normal!important}
html body.bp251-preview.ti-admin .ti-sidebar>.admin-credit-box>strong{display:block!important;font-size:18px!important;font-weight:750!important;line-height:1.3!important;color:#68ecb3!important;white-space:normal!important}
html body.bp251-preview.ti-admin .ti-sidebar>.admin-credit-box>.bp251-credit-detail{font-size:10px!important;font-weight:500!important;color:#91a6be!important;line-height:1.4!important}
html body.bp251-preview.ti-admin .ti-sidebar .bp205-ai-nav-link:not(.on){background:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important}
html body.bp251-preview.ti-admin .ti-sidebar .bp205-ai-nav-link:not(.on):hover{background:#152c38!important;border-color:#2d4854!important}
@media(min-width:1180px){html body.bp251-preview.ti-admin .admin-top-v61{min-height:66px!important;height:auto!important;padding:12px 25px!important}}
@media(max-width:600px){html body.bp251-preview.ti-admin .bp251-admin-heading{margin-bottom:14px!important}html body.bp251-preview.ti-admin .bp251-quick-actions{padding:12px!important;gap:9px!important}html body.bp251-preview.ti-admin .bp251-quick-actions>strong{width:100%!important}html body.bp251-preview.ti-admin .bp251-quick-actions .ti-dashboard-actions{width:100%!important}html body.bp251-preview.ti-admin .bp251-quick-actions .ti-dashboard-actions>a{flex:1 1 auto!important;min-width:0!important;font-size:11px!important;padding:9px 10px!important}html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record{grid-template-columns:32px minmax(0,1fr) minmax(60px,auto)!important;gap:9px!important;padding:11px 3px!important}html body.bp251-preview.ti-admin .bp251-recent-panel .ti-avatar{width:32px!important;height:32px!important}html body.bp251-preview.ti-admin .bp251-recent-panel .bp2391-recent-state{max-width:95px!important}}

/* BP251.7 - consistent outline iconography and module palette */
html body.bp251-preview.ti-app .ti-sidebar :is(.nav-v61,.admin-nav-v65)>a>span:first-child,
html body.bp251-preview.ti-app .logout-v61>span:first-child{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;flex:0 0 22px!important;color:#85accb!important;background:none!important;box-shadow:none!important}
html body.bp251-preview.ti-app .ti-sidebar :is(.nav-v61,.admin-nav-v65)>a>span:first-child svg,
html body.bp251-preview.ti-app .logout-v61>span:first-child svg,
html body.bp251-preview.ti-app .ti-icon-btn-v165 svg,
html body.bp251-preview.ti-app .reseller-side-v67 nav svg{width:19px!important;height:19px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;flex-shrink:0!important}
html body.bp251-preview.ti-app .ti-sidebar :is(.nav-v61,.admin-nav-v65)>a:is(.on,[aria-current=page])>span:first-child{color:#64eab4!important}
html body.bp251-preview.ti-app .ti-sidebar{scrollbar-width:thin!important;scrollbar-color:#354b60 transparent!important}
html body.bp251-preview.ti-app .ti-sidebar::-webkit-scrollbar{width:5px!important}
html body.bp251-preview.ti-app .ti-sidebar::-webkit-scrollbar-thumb{background:#354b60!important;border-radius:8px!important}
html body.bp251-preview.ti-admin .ti-topbar.admin-top-v61{min-height:72px!important;height:auto!important;padding:12px 25px!important;background:#0e1825!important;gap:12px!important}
html body.bp251-preview.ti-admin .ti-top-copy-v165{line-height:1.4!important}
html body.bp251-preview.ti-admin .ti-top-copy-v165>strong{font-size:15px!important;color:#eaf2fb!important}
html body.bp251-preview.ti-admin .ti-crumb-v165{font-size:11px!important;color:#93a9c2!important}
html body.bp251-preview.ti-admin .ti-top-actions-v165{gap:10px!important;align-items:center!important}
html body.bp251-preview.ti-admin .ti-system-pill-v165{background:#12273a!important;background-image:none!important;border:1px solid #29465e!important;border-radius:8px!important;box-shadow:none!important;color:#c0d6e9!important;padding:7px 11px!important;font-size:11px!important;white-space:nowrap!important}
html body.bp251-preview.ti-admin .ti-system-pill-v165::before{content:"";display:inline-block;width:7px;height:7px;background:#3ce5a2;border-radius:50%;margin-right:7px;vertical-align:1px}
html body.bp251-preview.ti-admin .ti-icon-btn-v165{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;background:#142235!important;border:1px solid #30465c!important;color:#b1c9e0!important;border-radius:10px!important;box-shadow:none!important}
html body.bp251-preview.ti-admin .ti-top-avatar-v165{width:38px!important;height:38px!important;min-width:38px!important;background:#19364c!important;background-image:none!important;border:1px solid #3a5871!important;color:#c6e3ff!important;border-radius:10px!important;box-shadow:none!important;font-size:12px!important}
html body.bp251-preview.ti-admin .ti-dashboard-panel .ti-fact{padding:14px 0!important}
html body.bp251-preview.ti-admin .ti-dashboard-panel .ti-fact b{font-variant-numeric:tabular-nums;color:#d8e8f7!important;font-size:17px!important}
html body.bp251-preview.ti-admin .ti-dashboard-panel .ti-fact:first-child b{color:#65e8b0!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-record{border-bottom-color:#2a394b!important;min-height:62px!important}
html body.bp251-preview.ti-admin .bp251-recent-panel .ti-status{letter-spacing:0!important;text-transform:none!important}
html body.bp251-preview.ti-app .reseller-side-v67 nav>a{display:flex!important;align-items:center!important;gap:10px!important}
html body.bp251-preview.ti-app .reseller-side-v67 nav>a svg{color:#85accb!important}
html body.bp251-preview.ti-app .reseller-side-v67 nav>a.on svg{color:#64eab4!important}
/* Targeted panels: explicit priority over legacy skins. Keep semantic state colors. */
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-card,.v54-asset,.v54-selected-client,.v54-client-asset,.v54-client-assets,.reseller-admin-card-v677,.reseller-overview-v95,.api-card,.api-client,.api-access-card,.api-provider-row,.api-product,.api-payment,.api-coupon-list,.bp205-panel,.bp211 .summary){background:#111d2b!important;background-image:none!important;border-color:#2b3e53!important;box-shadow:none!important;border-radius:12px!important;color:#eaf2fa!important;min-width:0!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-hero,.bp205-header){background:transparent!important;background-image:none!important;border-color:#283b50!important;box-shadow:none!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-selected-client,.api-endpoint,.api-direct-note,.bp205-note,.api-scope,.api-docs){background:#142539!important;background-image:none!important;border-color:#334d66!important;color:#bed2e5!important;box-shadow:none!important;border-radius:9px!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-stats,.api-stats,.api-mini-metrics)>:is(div,article){background:#152435!important;background-image:none!important;border-color:#2e445b!important;color:#e8f1fb!important;box-shadow:none!important;border-radius:10px!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-service-filter,.api-nav,.reseller-search-v94,.v54-client-search){background:#0d1825!important;background-image:none!important;border-color:#30465c!important;box-shadow:none!important;border-radius:10px!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-service-filter,.api-nav) :is(a,button):not(.on):not(.active):not([aria-current=page]){background:#142235!important;background-image:none!important;color:#b8cde0!important;border-color:#334a60!important;box-shadow:none!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-service-filter,.api-nav) :is(a,button):is(.on,.active,[aria-current=page]){background:#193c37!important;background-image:none!important;color:#7af0bd!important;border-color:#376c60!important;box-shadow:none!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-card,.v54-asset,.api-card,.api-client,.bp205-panel,.reseller-admin-card-v677) :is(h2,h3,h4){color:#e9f2fc!important;letter-spacing:-.015em!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-asset,.v54-selected-client,.api-client-title,.api-provider-note,.api-muted,.bp205-meta,.bp205-help,.bp205-fineprint,.reseller-identity-v94) small{color:#a5b9ce!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.api-avatar,.reseller-avatar-v95,.bp205-hero-icon){background:#182d44!important;background-image:none!important;border-color:#39516c!important;color:#91c6fa!important;box-shadow:none!important;border-radius:11px!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.v54-asset,.v54-client-asset) img{object-fit:contain!important;max-width:100%!important;border-radius:8px!important}
html body.bp251-preview.ti-app:not(#bp251-unused):not(#bp251-unused2) :is(.api-empty,.v54-empty){background:#0d1825!important;background-image:none!important;border-color:#293d51!important;color:#a5b9ce!important;border-radius:10px!important}
html body.bp251-preview.ti-admin:not(#bp251-unused):not(#bp251-unused2) .bp211{background:#0d1825!important;background-image:none!important;border:1px solid #2a3e53!important;border-radius:14px!important;box-shadow:none!important;color:#eaf2fa!important;max-width:100%!important}
html body.bp251-preview.ti-admin .bp211 :is(p,small){color:#adc0d5!important}
html body.bp251-preview.ti-admin .bp211 .item{border-bottom-color:#293d51!important}
html body.bp251-preview.ti-admin .bp211 input[type=number]{background:#0d1825!important;border-color:#3b536d!important;color:#eaf2fa!important}
html body.bp251-preview.ti-admin .bp211 button:not([disabled]){background:#173c36!important;border-color:#3a806a!important;color:#a3f5ce!important;box-shadow:none!important}
@media(max-width:800px){html body.bp251-preview.ti-admin .ti-topbar.admin-top-v61{padding:10px 12px!important;min-height:62px!important}html body.bp251-preview.ti-admin .ti-top-actions-v165{gap:7px!important}html body.bp251-preview.ti-admin .ti-system-pill-v165{font-size:10px!important;padding:6px 8px!important}html body.bp251-preview.ti-admin .bp211 .item{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}html body.bp251-preview.ti-admin .bp211 form{min-width:0!important;max-width:100%!important}}
