/* t1168u SX-1 — Sales Desk design system on every dashboard (Founder t1168u: "take the look, the feel, all of it, increase the point size … apply that to all the dashboards").
   Source of truth: /var/www/sales.urock.network/index.html (sha 4caa314d…) <style> lines 9-67: :root tokens L9, body L12, .hdr L13, .kpis/.kpi L18-21, .card L22, .btn L29, .in L33, .tabs L36-40, h2.sec L46, desktop @media L59-67.
   Text: Sales Desk base 15px -> 17px here (+2px, x1.133 for the scale). The R13 main zoom .88 is neutralised (zoom 1) so the sizes below are the real on-screen sizes.
   Styling only: no markup, data, handler or copy change. Loaded after /urock-overrides.css. Roll back = remove the <link> in index.html (or deploy.sh --rollback). */

/* 1. TOKENS — Sales Desk :root (bg #101722, card #1a2432, line #2b3a4e, or #f97316, txt #e8eef4, mut #8fa3b5, grn #34d399, amb #fbbf24, red #f87171) */
html:root,html.dark,html .dark{
  --sx-bg:#101722;--sx-card:#1a2432;--sx-line:#2b3a4e;--sx-or:#f97316;--sx-txt:#e8eef4;--sx-mut:#8fa3b5;--sx-grn:#34d399;--sx-amb:#fbbf24;--sx-red:#f87171;--sx-in:#0d1420;--sx-tabbar:#0c121c;
  --sx-font:-apple-system,'Segoe UI',Arial,sans-serif;
  --background:217 36% 10%!important;--foreground:210 35% 93%!important;--border:214 29% 24%!important;--input:214 29% 24%!important;--ring:25 95% 53%!important;
  --primary:25 95% 53%!important;--primary-foreground:0 0% 100%!important;--secondary:214 31% 18%!important;--secondary-foreground:210 35% 93%!important;
  --muted:214 31% 18%!important;--muted-foreground:208 20% 64%!important;--accent:214 31% 18%!important;--accent-foreground:210 35% 93%!important;
  --card:215 32% 15%!important;--card-foreground:210 35% 93%!important;--popover:218 40% 8%!important;--popover-foreground:210 35% 93%!important;--destructive:0 91% 71%!important;
  /* DS-3/4/5 layers read --ur-*: point them at the Sales Desk palette */
  --ur-page:#101722!important;--ur-sidebar:#0c121c!important;--ur-topbar:#101722!important;--ur-card:#1a2432!important;--ur-card-raised:#1f2b3b!important;--ur-row-alt:#16202d!important;
  --ur-input:#0d1420!important;--ur-border:#2b3a4e!important;--ur-divider:#2b3a4e!important;--ur-text:#e8eef4!important;--ur-text-2:#8fa3b5!important;--ur-text-3:#8fa3b5!important;
  --ur-accent:#f97316!important;--ur-accent-strong:#f97316!important;--ur-accent-hover:#fb8a3c!important;
  --ur-green-bg:#14402e!important;--ur-green-border:#34d399!important;--ur-green-text:#34d399!important;--ur-green-icon:#34d399!important;
  --ur-blue-bg:#243d5c!important;--ur-blue-border:#7db4ee!important;--ur-blue-text:#7db4ee!important;
  --ur-amber-bg:#4d3a13!important;--ur-amber-border:#fbbf24!important;--ur-amber-text:#fbbf24!important;
  --ur-shadow-card:0 1px 3px rgba(0,0,0,.28)!important;--ur-shadow-pop:0 12px 32px rgba(0,0,0,.4)!important;--ur-shadow-pill:none!important;
  --ur-font-display:-apple-system,'Segoe UI',Arial,sans-serif!important;--ur-font-ui:-apple-system,'Segoe UI',Arial,sans-serif!important;
  --radius:.8125rem!important}
html body{font-family:var(--sx-font)!important;background:var(--sx-bg)!important;color:var(--sx-txt)!important;line-height:1.5}
.min-h-screen.bg-background,.min-h-screen{background:var(--sx-bg)!important}

