/* TackleSonar dialog structure: one intentional logo, one wave, one close button. */
dialog.ts-dialog.ts-creator-share-dialog-r8699.ts-modal-r59:not(.saved-builds-hub-r52),
dialog.ts-dialog.ts-creator-share-dialog-r8699.ts-modal-r57:not(.saved-builds-hub-r52),
dialog.ts-dialog.ts-upcoming-dialog-r86100.ts-modal-r59:not(.saved-builds-hub-r52),
dialog.ts-dialog.ts-upcoming-dialog-r86100.ts-modal-r57:not(.saved-builds-hub-r52) {
 width:min(510px,calc(100vw - 28px))!important;max-width:510px!important;
 max-height:calc(100dvh - 28px)!important;box-sizing:border-box!important;
 overflow-x:hidden!important;overflow-y:auto!important;
 margin:auto!important;padding:0!important;border:1px solid #b9e0f1!important;
 border-radius:21px!important;background:#fff!important;background-image:none!important;
 box-shadow:0 24px 70px rgba(3,22,44,.34)!important;
}
dialog.ts-creator-share-dialog-r8699::before,dialog.ts-creator-share-dialog-r8699::after,
dialog.ts-upcoming-dialog-r86100::before,dialog.ts-upcoming-dialog-r86100::after,
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-shell-r86107::before,
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-shell-r86107::after {display:none!important;content:none!important}
dialog.ts-creator-share-dialog-r8699 > .ts-modal-auto-brand-r59,
dialog.ts-creator-share-dialog-r8699 > .ts-modal-brand-auto-r56,
dialog.ts-upcoming-dialog-r86100 > .ts-modal-auto-brand-r59,
dialog.ts-upcoming-dialog-r86100 > .ts-modal-brand-auto-r56 {display:none!important}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-shell-r86107,
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 {position:relative!important;background:#fff!important;margin:0!important;max-width:none!important;}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-head-r86107,
dialog.ts-upcoming-dialog-r86100 > .ts-upcoming-brand-head-r861015 {
 position:relative!important;display:flex!important;justify-content:center!important;align-items:center!important;
 margin:0!important;padding:5px 53px 17px!important;box-sizing:border-box!important;
 width:100%!important;height:113px!important;min-height:113px!important;
 background:#edfbff url('/assets/img/modal-wave-top-r59.svg') center top / 100% 113px no-repeat!important;
 border:0!important;box-shadow:none!important;
}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-head-r86107 > img.ts-creator-logo-r861015,
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-brand-head-r861015 > img.ts-upcoming-logo-r861015 {
 display:block!important;position:static!important;margin:0 auto!important;
 width:165px!important;max-width:165px!important;height:74px!important;max-height:74px!important;
 padding:0!important;background:none!important;border:0!important;box-shadow:none!important;
 object-fit:contain!important;transform:none!important;
}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-head-r86107 > [data-share-close],
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-brand-head-r861015 > [data-upcoming-close] {
 position:absolute!important;top:13px!important;right:14px!important;bottom:auto!important;left:auto!important;
 transform:none!important;width:40px!important;height:40px!important;
 display:grid!important;place-items:center!important;margin:0!important;padding:0!important;
 border-radius:50%!important;border:1px solid #cce5f4!important;background:#f1fbff!important;
 color:#0a2b51!important;font-size:24px!important;line-height:1!important;z-index:20!important;cursor:pointer;
}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-copy-r86107 {
 display:block!important;margin:0!important;padding:9px 25px 26px!important;text-align:center!important;
}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-copy-r86107 .eyebrow {
 display:block!important;text-align:center!important;letter-spacing:.16em!important;
 margin:0 0 7px!important;color:#008dba!important;font-weight:900!important;font-size:11px!important;
}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-copy-r86107 h2 {
 margin:0 0 16px!important;text-align:center!important;color:#08274d!important;
 font-size:clamp(20px,4.5vw,24px)!important;line-height:1.22!important;
}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-options-r8697 {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:9px!important;padding:0!important;margin:0!important;
}
dialog.ts-creator-share-dialog-r8699 .ts-creator-share-options-r8697 > * {
 display:flex!important;justify-content:center!important;align-items:center!important;
 min-height:46px!important;padding:10px 8px!important;box-sizing:border-box!important;
 background:#fff!important;border:1px solid #bcd9eb!important;border-radius:9px!important;
 color:#082a50!important;font-size:13px!important;font-weight:850!important;text-decoration:none!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 {
 padding:3px 24px 23px!important;min-height:0!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > header {
 display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;
 margin:0 auto 11px!important;padding:0!important;max-width:420px!important;text-align:center!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > header > img {
 display:block!important;width:62px!important;height:62px!important;margin:0 auto 3px!important;
 border-radius:50%!important;object-fit:cover!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > header > div {
 max-width:400px!important;width:100%!important;text-align:center!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > header .eyebrow {
 display:block!important;margin:0 auto 4px!important;text-align:center!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > header h2 {
 margin:0 0 4px!important;font-size:25px!important;line-height:1.18!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > header p {
 margin:0 auto 5px!important;max-width:380px!important;line-height:1.43!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > form[data-upcoming-create] {
 display:grid!important;justify-items:center!important;gap:10px!important;
 max-width:415px!important;margin:10px auto 0!important;padding:15px!important;
 border-radius:13px!important;background:#f6fbfe!important;border:1px solid #cee5f3!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 > form[data-upcoming-create] label {
 text-align:center!important;max-width:380px!important;width:100%!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 input[type="datetime-local"] {
 text-align:center!important;box-sizing:border-box!important;width:100%!important;
}
dialog.ts-upcoming-dialog-r86100 .ts-upcoming-shell-r86100 .ts-upcoming-list-r86100 {
 max-width:415px!important;margin:11px auto 0!important;
}
@media(max-width:390px){dialog.ts-creator-share-dialog-r8699 .ts-creator-share-options-r8697{grid-template-columns:1fr!important}}
/* Superadmin-only lifetime Partner entitlement management. */
.ts-partner-lifetime-r861015{margin:20px 0;padding:16px;border:1px solid #bde3ef;border-radius:14px;background:linear-gradient(145deg,#edf9ff,#fff)}
.ts-partner-lifetime-r861015 h3{margin:0 0 7px;color:#082f53}
.ts-partner-lifetime-r861015 p{margin:0 0 14px;font-size:13px;line-height:1.55;color:#496d84}
.ts-partner-lifetime-grid-r861015{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ts-partner-lifetime-grid-r861015 form{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:14px;border:1px solid #d0e8f4;border-radius:11px;background:#fff}
.ts-partner-lifetime-grid-r861015 small{color:#4d7086;font-size:12px}
@media(max-width:640px){.ts-partner-lifetime-grid-r861015{grid-template-columns:1fr}}
.ts-ops-action-status-r861015{grid-column:1/-1;padding:11px 16px;border-radius:11px;border:1px solid #b8deed;background:#f0fbff;color:#125371;font-size:13px;font-weight:750;line-height:1.4}
.ts-ops-action-status-r861015.is-error{border-color:#edbbbb;background:#fff3f2;color:#922f36}

/* Test-mode invoice workflow: shown only inside superadmin Pro management. */
.ts-ops-test-invoice-r861015{margin:16px 0;padding:16px;border:1px solid #bddfec;border-radius:14px;background:#f4fbff}
.ts-ops-test-invoice-r861015 h3{margin:0 0 7px;color:#082d51;font-size:17px}
.ts-ops-test-invoice-r861015 p{font-size:13px;line-height:1.5;color:#426681}
.ts-ops-test-invoice-r861015 form{display:grid;gap:12px;padding:8px 0 0}
.ts-ops-test-invoice-r861015 form label{display:grid;gap:6px;color:#173653;font-weight:700}
.ts-ops-test-invoice-r861015 form label.check{display:flex;align-items:start;gap:9px;font-weight:500;font-size:13px}
.ts-ops-test-invoice-r861015 form label.check input{width:auto;flex:0 0 auto;margin-top:3px}
.ts-ops-test-invoice-r861015 .ts-ops-invoice-last-r861015{margin-top:14px;padding-top:10px;border-top:1px solid #c3e2ef}
.ts-ops-invoice-last-r861015 a{display:inline-block;margin-left:6px;font-weight:800;color:#087cba}
.ts-pro-test-note-r861015{display:block;color:#53738d;font-size:12px;line-height:1.35;margin-top:8px}
/* Operations workspaces: keep every admin module on the same centered, readable canvas. */
:where(body):has(.ts-ops-submodule-nav-r861013){background:#f2f9fe}
.ts-ops-submodule-nav-r861013{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;width:min(1290px,calc(100% - 32px))!important;margin:17px auto 16px!important;padding:10px!important;box-sizing:border-box!important;border:1px solid #c3e0ef!important;border-radius:15px!important;background:linear-gradient(135deg,#f9fdff,#e9f6fe)!important;box-shadow:0 8px 26px rgba(5,44,82,.055)!important}
.ts-ops-submodule-nav-r861013 a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;padding:9px 14px!important;border:1px solid #c6dfef!important;border-radius:10px!important;background:#fff!important;color:#15456a!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important}
.ts-ops-submodule-nav-r861013 a[aria-current="page"]{background:linear-gradient(110deg,#00b9d8,#1178eb)!important;border-color:#12a8df!important;color:#fff!important;box-shadow:0 5px 13px rgba(10,130,200,.15)!important}
.ops-products-r869.ops-products-rich-r8693,.ops-shop-admin-grid-r86101,.ops-brand-pro-r86103,.database-console,.ops-diagnostics-r86102,.ts-ops-support-desk-r861014{width:min(1290px,calc(100% - 36px))!important;max-width:1290px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
.ops-products-r869 .ops-products-head-r869,.ops-brand-pro-r86103 .ops-brand-pro-hero-r86103{box-sizing:border-box!important;min-height:118px!important;padding:24px 28px!important;margin:0 0 16px!important;background:linear-gradient(112deg,#07254b,#075b80)!important;color:#fff!important;border-radius:17px!important;box-shadow:0 12px 25px rgba(4,39,74,.12)!important}
.ops-products-r869 .ops-products-head-r869 h1,.ops-brand-pro-r86103 .ops-brand-pro-hero-r86103 h1{font-size:clamp(27px,3vw,36px)!important;line-height:1.18!important;margin:4px 0!important;color:#fff!important}
.ops-products-r869 .ops-products-head-r869 p,.ops-brand-pro-r86103 .ops-brand-pro-hero-r86103 p{color:#d6eef8!important;font-size:14px!important;line-height:1.55!important}
.ops-products-r869 .ops-product-form-r869,.ops-products-r869 .ops-product-list-r869,.ops-brand-pro-r86103 :is(.ops-brand-pro-card-r86103,.ops-brand-pro-list-r86103),.ops-shop-admin-grid-r86101>article{border:1px solid #cee3ef!important;background:#fff!important;border-radius:17px!important;box-shadow:0 10px 27px rgba(7,51,88,.06)!important}
.ops-products-r869 .ops-product-form-r869,.ops-products-r869 .ops-product-list-r869{padding:20px!important}
.ops-products-r869 .ops-products-layout-r869{grid-template-columns:minmax(355px,.94fr) minmax(0,1.45fr)!important;gap:18px!important;align-items:start!important}
.ops-products-r869 :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.ops-shop-admin-grid-r86101 :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.ops-brand-pro-r86103 :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:40px;max-width:100%!important;box-sizing:border-box!important;border:1px solid #bad9e9;border-radius:9px;padding:9px 11px;background:#fbfeff;color:#103957;font-size:14px}
.ops-products-r869 label,.ops-brand-pro-r86103 label{font-size:13px!important;color:#1c4260!important;font-weight:750!important;min-width:0!important}
.ops-products-r869 label small,.ops-brand-pro-r86103 label small{display:block;margin-top:5px;color:#557b93;font-size:11px;font-weight:500;line-height:1.4}
.ops-products-r869 :is(.ops-product-row-r869,.ops-product-form-r869) :is(h2,h3),.ops-shop-admin-grid-r86101 h2{font-size:21px!important;color:#062a51!important;line-height:1.22!important}
.ops-products-r869 .ops-product-list-r869 details{margin:9px 0!important;border:1px solid #d6e8f2!important;border-radius:11px!important;background:#fcfeff!important}
.ops-products-r869 .ops-product-list-r869 details>summary{display:flex!important;align-items:center!important;gap:10px!important;min-height:73px!important;padding:10px!important;cursor:pointer}
.ops-products-r869 .ops-product-list-r869 details>summary img{width:58px!important;height:58px!important;object-fit:contain!important;background:#edf8fc!important;border-radius:9px!important}
.ops-shop-admin-grid-r86101{gap:18px!important;margin-top:20px!important;margin-bottom:55px!important}
.ops-shop-admin-grid-r86101 form{gap:10px!important}
.ops-shop-admin-grid-r86101 :is(form input,form select){flex:1 1 150px!important;max-width:100%!important;min-width:0!important}
.database-console :is(.ts-sql-console-r861011,.ts-sql-restore-r861014),.ops-diagnostics-r86102 :is(.ops-diagnostics-failures-r86102,.ops-diagnostics-grid-r86102>details){border:1px solid #cee5ef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(5,49,81,.05)!important}
.database-console :is(.ts-sql-console-r861011,.ts-sql-restore-r861014){padding:22px!important;margin:20px 0!important}
.database-console textarea[name="sql"]{min-height:240px!important;width:100%!important;box-sizing:border-box!important;padding:16px!important;background:#082545!important;color:#e0faff!important;font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace!important;border-radius:12px!important}
@media(max-width:910px){.ops-products-r869 .ops-products-layout-r869,.ops-shop-admin-grid-r86101{grid-template-columns:1fr!important}.ts-ops-submodule-nav-r861013{justify-content:flex-start!important}}
.ts-ops-module-toast-r861015{display:block;padding:12px 16px;margin:0 0 16px;border:1px solid #bee6f3;background:#effaff;border-radius:12px;color:#0d5377;font-size:13px;font-weight:800;line-height:1.4}
.ts-ops-module-toast-r861015.is-error{border-color:#ecc1c1;color:#a32c38;background:#fff2f1}

.ts-ops-lifetime-stop-r861015,.ts-partner-stop-billing-r861015{display:flex!important;align-items:start!important;gap:9px!important;padding:11px!important;border-radius:9px!important;border:1px solid #cce6ee!important;background:#f3fcff!important;font-size:12px!important;line-height:1.55!important;font-weight:600!important}
.ts-ops-lifetime-stop-r861015 input,.ts-partner-stop-billing-r861015 input{width:auto!important;flex:0 0 auto!important;margin-top:3px!important}
