/* Sirr "lux" look (5 Dec 2026, Bade: "improve the overall look for the clients demo ... make it feel like a high end quality").
   Switched on by the class `lux` on <html> (app.js applyBrand: only when the page is a Sirr demo), so NABAT's own HQ
   looks exactly as before. To give the real HQ the same look later, add the class there too.
   Direction: a private-bank / atelier feel. Porcelain ground with a faint light from the corner, white cards that float on
   soft long shadows instead of hard borders, large light-weight numbers and titles (Alexandria 300), IBM Plex Sans Arabic
   for reading, muted status colours (sage, brick, ochre) so red means "act" without shouting, and the client's own colour
   as the single accent (the waiting tile, the active page, the next appointment). Calm motion on load. */

:root.lux {
  --bg: #F3F0EA; --paper: #FFFFFF; --ink: #111513; --ink-2: #555B57; --ink-3: #8F948F;
  --line: rgba(17, 21, 19, .075); --line-2: rgba(17, 21, 19, .14); --soft: #F1EEE8; --hover: #FAF8F4;
  --ok: #3C7A59; --ok-wash: #EBF3EE; --warn: #9A6A1E; --warn-wash: #F8F0E1; --bad: #A6412E; --bad-wash: #F9EDE9; --info: #3E6592; --info-wash: #EAF0F7;
  --shadow-1: 0 1px 2px rgba(17, 21, 19, .04), 0 8px 24px -12px rgba(17, 21, 19, .10);
  --shadow-2: 0 2px 6px rgba(17, 21, 19, .05), 0 24px 56px -20px rgba(17, 21, 19, .20);
  --shadow-3: 0 30px 80px -10px rgba(17, 21, 19, .30);
  /* the reading font is not forced here, so Settings › Font keeps working; app.js gives demos Plex by default */
  --r-sm: 9px; --r-md: 14px; --r-lg: 20px; --r-xl: 26px;
  --lux-ease: cubic-bezier(.2, .7, .2, 1);
}
:root.lux[data-theme="dark"] {
  --bg: #0B0E0D; --paper: #121715; --ink: #F1EDE5; --ink-2: #A9AFA9; --ink-3: #737A74;
  --line: rgba(255, 255, 255, .06); --line-2: rgba(255, 255, 255, .11); --soft: #171D1A; --hover: #161C19;
  --ok: #6CC093; --ok-wash: #13241A; --warn: #E0AA55; --warn-wash: #2A2213; --bad: #E2836F; --bad-wash: #2C1813;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px -14px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .4), 0 26px 60px -20px rgba(0, 0, 0, .7);
}
/* the light from the corner, tinted with the client's colour */
html.lux body {
  font-size: 14.5px; letter-spacing: 0;
  background:
    radial-gradient(1200px 520px at 100% -10%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%),
    radial-gradient(900px 420px at 0% 0%, rgba(255, 255, 255, .7), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
html.lux[data-theme="dark"] body { background: radial-gradient(1200px 520px at 100% -10%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%), var(--bg); background-attachment: fixed; }
html.lux h1, html.lux h2, html.lux h3 { font-weight: 500; letter-spacing: -.005em; }
html.lux b, html.lux strong { font-weight: 600; }

/* ---------- the rail: the client's colour as a glow, the active page as a soft pill ---------- */
@media (min-width: 900px) { html.lux .shell { grid-template-columns: 92px minmax(0, 1fr); } }
html.lux .rail { background: linear-gradient(180deg, color-mix(in srgb, var(--rail) 100%, #000) 0%, color-mix(in srgb, var(--rail) 78%, #000) 100%); padding: 18px 0 14px; gap: 2px; overflow: hidden; }
html.lux .rail::before { content: ""; position: absolute; inset: -120px -60px auto -60px; height: 320px; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 34%, transparent), transparent); opacity: .55; pointer-events: none; }
html.lux .rail::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)); pointer-events: none; }
html.lux .rail > * { position: relative; }
html.lux .rail .logo { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 24px -6px rgba(0, 0, 0, .55); }
html.lux .rail .logo img { width: 46px; height: 46px; border-radius: 14px; }
html.lux .rail a.nav { width: 72px; padding: 9px 0 7px; border-radius: 14px; gap: 4px; color: rgba(255, 255, 255, .52); font-size: 11px; font-weight: 300; }
html.lux .rail a.nav.on span { font-weight: 400; }
html.lux .rail a.nav svg { width: 20px; height: 20px; stroke-width: 1.6; }
html.lux .rail a.nav:hover { background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .86); }
html.lux .rail a.nav.on { background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 8px 18px -10px rgba(0, 0, 0, .6); }
html.lux .rail a.nav.on svg { color: color-mix(in srgb, var(--gold) 55%, #fff); }
html.lux .rail .badge { inset-block-start: 4px; inset-inline-end: 13px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font-size: 10px; background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--rail) 90%, #000); }
html.lux .rail .nav-sep { width: 28px; height: 1px; background: rgba(255, 255, 255, .08); margin: 8px 0; display: block; }

/* ---------- top bar: glass, quiet controls ---------- */
html.lux .topbar { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
html.lux .topbar-in, html.lux .content { max-width: 1320px; padding-inline: 40px; }
html.lux .topbar-in { padding-block: 14px; gap: 12px; }
html.lux .ask { border-radius: 999px; padding: 9px 16px; background: color-mix(in srgb, var(--paper) 78%, transparent); border-color: var(--line); box-shadow: none; max-width: 440px; }
html.lux .ask:hover { background: var(--paper); box-shadow: var(--shadow-1); }
html.lux .ask kbd { border-radius: 999px; padding: 0 7px; background: transparent; }
html.lux .icon-btn { border-radius: 999px; background: transparent; box-shadow: none; border-color: var(--line); }
html.lux .icon-btn:hover { background: var(--paper); box-shadow: var(--shadow-1); }
html.lux .avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line-2); }
html.lux .sirr-mark { background: linear-gradient(180deg, #161616, #050505); box-shadow: inset 0 0 0 1px rgba(217, 178, 95, .28), 0 6px 16px -8px rgba(0, 0, 0, .5); padding: 7px 14px 7px 12px; }
html.lux .sirr-want { background: linear-gradient(180deg, #E4C27A, #C99E4C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 18px -8px rgba(160, 118, 40, .65); padding: 10px 18px; }
html.lux .sirr-want:hover { background: linear-gradient(180deg, #EBCB86, #D2A757); }

/* ---------- page head: big, light, calm ---------- */
html.lux .content { gap: 22px; padding-block: 18px 80px; }
html.lux .page-head { padding-block: 18px 6px; }
html.lux .page-head h1 { font-size: 42px; font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
html.lux .page-head .sub { color: var(--ink-3); font-size: 14px; margin-block-start: 8px; display: flex; align-items: center; gap: 8px; }
html.lux .page-head h1 + p.dim { margin-block-start: 12px; font-size: 14px; color: var(--ink-3); max-width: 78ch; }
html.lux .page-head .sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); flex: none; }
html.lux .fresh { font-size: 12px; }
/* the day in one line under the greeting (today.js dayBrief); base style too, in case a demo runs without lux */
.day-brief { display: flex; flex-wrap: wrap; gap: 0; margin-block-start: 18px; }
.day-brief span { display: inline-flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--ink-2); padding-inline: 18px; border-inline-start: 1px solid var(--line-2); }
.day-brief span:first-child { padding-inline-start: 0; border: 0; }
.day-brief b { font-family: var(--f-head); font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: -.02em; }
.day-brief span.hot b { color: var(--bad); }

/* ---------- the "what you gain" strip: a dark card with a gold hairline ---------- */
html.lux .sirr-strip { position: relative; overflow: hidden; padding: 18px 24px; border-radius: var(--r-lg); margin: 0; border: 0; color: #F4EFE6;
  background: radial-gradient(600px 160px at 85% 0%, rgba(217, 178, 95, .20), transparent 70%), linear-gradient(180deg, #151917, #0B0D0C);
  box-shadow: inset 0 0 0 1px rgba(217, 178, 95, .26), 0 18px 40px -22px rgba(0, 0, 0, .6); }
html.lux .sirr-strip b { font-family: var(--f-head); font-weight: 400; font-size: 17px; letter-spacing: -.005em; }
html.lux .sirr-strip span { color: #E2BF73; font-weight: 500; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(217, 178, 95, .4); transition: background .2s; }
html.lux .sirr-strip:hover span { background: rgba(217, 178, 95, .12); }

/* ---------- cards: float on shadow, hairline edge ---------- */
html.lux .grid { gap: 20px; }
html.lux .card { border-color: var(--line); border-radius: var(--r-lg); padding: 22px 24px; gap: 14px; box-shadow: var(--shadow-1); }
html.lux .card-h h2 { font-size: 17px; font-weight: 500; }
html.lux .card-h h2 svg { stroke-width: 1.6; }
html.lux .card-h .count { font-size: 12px; color: var(--ink-3); background: var(--soft); border-radius: 999px; padding: 1px 8px; font-weight: 400; }
html.lux .card-h .hint { color: var(--ink-3); font-size: 12px; }

/* ---------- the four numbers ---------- */
html.lux .kpi { border-color: var(--line); border-radius: var(--r-lg); padding: 20px 22px 18px; gap: 4px; box-shadow: var(--shadow-1); transition: transform .25s var(--lux-ease), box-shadow .25s var(--lux-ease); }
html.lux a.kpi:hover, html.lux button.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
html.lux .kpi .l { font-size: 12.5px; color: var(--ink-3); letter-spacing: .01em; }
html.lux .kpi .v { font-size: 48px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-block: 4px 2px; }
html.lux .kpi .s { font-size: 12px; color: var(--ink-3); }
html.lux .kpi.hi { position: relative; overflow: hidden; border: 0; color: var(--gold-ink);
  background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 88%, #fff) 0%, var(--gold) 45%, color-mix(in srgb, var(--gold) 70%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 22px 44px -18px color-mix(in srgb, var(--gold) 70%, transparent); }
html.lux .kpi.hi::after { content: ""; position: absolute; inset: -60% -30% auto auto; width: 80%; height: 160%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); pointer-events: none; }
html.lux .kpi.hi .l, html.lux .kpi.hi .s { color: inherit; opacity: .78; }
html.lux .kpi.hi svg polyline, html.lux .kpi.hi svg path { stroke: currentColor; }

/* ---------- waiting on you: urgent cards with a brick edge, not a red wash ---------- */
html.lux .items { gap: 12px; }
html.lux .item { border-color: var(--line); border-radius: var(--r-md); padding: 14px 16px; gap: 9px; box-shadow: 0 1px 2px rgba(17, 21, 19, .03); }
html.lux .item:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
/* a straight brick bar inside the card instead of a thick curved border */
html.lux .item.urgent, html.lux .deal.late, html.lux .deal.chase { position: relative; border: 1px solid color-mix(in srgb, var(--bad) 16%, var(--line)); }
html.lux .item.urgent { background: linear-gradient(to left, var(--paper) 70%, color-mix(in srgb, var(--bad-wash) 70%, var(--paper))); }
html[dir="rtl"].lux .item.urgent { background: linear-gradient(to right, var(--paper) 70%, color-mix(in srgb, var(--bad-wash) 70%, var(--paper))); }
html.lux .deal.chase { background: var(--paper); }
html.lux .item.urgent::before, html.lux .deal.late::before, html.lux .deal.chase::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: -1px; width: 3px; border-radius: 3px; background: var(--bad); }
html.lux .item.urgent .t { color: var(--ink); font-weight: 600; font-size: 14.5px; }
html.lux .item.urgent .t svg { color: var(--bad); }
html.lux .item .btn.primary { border-radius: 999px; padding-inline: 14px; }

/* ---------- buttons ---------- */
html.lux .btn { border-radius: 10px; border-color: var(--line-2); font-weight: 500; }
html.lux .btn.sm { border-radius: 999px; padding: 4px 11px; }
html.lux .btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 88%, #fff), var(--ink)); border-color: var(--ink); box-shadow: 0 6px 14px -8px rgba(17, 21, 19, .6); }
html.lux[data-theme="dark"] .btn.primary { background: var(--ink); }
html.lux .linkish { color: var(--gold-text); font-weight: 500; }

/* ---------- the day (appointments / viewings) ---------- */
html.lux .ap { padding: 11px 8px; gap: 14px; grid-template-columns: 52px minmax(0, 1fr) auto; }
html.lux .ap-t { font-weight: 500; font-size: 14px; color: var(--ink); letter-spacing: -.01em; }
html.lux .ap.past .ap-t { color: var(--ink-3); }
html.lux .ap.next { position: relative; border-radius: 12px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 13%, var(--paper)), color-mix(in srgb, var(--gold) 5%, var(--paper))); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent); }
html.lux .ap.next .ap-t { color: var(--gold-text); }
html.lux .ap-chip { font-weight: 500; padding: 3px 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
html.lux .ap-chip.ok { background: var(--ok-wash); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 22%, transparent); }
html.lux .ap-chip.bad { background: var(--bad-wash); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 22%, transparent); }
html.lux .ap-chip.warn { background: var(--warn-wash); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 22%, transparent); }
html.lux .cf-bar { height: 5px; } html.lux .cf-bar i { background: linear-gradient(90deg, color-mix(in srgb, var(--ok) 70%, #fff), var(--ok)); }
html.lux .dm { padding: 11px 0; }
html.lux .dm-amt { font-weight: 500; color: var(--ink); }
/* step 4 (companies): open quotes and the Monday report */
html.lux .qt-row { padding-block: 12px; }
html.lux .qt-b small .num { color: var(--ink-2); }
html.lux .rp-tiles { border: 0; border-radius: 16px; background: color-mix(in srgb, var(--gold) 5%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 18%, transparent); }
html.lux .rp-t { padding: 18px 20px; border-color: color-mix(in srgb, var(--gold) 16%, transparent); }
html.lux .rp-v b { font-weight: 300; font-size: 36px; letter-spacing: -.03em; }
html.lux .rp-l { letter-spacing: .01em; }
html.lux .va-h h2 { font-family: var(--f-head); font-weight: 400; font-size: 30px; letter-spacing: -.02em; }
html.lux .va-sum b { font-weight: 300; font-size: 56px; letter-spacing: -.035em; }
html.lux .va-app { border-radius: 12px; padding: 10px 12px; }
html.lux .va-one { border-radius: 20px; padding: 26px 24px; }

/* ---------- tables (agents, cost by source) ---------- */
html.lux table.agents th, html.lux table.src th { font-weight: 400; color: var(--ink-3); padding-block: 8px 10px; }
html.lux table.agents td, html.lux table.src td { padding-block: 13px; }
html.lux table.agents tbody tr, html.lux table.src tbody tr { transition: background .15s; }
html.lux table.agents tbody tr:hover td, html.lux table.src tbody tr:hover td { background: var(--hover); }
html.lux table.agents td.num { font-size: 16px; font-weight: 400; }

/* ---------- part 2 (5 Dec): the sales board ---------- */
/* summary pills and the segmented filters */
html.lux .pill { padding: 6px 13px; }
html.lux .cc-sum { gap: 10px; align-items: center; }
html.lux .cc-sum .pill { background: color-mix(in srgb, var(--paper) 80%, transparent); border-color: var(--line); box-shadow: var(--shadow-1); font-size: 12.5px; }
html.lux .cc-sum .pill b { font-size: 15px; font-weight: 500; }
html.lux .seg { background: color-mix(in srgb, var(--ink) 4.5%, transparent); border-radius: 999px; padding: 4px; gap: 2px; }
html.lux .seg button { border-radius: 999px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 6px; }
html.lux .seg button.on { box-shadow: 0 1px 2px rgba(17, 21, 19, .06), 0 4px 12px -4px rgba(17, 21, 19, .12); }
html.lux .rr-line { margin: 0; align-self: flex-start; padding: 7px 14px 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 75%, transparent); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ink-3); }
html.lux .rr-line b { color: var(--ink); font-weight: 500; }

/* new website enquiries: a white card with a thin line of the client's colour on top */
html.lux .enq-box { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; gap: 16px; box-shadow: var(--shadow-1); }
html.lux .enq-box::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .8; }
/* heading on one side, the enquiries beside it, so one enquiry doesn't leave an empty white box */
@media (min-width: 1000px) {
  html.lux .enq-box:not(.empty) { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 24px; }
  html.lux .enq-box:not(.empty) .enq-h { align-content: start; padding-block-start: 4px; }
  html.lux .enq-box:not(.empty) .enq-list { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
}
html.lux .enq-h b { font-family: var(--f-head); font-weight: 500; font-size: 17px; }
html.lux .enq-h .count { font-family: var(--f-head); font-size: 12px; color: var(--ink-3); background: var(--soft); border-radius: 999px; padding: 1px 8px; }
html.lux .enq-h .dim { color: var(--ink-3); font-size: 12.5px; }
html.lux .enq { position: relative; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; gap: 10px; background: var(--paper); box-shadow: 0 1px 2px rgba(17, 21, 19, .03); }
html.lux .enq::before { content: ""; position: absolute; inset-block: 16px; inset-inline-start: -1px; width: 3px; border-radius: 3px; background: var(--ok); }
html.lux .enq.is-warm::before { background: var(--warn); } html.lux .enq.is-late::before { background: var(--bad); }
html.lux .enq-top b { font-weight: 600; font-size: 15.5px; }
html.lux .enq-wait { font-weight: 500; font-size: 12px; padding: 3px 10px; }
html.lux .enq-need { background: var(--soft); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
html.lux .enq-acts .btn { border-radius: 999px; }
html.lux .enq-acts .btn.wa { background: linear-gradient(180deg, #2FBF66, #1C9E4C); border-color: transparent; box-shadow: 0 6px 14px -8px rgba(28, 158, 76, .8); }

/* the columns: open lanes instead of grey boxes */
html.lux .board { gap: 16px; padding-block-end: 16px; }
html.lux .col { flex-basis: 286px; background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 55%, transparent), color-mix(in srgb, var(--paper) 18%, transparent)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; gap: 10px; }
html.lux .col > header { padding: 4px 6px 8px; border-block-end: 1px solid var(--line); margin-block-end: 2px; }
html.lux .col > header b { font-weight: 500; font-size: 14.5px; }
html.lux .col > header .count { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 0 8px; font-size: 11.5px; }
html.lux .col > header i { width: 7px; height: 7px; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 0%, transparent); }
html.lux .col .drop { gap: 10px; }
html.lux .closed-row { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }

/* the deal cards */
html.lux .deal { border-radius: 14px; border-color: var(--line); padding: 13px 14px 12px; gap: 7px; }
html.lux .deal:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
html.lux .dtop b { font-size: 14.5px; font-weight: 600; }
html.lux .dnext { color: var(--ink-2); font-size: 13px; }
html.lux .dmeta { color: var(--ink-3); font-size: 11.5px; }
html.lux .dchase { font-weight: 500; font-size: 12px; padding-block-end: 8px; margin-block-end: 2px; border-block-end: 1px dashed color-mix(in srgb, var(--bad) 25%, transparent); }
html.lux .dtags { gap: 5px; margin-block-start: 4px; }
html.lux .dsrc, html.lux .drr { font-weight: 500; font-size: 11px; padding: 2px 8px; background: var(--soft); color: var(--ink-2); }
html.lux .drr { background: color-mix(in srgb, var(--gold) 10%, var(--paper)); color: var(--gold-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent); }

/* ---------- part 2: the deal panel ---------- */
html.lux .drawer { background: var(--bg); width: min(600px, 100vw); box-shadow: -30px 0 80px -20px rgba(17, 21, 19, .35); }
html[dir="rtl"].lux .drawer { box-shadow: 30px 0 80px -20px rgba(17, 21, 19, .35); }
html.lux .drawer-h { background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(14px); padding: 20px 28px; }
html.lux .drawer-h h2 { font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: .02em; }
html.lux .drawer-h .icon-btn { border-radius: 999px; }
html.lux .drawer-b { padding: 24px 28px 48px; gap: 18px; }
html.lux .dhead h3 { font-family: var(--f-head); font-size: 32px; font-weight: 300; letter-spacing: -.02em; line-height: 1.2; }
.dhead-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 12px; }
.dhead-tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 11px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.dhead-tags .dh-stage { background: color-mix(in srgb, var(--gold) 12%, var(--paper)); color: var(--gold-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 25%, transparent); font-weight: 500; }
html.lux .aform { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; gap: 14px; box-shadow: var(--shadow-1); }
html.lux .fld { gap: 7px; }
html.lux .fld > span { font-weight: 400; font-size: 12px; color: var(--ink-3); }
html.lux .fld input, html.lux .fld select, html.lux .fld textarea { border-color: var(--line-2); border-radius: 11px; padding: 11px 13px; background: var(--hover); transition: border-color .15s, background .15s, box-shadow .15s; }
html.lux .fld input:focus, html.lux .fld select:focus, html.lux .fld textarea:focus { background: var(--paper); outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent); }
html.lux .aform .acts .btn { border-radius: 999px; padding: 8px 18px; }
html.lux .deal-close { border: 0; padding: 4px 4px; gap: 10px; }
html.lux .deal-close .btn { border-radius: 999px; background: transparent; }
html.lux .drawer-b > .card h3 { font-family: var(--f-head); font-size: 15px !important; font-weight: 500; }
html.lux .nnote { background: color-mix(in srgb, var(--gold) 7%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 14%, transparent); border-radius: 12px; padding: 10px 13px; }
html.lux #note-form input { border-radius: 999px !important; padding: 9px 14px !important; background: var(--hover) !important; border-color: var(--line-2) !important; }
html.lux #note-form .btn { border-radius: 999px; }
html.lux .tl-r { padding: 10px 0; }
html.lux .tl-r b { font-weight: 500; }
html.lux .tl-r small { display: block; margin-block-start: 2px; }
html.lux .tl-r .tl-d { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line-2); }

