﻿/* TZBoost: clean reconstruction of the legacy panel, not a legacy CSS import. */
:root {
  --tz-blue:#103566; --tz-blue-dark:#0B274D; --tz-orange:#FC6211; --tz-orange-hover:#E95508;
  --tz-sidebar:#151529; --tz-sidebar-hover:#25253c; --tz-sidebar-text:#d5d7e2;
  --tz-primary:#4b38b3; --tz-primary-hover:#3d2c96; --tz-primary-soft:#f0edfb;
  --tz-bg:#f7f8fb; --tz-surface:#fff; --tz-border:#e6e9ed; --tz-text:#303744;
  --tz-muted:#687385; --tz-success:#18794e; --tz-warning:#8a5e0b; --tz-danger:#b42318; --tz-info:#206bc4;
  --tz-radius:8px; --tz-radius-sm:4px; --tz-shadow:0 2px 8px rgb(49 53 72 / 4%);
  --tz-header:64px; --tz-sidebar-width:256px; --tz-font:"Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink:var(--tz-text); --muted:var(--tz-muted); --teal:var(--tz-primary); --paper:var(--tz-bg); --line:var(--tz-border);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{color-scheme:light;scroll-padding-top:80px}
.tz-fixed-light{color-scheme:light!important;background:#f7f8fb}.tz-fixed-light body,.tz-fixed-light body.tz-public,.tz-fixed-light body.tz-auth{background:#f7f8fb;color:var(--tz-text)}
body{margin:0;font-family:var(--tz-font);font-size:14px;line-height:1.5;color:var(--tz-text);background:var(--tz-bg)}
a{color:var(--tz-primary);text-decoration:none}a:hover{text-decoration:none}
button,input,select,textarea{font:inherit}button,summary{cursor:pointer}button:disabled,[aria-disabled=true]{opacity:.55;cursor:not-allowed}
img{max-width:100%;height:auto}svg{vertical-align:middle;flex-shrink:0}
h1,h2,h3{font-weight:700;line-height:1.3;margin:0 0 12px;letter-spacing:-.025em}h1{font-size:24px}h2{font-size:18px}h3{font-size:16px}p{margin:0 0 12px}
:focus-visible{outline:3px solid #8978de;outline-offset:3px}
.tz-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tz-skip-link{position:fixed;top:-80px;left:12px;z-index:200;background:#fff;padding:12px}.tz-skip-link:focus{top:8px}
.muted,.tz-muted{color:var(--tz-muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--tz-muted);margin-bottom:6px}
.tz-icon{width:19px;height:19px}.tz-icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--tz-muted);padding:0;list-style:none}
.tz-icon-button:hover{background:var(--tz-primary-soft);color:var(--tz-primary)}summary::-webkit-details-marker{display:none}
.tz-button,.button,button:not([class]){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 13px;border:1px solid var(--tz-primary);border-radius:var(--tz-radius-sm);background:var(--tz-primary);color:#fff;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;box-shadow:none}
.tz-button:hover,.button:hover,button:not([class]):hover{background:var(--tz-primary-hover);border-color:var(--tz-primary-hover);color:#fff;text-decoration:none}
.tz-button-secondary,.button.alt{background:var(--tz-surface);color:var(--tz-primary);border-color:#d9d2ef}.tz-button-secondary:hover,.button.alt:hover{background:var(--tz-primary-soft);color:var(--tz-primary)}
.tz-button-danger{background:#fff;color:var(--tz-danger);border-color:#efc5c0}.tz-button-danger:hover{background:#fef3f2;color:var(--tz-danger);border-color:var(--tz-danger)}
.tz-actions,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.card,.tz-card,.tz-stat{background:var(--tz-surface);border:1px solid var(--tz-border);border-radius:var(--tz-radius);box-shadow:var(--tz-shadow);padding:20px;min-width:0}
.tz-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.tz-page-head p:last-child{margin-bottom:0}.tz-page-head h1{margin-bottom:7px}.tz-page-head h2{margin-bottom:0}
.tz-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.tz-stat{padding:18px 20px;border-top:2px solid #e3def5}.tz-stat>span{display:block;color:var(--tz-muted);font-size:12px;margin-bottom:10px}.tz-stat>strong{display:block;font-size:23px;letter-spacing:-.035em;font-weight:700;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.grid+.card,.grid+h2{margin-top:24px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:18px;min-width:0}.field label{font-size:13px;font-weight:600}.field small{font-size:12px}.field:last-child{margin-bottom:0}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{display:block;width:100%;min-width:0;min-height:38px;padding:8px 10px;color:var(--tz-text);background:#fff;border:1px solid #d9dee5;border-radius:var(--tz-radius-sm);line-height:1.4}
input::placeholder,textarea::placeholder{color:#7d8794}input[type=checkbox],input[type=radio]{width:15px;height:15px;accent-color:var(--tz-primary);flex-shrink:0}textarea{min-height:110px;resize:vertical}input[type=file]{font-size:12px}input[type=file]::file-selector-button{font:inherit;border:0;background:var(--tz-primary-soft);color:var(--tz-primary);border-radius:3px;padding:5px 9px;margin-right:10px}
.tz-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:0;padding:16px;background:#fff;border:1px solid var(--tz-border);border-radius:8px 8px 0 0}.tz-toolbar .field{flex:1 1 150px;margin:0}.tz-toolbar .field:first-child{flex:2 1 220px}.tz-toolbar .tz-button{min-height:38px}
.tz-user-counters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-8px 0 14px}.tz-user-counters a{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid var(--tz-border);border-radius:6px;background:#fff;color:var(--tz-muted);font-size:12px}.tz-user-counters a:hover{border-color:var(--tz-orange);color:var(--tz-orange);text-decoration:none}.tz-user-counters strong{color:var(--tz-text)}
.tz-status-form{margin:0}.tz-status-form select{min-height:30px;padding:4px 8px;border-radius:5px;font-size:11px;width:auto}.tz-detail-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:16px;padding-bottom:8px;border-bottom:1px solid var(--tz-border)}.tz-detail-tabs a{padding:7px 10px;border-radius:5px;font-size:12px;color:var(--tz-muted)}.tz-detail-tabs a:hover{background:var(--tz-primary-soft);color:var(--tz-primary);text-decoration:none}.tz-customer-form .grid,.tz-customer-funds .grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.tz-inline-mail{display:grid;gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid var(--tz-border)}.tz-inline-mail textarea{min-height:100px}.tz-settings-preference{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid var(--tz-border)}.tz-settings-preference p{margin:4px 0 0}.tz-settings-preference .tz-preferences{justify-content:flex-end}.tz-settings-card{margin-bottom:16px}.tz-pricing-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--tz-border)}.tz-pricing-row p{margin:0;flex:1 1 260px}.tz-pricing-row form{margin:0}.tz-pricing-form{margin-top:14px;padding-top:14px;border-top:1px solid var(--tz-border)}.tz-pricing-form .grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}
.tz-alert{border:1px solid #ded7f2;background:#f7f5ff;color:var(--tz-text);border-radius:6px;padding:12px 16px;margin-bottom:18px}.tz-alert p:last-child{margin:5px 0 0}.tz-alert-error,.tz-field-error{color:var(--tz-danger)}.tz-alert-error{background:#fef3f2;border-color:#f1c6c1}
.table-wrap{width:100%;overflow-x:auto;background:#fff;border:1px solid var(--tz-border);border-radius:6px}.tz-toolbar+.table-wrap{border-top:0;border-radius:0 0 6px 6px}
table{width:100%;border-collapse:collapse;font-size:13px;background:#fff;text-align:left}th,td{padding:11px 14px;border-bottom:1px solid var(--tz-border);vertical-align:middle;overflow-wrap:anywhere}th{background:#fafbfc;font-size:11px;font-weight:700;color:#667083;white-space:nowrap;letter-spacing:.02em}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#faf9fe}td strong{font-weight:600}td small{display:block;font-size:11px;color:var(--tz-muted);margin-top:3px}.tz-number{font-variant-numeric:tabular-nums;white-space:nowrap}.tz-cell-user{display:flex;align-items:center;gap:10px}.tz-check-column{width:40px}.tz-row-tools{display:flex;gap:8px;align-items:center}.tz-selection{font-size:12px;color:var(--tz-muted)}
.tz-admin-ui .tz-table-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--tz-border);border-bottom:0;background:#fff;border-radius:6px 6px 0 0}.tz-admin-ui .tz-table-filter label{font-size:12px;color:var(--tz-muted)}.tz-admin-ui .tz-table-filter input{max-width:230px;min-height:32px;font-size:12px}.tz-admin-ui .tz-table-filter+.table-wrap{border-radius:0 0 6px 6px}
.tz-status{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;font-size:11px;font-weight:600;line-height:1.5;border-radius:999px;background:#f0f2f5;color:#596373;white-space:nowrap}.tz-status::before{content:'';width:5px;height:5px;flex-shrink:0;border-radius:50%;background:currentColor}.tz-status-success,.tz-status-active,.tz-status-completed,.tz-status-paid{color:var(--tz-success);background:#edf8f1}.tz-status-warning,.tz-status-pending,.tz-status-processing,.tz-status-partial{color:var(--tz-warning);background:#fff8e6}.tz-status-danger,.tz-status-failed,.tz-status-rejected,.tz-status-suspended,.tz-status-banned{color:var(--tz-danger);background:#fef0ee}
.tz-switch-indicator{display:inline-flex;align-items:center;gap:8px;font-size:12px}.tz-switch-indicator::before{content:'';display:block;width:27px;height:15px;border-radius:15px;background:radial-gradient(circle at 7px 7.5px,#fff 5px,transparent 5.5px),#aab0bc}.tz-switch-indicator.is-on::before{background:radial-gradient(circle at 20px 7.5px,#fff 5px,transparent 5.5px),var(--tz-primary)}
.tz-empty{padding:38px 20px;text-align:center;background:#fff;border:1px dashed var(--tz-border);border-radius:6px}.tz-empty h2{font-size:16px;margin:12px 0 6px}.tz-empty p{font-size:13px}.tz-empty-icon{display:inline-flex;padding:12px;border-radius:50%;background:var(--tz-primary-soft);color:var(--tz-primary)}.tz-empty .tz-button{margin-top:12px}
.tz-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;font-size:12px}.tz-pagination p{margin:0}.tz-pagination .tz-button{min-height:32px;padding:5px 10px;font-size:12px}
.tz-action-menu{position:relative;display:inline-block}.tz-dropdown{position:absolute;right:0;top:100%;min-width:185px;max-width:calc(100vw - 24px);padding:6px;background:#fff;color:var(--tz-text);border:1px solid var(--tz-border);border-radius:6px;box-shadow:0 8px 24px rgb(21 21 41 / 12%);z-index:90;text-align:left}.tz-dropdown a,.tz-dropdown button{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;background:transparent;border:0;border-radius:3px;font:inherit;font-size:12px;color:var(--tz-text);text-decoration:none;text-align:left;justify-content:flex-start}.tz-dropdown a:hover,.tz-dropdown button:hover{background:var(--tz-primary-soft);color:var(--tz-primary)}.tz-dropdown form{margin:0}.tz-account-email{padding:8px 10px;border-bottom:1px solid var(--tz-border);color:var(--tz-muted);font-size:12px;overflow-wrap:anywhere}
.tz-modal{width:min(480px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid var(--tz-border);padding:24px;border-radius:8px;color:var(--tz-text);box-shadow:0 15px 50px rgb(21 21 41 / 15%)}.tz-modal::backdrop{background:rgb(21 21 41 / 48%)}.tz-detail-list{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;font-size:13px}.tz-detail-list dt{color:var(--tz-muted)}.tz-detail-list dd{margin:0;overflow-wrap:anywhere}
/* Shared fixed panel shell. */
.tz-panel-layout{min-height:100vh}.tz-panel-layout.is-sidebar-collapsed{--tz-sidebar-width:76px}
.tz-sidebar{position:fixed;inset:0 auto 0 0;width:var(--tz-sidebar-width);display:flex;flex-direction:column;background:var(--tz-sidebar);color:var(--tz-sidebar-text);z-index:50;border-right:1px solid #222238;transition:width .18s ease;box-shadow:none}
.tz-sidebar-brand{height:var(--tz-header);min-height:var(--tz-header);display:flex;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid var(--tz-border);gap:10px;overflow:hidden}.tz-sidebar-brand a{display:block;width:158px;overflow:hidden}.tz-sidebar-brand img{display:block;width:158px;max-width:none;height:50px;object-fit:contain}
.tz-sidebar-scroll{padding:18px 12px;overflow-y:auto;overflow-x:hidden;flex:1;scrollbar-width:thin;scrollbar-color:#414158 transparent}.tz-nav-group{margin-bottom:20px}.tz-sidebar-heading{display:flex;align-items:center;justify-content:space-between;width:100%;list-style:none;font-size:10px;font-weight:600;color:#9296a9;letter-spacing:.1em;text-transform:uppercase;padding:0 12px;margin:0 0 8px;white-space:nowrap;cursor:pointer}.tz-sidebar-heading::-webkit-details-marker{display:none}.tz-sidebar-heading span{font-size:13px;transition:transform .15s ease}.tz-nav-group:not([open]) .tz-sidebar-heading span{transform:rotate(-90deg)}.tz-nav-link{display:flex;align-items:center;gap:12px;min-height:39px;padding:9px 12px;color:var(--tz-sidebar-text);border-radius:4px;margin:2px 0;font-size:13px;white-space:nowrap;border-left:2px solid transparent}.tz-nav-link .tz-icon{color:#9296ad;width:18px;height:18px}.tz-nav-link:hover{background:var(--tz-sidebar-hover);color:#fff;text-decoration:none}.tz-nav-link.is-active{color:#fff;background:#30284d;border-left-color:#a89ae9}.tz-nav-link.is-active .tz-icon{color:#c3b7f4}.tz-sidebar-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-top:1px solid #2a2a3d;font-size:11px;color:#999caf}.tz-live-dot{height:6px;width:6px;background:#8c80c5;border-radius:50%;flex-shrink:0}
.tz-topbar{position:fixed;top:0;right:0;left:var(--tz-sidebar-width);height:var(--tz-header);background:#fff;border-bottom:1px solid var(--tz-border);z-index:40;transition:left .18s ease}.tz-topbar-inner{display:flex;align-items:center;height:100%;gap:16px;padding:0 28px;max-width:none}.tz-topbar-inner>.tz-profile{margin-left:auto;min-width:0}.tz-topbar-location{color:var(--tz-muted);font-size:12px}.tz-site-link{margin-left:auto;color:var(--tz-muted);font-size:12px}.tz-profile-trigger{display:flex;align-items:center;gap:10px;list-style:none;border-left:1px solid var(--tz-border);padding-left:20px}.tz-avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:33px;height:33px;border-radius:50%;background:#eeebf8;color:var(--tz-primary);font-size:13px;font-weight:700}.tz-profile-name{font-size:12px;font-weight:600;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tz-profile-name small{display:block;font-size:10px;font-weight:400;color:var(--tz-muted)}
.tz-avatar-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.tz-account-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;max-width:1100px}.tz-account-settings>.card{min-width:0}.tz-account-form{display:grid;gap:14px;margin-top:18px}.tz-account-form .field{min-width:0;margin:0}.tz-account-form input{max-width:100%;box-sizing:border-box}.tz-account-form small{display:block;margin-top:5px;line-height:1.4}.tz-account-form button{justify-self:start}.tz-account-photo-row{display:flex;align-items:center;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--tz-border)}.tz-account-photo{width:64px;height:64px;font-size:23px}.tz-account-photo-row>.field{flex:1}.tz-account-errors{border:1px solid var(--tz-danger,#b42318);border-radius:8px;padding:10px 14px;font-size:13px}.tz-account-errors ul{margin:0;padding-left:18px}.tz-account-settings #password{scroll-margin-top:90px}@media(max-width:768px){.tz-account-settings{grid-template-columns:1fr}.tz-account-photo-row{align-items:flex-start;flex-wrap:wrap}.tz-account-photo-row>.field{flex-basis:180px}}
.tz-panel-content{margin-left:var(--tz-sidebar-width);padding:calc(var(--tz-header) + 28px) 28px 28px;min-height:calc(100vh - 49px);min-width:0;overflow-wrap:anywhere;transition:margin-left .18s ease}.tz-panel-content>form.card{max-width:850px}.tz-panel-footer{margin-left:var(--tz-sidebar-width);display:flex;justify-content:space-between;gap:12px;padding:15px 28px;color:var(--tz-muted);font-size:11px;border-top:1px solid var(--tz-border);background:#fff}
.tz-panel-toggle,.tz-drawer-close,.tz-backdrop{display:none}
/* Public pages retain their own generous spacing, using the same brand. */
.wrap{max-width:1160px;margin:auto;padding:0 22px}.public-nav{background:#fff;border-bottom:1px solid var(--tz-border);position:sticky;top:0;z-index:50}.navin{min-height:76px;display:flex;align-items:center;gap:24px}.brand{margin-right:auto;display:flex;align-items:center}.tz-logo-public{width:150px;height:48px;object-fit:contain}.tz-nav-links{display:flex;align-items:center;gap:20px;font-size:14px}.tz-nav-links>a:not(.button){color:var(--tz-text)}.tz-nav-links>a:hover{color:var(--tz-primary)}.tz-nav-toggle{display:none}.tz-public main{min-height:calc(100vh - 250px)}.tz-public{font-size:16px;line-height:1.7}.tz-public .hero{padding:88px 0 72px;background:radial-gradient(ellipse at 90% 15%,#eeeaf8,transparent 55%),#f7f8fb}.hero h1{font-size:clamp(34px,5.6vw,68px);line-height:1.06;letter-spacing:-.055em;max-width:790px;margin-bottom:24px}.hero p{font-size:18px;max-width:660px;color:var(--tz-muted)}.hero .actions{margin-top:28px}.tz-public .button{min-height:44px;padding:11px 19px;font-size:14px}.section{padding:64px 0}.tz-public h2{font-size:28px}.tz-public h3{font-size:19px}.tz-public .card{padding:25px}.tz-public .eyebrow{color:var(--tz-primary);font-size:11px}.tz-public>footer{background:var(--tz-sidebar);color:#d5d7e2;padding:48px 0}.tz-public>footer a{color:#d5d7e2}.footergrid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:28px}.footergrid h4{font-size:13px;color:#fff}.footergrid p,.footergrid a{font-size:14px}.crumbs{padding:24px 0;color:var(--tz-muted);font-size:13px}
@media(min-width:768px){.is-sidebar-collapsed .tz-nav-text,.is-sidebar-collapsed .tz-sidebar-heading{display:none}.is-sidebar-collapsed .tz-sidebar-scroll{padding:18px 10px}.is-sidebar-collapsed .tz-nav-group{margin-bottom:16px}.is-sidebar-collapsed .tz-nav-link{justify-content:center;padding:10px 0}.is-sidebar-collapsed .tz-sidebar-brand a{width:44px}.is-sidebar-collapsed .tz-sidebar-footer{justify-content:center;padding:18px 0}}
@media(max-width:1100px){.tz-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tz-topbar-inner{padding:0 20px}.tz-panel-content{padding-right:20px;padding-left:20px}.tz-nav-links{gap:13px;font-size:13px}.tz-profile-name{max-width:120px}}
@media(min-width:768px) and (max-width:1023px){[data-priority=low]{display:none}.tz-page-head{align-items:flex-start}.tz-topbar-location{display:none}}
@media(max-width:900px){.tz-nav-toggle{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--tz-border);border-radius:4px;background:#fff;color:var(--tz-text);padding:9px 14px}.tz-nav-links{display:none;position:absolute;top:100%;left:0;right:0;padding:18px 22px;background:#fff;border-bottom:1px solid var(--tz-border);box-shadow:var(--tz-shadow);align-items:stretch;gap:0}.tz-nav-links.is-open{display:flex;flex-direction:column}.tz-nav-links a{padding:11px 8px}.tz-nav-links .button{margin-top:8px}.tz-public .hero{padding:60px 0}.footergrid{grid-template-columns:1fr 1fr}}
@media(max-width:767px){
  :root{--tz-header:60px}.tz-panel-layout,.tz-panel-layout.is-sidebar-collapsed{--tz-sidebar-width:256px}
  .tz-sidebar{width:min(82vw,280px);transform:translateX(-100%);visibility:hidden;transition:transform .18s ease,visibility .18s ease;z-index:70}
  .tz-panel-layout.is-drawer-open .tz-sidebar{transform:translateX(0);visibility:visible}.tz-drawer-close,.tz-panel-toggle{display:inline-flex}.tz-collapse-toggle{display:none}.tz-sidebar-brand{padding:0 14px}.tz-sidebar-brand a{flex:1}.tz-sidebar-brand img{width:150px}.tz-backdrop{position:fixed;inset:0;border:0;background:rgb(21 21 41 / 45%);z-index:60;border-radius:0}.is-drawer-open .tz-backdrop{display:block}.tz-drawer-lock{overflow:hidden}
  .tz-topbar{left:0}.tz-topbar-inner{padding:0 16px;gap:10px}.tz-panel-content{margin-left:0;padding:80px 16px 24px}.tz-panel-footer{margin-left:0;padding:15px 16px}.tz-topbar-location{font-size:11px}.tz-site-link{font-size:11px}.tz-profile-name{display:none}.tz-profile-trigger{padding-left:10px;gap:5px}.tz-profile-trigger>.tz-icon{display:none}
  .tz-page-head{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:20px}.tz-page-head .tz-actions{justify-content:flex-start}.tz-page-head h1{font-size:22px}.tz-stat-grid{gap:10px;margin-bottom:20px}.tz-stat{padding:15px}.tz-stat>strong{font-size:20px}.tz-stat>span{font-size:11px}.card{padding:17px}.grid{grid-template-columns:1fr}
  .tz-toolbar{gap:12px}.tz-toolbar .field:first-child{flex-basis:100%}.tz-toolbar .field{flex-basis:100px}.tz-toolbar .tz-button{min-height:40px}.tz-admin-ui .tz-table-filter input{width:52%}.tz-admin-ui .tz-table-filter label{font-size:11px}
  .tz-panel table.tz-responsive,.tz-panel table.tz-responsive tbody{display:block;width:100%}.tz-panel table.tz-responsive thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
  .tz-panel table.tz-responsive tbody tr{display:block;border-bottom:1px solid var(--tz-border);padding:12px 14px}.tz-panel table.tz-responsive tbody tr:last-child{border-bottom:0}.tz-panel table.tz-responsive tbody td{display:grid;grid-template-columns:minmax(78px,30%) minmax(0,1fr);gap:10px;align-items:center;border:0;padding:6px 0;font-size:12px;min-width:0;white-space:normal}.tz-panel table.tz-responsive tbody td::before{content:attr(data-label);font-size:11px;color:var(--tz-muted);font-weight:500}.tz-panel table.tz-responsive tbody td[colspan]{display:block}.tz-panel table.tz-responsive tbody td[colspan]::before{content:none}
  .tz-panel table.tz-responsive .tz-check-column{width:auto}.tz-pagination{flex-wrap:wrap}.tz-pagination .tz-actions{gap:8px}.tz-button,.tz-icon-button{min-height:40px}.tz-icon-button{width:40px}.tz-dropdown a,.tz-dropdown button{min-height:40px}.tz-empty{padding:28px 16px}.tz-detail-list{grid-template-columns:90px minmax(0,1fr)}
  .tz-public .section{padding:44px 0}.tz-public .hero{padding:50px 0}.tz-public .hero p{font-size:16px}.tz-public h2{font-size:25px}.tz-public .grid{grid-template-columns:1fr}.navin{min-height:70px}.tz-logo-public{width:140px}.tz-public .card{padding:22px}
  .tz-customer-form .grid,.tz-customer-funds .grid,.tz-pricing-form .grid{grid-template-columns:1fr}.tz-detail-tabs{overflow-x:auto;flex-wrap:nowrap}.tz-detail-tabs a{white-space:nowrap}.tz-settings-preference{align-items:flex-start;flex-direction:column;gap:10px}.tz-settings-preference .tz-preferences{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.tz-sidebar,.tz-topbar,.tz-panel-footer,.tz-toolbar,.tz-admin-ui .tz-table-filter,.tz-action-menu{display:none!important}.tz-panel-content{margin:0;padding:0}body{background:#fff}}
/* Auth: one sizing system, fixed header/footer and a flexible form viewport. */
.tz-auth{min-height:100vh;background:var(--tz-bg)}
.tz-auth{--tz-auth-orange:var(--tz-orange);--tz-auth-orange-hover:var(--tz-orange-hover)}
.tz-auth .auth-page{width:100%;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:24px}
.tz-auth .auth-card{width:min(100%,440px);min-width:0;height:auto;min-height:0;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:visible;background:#fff;border:1px solid #e2e5ea;border-radius:16px;box-shadow:0 2px 8px rgb(21 21 41 / 3%);font-size:16px}
.tz-auth .auth-header{flex:0 0 auto;padding:20px 24px 16px;text-align:center}
.tz-auth .auth-brand{display:block;width:125px;max-height:38px;object-fit:contain;margin:0 auto 10px;max-width:100%;;margin-bottom:6px;}
.tz-auth .auth-header h1{font-size:16px;font-weight:500;line-height:1.25;letter-spacing:-.01em;margin:0;text-align:center}
.tz-auth .tz-auth-intro{font-size:13px;line-height:1.5;margin:8px 0 0;text-align:center}
.tz-auth .auth-body{flex:0 1 auto;min-height:0;min-width:0;padding:0 24px 12px;overflow:visible}
.tz-auth .auth-body:focus-visible{outline-offset:-3px}
.tz-auth .auth-body form,.tz-auth .tz-auth-content,.tz-auth .tz-login-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
.tz-auth .auth-footer{flex:0 0 auto;min-width:0;padding:14px 24px 18px;border-top:1px solid var(--tz-border);font-size:13px;color:var(--tz-muted);text-align:center}
.tz-auth .tz-auth-links-row{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;font-size:14px;line-height:1.5;margin:0;padding:0;border:0;text-align:left}
.tz-auth .tz-auth-links-row>a{margin-left:auto}
.tz-auth .tz-auth-links-row a{font-weight:500;white-space:nowrap}
.tz-auth .tz-auth-links-row a:hover,.tz-auth .auth-footer>a:hover,.tz-auth .tz-auth-options>a:hover{color:var(--tz-auth-orange);text-decoration:none}
.tz-auth .tz-auth-links-row>span{min-width:0}
.tz-auth .tz-auth-links-row form{margin:0}
.tz-auth .auth-footer>a{font-weight:500}
.tz-auth .field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;min-width:0}
.tz-auth .field label{font-size:12px;font-weight:500;margin:0}
.tz-auth .field input:not([type=checkbox]):not([type=radio]){width:100%;max-width:100%;min-width:0;min-height:38px;padding:6px 10px;border:1px solid #dce1e8;border-radius:12px;font-size:16px;font-weight:400;background:#fff}
.tz-auth .field input::placeholder{color:#7b8492;font-size:13px;font-weight:400}
.tz-auth .field input:not([type=checkbox]):not([type=radio]):hover{border-color:#c7ccd4}
.tz-auth .field input:not([type=checkbox]):not([type=radio]):focus{border-color:var(--tz-auth-orange);outline:none;box-shadow:0 0 0 2px rgb(242 140 40 / 14%)}
.tz-auth .field input[aria-invalid=true]{border-color:var(--tz-danger)}
.tz-auth .field input[aria-invalid=true]:focus{border-color:var(--tz-danger);box-shadow:0 0 0 2px rgb(180 35 24 / 12%)}
.tz-auth .tz-input-error{font-size:14px;line-height:1.3;margin:4px 0 0;color:var(--tz-danger);overflow-wrap:anywhere}
.tz-auth .tz-input-error:empty{display:none}
.tz-auth .tz-alert{font-size:13px;line-height:1.3;padding:10px 12px;margin-bottom:12px;overflow-wrap:anywhere}
.tz-auth .tz-auth-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;font-weight:400;line-height:1.5;color:var(--tz-muted);cursor:pointer}
.tz-auth .tz-auth-consent input{margin:3px 0 0;flex-shrink:0}
.tz-auth .tz-auth-options{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;font-size:13px;margin-top:4px}
.tz-auth .tz-auth-options>a{margin-left:auto;white-space:nowrap}
.tz-auth .tz-remember{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer;font-weight:400;margin:0}
.tz-auth .tz-remember input{margin:0}
.tz-auth .tz-auth-submit{display:flex;width:100%;min-width:0;min-height:46px;margin-top:14px;font-size:18px;font-weight:500;border-width:1px;border-radius:24px;white-space:normal;transition:background-color .15s ease,border-color .15s ease}
.tz-auth .tz-auth-submit:hover{background:var(--tz-auth-orange-hover);border-color:var(--tz-auth-orange-hover);color:#fff}
.tz-auth .tz-auth-text-button{padding:0;border:0;background:transparent;color:var(--tz-primary);font:inherit;font-weight:500;cursor:pointer}
.tz-auth .tz-auth-text-button:hover{text-decoration:underline}
@media(min-width:768px) and (max-height:799px){
  .tz-auth .auth-page{padding:16px}
  .tz-auth .auth-card{height:auto;min-height:0;max-height:none}
  .tz-auth .auth-header{padding:14px 20px 10px}
  .tz-auth .auth-brand{width:125px;max-height:38px;margin-bottom:6px;max-width:100%;}
  .tz-auth .auth-body{padding:0 20px 10px}
  .tz-auth .auth-footer{padding:10px 20px 12px}
  .tz-auth .field{margin-bottom:10px}
  .tz-auth .field input:not([type=checkbox]):not([type=radio]){min-height:38px;padding-block:8px}
}
@media(max-width:767px){
  .tz-auth .auth-page{padding:12px}
  .tz-auth .auth-card{height:auto;min-height:0;max-height:none;overflow:visible}
  .tz-auth .auth-header{padding:18px 18px 14px}
  .tz-auth .auth-brand{width:125px;max-height:38px;max-width:100%;;margin-bottom:6px;}
  .tz-auth .auth-header h1{font-size:16px;line-height:1.25;}
  .tz-auth .auth-body{flex:0 1 auto;min-height:0;padding:0 18px 14px;overflow:visible}
  .tz-auth .field input:not([type=checkbox]):not([type=radio]){font-size:16px;min-height:44px}
  .tz-auth .auth-footer{padding:12px 18px 16px}
}

/* Shared form-control border contract across public, auth, user and admin pages.
   State overrides must not add thicker borders or layered focus rings. */
:where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]), select, textarea) {
    border-width: 1px !important;
    border-style: solid;
    box-shadow: none !important;
}
:where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]), select, textarea):focus {
    border-color: var(--tz-orange, #FC6211) !important;
    outline: none !important;
    box-shadow: none !important;
}
:where(input, select, textarea)[aria-invalid="true"]:focus {
    border-color: var(--tz-danger, #b42318) !important;
}

.tz-impersonation-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;background:#fff7ed;border-bottom:1px solid #fed7aa;color:#7c2d12;font-size:13px;position:relative;z-index:30}.tz-impersonation-copy{display:flex;align-items:center;gap:12px;min-width:0}.tz-impersonation-copy span{overflow-wrap:anywhere}.tz-impersonation-banner form{margin:0;flex-shrink:0}.tz-impersonation-banner button{border:1px solid #ea580c;border-radius:6px;padding:6px 11px;background:#fff;color:#c2410c;font:inherit;font-weight:600;cursor:pointer}.tz-impersonation-banner button:hover{background:#fff1e8}.tz-impersonation-menu-status{margin:7px 0 0;padding-top:7px;border-top:1px solid var(--tz-border);color:var(--tz-orange,#FC6211)!important;font-size:11px!important;font-weight:600}.tz-impersonate-form{display:flex;align-items:center;gap:8px;margin:0}.tz-impersonate-form input{width:170px;height:36px;padding:7px 9px;border:1px solid var(--tz-border);border-radius:6px;font:inherit;font-size:12px}.tz-customer-header{align-items:flex-start}.tz-customer-actions{align-items:flex-end;flex-wrap:wrap}.tz-customer-actions .tz-button{white-space:nowrap}@media(max-width:767px){.tz-impersonation-banner{align-items:flex-start;flex-direction:column;padding:10px 16px;gap:9px}.tz-impersonation-copy{align-items:flex-start;flex-direction:column;gap:2px}.tz-impersonation-banner button{width:100%}.tz-impersonate-form{width:100%;flex-wrap:wrap}.tz-impersonate-form input{flex:1;min-width:150px}.tz-customer-actions{width:100%;align-items:stretch}.tz-customer-actions .tz-button,.tz-impersonate-form{min-height:40px}.tz-impersonate-form button{flex:0 0 auto}}
.tz-customer-detail{width:min(100%,1400px);margin:0 auto}.tz-customer-summary{display:grid;grid-template-columns:minmax(280px,1.35fr) minmax(360px,1fr) auto;align-items:center;gap:24px;padding:20px 22px;margin-bottom:14px;background:var(--tz-surface);border:1px solid var(--tz-border);border-radius:10px;box-shadow:none}.tz-customer-identity{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0}.tz-customer-identity h1{margin:0;font-size:24px;line-height:1.15}.tz-customer-identity .eyebrow{margin:0 0 4px}.tz-customer-identity .muted{margin:4px 0 0;overflow-wrap:anywhere}.tz-customer-meta{margin:3px 0 0;color:var(--tz-muted);font-size:12px}.tz-customer-identity>.tz-status{align-self:start;margin-top:4px}.tz-customer-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tz-customer-metrics div{min-width:0}.tz-customer-metrics span,.tz-customer-stat span,.tz-health-list span,.tz-security-grid span{display:block;color:var(--tz-muted);font-size:11px;margin-bottom:4px}.tz-customer-metrics strong{display:block;font-size:13px;overflow-wrap:anywhere}.tz-customer-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.tz-customer-header-actions .tz-action-menu{flex-shrink:0}.tz-customer-tabs{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--tz-border);margin-bottom:18px;scrollbar-width:thin}.tz-customer-tabs a{flex:0 0 auto;padding:10px 13px;border-bottom:2px solid transparent;color:var(--tz-muted);font-size:13px;text-decoration:none}.tz-customer-tabs a:hover{color:var(--tz-primary);background:var(--tz-primary-soft)}.tz-customer-tabs a.is-active{border-bottom-color:var(--tz-primary);color:var(--tz-primary);font-weight:700}.tz-customer-overview-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:16px}.tz-customer-panel{margin-bottom:16px;padding:20px}.tz-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.tz-panel-heading h2{margin:0;font-size:18px}.tz-panel-heading .eyebrow{margin:0 0 4px}.tz-panel-heading .muted{margin:5px 0 0;font-size:13px}.tz-customer-details{display:grid;grid-template-columns:120px minmax(0,1fr);gap:0;border-top:1px solid var(--tz-border);margin:0}.tz-customer-details dt,.tz-customer-details dd{padding:10px 0;border-bottom:1px solid var(--tz-border);margin:0;font-size:13px}.tz-customer-details dt{color:var(--tz-muted)}.tz-customer-details dd{font-weight:600;overflow-wrap:anywhere}.tz-health-list>div,.tz-security-grid>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--tz-border)}.tz-health-list strong,.tz-security-grid strong{font-size:13px;text-align:right}.tz-customer-stat-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.tz-customer-stat{min-width:0;padding:14px 16px;background:var(--tz-surface);border:1px solid var(--tz-border);border-radius:8px}.tz-customer-stat strong{display:block;font-size:18px;overflow-wrap:anywhere}.tz-panel-actions{display:flex;gap:8px}.tz-subheading{margin:24px 0 10px;font-size:15px}.tz-activity-feed>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--tz-border)}.tz-activity-feed time{color:var(--tz-muted);font-size:12px}.tz-activity-feed p{display:flex;flex-direction:column;gap:3px;margin:0;font-size:13px}.tz-activity-feed p span,.tz-activity-feed p small{color:var(--tz-muted)}.tz-activity-full{max-width:850px}.tz-inline-drawer{position:relative}.tz-inline-drawer summary{list-style:none;cursor:pointer}.tz-inline-drawer summary::-webkit-details-marker{display:none}.tz-drawer-content{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(320px,calc(100vw - 40px));padding:16px;background:var(--tz-surface);border:1px solid var(--tz-border);border-radius:8px;box-shadow:0 10px 30px rgb(16 53 102 / 12%)}.tz-drawer-content form{display:grid;gap:10px}.tz-drawer-content .field{margin:0}.tz-security-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tz-security-grid>div{display:block;padding:13px;border:1px solid var(--tz-border);border-radius:7px}.tz-security-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.tz-security-actions form{display:flex;gap:8px;align-items:center}.tz-pricing-row{padding:14px 0}.tz-pricing-row p{display:flex;flex-direction:column;gap:3px}.tz-pricing-row p span{color:var(--tz-muted);font-size:12px}@media(max-width:1100px){.tz-customer-summary{grid-template-columns:1fr auto}.tz-customer-metrics{grid-column:1/-1}.tz-customer-header-actions{grid-column:2;grid-row:1;align-self:start}.tz-customer-identity{grid-column:1}}@media(max-width:767px){.tz-customer-summary{display:block;padding:16px}.tz-customer-identity{grid-template-columns:40px minmax(0,1fr);margin-bottom:18px}.tz-customer-identity>.tz-status{grid-column:2;justify-self:start}.tz-customer-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.tz-customer-header-actions{justify-content:stretch}.tz-customer-header-actions>*{flex:1 1 auto}.tz-customer-header-actions .tz-action-menu{flex:0 0 auto}.tz-customer-overview-grid,.tz-customer-stat-cards{grid-template-columns:1fr}.tz-customer-details{grid-template-columns:100px minmax(0,1fr)}.tz-security-grid{grid-template-columns:1fr}.tz-activity-feed>div{grid-template-columns:1fr;gap:3px}.tz-customer-panel{padding:16px}.tz-panel-heading{flex-wrap:wrap}.tz-panel-actions{width:100%}.tz-panel-actions .tz-inline-drawer{width:100%}.tz-panel-actions summary{width:100%;text-align:center}}
.tz-panel-heading-links{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-start}

/* Article media retains readable proportions on every screen. */
.blog-article-cover{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:10px;margin:24px 0}
.blog-list-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:16px}
.blog-media{margin:24px 0;max-width:100%}
.blog-media img,.blog-media video{display:block;max-width:100%;height:auto;margin-inline:auto;border-radius:8px}
.blog-media iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:8px}
.blog-media video{width:100%;max-height:600px}
.blog-media figcaption{font-size:13px;color:var(--tz-muted,#62748a);text-align:center;margin-top:8px;overflow-wrap:anywhere}

.tz-public .tz-legal-page{padding:28px 0 40px}.tz-public .tz-legal-page h1{font-size:clamp(28px,4vw,36px);font-weight:800;letter-spacing:-.035em;margin:0 0 6px}.tz-public .tz-legal-page .lede{margin:0;font-size:16px}

/* Compact public legal documents. */
body.tz-public.tz-legal-document main{background:#f7f8fa}
body.tz-public.tz-legal-document .section{padding:28px 0}
body.tz-public.tz-legal-document .section:first-child{padding-top:28px}
body.tz-public.tz-legal-document .section .wrap{max-width:960px}
body.tz-public.tz-legal-document .section:first-child h1{margin:0 0 6px;color:#0f2747;font-size:clamp(28px,4vw,36px);font-weight:800;letter-spacing:-.035em;line-height:1.15}
body.tz-public.tz-legal-document .section:first-child .lede{margin:0;color:#667085;font-size:16px;line-height:1.65}
body.tz-public.tz-legal-document .section:first-child .eyebrow{margin-bottom:8px;color:#0f2747}
body.tz-public.tz-legal-document .section + .section{padding-top:0}
body.tz-public.tz-legal-document .section:nth-child(2) .wrap{padding:24px 28px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#344054;font-size:16px;line-height:1.75;white-space:pre-line}
body.tz-public.tz-legal-document .section .actions{margin-top:16px}
@media(max-width:700px){body.tz-public.tz-legal-document .section{padding:24px 0}body.tz-public.tz-legal-document .section:nth-child(2) .wrap{padding:20px 18px;font-size:15px}}
body.tz-public.tz-legal-document .hero{padding:28px 0 24px;background:#f7f8fa}
body.tz-public.tz-legal-document .hero .wrap{max-width:960px}
body.tz-public.tz-legal-document .hero h1{margin:0 0 6px;color:#0f2747;font-size:clamp(28px,4vw,36px);font-weight:800;letter-spacing:-.035em;line-height:1.15}
body.tz-public.tz-legal-document .hero p{margin:0;color:#667085;font-size:16px;line-height:1.65}
body.tz-public.tz-legal-document .hero .actions{display:none}
@media(max-width:700px){body.tz-public.tz-legal-document .hero{padding:24px 0 20px}body.tz-public.tz-legal-document .hero h1{font-size:32px}}
body.tz-public.tz-legal-document .hero{padding:28px 0 22px}
body.tz-public.tz-legal-document .hero + .section{padding:0 0 48px}
body.tz-public.tz-legal-document .hero + .section .wrap{margin-top:0}
@media(max-width:700px){body.tz-public.tz-legal-document .hero{padding:24px 0 18px}body.tz-public.tz-legal-document .hero + .section{padding-bottom:36px}}

/* Legal documents follow the Services page rail and typography. */
body.tz-public.tz-legal-document main{font-family:var(--tz-font);font-size:16px;font-weight:400;line-height:1.7;color:#667085;background:#f7f8fa}
body.tz-public.tz-legal-document main > .hero{padding:28px 0 24px;background:transparent}
body.tz-public.tz-legal-document main > .hero > .wrap,
body.tz-public.tz-legal-document main > .section > .wrap{box-sizing:border-box;width:min(calc(100% - 40px),1160px);max-width:1160px;margin-inline:auto}
body.tz-public.tz-legal-document main > .hero > .wrap{padding:0}
body.tz-public.tz-legal-document main > .hero h1{max-width:none;margin:0 0 6px;font-family:inherit;font-size:clamp(28px,4vw,36px);font-weight:800;line-height:1.15;letter-spacing:-.035em;color:#0f2747}
body.tz-public.tz-legal-document main > .hero p{max-width:none;margin:0;font-family:inherit;font-size:16px;line-height:1.7;color:#667085}
body.tz-public.tz-legal-document main > .section{padding:0 0 24px}
body.tz-public.tz-legal-document main > .section:last-of-type{padding-bottom:70px}
body.tz-public.tz-legal-document main > .section > .wrap{padding:24px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:none;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;overflow-wrap:anywhere}
body.tz-public.tz-legal-document main :is(h2,h3){font-family:inherit;font-weight:700;color:#0f2747;line-height:1.4}
body.tz-public.tz-legal-document main :is(p,li){font-family:inherit;font-size:inherit;line-height:inherit}
body.tz-public.tz-legal-document main a:not(.button){color:#0f2747;text-decoration:underline;text-underline-offset:3px}
body.tz-public.tz-legal-document main a:not(.button):hover{color:var(--tz-orange-hover,#EA580C)}
body.tz-public.tz-legal-document main .tz-legal-body{text-align:left;padding:22px 22px 28px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
body.tz-public.tz-legal-document main .tz-legal-body h2{margin:32px 0 10px;padding-top:20px;border-top:1px solid #edf0f3;font-size:20px}
body.tz-public.tz-legal-document main .tz-legal-body h2:first-of-type{margin-top:0;padding-top:0;border-top:0}
body.tz-public.tz-legal-document main .tz-legal-body p{margin:0 0 12px}
body.tz-public.tz-legal-document main .tz-legal-body ul{margin:0 0 16px;padding-left:24px}
body.tz-public.tz-legal-document main .tz-legal-body li{margin-bottom:5px}
@media(max-width:700px){body.tz-public.tz-legal-document main .tz-legal-body{padding:16px 16px 20px}}
@media(max-width:700px){
body.tz-public.tz-legal-document main > .hero{padding:22px 0 24px}
body.tz-public.tz-legal-document main > .hero > .wrap,
body.tz-public.tz-legal-document main > .section > .wrap{width:calc(100% - 20px)}
body.tz-public.tz-legal-document main > .hero p{font-size:14px}
body.tz-public.tz-legal-document main > .section > .wrap{padding:18px 16px;border-radius:12px}
body.tz-public.tz-legal-document main > .section:last-of-type{padding-bottom:48px}
}

/* Shared TZBoost typography system. */
:root{
  --font-sans:"Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.375rem;--text-2xl:2rem;--text-3xl:2.75rem;
  --font-normal:400;--font-medium:500;--font-semibold:600;--font-bold:700;--font-extrabold:800;
}
html,body,button,input,select,textarea,table{font-family:var(--font-sans)}
button,input,select,textarea{font-size:inherit}
body{font-weight:var(--font-normal)}
h1,h2,h3,h4,h5,h6{font-family:var(--font-sans)}
.tz-public,.tz-admin-ui,.tz-panel,.tz-auth{font-family:var(--font-sans)}
.tz-public h1{font-weight:var(--font-extrabold);line-height:1.15}
.tz-public h2{font-weight:var(--font-bold);line-height:1.2}
.tz-public h3,.tz-public h4{font-weight:var(--font-bold)}
.tz-public button,.tz-public .button,.tz-public .tz-button{font-weight:var(--font-bold)}
.tz-admin-ui,.tz-panel{font-size:14px}
.tz-admin-ui h1,.tz-panel h1{font-size:32px;font-weight:var(--font-extrabold);line-height:1.15}
.tz-admin-ui h2,.tz-panel h2{font-size:22px;font-weight:var(--font-bold);line-height:1.25}
.tz-admin-ui h3,.tz-panel h3{font-size:18px;font-weight:var(--font-bold);line-height:1.3}
.tz-admin-ui label,.tz-panel label{font-size:13px;font-weight:var(--font-semibold)}
.tz-admin-ui table,.tz-panel table{font-size:13px}
.tz-admin-ui th,.tz-panel th{font-size:12px;font-weight:var(--font-bold)}
.tz-admin-ui td,.tz-panel td{font-size:13px;font-weight:var(--font-medium)}
.tz-transactions-wrap{max-width:100%;overflow-x:auto}.tz-transactions-table{min-width:760px;white-space:nowrap}.tz-transactions-table th,.tz-transactions-table td{white-space:nowrap}.tz-transactions-table td{height:48px}.tz-transactions-table .tz-status{font-weight:700}.tz-status-successful{color:var(--tz-success);background:#edf8f1}.tz-status-refunded{color:var(--tz-info);background:#eef6ff}.tz-fixed-light .tz-sidebar{background:#fff;color:var(--tz-text);border-right-color:var(--tz-border)}.tz-fixed-light .tz-sidebar-scroll{scrollbar-color:#c7ced8 transparent}.tz-fixed-light .tz-sidebar-heading{color:var(--tz-muted)}.tz-fixed-light .tz-nav-link{color:var(--tz-text)}.tz-fixed-light .tz-nav-link .tz-icon{color:var(--tz-muted)}.tz-fixed-light .tz-nav-link:hover{background:var(--tz-hover);color:var(--tz-primary)}.tz-fixed-light .tz-nav-link.is-active{background:var(--tz-primary-soft);color:var(--tz-primary);border-left-color:var(--tz-orange)}.tz-fixed-light .tz-nav-link.is-active .tz-icon{color:var(--tz-primary)}.tz-fixed-light .tz-sidebar-footer{border-color:var(--tz-border);color:var(--tz-muted)}.tz-fixed-light .tz-panel input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.tz-fixed-light .tz-panel select,.tz-fixed-light .tz-panel textarea{border:1.4px solid var(--tz-primary)}.tz-fixed-light .tz-panel .tz-button{border-width:1.4px;font-weight:700}
.tz-fixed-light .tz-sidebar-heading{color:#0F2747;font-weight:800;letter-spacing:.06em}
/* Customer and Admin share the same light sidebar system. */
.tz-fixed-light .tz-sidebar{background:#fff;color:var(--tz-text);border-right:1px solid var(--tz-border)}
.tz-fixed-light .tz-sidebar-brand{background:#fff;border-bottom:1px solid var(--tz-border)}
.tz-fixed-light .tz-sidebar-scroll{padding:18px 12px;scrollbar-color:#c7ced8 transparent}
.tz-fixed-light .tz-sidebar-heading{padding:0 12px;margin:0 0 8px;color:#0f2747;font-size:11px;font-weight:800;letter-spacing:.08em;line-height:1.3}
.tz-fixed-light .tz-nav-group{margin-bottom:20px}
.tz-fixed-light .tz-nav-link{min-height:44px;margin:2px 0;padding:10px 12px;border-left:3px solid transparent;border-radius:0;box-shadow:none;color:#344054;font-size:14px;font-weight:600;gap:12px}
.tz-fixed-light .tz-nav-link .tz-icon{width:20px;height:20px;color:#667085}
.tz-fixed-light .tz-nav-link:hover{background:#f7f8fa;color:#0f2747}
.tz-fixed-light .tz-nav-link:hover .tz-icon{color:#0f2747}
.tz-fixed-light .tz-nav-link.is-active{background:#eef4fb;color:#0f2747;border-left-color:#f97316;border-radius:0;box-shadow:none;font-weight:700}
.tz-fixed-light .tz-nav-link.is-active .tz-icon{color:#0f2747}
@media(max-width:767px){.tz-fixed-light .tz-sidebar-scroll{padding:20px 14px}.tz-fixed-light .tz-sidebar-heading{font-size:11px}.tz-fixed-light .tz-nav-link{min-height:48px;font-size:15px}}
.tz-customer-service-browser{display:grid;gap:16px}.tz-customer-service-groups{display:grid;gap:8px}.tz-service-platform-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;color:var(--tz-text)}.tz-service-platform-link:hover{text-decoration:none;border-color:var(--tz-primary)}.tz-service-platform-link strong{display:block;color:var(--tz-primary);font-size:16px}.tz-service-platform-link span{display:block;color:var(--tz-muted);font-size:12px}.tz-service-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.tz-service-group-heading h2{margin:0}.tz-service-group-heading>span{color:var(--tz-muted);font-size:12px;white-space:nowrap}.tz-service-category-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;border-top:1px solid var(--tz-border);color:var(--tz-text);font-size:14px}.tz-service-category-link:hover,.tz-service-category-link.is-active{background:var(--tz-primary-soft);color:var(--tz-primary);text-decoration:none}.tz-service-category-link small{color:var(--tz-muted)}.tz-service-back-link{color:var(--tz-primary);font-size:13px;font-weight:700}.tz-service-order-button{min-height:32px;padding:6px 10px;font-size:12px}
.tz-order-details-card{width:min(100%,680px);max-height:25vh;overflow-y:auto;padding:12px 16px}.tz-order-details-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--tz-border)}.tz-order-details-heading h2{margin:0;font-size:18px;color:var(--tz-primary)}.tz-order-details-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;margin:0}.tz-order-details-list>div{padding:7px 0;border-bottom:1px solid var(--tz-border)}.tz-order-details-list>div:nth-last-child(-n+2){border-bottom:0}.tz-order-details-list dt{color:var(--tz-muted);font-size:10px;margin-bottom:2px}.tz-order-details-list dd{margin:0;font-size:12px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}.tz-order-details-target{grid-column:1/-1}.tz-order-details-target dd{font-weight:500;color:var(--tz-primary);word-break:break-all}
.tz-order-success-pop{position:fixed;top:84px;right:24px;z-index:100;width:min(390px,calc(100% - 32px));padding:18px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;color:#14532d;box-shadow:none}.tz-order-success-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tz-order-success-head h2{margin:0;color:#166534;font-size:19px}.tz-order-success-pop p{margin:8px 0 12px;font-size:13px;line-height:1.5}.tz-order-success-pop dl{display:grid;gap:7px;margin:0}.tz-order-success-pop dl div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.tz-order-success-pop dt{color:#166534}.tz-order-success-pop dd{margin:0;color:var(--tz-primary);font-weight:700;text-align:right;overflow-wrap:anywhere}.tz-order-success-pop .tz-icon-button{color:#166534}
.tz-orders-index-head .tz-button{white-space:nowrap}
.tz-order-details-head .tz-button{white-space:nowrap}
@media(max-width:767px){.tz-order-details-card{width:100%;padding:10px 12px}.tz-order-details-heading{align-items:center;flex-direction:row}.tz-order-details-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}.tz-order-details-list>div:nth-last-child(-n+2){border-bottom:0}.tz-order-details-list>div:last-child{border-bottom:0}.tz-order-details-target{grid-column:1/-1}}
@media(max-width:767px){.tz-order-success-pop{top:72px;right:16px}.tz-orders-index-head,.tz-order-details-head{flex-direction:row;align-items:center;gap:10px}.tz-orders-index-head>div,.tz-order-details-head>div{min-width:0}.tz-orders-index-head h1,.tz-order-details-head h1{font-size:21px}.tz-orders-index-head .muted,.tz-order-details-head .muted{font-size:12px}.tz-orders-index-head .tz-button,.tz-order-details-head .tz-button{flex:0 0 auto;padding-inline:10px}}

/* Customer data tables stay tabular on small screens; only the table rail scrolls. */
.tz-customer-service-results .tz-service-group-heading {
    flex-wrap: wrap;
}
.tz-catalogue-search {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}
.tz-catalogue-search > div {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}
.tz-catalogue-search input {
    flex: 1;
    min-width: 0;
}
.tz-catalogue-search .tz-button {
    flex-shrink: 0;
    min-height: 44px;
}
.tz-panel .tz-customer-horizontal-table.tz-catalogue-table {
    min-width: 1080px;
}
.tz-panel .tz-catalogue-table tbody td:nth-child(2) {
    min-width: 260px;
    white-space: normal;
}
.tz-panel .tz-catalogue-view {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 8px;
    background: transparent;
    border: 0;
    color: var(--tz-primary);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tz-catalogue-no-results {
    margin: 0;
    padding-block: 16px;
}
.tz-catalogue-dialog {
    width: min(560px, calc(100% - 32px));
}
.tz-catalogue-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.tz-panel .tz-catalogue-dialog-head h2 {
    margin: 0;
    font-size: 20px;
    overflow-wrap: anywhere;
}
.tz-catalogue-dialog-head .tz-icon-button {
    width: 40px;
    height: 40px;
    font-size: 24px;
}
.tz-catalogue-description {
    white-space: pre-line;
    overflow-wrap: anywhere;
    line-height: 1.65;
}
.tz-catalogue-dialog > .tz-button {
    margin-top: 16px;
}
.tz-panel .tz-catalogue-dialog .tz-detail-list {
    grid-template-columns: minmax(100px, 1fr) minmax(0, 1fr);
}
.tz-panel .tz-customer-horizontal-wrap,
.tz-panel .tz-transactions-wrap {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}
.tz-panel .tz-customer-horizontal-table {
    min-width: 680px;
    width: 100%;
    table-layout: auto;
}
.tz-panel .tz-customer-horizontal-table th,
.tz-panel .tz-customer-horizontal-table td {
    white-space: nowrap;
}
.tz-panel .tz-customer-horizontal-table td:nth-child(2) {
    min-width: 220px;
    white-space: normal;
}
@media (max-width: 767px) {
    .tz-panel .tz-customer-horizontal-wrap {
        width: 100%;
    }

    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) {
        display: table;
        width: 100%;
        table-layout: auto;
    }

    .tz-panel .tz-customer-horizontal-table {
        min-width: 680px;
    }

    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) thead {
        display: table-header-group;
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        clip-path: none;
    }

    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) tbody {
        display: table-row-group;
        width: auto;
    }

    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) tr {
        display: table-row;
        width: auto;
        padding: 0;
        border: 0;
    }

    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) thead th,
    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) tbody td {
        display: table-cell;
        padding: 10px 12px;
        vertical-align: middle;
        white-space: nowrap;
        border-bottom: 1px solid var(--tz-border);
    }

    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) tbody tr:last-child td {
        border-bottom: 0;
    }

    .tz-panel table:is(.tz-customer-horizontal-table, .tz-transactions-table) tbody td::before {
        content: none;
        display: none;
    }
}

.tz-panel .tz-transactions-table .tz-transaction-amount {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.tz-panel .tz-transactions-table .tz-transaction-credit {
    color: var(--tz-success, #18794e);
}
.tz-panel .tz-transactions-table .tz-transaction-debit {
    color: var(--tz-danger, #b42318);
}

/* Flat card treatment across the application. */
.card,.tz-card,.tz-stat,.tz-legacy-metric,.tz-legacy-panel,.tz-auth .auth-card{box-shadow:none}
.tz-stat{border-top:1px solid var(--tz-border)}

/* Shared public page typography keeps simple pages, FAQs and legal content on one visual system. */
body.tz-public .tz-public-page-header{padding:28px 0 32px;background:#f7f8fa}
body.tz-public .tz-public-page-header .wrap{width:min(calc(100% - 40px),1200px);margin-inline:auto}
body.tz-public .tz-public-page-header h1{margin:0 0 6px;color:#0f2747;font-size:clamp(28px,4vw,36px);font-weight:800;letter-spacing:-.035em;line-height:1.15}
body.tz-public .tz-public-page-header .lede{max-width:650px;margin:0;color:#667085;font-size:16px;line-height:1.65}
body.tz-public .tz-public-page-header .eyebrow{margin-bottom:8px;color:#f97316;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.tz-public .tz-public-document-page{padding:42px 20px 72px;background:#f7f8fa}
body.tz-public .tz-public-document-page .tz-faq-content{width:min(100%,1200px);margin-inline:auto}
body.tz-public .tz-public-document-page .tz-faq-header h1{font-size:clamp(28px,4vw,36px);font-weight:800;letter-spacing:-.035em}
body.tz-public .tz-public-document-page .tz-faq-header>p:last-child{font-size:16px;line-height:1.65}
body.tz-public .tz-public-document-page .tz-related-policy{margin:12px 0 0;color:#667085;font-size:14px;line-height:1.6}
body.tz-public .tz-public-document-page .tz-related-policy a{color:#0f2747;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.tz-public .tz-public-document-page .tz-faq-list{width:100%;max-width:none;margin-inline:0}
body.tz-public .tz-public-document-page .tz-faq-list .tz-faq-item,body.tz-public .tz-public-document-page .tz-faq-list .tz-faq-item summary{width:100%;max-width:none}
body.tz-public .tz-public-document-page .tz-terms-list{width:100%;max-width:none!important;margin-inline:0}
body.tz-public .tz-public-document-page .tz-terms-list .tz-term-item,body.tz-public .tz-public-document-page .tz-terms-list .tz-term-item summary{width:100%;max-width:none}
body.tz-public .tz-public-document-page .tz-legal-body>p{width:100%;max-width:none}
body.tz-public .tz-legal-body{color:#344054;font-size:17px;line-height:1.75;text-align:left}
body.tz-public .tz-public-document-page .tz-legal-body{padding:28px 32px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
body.tz-public .tz-legal-body h2{margin:40px 0 12px;color:#0f2747;font-size:26px;line-height:1.35}
body.tz-public .tz-legal-body h2:first-child{margin-top:0}
body.tz-public .tz-legal-body h2 .tz-terms-number{display:inline-block;min-width:2.1em;margin-right:5px;color:#f97316;font-variant-numeric:tabular-nums}
body.tz-public .tz-legal-body h2:hover .tz-terms-number{color:#ea580c}
body.tz-public .tz-legal-body p{margin:0 0 14px}
body.tz-public .tz-public-document-page .tz-legal-body>p:first-child,body.tz-public .tz-public-document-page .tz-legal-body>p:nth-child(2){color:#667085;font-size:14px;line-height:1.65}
body.tz-public .tz-terms-subnumber{display:inline-block;margin-right:4px;color:#c96a2b;font-size:.92em;font-weight:500;font-variant-numeric:tabular-nums}
body.tz-public .tz-legal-body ul{margin:0 0 18px;padding-left:26px}
body.tz-public .tz-legal-body li{margin-bottom:6px}
body.tz-public .tz-legal-body a{color:#0f2747;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){body.tz-public .tz-public-page-header{padding:24px 0 28px}body.tz-public .tz-public-page-header .wrap{width:calc(100% - 32px)}body.tz-public .tz-public-document-page{padding:32px 16px 56px}body.tz-public .tz-public-document-page .tz-faq-header h1{font-size:32px}body.tz-public .tz-public-document-page .tz-legal-body{padding:20px 16px}body.tz-public .tz-legal-body{font-size:16px}body.tz-public .tz-legal-body h2{font-size:23px;margin-top:32px}}

/* Refund Policy: a compact "on this page" list, a print action, and the meta/label row. */
body.tz-public .tz-legal-label{margin:0 0 8px;color:#c2410c;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
body.tz-public .tz-legal-meta{margin:10px 0 0;color:#667085;font-size:14px}
body.tz-public .tz-legal-header-actions{margin-top:16px}
body.tz-public .tz-legal-print{padding:9px 14px;border:1px solid #0f2747;border-radius:7px;background:#fff;color:#0f2747;font:inherit;font-weight:700;cursor:pointer}
body.tz-public .tz-legal-print:hover{background:#0f2747;color:#fff}
body.tz-public .tz-legal-toc{margin-bottom:24px;padding:16px 18px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
body.tz-public .tz-legal-toc h2{margin:0 0 10px;color:#0f2747;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
body.tz-public .tz-legal-toc ol{display:flex;flex-wrap:wrap;gap:8px 10px;margin:0;padding:0;list-style:none}
body.tz-public .tz-legal-toc a{display:inline-block;padding:6px 12px;border:1px solid #e5e7eb;border-radius:999px;color:#0f2747;font-size:13px;font-weight:600;text-decoration:none}
body.tz-public .tz-legal-toc a:hover{border-color:#f97316;color:#ea580c}
body.tz-public .tz-legal-support{margin:24px 0 0;padding-top:20px;border-top:1px solid #e5e7eb;color:#475467;font-size:15px}
body.tz-public .tz-legal-support a{color:#0f2747;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){body.tz-public .tz-legal-toc{padding:14px 16px}body.tz-public .tz-legal-header-actions{margin-top:12px}}
@media print{
    body.tz-public .tz-public-header,body.tz-public .tz-site-footer,body.tz-public .tz-legal-toc,body.tz-public .tz-legal-header-actions{display:none!important}
    body.tz-public .tz-public-document-page{padding:0;background:#fff}
    body.tz-public .tz-public-document-page .tz-legal-body{border:0;padding:0}
    body.tz-public .tz-legal-body{font-size:12pt;line-height:1.6}
}
.tz-link-button{background:none;border:0;padding:0;margin:0;font:inherit;font-weight:500;color:var(--tz-primary);cursor:pointer;text-decoration:none}
.tz-link-button:hover{color:var(--tz-auth-orange,var(--tz-primary));text-decoration:underline}
[data-two-factor-toggle]{display:block;margin:14px auto 0;text-align:center}


@media(max-width:767px){.tz-customer-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tz-customer-stat{padding:12px}}

/* Customer detail: keep identity, actions and summary metrics in clear rows. */
.tz-customer-detail { width: min(100%, 1240px); }
.tz-customer-summary { grid-template-columns: minmax(0, 1fr) auto; align-items: start; row-gap: 18px; }
.tz-customer-identity { grid-column: 1; }
.tz-customer-header-actions { grid-column: 2; grid-row: 1; align-self: start; }
.tz-customer-metrics { grid-column: 1 / -1; grid-row: 2; padding-top: 16px; border-top: 1px solid var(--tz-border); }
.tz-customer-tabs { margin-top: 4px; }
.tz-customer-panel { padding: 24px; }
.tz-customer-details dt, .tz-customer-details dd { padding: 12px 0; }
@media (max-width: 767px) {
    .tz-customer-summary { display: block; padding: 16px; }
    .tz-customer-identity, .tz-customer-header-actions, .tz-customer-metrics { display: grid; grid-column: auto; grid-row: auto; }
    .tz-customer-identity { grid-template-columns: 40px minmax(0, 1fr); margin-bottom: 18px; }
    .tz-customer-header-actions { display: flex; margin-bottom: 16px; }
    .tz-customer-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding-top: 16px; }
    .tz-customer-panel { padding: 16px; }
}

/* Admin customer profile and wallet dialog. */
.tz-customer-back{display:inline-flex;margin:0 0 12px;color:var(--tz-primary);font-size:13px;font-weight:600;text-decoration:none}.tz-customer-back:hover{color:var(--tz-orange);text-decoration:underline}.tz-customer-tabs-mobile{display:none}.tz-customer-more{position:relative;flex:0 0 auto}.tz-customer-more summary{padding:10px 13px;color:var(--tz-muted);font-size:13px;cursor:pointer;list-style:none}.tz-customer-more summary::-webkit-details-marker{display:none}.tz-customer-more[open] summary{color:var(--tz-primary);font-weight:700}.tz-customer-more>div{position:absolute;right:0;top:calc(100% + 4px);z-index:20;display:grid;min-width:180px;padding:5px;background:#fff;border:1px solid var(--tz-border);border-radius:8px;box-shadow:0 10px 24px rgb(15 39 71 / 12%)}.tz-customer-more a{padding:10px 12px;color:var(--tz-text);font-size:13px;text-decoration:none}.tz-customer-more a:hover,.tz-customer-more a[aria-current=page]{background:var(--tz-primary-soft);color:var(--tz-primary)}.tz-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.tz-dialog-head h2{margin:0;font-size:22px}.tz-dialog-head .eyebrow{margin:0 0 4px}.tz-wallet-credit-dialog{width:min(560px,calc(100% - 32px));max-height:min(720px,calc(100dvh - 32px));overflow:auto;padding:24px}.tz-wallet-credit-dialog form{display:grid;gap:14px}.tz-credit-readonly{display:grid;gap:10px;padding:14px;background:var(--tz-primary-soft);border:1px solid var(--tz-border);border-radius:8px}.tz-credit-readonly div{display:flex;justify-content:space-between;gap:16px;min-width:0}.tz-credit-readonly span,.tz-credit-review dt{color:var(--tz-muted);font-size:12px}.tz-credit-readonly strong{min-width:0;text-align:right;overflow-wrap:anywhere;font-size:13px}.tz-credit-review{padding:14px;border:1px solid var(--tz-orange);border-radius:8px;background:#fffaf5}.tz-credit-review p{margin:0 0 10px;font-weight:700;color:var(--tz-primary)}.tz-credit-review dl{display:grid;gap:8px;margin:0}.tz-credit-review dl div{display:flex;justify-content:space-between;gap:12px}.tz-credit-review dd{margin:0;text-align:right;overflow-wrap:anywhere}.tz-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:4px}.tz-dialog-actions .tz-button{min-width:120px}.tz-customer-panel .tz-panel-heading{align-items:flex-start}
@media(max-width:767px){.tz-customer-tabs-desktop{display:none}.tz-customer-tabs-mobile{display:flex;align-items:center;overflow:visible}.tz-customer-tabs-mobile>a{flex:1;text-align:center;padding-inline:8px}.tz-customer-more{flex:1;text-align:center}.tz-customer-more summary{padding-inline:8px}.tz-customer-more>div{left:0;right:auto}.tz-wallet-credit-dialog{width:calc(100% - 32px);max-height:calc(100dvh - 24px);margin:auto;padding:18px}.tz-dialog-actions{position:static;display:grid;grid-template-columns:1fr 1fr}.tz-dialog-actions .tz-button{width:100%;min-width:0}.tz-dialog-actions [data-credit-confirm]{grid-column:1/-1;order:-1}.tz-credit-readonly div{align-items:flex-start;flex-direction:column;gap:2px}.tz-credit-readonly strong{text-align:left}}

.tz-customer-detail .tz-customer-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:480px){.tz-customer-detail .tz-customer-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep every customer-profile section inside the admin content gutter. */
.tz-customer-detail,.tz-customer-detail *{box-sizing:border-box;min-width:0}.tz-customer-detail{max-width:100%;overflow-wrap:anywhere}.tz-customer-detail .table-wrap{max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.tz-customer-detail .table-wrap>table{min-width:640px}.tz-customer-detail .tz-customer-header-actions{min-width:0}.tz-customer-detail .tz-customer-header-actions .tz-button{white-space:normal}.tz-customer-detail .tz-dropdown{max-width:calc(100vw - 32px)}
@media(max-width:767px){.tz-customer-detail{width:100%}.tz-customer-detail .tz-panel-heading{gap:12px}.tz-customer-detail .tz-panel-heading .muted{max-width:100%}.tz-customer-detail .tz-customer-details{grid-template-columns:92px minmax(0,1fr)}.tz-customer-detail .tz-customer-details dd{overflow-wrap:anywhere}.tz-customer-detail .table-wrap>table{min-width:620px}.tz-customer-detail .tz-customer-header-actions{width:100%;align-items:stretch}.tz-customer-detail .tz-customer-header-actions>.tz-button,.tz-customer-detail .tz-customer-header-actions>.tz-action-menu{flex:1 1 0}}

.tz-edit-password{margin-top:22px;padding-top:20px;border-top:1px solid var(--tz-border)}.tz-edit-password h2{margin:0 0 5px;font-size:18px}.tz-edit-password p{margin:0 0 16px;font-size:13px}.tz-edit-password .grid{margin-bottom:0}
@media(max-width:767px){.tz-customer-detail .tz-activity-feed>div{grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:start}.tz-customer-detail .tz-activity-feed time{font-size:11px;line-height:1.4}}

.tz-customer-summary{overflow:visible}.tz-customer-header-actions .tz-action-menu{min-width:0}.tz-customer-header-actions .tz-dropdown{width:min(220px,calc(100vw - 32px));max-width:calc(100vw - 32px);right:0}.tz-customer-identity>div{min-width:0}
@media(max-width:767px){.tz-customer-summary{overflow:visible}.tz-customer-identity{align-items:start}.tz-customer-identity h1{font-size:22px}.tz-customer-identity .muted{line-height:1.45;overflow-wrap:anywhere}.tz-customer-header-actions .tz-dropdown{right:0}.tz-customer-more>div{max-width:calc(100vw - 32px);overflow-wrap:anywhere}}

/* Compact customer identity header. */
.tz-customer-identity{grid-template-columns:40px minmax(0,1fr) auto;align-items:start}.tz-customer-identity h1{font-size:21px;line-height:1.2}.tz-customer-identity .tz-customer-meta{font-size:11px;line-height:1.35}.tz-customer-identity .muted{font-size:13px;line-height:1.4}.tz-customer-identity>.tz-status{grid-column:3;grid-row:1 / span 2;align-self:start;margin-top:2px}.tz-customer-header-actions{justify-content:flex-end}.tz-customer-header-actions .tz-action-menu .tz-dropdown{width:220px;max-width:calc(100vw - 32px)}
@media(max-width:767px){.tz-customer-identity{grid-template-columns:36px minmax(0,1fr) auto;align-items:start}.tz-customer-identity h1{font-size:19px}.tz-customer-identity .muted{font-size:12px}.tz-customer-identity>.tz-status{grid-column:3;grid-row:1 / span 2;margin-top:0}.tz-customer-header-actions{justify-content:flex-end}.tz-customer-header-actions .tz-action-menu .tz-dropdown{position:absolute;right:0;left:auto;top:calc(100% + 6px);width:min(220px,calc(100vw - 32px));max-width:calc(100vw - 32px)}}

/* Customer profile: Edit details + the More menu stay grouped together on the right
   (not split apart or stretched full-width), and the wallet panel's Add wallet
   credit button sits beside the Wallet heading instead of wrapping onto its own row. */
.tz-customer-detail .tz-customer-header-actions{justify-content:flex-end;flex-wrap:nowrap;width:auto}
.tz-customer-detail .tz-customer-header-actions>.tz-button,.tz-customer-detail .tz-customer-header-actions>.tz-action-menu{flex:0 0 auto;margin-left:0}
.tz-customer-detail .tz-panel-actions{width:auto}
@media(max-width:767px){.tz-customer-detail .tz-customer-header-actions{width:auto}.tz-customer-detail .tz-panel-actions{width:auto}}

/* Customer "My orders": status tabs, search pill and SMM-style order table */
.tz-panel .tz-my-orders-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.tz-panel .tz-my-orders-tabs{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.tz-panel .tz-my-orders-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--tz-border);border-radius:12px;background:var(--tz-surface,#fff);color:var(--tz-text);font-size:14px;text-decoration:none;white-space:nowrap;transition:border-color .15s}
.tz-panel .tz-my-orders-tabs a:hover{border-color:var(--tz-primary)}
.tz-panel .tz-my-orders-tabs a span{font-size:11px;padding:1px 7px;border-radius:999px;background:#eef2f7;color:var(--tz-muted);font-variant-numeric:tabular-nums}
.tz-panel .tz-my-orders-tabs a[aria-current=page]{background:var(--tz-primary);border-color:var(--tz-primary);color:#fff}
.tz-panel .tz-my-orders-tabs a[aria-current=page] span{background:rgb(255 255 255 / 20%);color:#fff}
.tz-panel .tz-my-orders-search{display:flex;align-items:center;flex:0 1 300px;min-width:220px;padding:4px 4px 4px 16px;border:1px solid var(--tz-border);border-radius:999px;background:var(--tz-surface,#fff)}
.tz-panel .tz-my-orders-search input[type=search]{flex:1 1 auto;min-width:0;border:0!important;background:transparent;box-shadow:none;outline:0;padding:6px 0;font-size:14px}
.tz-panel .tz-my-orders-search button{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:0;border-radius:50%;background:var(--tz-primary);color:#fff;cursor:pointer}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table{min-width:980px}
.tz-panel .tz-my-orders-table th{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--tz-muted)}
.tz-panel .tz-my-orders-table td{vertical-align:middle;font-size:13px}
.tz-panel .tz-my-orders-table td small{display:block;color:var(--tz-muted);font-size:11px;margin-top:2px}
.tz-panel .tz-my-orders-table .tz-my-orders-id{font-weight:700}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table td:nth-child(2){min-width:0;white-space:nowrap}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table td.tz-my-orders-link{white-space:normal;width:240px;min-width:190px;max-width:240px}
.tz-panel .tz-my-orders-table td.tz-my-orders-link :is(a,span){display:block;overflow-wrap:anywhere;word-break:break-all;line-height:1.4;font-size:12.5px}
.tz-panel .tz-my-orders-table td.tz-my-orders-link a{color:#2563eb;text-decoration:none}
.tz-panel .tz-my-orders-table td.tz-my-orders-link a:hover{text-decoration:none}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table td.tz-my-orders-service{white-space:normal;min-width:220px;max-width:340px;line-height:1.5}
.tz-panel .tz-my-orders-service-id{display:inline-block;margin-right:6px;padding:1px 8px;border-radius:5px;background:#eef1f5;color:#344457;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
@media (max-width:767px){
    .tz-panel .tz-my-orders-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:4px}
    .tz-panel .tz-my-orders-search{flex:1 1 100%}
    .tz-panel .tz-customer-horizontal-table.tz-my-orders-table{min-width:980px}
}

/* My orders: New order button joins the tab bar; table fits the content width on desktop. */
.tz-panel .tz-my-orders-tabs{flex:1 1 auto}
.tz-panel .tz-my-orders-search{margin-left:auto}
.tz-panel .tz-my-orders-new{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:46px;padding:0 18px;border-radius:12px;background:var(--tz-orange,#FC6211);color:#fff;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.tz-panel .tz-my-orders-new:hover{background:#e65508}
.tz-panel .tz-my-orders-new span{font-size:18px;line-height:1}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table{min-width:900px}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table th{white-space:normal;line-height:1.3}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table td.tz-my-orders-link{width:200px;min-width:170px;max-width:200px}
.tz-panel .tz-customer-horizontal-table.tz-my-orders-table td.tz-my-orders-service{min-width:200px;max-width:300px}

/* Admin "viewing as customer" banner sat underneath the fixed topbar, hidden but still
   pushing the page down. Place it just below the topbar so it is visible and takes the
   place of the usual top padding instead of adding to it. */
.tz-panel-layout>.tz-impersonation-banner{margin:var(--tz-header) 0 0 var(--tz-sidebar-width);transition:margin-left .18s ease}
.tz-panel-layout>.tz-impersonation-banner+.tz-panel-content{padding-top:24px}
@media (max-width:767px){
    .tz-panel-layout>.tz-impersonation-banner{margin-left:0}
    .tz-panel-layout>.tz-impersonation-banner+.tz-panel-content{padding-top:16px}
    .tz-panel .tz-my-orders-search{margin-left:0;flex:1 1 auto}
    .tz-panel .tz-my-orders-new{min-height:44px}
}

/* Order form: per-service link guidance */
.tz-link-field small{display:block;line-height:1.5}
.tz-link-example{display:block;color:var(--tz-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;overflow-wrap:anywhere}
.tz-link-warning{color:#a8322a;font-weight:600;margin-top:4px}
.tz-link-field input[aria-invalid=true]{border-color:#a8322a!important}
.tz-link-result{color:#1f7a45;font-weight:600;margin-top:4px;overflow-wrap:anywhere}
.tz-link-result a{color:#1f7a45;text-decoration:none;border-bottom:1px dashed currentColor;overflow-wrap:anywhere}
.tz-link-result a:hover{color:var(--tz-btn-orange,#C2621F)}
.tz-link-open-hint{color:var(--tz-muted);font-weight:400;font-size:11.5px}

/* Order form: drip-feed */
.tz-dripfeed{display:grid;gap:10px;padding:12px 14px;border:1px solid var(--tz-border);border-radius:12px;background:#f9fafc}
.tz-dripfeed-toggle{display:flex;gap:10px;align-items:flex-start;cursor:pointer;margin:0}
.tz-dripfeed-toggle input[type=checkbox]{width:18px;height:18px;margin-top:2px}
.tz-dripfeed-toggle span{display:grid;gap:2px}
.tz-dripfeed-toggle small{color:var(--tz-muted);font-size:12.5px}
.tz-dripfeed-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tz-dripfeed-fields[hidden]{display:none}
.tz-dripfeed-fields .field{margin:0}
.tz-dripfeed-summary{grid-column:1/-1;margin:0;font-size:13px;font-weight:600;color:var(--tz-text)}
.tz-dripfeed-summary:empty{display:none}

/* Order status colours: every status has its own colour so orders are easy to tell apart at a glance.
   Used by the admin and customer order lists, dashboards and order pages (class tz-status-<status>). */
.tz-status.tz-status-pending{color:#a16207;background:#fefce8}
.tz-status.tz-status-on_hold{color:#9d174d;background:#fdf2f8}
.tz-status.tz-status-queued{color:#4338ca;background:#eef2ff}
.tz-status.tz-status-processing{color:#0e7490;background:#ecfeff}
.tz-status.tz-status-in_progress{color:#1d4ed8;background:#eff6ff}
.tz-status.tz-status-completed{color:#15803d;background:#f0fdf4}
.tz-status.tz-status-partial{color:#c2410c;background:#fff7ed}
.tz-status.tz-status-refill{color:#7e22ce;background:#faf5ff}
.tz-status.tz-status-cancelled{color:#4b5563;background:#e5e7eb}
.tz-status.tz-status-failed{color:#b91c1c;background:#fef2f2}
[data-theme=dark] .tz-status.tz-status-pending{color:#fde047;background:rgb(234 179 8 / 16%)}
[data-theme=dark] .tz-status.tz-status-on_hold{color:#f9a8d4;background:rgb(236 72 153 / 16%)}
[data-theme=dark] .tz-status.tz-status-queued{color:#a5b4fc;background:rgb(99 102 241 / 18%)}
[data-theme=dark] .tz-status.tz-status-processing{color:#67e8f9;background:rgb(6 182 212 / 16%)}
[data-theme=dark] .tz-status.tz-status-in_progress{color:#93c5fd;background:rgb(59 130 246 / 18%)}
[data-theme=dark] .tz-status.tz-status-completed{color:#86efac;background:rgb(34 197 94 / 16%)}
[data-theme=dark] .tz-status.tz-status-partial{color:#fdba74;background:rgb(249 115 22 / 16%)}
[data-theme=dark] .tz-status.tz-status-refill{color:#d8b4fe;background:rgb(168 85 247 / 16%)}
[data-theme=dark] .tz-status.tz-status-cancelled{color:#d1d5db;background:rgb(156 163 175 / 16%)}
[data-theme=dark] .tz-status.tz-status-failed{color:#fca5a5;background:rgb(239 68 68 / 16%)}
.tz-status-note{display:block;margin-top:4px;font-size:11px;color:var(--tz-muted,#6b7280);white-space:nowrap}
