:root{
  --tl-ink:#16394d; --tl-muted:#617986; --tl-line:#d9e3e7; --tl-surface:#fff;
  --tl-bg:#f3f6f7; --tl-orange:#d95a28; --tl-orange-soft:#fff0e7;
  --tl-green:#1e7154; --tl-green-soft:#e8f4ed; --tl-blue:#2e6895; --tl-blue-soft:#e8f1f9;
}
html,body{background:var(--tl-bg)!important;color:var(--tl-ink)!important}
body #app{min-height:100vh!important;background:var(--tl-bg)!important}
body #app .main{min-width:0!important;background:var(--tl-bg)!important}
body #nav{z-index:30!important;border-bottom:1px solid var(--tl-line)!important;box-shadow:0 4px 14px rgba(22,57,77,.05)!important}
body #nav .nav-item,body #nav button{font-weight:650!important;letter-spacing:-.01em!important}
body #content{min-width:0!important;box-sizing:border-box!important}
body #content > section:not(.tl-cockpit),body #content > .workspace-frame,body #content > .workspace-home,body #content > .workspace-mode,
body #content > .crm-contact-hub,body #content > .cac-root{
  width:100%!important;max-width:1280px!important;margin:0 auto!important;box-sizing:border-box!important;
}
body #content .panel,body #content .table-wrap,body #content .pricebook-card,body #content .cac-section,body #content .cac-hero,
body #content .workspace-card,body #content .workspace-panel{
  background:var(--tl-surface)!important;border:1px solid var(--tl-line)!important;border-radius:16px!important;
  box-shadow:0 8px 22px rgba(22,57,77,.06)!important;
}
body #content .panel,body #content .workspace-panel,body #content .cac-section{padding:16px!important}
body #content h1,body #content h2,body #content h3{color:var(--tl-ink)!important;letter-spacing:-.025em!important}
body #content .section-head,body #content .panel-head,body #content .cac-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}
body #content .filter-row,body #content .filters,body #content .filter-bar,body #content .toolbar{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important;padding:10px!important;background:#f8fafb!important;border:1px solid var(--tl-line)!important;border-radius:12px!important}
body #content input,body #content select,body #content textarea{min-height:38px!important;border:1px solid #c7d6dc!important;border-radius:9px!important;background:#fff!important;color:var(--tl-ink)!important;padding:8px 10px!important;box-sizing:border-box!important}
body #content input:focus,body #content select:focus,body #content textarea:focus{outline:3px solid rgba(217,90,40,.18)!important;border-color:var(--tl-orange)!important}
body #content button,body #content .btn,body #content a.btn{min-height:36px!important;border-radius:9px!important;font-weight:650!important;transition:transform .12s ease,box-shadow .12s ease!important}
body #content button:hover,body #content .btn:hover,body #content a.btn:hover{transform:translateY(-1px)!important;box-shadow:0 6px 14px rgba(22,57,77,.12)!important}
body #content .table-wrap{overflow:auto!important}
body #content table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;font-size:13px!important}
body #content table th{position:sticky!important;top:0!important;z-index:2!important;background:#eef4f6!important;color:#365669!important;text-align:left!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.05em!important}
body #content table th,body #content table td{padding:10px 11px!important;border-bottom:1px solid #e5ecef!important;vertical-align:top!important}
body #content table tbody tr:hover{background:#fff9f5!important}
body #content .status,.status-pill,.badge{border-radius:999px!important;font-weight:700!important;padding:4px 8px!important;font-size:11px!important}
body #content .workspace-frame,body #content .workspace-home,body #content .workspace-mode{padding:clamp(12px,2vw,24px)!important}
body #content .workspace-frame > *,body #content .workspace-home > *,body #content .workspace-mode > *{min-width:0!important}
body #content .pricebook-navigation,.pricebook-directory{border-radius:12px!important;background:#f8fafb!important;border:1px solid var(--tl-line)!important}
body #content .crm-contact-hub{padding:clamp(12px,2vw,22px)!important}
body #content .cac-root{padding:clamp(12px,2vw,22px)!important}
body #content .cac-hero{background:linear-gradient(135deg,#173d54,#245d75)!important;color:#fff!important;border:0!important}
body #content .cac-hero h1,body #content .cac-hero h2,body #content .cac-hero p{color:#fff!important}
@media (max-width:900px){
  body #content > section:not(.tl-cockpit),body #content > .workspace-frame,body #content > .workspace-home,body #content > .workspace-mode,body #content > .crm-contact-hub,body #content > .cac-root{padding:10px!important}
  body #content .panel,body #content .workspace-panel,body #content .cac-section{padding:12px!important}
  body #content table{min-width:720px!important}
  body #content .filter-row,body #content .filters,body #content .filter-bar,body #content .toolbar{align-items:stretch!important}
  body #content .filter-row > *,body #content .filters > *,body #content .filter-bar > *,body #content .toolbar > *{flex:1 1 150px!important}
}