/* 2. HEADER — Sales Desk .hdr: flat bg, 1px line under, orange 10px-radius logo tile, heavy uppercase wordmark */
html .ur-topbar{background:var(--sx-bg)!important;background-image:none!important;border-bottom:1px solid var(--sx-line)!important;box-shadow:none!important}
html .ur-topbar::before,html .ur-topbar::after{display:none!important;content:none!important}
html .ur-badge{background:var(--sx-or)!important;background-image:none!important;border-radius:10px!important;box-shadow:none!important;position:relative}
html .ur-badge::after{content:"U";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font:900 22px/1 var(--sx-font)}
html .ur-brand{font-family:var(--sx-font)!important;font-style:normal!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.06em!important;font-size:19px!important}
html .ur-topbar .text-sm{font-size:15px!important}
html .ur-topbar select{background:var(--sx-card)!important;color:var(--sx-txt)!important;border:1px solid var(--sx-line)!important;border-radius:9px!important;font-size:14px!important;font-weight:700!important}

/* 3. MENU — Sales Desk .tabs (desktop): tab bar #0c121c, uppercase .06em bold labels, the active tab a filled orange 10px pill */
html .ur-nav{background:var(--sx-tabbar)!important;border:1px solid var(--sx-line)!important;border-radius:13px!important;box-shadow:0 1px 3px rgba(0,0,0,.28)!important}
html .ur-nav a{border-radius:10px!important;text-transform:uppercase;letter-spacing:.05em;font-weight:700!important;color:var(--sx-mut)!important;box-shadow:none!important}
html .ur-nav a span,html .ur-nav a.text-base,html .ur-nav a .text-lg{font-size:18px!important;line-height:1.3}
html .ur-nav a.block{font-size:17px!important}
html .ur-nav a:hover{color:var(--sx-txt)!important;background:var(--sx-card)!important}
html .ur-nav a.bg-primary,html .ur-nav a[class*="bg-[var(--ur-accent-strong)]"]{background:var(--sx-or)!important;color:#fff!important}
html .ur-nav a.bg-primary *{color:#fff!important}
html .ur-nav > div > button{font-size:15px!important;letter-spacing:.1em!important;color:var(--sx-mut)!important;font-weight:700!important}
html .ur-nav .text-xs.uppercase{font-size:13px!important;letter-spacing:.1em}
/* mobile bottom bar = Sales Desk mobile .tabs (fixed bottom, #0c121c, active orange) */
html nav.fixed.bottom-0.lg\:hidden{background:var(--sx-tabbar)!important;backdrop-filter:none!important;border-top:1px solid var(--sx-line)!important}
html nav.fixed.bottom-0.lg\:hidden > a,html nav.fixed.bottom-0.lg\:hidden > button{font-size:13px!important;font-weight:700!important}
html nav.fixed.bottom-0.lg\:hidden > a.text-primary{color:var(--sx-or)!important}
/* Founder Portal shell top tabs: same pill treatment */
html .ur-topbar nav a{text-transform:uppercase;letter-spacing:.06em;font-weight:700;border-radius:10px!important;font-size:14px!important}

/* 4. PAGE — real size (zoom 1), Sales Desk base 15px -> 17px; whole type scale x1.133 */
.min-h-screen main{zoom:1!important;font-size:17px!important;line-height:1.5}
.min-h-screen main .text-base{font-size:17px!important}
.min-h-screen main .text-sm{font-size:16px!important;line-height:1.45}
.min-h-screen main .text-xs{font-size:14.5px!important;line-height:1.4}
.min-h-screen main .text-\[10px\],.min-h-screen main .text-\[11px\]{font-size:13px!important}
.min-h-screen main .text-\[12px\]{font-size:14px!important}
.min-h-screen main .text-\[13px\]{font-size:15px!important}
.min-h-screen main .text-lg{font-size:19px!important}
.min-h-screen main .text-xl{font-size:21px!important}
.min-h-screen main .text-2xl{font-size:25px!important}
.min-h-screen main .text-3xl{font-size:30px!important}
.min-h-screen main .text-4xl{font-size:36px!important}
.min-h-screen main .text-muted-foreground{color:var(--sx-mut)!important}
/* headings: Sales Desk heavy system weight, no italics; page title 28px, section 21px, card title 19px */
.min-h-screen main h1,.min-h-screen main h1[class],.min-h-screen main .ur-h1{font-family:var(--sx-font)!important;font-style:normal!important;font-weight:900!important;font-size:28px!important;letter-spacing:-.005em!important;text-transform:none!important}
.min-h-screen main .ur-h1::before{display:none!important}
.min-h-screen main h2,.min-h-screen main h2[class]{font-family:var(--sx-font)!important;font-style:normal!important;font-weight:800!important;font-size:21px!important}
.min-h-screen main h3,.min-h-screen main h3[class]{font-family:var(--sx-font)!important;font-style:normal!important;font-weight:800!important;font-size:19px!important}
.min-h-screen main .ur-display{font-family:var(--sx-font)!important;font-style:normal!important;font-weight:900!important}
/* Sales Desk h2.sec / .kpi .l: small uppercase muted labels (13px -> 15px) */
.min-h-screen main .uppercase.tracking-wider,.min-h-screen main .uppercase.tracking-widest,.min-h-screen main .uppercase.tracking-wide{letter-spacing:.08em!important;color:var(--sx-mut)}

/* 5. CARDS + PANELS — Sales Desk .card: #1a2432, 1px #2b3a4e, 13px radius, 0 1px 3px shadow; .kpi value 21px/900 -> 24px */
.min-h-screen main .bg-card,.min-h-screen main [class*="bg-card/"]{background:var(--sx-card)!important;border-color:var(--sx-line)!important;border-radius:13px!important;box-shadow:0 1px 3px rgba(0,0,0,.28)!important}
.min-h-screen main .rounded-xl,.min-h-screen main .rounded-2xl{border-radius:13px!important}
.min-h-screen main .border,.min-h-screen main .border-b,.min-h-screen main .border-t,.min-h-screen main .divide-y > *{border-color:var(--sx-line)!important}
.min-h-screen main .bg-muted,.min-h-screen main .bg-secondary,.min-h-screen main .bg-accent{background:#1f2b3b!important}
.min-h-screen main .bg-background{background:var(--sx-bg)!important}
.min-h-screen main .font-black,.min-h-screen main .text-2xl.font-bold,.min-h-screen main .text-3xl.font-bold{font-weight:900!important}

/* 6. TABLES — on Sales Desk cards: muted uppercase heads (kpi label style), 17px cells, line dividers */
.min-h-screen main table td{font-size:17px!important;border-color:var(--sx-line)!important}
.min-h-screen main table th{font-size:13px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:var(--sx-mut)!important;font-weight:700!important;border-color:var(--sx-line)!important}
.min-h-screen main table tbody tr:hover{background:#1f2b3b}

/* 7. BUTTONS — Sales Desk .btn: orange, white, 10px radius, weight 800, 13.5px -> 15.5px; .btn.alt = card + line */
.min-h-screen main button,.min-h-screen main a.inline-flex{font-weight:800!important;border-radius:10px!important}
.min-h-screen main button.text-sm,.min-h-screen main button.text-xs{font-size:15.5px!important}
.min-h-screen main button.bg-primary,.min-h-screen main a.bg-primary,.min-h-screen main .bg-orange-500,.min-h-screen main .bg-orange-600{background:var(--sx-or)!important;color:#fff!important;border-color:var(--sx-or)!important}
.min-h-screen main button.border:not(.bg-primary){background:var(--sx-card);border-color:var(--sx-line)!important;color:var(--sx-txt)}
.min-h-screen main button:disabled{opacity:.5}
/* pills / badges — Sales Desk .pill: 10px/800 uppercase .05em -> 12px */
.min-h-screen main .rounded-full.text-xs,.min-h-screen main .rounded-full.text-\[10px\],.min-h-screen main .rounded-full.text-\[11px\]{font-size:12px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.05em}

/* 8. INPUTS — Sales Desk .in: #0d1420, 1px line, 10px radius, 15px -> 17px */
.min-h-screen main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),.min-h-screen main select,.min-h-screen main textarea{background:var(--sx-in)!important;border:1px solid var(--sx-line)!important;border-radius:10px!important;color:var(--sx-txt)!important;font-size:17px!important}
.min-h-screen main input::placeholder,.min-h-screen main textarea::placeholder{color:#5f7387}
.min-h-screen main input:focus,.min-h-screen main select:focus,.min-h-screen main textarea:focus{border-color:var(--sx-or)!important;outline:none!important;box-shadow:0 0 0 1px var(--sx-or)!important}

/* 9. PHONES — Sales Desk is mobile-first at the same 15px base; +2 here too, a touch lower than desktop */
@media (max-width:768px){
  .min-h-screen main{font-size:16.5px!important}
  .min-h-screen main .text-sm{font-size:15.5px!important}
  .min-h-screen main .text-xs{font-size:14px!important}
  .min-h-screen main table td{font-size:15.5px!important}
  .min-h-screen main h1,.min-h-screen main h1[class],.min-h-screen main .ur-h1{font-size:24px!important}
}