/* matching units: a short list like a property brochure */
html.lux .wants { gap: 6px; }
html.lux .wants span { background: var(--soft); padding: 4px 11px; font-size: 12px; }
html.lux .units { gap: 10px; }
html.lux .unit { padding: 14px 16px; border-color: var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--paper), var(--hover)); transition: box-shadow .2s, transform .2s; }
html.lux .unit:hover { box-shadow: var(--shadow-1); transform: translateY(-1px); }
html.lux .unit-b b { font-weight: 600; font-size: 14.5px; }
html.lux .unit-p { font-size: 20px; font-weight: 300; letter-spacing: -.02em; }
html.lux .unit-fit { font-size: 11.5px; gap: 8px; }
html.lux .unit-r .btn { border-radius: 999px; }

/* ---------- part 3 (5 Dec, Bade: "do it for all pages and finish this project") ---------- */
/* shared: tables, chips, banners, inputs, page heads with buttons */
html.lux .chip { border-radius: 999px; padding: 2px 10px; font-weight: 500; }
html.lux .banner { border-radius: var(--r-md); padding: 12px 16px; }
html.lux .banner:not(.practice):not(.err):not(.paused) { background: color-mix(in srgb, var(--paper) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
html.lux .s-table th, html.lux .rp-table th { font-weight: 400; color: var(--ink-3); padding-block: 8px 10px; }
html.lux .s-table td { padding-block: 12px; }
html.lux .s-table tbody tr:hover td { background: var(--hover); }
html.lux .rp-g td { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--gold-text); }
html.lux select, html.lux input[type="text"], html.lux input[type="search"], html.lux input:not([type]), html.lux textarea { border-radius: 11px; }
html.lux .page-head > .btn, html.lux .page-head .btn { border-radius: 999px; padding: 8px 16px; }
html.lux .s-kpis { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
html.lux .empty .big { font-family: var(--f-head); font-weight: 300; font-size: 20px; }
html.lux .mini-item { border-radius: 12px; }

/* Inbox: list and thread as two floating panels, WhatsApp bubbles kept calm */
html.lux .ibox { gap: 20px; height: calc(100vh - 230px); }
html.lux .ilist, html.lux .ithread { border-radius: var(--r-lg); }
html.lux .itools { padding: 14px; gap: 10px; }
html.lux .itools input { border-radius: 999px; padding: 10px 16px; background: var(--hover); border-color: var(--line-2); }
html.lux .itools .seg button { padding: 5px 11px; }
html.lux .conv { padding: 14px 16px; gap: 12px; transition: background .15s; }
html.lux .conv.on { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 9%, var(--paper)), color-mix(in srgb, var(--gold) 4%, var(--paper))); }
html.lux .conv.slow { position: relative; border-inline-start: 0; }
html.lux .conv.slow::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--bad); }
html.lux .thead { padding: 16px 20px; }
html.lux .thead select { border-radius: 999px; padding: 6px 12px; }
html.lux .msgs { padding: 22px 24px; gap: 12px; background: radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--gold) 5%, transparent), transparent 70%), var(--hover); }
html.lux .msg .bub { border-radius: 16px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(17, 21, 19, .05); }
html.lux .msg.in .bub { border-color: var(--line); }
html.lux .msg.out .bub { background: #E3F4E8; color: #10301B; }
html.lux[data-theme="dark"] .msg.out .bub { background: #173524; color: #DFF3E6; }
html.lux .reply { padding: 14px 20px 16px; }
html.lux .reply textarea { border-radius: 14px; background: var(--hover); border-color: var(--line-2); padding: 11px 14px; }
html.lux .reply .btn { border-radius: 999px; }

/* Team chat */
html.lux .tc-box { gap: 20px; }
html.lux .tc-ch { padding: 11px 14px; border-radius: 12px; }
html.lux .tc-ch.on { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); font-weight: 500; }
html.lux .tc-msgs { padding: 22px 24px; gap: 10px; }
html.lux .tc-bub { border-radius: 16px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(17, 21, 19, .04); }
html.lux .tc-msg.mine .tc-bub { background: color-mix(in srgb, var(--gold) 9%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 16%, transparent); }
html.lux .tc-del { opacity: 0; transition: opacity .15s; } html.lux .tc-bub:hover .tc-del { opacity: .5; }
html.lux .tc-day { box-shadow: inset 0 0 0 1px var(--line); padding: 3px 12px; }
html.lux .tc-form { padding: 14px 16px; }
html.lux .tc-form textarea { border-radius: 999px; padding: 11px 18px; background: var(--hover); border-color: var(--line-2); }
html.lux .tc-form .btn { border-radius: 999px; padding: 9px 18px; }

/* the value page: problem rows as calm cards, the total as the one dark card */
html.lux .vr-list { gap: 16px; margin-block-end: 18px; }
html.lux .vr { gap: 14px 28px; }
html.lux .vr-tag { font-weight: 500; letter-spacing: .01em; }
html.lux .vr-p h3 { font-size: 18px; font-weight: 500; }
html.lux .vr-f { background: color-mix(in srgb, var(--ok-wash) 70%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 14%, transparent); border-radius: 12px; padding: 10px 12px; }
html.lux .sv-num input { border-radius: 10px; border-color: var(--line-2); background: var(--hover); font-weight: 500; padding: 8px 10px; transition: border-color .15s, box-shadow .15s, background .15s; }
html.lux .sv-num input:focus { outline: 0; background: var(--paper); border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent); }
html.lux .vr-out { padding-inline-start: 24px; }
html.lux .vr-out b { font-family: var(--f-head); font-weight: 300; font-size: 40px; letter-spacing: -.03em; }
html.lux .vr-out em { font-weight: 500; }
html.lux .vr-total { position: relative; overflow: hidden; border: 0; color: #F4EFE6; padding: 30px 32px;
  background: radial-gradient(700px 220px at 85% 0%, rgba(217, 178, 95, .22), transparent 70%), linear-gradient(180deg, #151917, #0B0D0C);
  box-shadow: inset 0 0 0 1px rgba(217, 178, 95, .28), 0 26px 60px -26px rgba(0, 0, 0, .7); }
html.lux .vr-total .vr-tag { color: #E2BF73; }
html.lux .vr-total .vr-sum b { font-family: var(--f-head); font-weight: 300; font-size: 64px; letter-spacing: -.035em; color: #F4EFE6; }
html.lux .vr-total .vr-sum span { color: rgba(244, 239, 230, .7); font-weight: 400; }
html.lux .vr-total .dim, html.lux .vr-total .vr-how { color: rgba(244, 239, 230, .62); }
html.lux .sv-cta { border: 1px solid color-mix(in srgb, #D9B25F 45%, var(--line)); background: linear-gradient(180deg, var(--paper), color-mix(in srgb, #D9B25F 6%, var(--paper))); }
html.lux .sv-cta h2 { font-weight: 400; font-size: 22px; }
html.lux .sv-cta .btn.gold { background: linear-gradient(180deg, #E4C27A, #C99E4C); border-color: transparent; border-radius: 999px; padding: 11px 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 22px -10px rgba(160, 118, 40, .7); }

/* reports, social, ads, team, settings */
html.lux .rp-best { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; }
html.lux .seg-sel { border-radius: 999px; }
html.lux .fontcard { border-radius: var(--r-md) !important; }
html.lux .set { padding-block: 22px !important; }
html.lux .sw, html.lux .switch { transition: background .2s; }

/* the demo's welcome, tour tips, live messages and "I want Sirr" form */
html.lux .sirr-tip { border-radius: 20px; padding: 20px 22px 16px; background: linear-gradient(180deg, #161A18, #0B0D0C); box-shadow: inset 0 0 0 1px rgba(217, 178, 95, .3), 0 30px 70px -20px rgba(0, 0, 0, .6); border: 0; }
html.lux .sirr-tip h3 { font-family: var(--f-head); font-weight: 400; font-size: 19px; }
html.lux .sirr-tip .btn { border-radius: 999px; }
html.lux .sirr-ring { border-radius: 16px; box-shadow: 0 0 0 2px #D9B25F, 0 0 0 8px rgba(217, 178, 95, .18), 0 0 0 9999px rgba(8, 8, 8, .62); }
html.lux .sirr-live { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 24px 50px -16px rgba(17, 21, 19, .35); }
html.lux .sirr-live::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: -1px; width: 3px; border-radius: 3px; background: #1FAF54; }
html.lux .sirr-modal { border-radius: 24px; padding: 30px; border-top: 0; box-shadow: inset 0 3px 0 #D9B25F, 0 40px 90px -20px rgba(0, 0, 0, .55); }
html.lux .sirr-modal h2 { font-family: var(--f-head); font-weight: 400; font-size: 24px; }
html.lux .sirr-modal .btn { border-radius: 999px; }
html.lux .sirr-modal select, html.lux .sirr-modal textarea, html.lux .sirr-modal input { border-radius: 12px; background: var(--hover); border-color: var(--line-2); padding: 11px 13px; }
html.lux .si-mark b { font-weight: 700; letter-spacing: -.02em; }
html.lux .si-in h1 { font-family: var(--f-head); font-weight: 300; font-size: 36px; letter-spacing: -.02em; }

/* the search box (Ctrl K), toasts, menus */
html.lux .palette { border-radius: 22px; border: 0; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-3); }
html.lux .palette input { padding: 20px 22px; font-size: 17px; }
html.lux .palette .res { padding: 8px; }
html.lux .palette .res button { border-radius: 12px; padding: 11px 14px; }
html.lux .scrim { background: rgba(10, 13, 12, .32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
html.lux .toast { border-radius: 999px; padding: 11px 14px 11px 20px; background: linear-gradient(180deg, #1C211F, #0E1110); color: #F4EFE6; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 50px -14px rgba(0, 0, 0, .55); }
html.lux .toast button { border-radius: 999px; }
html.lux .menu, html.lux .ws-menu, html.lux .dropdown { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); border: 0; }

/* ---------- calm motion on load ---------- */
@keyframes lux-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.lux #content > * { animation: lux-up .6s var(--lux-ease) both; }
html.lux #content > *:nth-child(2) { animation-delay: .05s; }
html.lux #content > *:nth-child(3) { animation-delay: .10s; }
html.lux #content > *:nth-child(4) { animation-delay: .15s; }
html.lux #content > *:nth-child(5) { animation-delay: .20s; }
html.lux #content > *:nth-child(n+6) { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) { html.lux #content > * { animation: none; } html.lux .kpi { transition: none; } }

/* ---------- phone ---------- */
@media (max-width: 899px) {
  html.lux .content, html.lux .topbar-in { padding-inline: 16px; }
  html.lux .m-top { background: color-mix(in srgb, var(--bg) 80%, transparent); border-block-end: 1px solid var(--line); }
  html.lux .m-row .sirr-mark { padding: 6px 10px; }
  html.lux .m-row .sirr-mark em { display: none; }
  html.lux .m-row .sirr-want { padding: 7px 12px; font-size: 12px; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; }
  html.lux .tabbar { background: color-mix(in srgb, var(--paper) 86%, transparent); box-shadow: 0 -10px 30px -18px rgba(17, 21, 19, .25); }
  html.lux .page-head .sub { align-items: flex-start; }
  html.lux .page-head .sub::before { margin-block-start: 7px; }
  html.lux .day-brief { gap: 10px 14px; }
  html.lux .agents-card { overflow-x: auto; }
  html.lux table.agents { font-size: 12px; }
  html.lux table.agents th, html.lux table.agents td { padding-inline: 5px; }
  html.lux .page-head h1 { font-size: 30px; }
  html.lux .kpi .v { font-size: 34px; }
  html.lux .card { padding: 16px; }
}
