diff --git a/public/image/logo.png b/public/image/logo.png index 8452a63..032874c 100644 Binary files a/public/image/logo.png and b/public/image/logo.png differ diff --git a/src/app/dashboard/dashboard.css b/src/app/dashboard/dashboard.css index 7e5d3e3..60978b8 100644 --- a/src/app/dashboard/dashboard.css +++ b/src/app/dashboard/dashboard.css @@ -3,751 +3,1105 @@ Dark + light themes via [data-theme] on .dash-root. ========================================================================= */ -.dash-root { - /* accents (shared) */ - --orange: #fda913; - --orange-2: #fd6d13; - --yellow: #ffd60a; - --cyan: #09b9c6; - --green: #14bc83; - --blue: #285ef0; - --purple: #9036e9; - --red: #f0563f; - - --radius: 16px; - --radius-sm: 12px; - --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; - - min-height: 100vh; - display: flex; - background: var(--bg); - color: var(--text); - font-family: var(--font); - -webkit-font-smoothing: antialiased; -} - -/* ---- dark (default) ---- */ -.dash-root, -.dash-root[data-theme="dark"] { - --bg: #060608; - --panel: #0e0e13; - --panel-2: #15151b; - --panel-3: #1b1b22; - --border: rgba(255, 255, 255, 0.07); - --border-2: rgba(255, 255, 255, 0.12); - --text: #ffffff; - --text-2: #eaeaea; - --muted: #8c8c8c; - --faint: #686868; - --track: rgba(255, 255, 255, 0.08); - --sidebar: #08080b; - --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8); -} - -/* ---- light ---- */ -.dash-root[data-theme="light"] { - --bg: #eef1f7; - --panel: #ffffff; - --panel-2: #f5f7fb; - --panel-3: #eef1f7; - --border: rgba(15, 23, 42, 0.08); - --border-2: rgba(15, 23, 42, 0.14); - --text: #0c0e14; - --text-2: #1f2430; - --muted: #5b6472; - --faint: #97a0b0; - --track: rgba(15, 23, 42, 0.07); - --sidebar: #ffffff; - --shadow: 0 18px 40px -26px rgba(15, 23, 42, 0.25); -} - -.dash-root * { box-sizing: border-box; } -.dash-root h1, .dash-root h2, .dash-root h3, .dash-root h4 { margin: 0; } - -/* ---- sidebar ---- */ -.dash-sidebar { - width: 214px; - flex: 0 0 214px; - background: var(--sidebar); - border-right: 1px solid var(--border); - display: flex; - flex-direction: column; - height: 100vh; - position: sticky; - top: 0; -} -.dash-brand { display: flex; align-items: center; gap: 9px; padding: 18px 18px 14px; } -.dash-brand img { height: 26px; width: auto; } -.dash-brand .bk { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; } -.dash-nav { flex: 1; overflow-y: auto; padding: 6px 12px 12px; } -.dash-nav::-webkit-scrollbar { width: 6px; } -.dash-nav::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; } -.nav-group { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 14px 10px 6px; } -.nav-item { - display: flex; align-items: center; gap: 11px; - width: 100%; padding: 8.5px 10px; border-radius: 9px; - border: 0; background: none; cursor: pointer; - color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 500; - text-align: left; transition: background 0.14s, color 0.14s; -} -.nav-item:hover { background: var(--panel-2); color: var(--text-2); } -.nav-item.active { background: var(--orange); color: #1a1206; font-weight: 600; } -.nav-item.active svg { color: #1a1206; } -.nav-item svg { color: var(--faint); flex: 0 0 auto; } -.nav-item:hover svg { color: var(--text-2); } -.fig-ic { display: inline-flex; flex: 0 0 auto; color: inherit; } -.fig-ic svg { width: 100%; height: 100%; display: block; } -.dash-sidebar .sb-foot { border-top: 1px solid var(--border); padding: 10px 12px; } -.sb-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; } -.sb-user:hover { background: var(--panel-2); } -.sb-user .av { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: 0 0 30px; } -.sb-user .nm { font-size: 12.5px; font-weight: 600; } -.sb-user .rl { font-size: 11px; color: var(--faint); } - -/* ---- main ---- */ -.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; } -.dash-topbar { - height: 64px; display: flex; align-items: center; justify-content: space-between; - padding: 0 24px; border-bottom: 1px solid var(--border); - position: sticky; top: 0; z-index: 20; - background: color-mix(in srgb, var(--bg) 80%, transparent); - backdrop-filter: blur(10px); -} -.dash-title h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; } -.dash-title p { font-size: 12.5px; color: var(--muted); margin-top: 2px; } -.top-actions { display: flex; align-items: center; gap: 8px; } -.ic-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; } -.ic-btn:hover { color: var(--text); border-color: var(--border-2); } -.top-user { display: flex; align-items: center; gap: 9px; padding: 5px 8px 5px 5px; border: 1px solid var(--border); border-radius: 99px; background: var(--panel); cursor: pointer; } -.top-user .av { width: 30px; height: 30px; border-radius: 99px; object-fit: cover; } -.top-user .nm { font-size: 12.5px; font-weight: 600; } -.top-user .rl { font-size: 10.5px; color: var(--faint); } - -.dash-content { padding: 22px 28px 40px; width: 100%; } -.sec-title { font-size: 15px; font-weight: 700; margin: 6px 0 14px; } - -/* ---- grid helpers ---- */ -.grid { display: grid; gap: 16px; } -.row { display: flex; align-items: center; } -.between { justify-content: space-between; } -.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } -.muted { color: var(--muted); } .faint { color: var(--faint); } - -/* ---- card ---- */ -.dcard { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; } -.dcard-pad-0 { padding: 0; } -.card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } -.card-h h3 { font-size: 14px; font-weight: 600; } -.card-sub { font-size: 11.5px; color: var(--faint); } - -/* ---- stat bits ---- */ -.stat-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; } -.big-val { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; } -.mid-val { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; } -.lbl { font-size: 12px; color: var(--muted); } -.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 600; } -.pill-orange { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); } -.pill-green { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); } -.pill-blue { background: color-mix(in srgb, var(--blue) 20%, transparent); color: #6f9bff; } -.pill-cyan { background: color-mix(in srgb, var(--cyan) 18%, transparent); color: var(--cyan); } -.pill-red { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); } - -/* small stat card (right 2x2) */ -.mini-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 15px; } -.mini-card .top { display: flex; justify-content: space-between; align-items: flex-start; } - -/* progress */ -.bar { height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; } -.bar > span { display: block; height: 100%; border-radius: 99px; } - -/* legend dot */ -.ldot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; } - -/* pipeline rows */ -.pl-row { display: grid; grid-template-columns: 92px 1fr 22px; align-items: center; gap: 10px; margin-bottom: 10px; } -.pl-row .lab { font-size: 12px; color: var(--muted); } -.pl-row .n { font-size: 12px; font-weight: 700; text-align: right; } - -/* weather */ -.wx-hours { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; } -.wx-hr { text-align: center; flex: 1; } -.wx-hr .t { font-size: 11px; color: var(--faint); } -.wx-hr .te { font-size: 13px; font-weight: 700; margin-top: 6px; } - -/* reps */ -.rep-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); } -.rep-row:last-child { border-bottom: 0; } -.rep-row .rk { width: 22px; font-size: 12px; font-weight: 700; color: var(--faint); } -.rep-row .av { width: 34px; height: 34px; border-radius: 99px; object-fit: cover; } -.rep-row .nm { font-size: 13px; font-weight: 600; } -.rep-row .em { font-size: 11px; color: var(--faint); } -.rep-row .amt { font-size: 13px; font-weight: 700; color: var(--green); } - -.link-btn { font-size: 12px; font-weight: 600; color: var(--orange); background: none; border: 0; cursor: pointer; } - -/* ---- charts ---- */ -.chart { display: flex; gap: 8px; width: 100%; } -.chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 9px; color: var(--faint); padding-bottom: 16px; text-align: right; min-width: 18px; } -.chart-plot { flex: 1; display: flex; align-items: flex-end; gap: 2px; } -.bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; } -.bar-group .bars { height: calc(100% - 20px); width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; } -.vbar { border-radius: 3px; align-self: flex-end; transition: height 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); } -.bar-x { font-size: 10px; color: var(--faint); margin-top: 7px; } - -.spark { display: flex; align-items: flex-end; gap: 4px; } -.spark > span { border-radius: 3px; transition: height 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); } - -.donut { position: relative; display: grid; place-items: center; } -.donut-c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; } -.donut-c .dv { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; } -.donut-c .dl { font-size: 11px; color: var(--faint); } - -.gauge { position: relative; } -.gauge-c { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; } -.gauge-c .gv { font-size: 18px; font-weight: 800; } -.gauge-c .gl { font-size: 10px; color: var(--faint); } - -/* responsive */ -@media (max-width: 1100px) { .dash-sidebar { display: none; } } -@media (max-width: 760px) { .dash-content { padding: 16px; } } - -/* ========================================================================= - ACCOUNT MODULE — Profile · Support · Rules design system - All components consume the .dash-root tokens above, so they theme with - [data-theme] automatically. Prefix-free utility names are scoped under - .dash-root to avoid collisions with the rest of the app. - ========================================================================= */ - -.dash-root { - --ring: color-mix(in srgb, var(--orange) 35%, transparent); - --grad-brand: linear-gradient(135deg, #fda913 0%, #fd6d13 100%); - --card-grad: linear-gradient(160deg, color-mix(in srgb, var(--panel-2) 55%, var(--panel)) 0%, var(--panel) 62%); - --card-hi: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent); - --glow-orange: 0 10px 28px -12px color-mix(in srgb, var(--orange) 60%, transparent); -} -/* ambient depth behind the content */ -.dash-root .dash-content { position: relative; } -.dash-root .dash-content::before { - content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; - background: - radial-gradient(55% 45% at 100% 0%, color-mix(in srgb, var(--orange) 7%, transparent), transparent 70%), - radial-gradient(45% 40% at 0% 100%, color-mix(in srgb, var(--blue) 6%, transparent), transparent 70%); -} -.dash-root .view { position: relative; z-index: 1; } - -/* ---- sidebar (premium nav) ---- */ -.dash-root .dash-sidebar { width: 236px; flex: 0 0 236px; background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 4%, var(--sidebar)) 0%, var(--sidebar) 30%); } -.dash-root .dash-brand { padding: 20px 18px 16px; } -.dash-root .dash-brand .bk { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; } -.dash-root .dash-nav { padding: 4px 12px 14px; } -.dash-root .nav-section { margin-bottom: 4px; } -.dash-root .nav-section + .nav-section { border-top: 1px solid var(--border); padding-top: 4px; } -.dash-root .nav-group { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding: 13px 10px 7px; } -.dash-root .nav-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 11px; border-radius: 10px; border: 0; background: none; cursor: pointer; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 500; text-align: left; transition: background 0.14s, color 0.14s, transform 0.12s; } -.dash-root .nav-item svg { color: var(--faint); flex: 0 0 auto; transition: color 0.14s; } -.dash-root .nav-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } -.dash-root .nav-item:hover { background: var(--panel-2); color: var(--text); } -.dash-root .nav-item:hover svg { color: var(--text-2); } -.dash-root .nav-item.active { background: var(--grad-brand); color: #1a1206; font-weight: 700; box-shadow: var(--glow-orange); } -.dash-root .nav-item.active svg { color: #1a1206; } - -/* ---- coming-soon placeholder ---- */ -.dash-root .coming-soon { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px; gap: 8px; } -.dash-root .coming-soon-ic { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: var(--orange); background: color-mix(in srgb, var(--orange) 12%, transparent); margin-bottom: 8px; } -.dash-root .coming-soon h3 { font-size: 18px; font-weight: 800; } -.dash-root .coming-soon p { font-size: 13px; color: var(--muted); max-width: 440px; line-height: 1.55; } -.dash-root .coming-soon-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; justify-content: center; } - -/* ---- animations ---- */ -@keyframes ds-fade { from { opacity: 0; } to { opacity: 1; } } -@keyframes ds-pop { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } } -@keyframes ds-slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } } -@keyframes ds-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } -@keyframes ds-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } } -@keyframes ds-radar { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(2.1); opacity: 0; } } -@keyframes ds-bar { from { width: 0; } } - -.dash-root .view { animation: ds-fade 0.3s ease; } -.dash-root .view-body { animation: ds-rise 0.32s ease; } - -/* ---- generic card / layout ---- */ -.dash-root .card { background: var(--card-grad); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--card-hi), 0 1px 2px rgba(0,0,0,0.18); } -.dash-root .card-muted { background: var(--panel-2); } -.dash-root .card-pad-0 { padding: 0; overflow: hidden; } -.dash-root .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } -.dash-root .card-head.pad { padding: 18px 20px 0; margin-bottom: 14px; } -.dash-root .card-head h3 { font-size: 15px; font-weight: 700; } -.dash-root .card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; } -.dash-root .card-stack { display: flex; flex-direction: column; gap: 16px; } -.dash-root .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } -.dash-root .grid-side { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; } -.dash-root .consent-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; } -.dash-root .muted-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); margin-top: 12px; } -.dash-root .muted-note svg { flex: 0 0 auto; } - -/* ---- PageHead ---- */ -.dash-root .ds-pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; } -.dash-root .ds-pagehead-l { display: flex; gap: 14px; align-items: center; } -.dash-root .ds-pagehead-ic { width: 52px; height: 52px; border-radius: 16px; flex: 0 0 auto; display: grid; place-items: center; color: #1a1206; background: var(--grad-brand); box-shadow: var(--glow-orange); } -.dash-root .ds-pagehead h1 { font-size: 24px; } -.dash-root .ds-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 3px; } -.dash-root .ds-pagehead h1 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; } -.dash-root .ds-pagehead p { font-size: 13px; color: var(--muted); margin-top: 3px; } -.dash-root .ds-pagehead-actions { display: flex; gap: 10px; align-items: center; } - -/* ---- Avatar ---- */ -.dash-root .ds-avatar { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; } -.dash-root .ds-avatar-bg { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-weight: 700; letter-spacing: -0.01em; } -.dash-root .ds-avatar-dot { position: absolute; right: -1px; bottom: -1px; border-radius: 50%; border: 2px solid var(--panel); } -.dash-root .status-online { background: var(--green); } -.dash-root .status-away { background: var(--orange); } -.dash-root .status-busy { background: var(--red); } -.dash-root .status-offline { background: var(--faint); } - -/* ---- Pill ---- */ -.dash-root .ds-pill { display: inline-flex; align-items: center; gap: 5px; height: 23px; padding: 0 10px; border-radius: 99px; font-size: 11px; font-weight: 600; white-space: nowrap; } -.dash-root .ds-pill.tone-muted { background: var(--panel-3); color: var(--muted); } -.dash-root .ds-pill.tone-green { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); } -.dash-root .ds-pill.tone-orange { background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange); } -.dash-root .ds-pill.tone-blue { background: color-mix(in srgb, var(--blue) 18%, transparent); color: #6f9bff; } -.dash-root .ds-pill.tone-purple { background: color-mix(in srgb, var(--purple) 18%, transparent); color: #b07bf2; } -.dash-root .ds-pill.tone-cyan { background: color-mix(in srgb, var(--cyan) 16%, transparent); color: var(--cyan); } -.dash-root .ds-pill.tone-red { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); } -.dash-root .ds-pill svg { flex: 0 0 auto; } - -.dash-root .ds-statusdot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; } - -/* ---- Toggle ---- */ -.dash-root .ds-toggle { width: 40px; height: 23px; border-radius: 99px; border: 0; background: var(--track); position: relative; cursor: pointer; transition: background 0.18s; flex: 0 0 auto; padding: 0; } -.dash-root .ds-toggle .knob { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform 0.18s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); } -.dash-root .ds-toggle.on { background: var(--orange); } -.dash-root .ds-toggle.on .knob { transform: translateX(17px); } -.dash-root .ds-toggle.disabled { opacity: 0.45; cursor: not-allowed; } - -/* ---- Field / inputs ---- */ -.dash-root .ds-field { display: block; margin-bottom: 14px; } -.dash-root .ds-field-lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; } -.dash-root .req { color: var(--red); font-style: normal; margin-left: 3px; } -.dash-root .ds-field-hint { display: block; font-size: 11.5px; color: var(--faint); margin-top: 6px; line-height: 1.4; } -.dash-root .ds-field-err { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--red); margin-top: 6px; } -.dash-root .ds-input, .dash-root .ds-select, .dash-root .ds-textarea { - width: 100%; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--border-2); - background: var(--panel-2); color: var(--text); font-family: inherit; font-size: 13.5px; outline: none; transition: border-color 0.14s, box-shadow 0.14s; -} -.dash-root .ds-textarea { height: auto; padding: 11px 13px; resize: vertical; line-height: 1.5; } -.dash-root .ds-select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; } -.dash-root .ds-input:focus, .dash-root .ds-select:focus, .dash-root .ds-textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); } -.dash-root .ds-input.flush { border: 0; background: none; box-shadow: none; padding: 0 4px; height: 38px; } -.dash-root .ds-input.flush:focus { box-shadow: none; } -.dash-root .ds-input::placeholder, .dash-root .ds-textarea::placeholder { color: var(--faint); } - -/* ---- Buttons ---- */ -.dash-root .ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.14s; white-space: nowrap; } -.dash-root .ds-btn.s-sm { height: 32px; padding: 0 12px; font-size: 12px; border-radius: 9px; } -.dash-root .ds-btn.full { width: 100%; } -.dash-root .ds-btn:disabled { opacity: 0.45; cursor: not-allowed; } -.dash-root .ds-btn.v-primary { background: var(--grad-brand); color: #1a1206; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--orange) 75%, transparent); } -.dash-root .ds-btn.v-primary:not(:disabled):hover { filter: brightness(1.05); transform: translateY(-1px); } -.dash-root .ds-btn.v-ghost { background: transparent; color: var(--muted); } -.dash-root .ds-btn.v-ghost:hover { background: var(--panel-2); color: var(--text); } -.dash-root .ds-btn.v-soft { background: var(--panel-3); color: var(--text); } -.dash-root .ds-btn.v-soft:hover { background: var(--border-2); } -.dash-root .ds-btn.v-outline { background: transparent; border-color: var(--border-2); color: var(--text-2); } -.dash-root .ds-btn.v-outline:hover { border-color: var(--orange); color: var(--orange); } -.dash-root .ds-btn.v-danger { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); } -.dash-root .ds-btn.v-danger:hover { background: var(--red); color: #fff; } - -.dash-root .ds-iconbtn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; flex: 0 0 auto; } -.dash-root .ds-iconbtn:hover { color: var(--text); border-color: var(--border-2); } -.dash-root .ds-iconbtn.sm { width: 28px; height: 28px; border-radius: 8px; } -.dash-root .link-inline { background: none; border: 0; color: var(--orange); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; } - -/* ---- Segmented / Tabs ---- */ -.dash-root .ds-segmented { display: inline-flex; gap: 3px; padding: 4px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; flex-wrap: wrap; margin-bottom: 20px; } -.dash-root .ds-segmented .seg { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: 0.14s; } -.dash-root .ds-segmented .seg:hover { color: var(--text); } -.dash-root .ds-segmented .seg.active { background: var(--panel); color: var(--text); box-shadow: var(--card-hi), 0 4px 12px -7px rgba(0,0,0,0.5); } - -.dash-root .ds-tabs { display: flex; gap: 4px; padding: 5px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; margin: 18px 0 22px; overflow-x: auto; } -.dash-root .ds-tabs::-webkit-scrollbar { height: 0; } -.dash-root .ds-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: 0.16s; } -.dash-root .ds-tab:hover { color: var(--text-2); background: color-mix(in srgb, var(--panel) 55%, transparent); } -.dash-root .ds-tab.active { color: var(--orange); background: var(--panel); box-shadow: var(--card-hi), 0 4px 14px -8px rgba(0,0,0,0.5); } -.dash-root .ds-tab-badge { background: var(--orange); color: #1a1206; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 4px; } - -/* ---- OTP ---- */ -.dash-root .ds-otp { display: flex; gap: 9px; } -.dash-root .ds-otp-box { width: 46px; height: 54px; text-align: center; font-size: 22px; font-weight: 700; border-radius: 12px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--text); outline: none; transition: 0.14s; } -.dash-root .ds-otp-box:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); } -.dash-root .otp-wrap { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; } - -/* ---- Modal ---- */ -.dash-root .ds-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(2,2,6,0.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: ds-fade 0.18s ease; } -.dash-root .ds-modal { width: 100%; background: var(--panel); border: 1px solid var(--border-2); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); animation: ds-pop 0.22s cubic-bezier(0.2,0.7,0.2,1); max-height: 90vh; display: flex; flex-direction: column; } -.dash-root .ds-modal.size-sm { max-width: 400px; } -.dash-root .ds-modal.size-md { max-width: 540px; } -.dash-root .ds-modal.size-lg { max-width: 760px; } -.dash-root .ds-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--border); } -.dash-root .ds-modal-head-l { display: flex; gap: 12px; align-items: center; } -.dash-root .ds-modal-ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); } -.dash-root .ds-modal-head h3 { font-size: 16px; font-weight: 700; } -.dash-root .ds-modal-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; } -.dash-root .ds-modal-body { padding: 18px 20px; overflow-y: auto; } -.dash-root .ds-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); } - -/* ---- Toasts ---- */ -.dash-root .ds-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; width: 340px; max-width: calc(100vw - 40px); } -.dash-root .ds-toast { display: flex; gap: 11px; padding: 13px 14px; border-radius: 13px; background: var(--panel); border: 1px solid var(--border-2); box-shadow: var(--shadow); animation: ds-slide-in 0.26s ease; } -.dash-root .ds-toast.tone-success { border-left: 3px solid var(--green); } .dash-root .ds-toast.tone-success > svg { color: var(--green); } -.dash-root .ds-toast.tone-info { border-left: 3px solid var(--blue); } .dash-root .ds-toast.tone-info > svg { color: #6f9bff; } -.dash-root .ds-toast.tone-error { border-left: 3px solid var(--red); } .dash-root .ds-toast.tone-error > svg { color: var(--red); } -.dash-root .ds-toast > svg { flex: 0 0 auto; margin-top: 1px; } -.dash-root .ds-toast-body { flex: 1; min-width: 0; } -.dash-root .ds-toast-title { font-size: 13px; font-weight: 600; } -.dash-root .ds-toast-desc { font-size: 12px; color: var(--muted); margin-top: 2px; } -.dash-root .ds-toast-x { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 0; height: 18px; } - -/* ---- key/value list, callouts ---- */ -.dash-root .kv-list { display: flex; flex-direction: column; } -.dash-root .kv { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); } -.dash-root .kv:last-child { border-bottom: 0; } -.dash-root .kv dt { font-size: 12.5px; color: var(--muted); } -.dash-root .kv dd { font-size: 13.5px; font-weight: 600; text-align: right; } -.dash-root .kv dd.masked { letter-spacing: 0.06em; color: var(--faint); font-weight: 500; } -.dash-root .kv dd.kv-edit { display: inline-flex; align-items: center; gap: 8px; } -.dash-root .kv-edit-btn { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; } -.dash-root .kv-edit-btn:hover { color: var(--orange); border-color: var(--orange); } -.dash-root .kv-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--faint); font-weight: 500; } -.dash-root .edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } -@media (max-width: 720px) { .dash-root .edit-grid { grid-template-columns: 1fr; } } -.dash-root .callout { display: flex; gap: 11px; padding: 13px 14px; border-radius: 13px; margin-bottom: 16px; } -.dash-root .callout svg { flex: 0 0 auto; margin-top: 1px; } -.dash-root .callout strong { display: block; font-size: 13px; } .dash-root .callout span { font-size: 12px; color: var(--muted); } -.dash-root .callout.tone-green { background: color-mix(in srgb, var(--green) 10%, transparent); } .dash-root .callout.tone-green svg { color: var(--green); } -.dash-root .callout.tone-orange { background: color-mix(in srgb, var(--orange) 10%, transparent); } .dash-root .callout.tone-orange svg { color: var(--orange); } -.dash-root .callout.tone-red { background: color-mix(in srgb, var(--red) 10%, transparent); } .dash-root .callout.tone-red svg { color: var(--red); } - -/* ---- Profile hero ---- */ -.dash-root .profile-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 4px; background: linear-gradient(120deg, color-mix(in srgb, var(--orange) 10%, var(--panel)) 0%, var(--panel) 55%); } -.dash-root .profile-hero-bg { position: absolute; inset: 0; background: radial-gradient(90% 140% at 100% -10%, color-mix(in srgb, var(--orange) 22%, transparent), transparent 50%), radial-gradient(70% 120% at -5% 110%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 55%); pointer-events: none; } -.dash-root .profile-hero-main { display: flex; gap: 20px; align-items: center; position: relative; } -.dash-root .profile-hero-avatar { position: relative; border-radius: 24px; box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--orange) 60%, transparent); } -.dash-root .profile-hero-cam { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--panel); background: var(--orange); color: #1a1206; display: grid; place-items: center; cursor: pointer; } -.dash-root .profile-hero-name { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; } -.dash-root .verified-badge { color: var(--green); } -.dash-root .profile-hero-role { font-size: 13px; color: var(--muted); margin-top: 2px; } -.dash-root .profile-hero-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; } -.dash-root .hero-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--text-2); padding: 5px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border); } -.dash-root .hero-chip svg { color: var(--faint); } -.dash-root .hero-chip.accent { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 30%, transparent); } .dash-root .hero-chip.accent svg { color: var(--orange); } -.dash-root .profile-hero-stats { display: flex; gap: 0; position: relative; } -.dash-root .hero-stat { padding: 0 22px; border-left: 1px solid var(--border); } -.dash-root .hero-stat:first-child { padding-left: 0; border-left: 0; } -.dash-root .hero-stat:last-child { padding-right: 0; } -.dash-root .hero-stat-v { font-size: 20px; font-weight: 800; } -.dash-root .hero-stat-l { font-size: 11.5px; color: var(--muted); margin-top: 2px; } - -/* ---- reveal gate ---- */ -.dash-root .reveal-gate { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px; border-radius: 13px; border: 1px dashed var(--border-2); background: var(--panel-2); margin-bottom: 16px; } -.dash-root .reveal-gate-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); flex: 0 0 auto; } -.dash-root .reveal-gate-txt { flex: 1; min-width: 140px; } .dash-root .reveal-gate-txt strong { display: block; font-size: 13px; } .dash-root .reveal-gate-txt span { font-size: 12px; color: var(--muted); } -.dash-root .reveal-gate-form { display: flex; gap: 8px; } .dash-root .reveal-gate-form .ds-input { width: 140px; } - -/* ---- KYC ---- */ -.dash-root .kyc-progress { margin-bottom: 18px; } -.dash-root .kyc-progress-bar { height: 9px; border-radius: 99px; background: var(--track); overflow: hidden; } -.dash-root .kyc-progress-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transition: width 0.5s cubic-bezier(0.2,0.7,0.2,1); animation: ds-bar 0.6s ease; } -.dash-root .kyc-progress-legend { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; } -.dash-root .kyc-leg { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--faint); } -.dash-root .kyc-leg.verified { color: var(--green); } .dash-root .kyc-leg.uploaded { color: #6f9bff; } .dash-root .kyc-leg.missing { color: var(--muted); } -.dash-root .kyc-slots { display: flex; flex-direction: column; gap: 12px; } -.dash-root .kyc-slot { display: flex; gap: 12px; padding: 14px; border-radius: 13px; border: 1px solid var(--border); background: var(--panel-2); } -.dash-root .kyc-slot.status-verified { border-color: color-mix(in srgb, var(--green) 40%, transparent); } -.dash-root .kyc-slot.status-rejected { border-color: color-mix(in srgb, var(--red) 40%, transparent); } -.dash-root .kyc-slot-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: 0 0 auto; } -.dash-root .kyc-slot-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; } -.dash-root .kyc-slot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } -.dash-root .kyc-slot-title { font-size: 13.5px; font-weight: 600; } -.dash-root .kyc-slot-hint { font-size: 11.5px; color: var(--faint); } -.dash-root .kyc-drop { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 11px; border: 1px dashed var(--border-2); background: var(--panel); color: var(--muted); font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: 0.14s; } -.dash-root .kyc-drop:hover { border-color: var(--orange); color: var(--orange); } -.dash-root .kyc-file { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); } -.dash-root .kyc-file-name { font-size: 12.5px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } -.dash-root .kyc-file-note { font-size: 11px; color: var(--faint); } -.dash-root .rule-mini { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 9px; } -.dash-root .rule-mini li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-2); } -.dash-root .rule-mini svg { color: var(--green); flex: 0 0 auto; margin-top: 2px; } -.dash-root .kyc-doc-pairs { border-top: 1px solid var(--border); padding-top: 14px; } -.dash-root .pair-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--muted); } - -/* ---- password meter ---- */ -.dash-root .pw-meter { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } -.dash-root .pw-bars { display: flex; gap: 5px; flex: 1; } -.dash-root .pw-bars .lvl { flex: 1; height: 6px; border-radius: 99px; background: var(--track); transition: background 0.2s; } -.dash-root .pw-bars .lvl-weak { background: var(--red); } .dash-root .pw-bars .lvl-fair { background: var(--orange); } -.dash-root .pw-bars .lvl-good { background: var(--yellow); } .dash-root .pw-bars .lvl-strong { background: var(--green); } -.dash-root .pw-label { font-size: 12px; font-weight: 700; min-width: 48px; text-align: right; } -.dash-root .pw-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } -.dash-root .pw-checks li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--faint); } -.dash-root .pw-checks li svg { color: var(--faint); } -.dash-root .pw-checks li.ok { color: var(--text-2); } .dash-root .pw-checks li.ok svg { color: var(--green); } - -/* ---- setting rows ---- */ -.dash-root .setting-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); } -.dash-root .setting-row:last-of-type { border-bottom: 0; } -.dash-root .setting-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); flex: 0 0 auto; } -.dash-root .setting-txt { flex: 1; min-width: 0; } .dash-root .setting-title { font-size: 13.5px; font-weight: 600; } .dash-root .setting-desc { font-size: 12px; color: var(--muted); margin-top: 2px; } - -/* ---- notifications matrix ---- */ -.dash-root .notif-table { display: flex; flex-direction: column; } -.dash-root .notif-row { display: grid; grid-template-columns: 1.6fr repeat(4, 70px); align-items: center; gap: 8px; padding: 13px 20px; border-top: 1px solid var(--border); } -.dash-root .notif-row.notif-head { border-top: 0; } -.dash-root .notif-head span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); } -.dash-root .notif-ch { display: inline-flex; align-items: center; gap: 5px; justify-content: center; } -.dash-root .notif-cat-name { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; } -.dash-root .notif-cat-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; } -.dash-root .lock-ic { color: var(--faint); } - -/* ---- contact-time windows ---- */ -.dash-root .time-windows { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 4px; } -.dash-root .time-win { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--muted); cursor: pointer; font-family: inherit; text-align: left; transition: 0.14s; position: relative; } -.dash-root .time-win svg { position: absolute; right: 11px; top: 11px; } -.dash-root .time-win.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 9%, transparent); color: var(--text); } .dash-root .time-win.on svg { color: var(--orange); } -.dash-root .tw-label { font-size: 13px; font-weight: 600; } .dash-root .tw-range { font-size: 11.5px; color: var(--faint); } - -/* ---- destinations ---- */ -.dash-root .dest-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; } -.dash-root .dest-row { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--border); } -.dash-root .dest-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: 0 0 auto; } -.dash-root .dest-txt { flex: 1; min-width: 0; } .dash-root .dest-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; } .dash-root .dest-val { font-size: 12px; color: var(--muted); margin-top: 1px; } - -/* ---- consent ---- */ -.dash-root .consent-list { display: flex; flex-direction: column; gap: 4px; } -.dash-root .consent-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); } -.dash-root .consent-item:last-child { border-bottom: 0; } -.dash-root .consent-item.locked { opacity: 0.85; } -.dash-root .consent-label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; } .dash-root .consent-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; } -.dash-root .consent-sub { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border); animation: ds-rise 0.2s ease; } -.dash-root .consent-sub-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 12.5px; } - -/* ---- devices + timeline ---- */ -.dash-root .device-list { display: flex; flex-direction: column; gap: 11px; } -.dash-root .device-row { display: flex; align-items: center; gap: 13px; padding: 13px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--border); } -.dash-root .device-row.current { border-color: color-mix(in srgb, var(--green) 35%, transparent); } -.dash-root .device-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: 0 0 auto; } -.dash-root .device-txt { flex: 1; min-width: 0; } -.dash-root .device-name { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; } -.dash-root .device-meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); margin-top: 3px; } -.dash-root .timeline { display: flex; flex-direction: column; } -.dash-root .tl-item { display: flex; gap: 12px; padding-bottom: 16px; position: relative; } -.dash-root .tl-item:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--border); } -.dash-root .tl-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--panel-3); color: var(--muted); z-index: 1; } -.dash-root .tl-dot.ev-password-change { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); } -.dash-root .tl-dot.ev-new-device, .dash-root .tl-dot.ev-awaiting-customer { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); } -.dash-root .tl-dot.ev-resolved, .dash-root .tl-dot.ev-closed { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); } -.dash-root .tl-body { padding-top: 2px; } .dash-root .tl-title { font-size: 13px; font-weight: 600; } .dash-root .tl-meta { font-size: 11.5px; color: var(--muted); margin-top: 1px; } .dash-root .tl-time { font-size: 11px; color: var(--faint); margin-top: 2px; } - -/* ---- Support: Bento hub ---- */ -.dash-root .support-bento { - display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); - grid-template-areas: - "chat chat team team" - "chat chat team team" - "ticket call email help" - "recent recent recent recent"; -} -.dash-root .bento-tile { border: 1px solid var(--border); border-radius: 18px; background: var(--card-grad); box-shadow: var(--card-hi); padding: 20px; } -.dash-root .bento-tile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; } -.dash-root .bento-tile-head h3 { font-size: 15px; font-weight: 700; } - -/* hero live-chat tile */ -.dash-root .bento-chat { grid-area: chat; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 268px; text-align: left; cursor: pointer; font-family: inherit; border: 0; color: #1a1206; background: linear-gradient(135deg, #ffb43c 0%, #fda913 45%, #fd6d13 100%); box-shadow: var(--glow-orange); transition: transform 0.18s, box-shadow 0.18s; } -.dash-root .bento-chat:hover { transform: translateY(-3px); box-shadow: 0 26px 54px -20px color-mix(in srgb, var(--orange) 85%, #000); } -.dash-root .bento-chat::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 68%); pointer-events: none; } -.dash-root .bento-chat::before { content: ""; position: absolute; left: -40px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(26,18,6,0.12), transparent 70%); pointer-events: none; } -.dash-root .bento-chat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; z-index: 1; font-size: 12px; font-weight: 600; flex-wrap: wrap; } -.dash-root .bento-chat-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(26,18,6,0.14); padding: 6px 11px; border-radius: 99px; } -.dash-root .bento-chat-badge .ds-statusdot { background: #15461f; } -.dash-root .bento-chat-wait { display: inline-flex; align-items: center; gap: 5px; color: rgba(26,18,6,0.72); } -.dash-root .bento-chat-mid { position: relative; z-index: 1; } -.dash-root .bento-chat-mid h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; } -.dash-root .bento-chat-mid p { font-size: 13px; margin-top: 9px; color: rgba(26,18,6,0.8); max-width: 360px; line-height: 1.5; } -.dash-root .bento-chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: relative; z-index: 1; flex-wrap: wrap; } -.dash-root .bento-avstack { display: flex; align-items: center; } -.dash-root .bento-avstack .ds-avatar { margin-left: -9px; box-shadow: 0 0 0 2px #fd8a13; border-radius: 50%; } -.dash-root .bento-avstack .ds-avatar:first-child { margin-left: 0; } -.dash-root .bento-av-more { margin-left: 11px; font-size: 12px; font-weight: 700; } -.dash-root .bento-chat-cta { display: inline-flex; align-items: center; gap: 8px; background: #1a1206; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 13.5px; font-weight: 700; transition: transform 0.14s; } -.dash-root .bento-chat:hover .bento-chat-cta { transform: translateX(3px); } - -/* team tile */ -.dash-root .bento-team { grid-area: team; display: flex; flex-direction: column; } -.dash-root .bento-team .team-list { overflow-y: auto; } - -/* mini tiles */ -.dash-root .bento-mini { position: relative; overflow: hidden; text-align: left; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; gap: 5px; min-height: 150px; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; } -.dash-root .bento-mini::before { content: ""; position: absolute; top: -45%; right: -25%; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); opacity: 0; transition: opacity 0.25s; pointer-events: none; } -.dash-root .bento-mini:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--card-hi), 0 16px 36px -22px color-mix(in srgb, var(--accent) 75%, #000); } -.dash-root .bento-mini:hover::before { opacity: 1; } -.dash-root .bento-mini-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); margin-bottom: 8px; } -.dash-root .bento-mini-title { font-size: 14.5px; font-weight: 700; } -.dash-root .bento-mini-desc { font-size: 12px; color: var(--muted); flex: 1; line-height: 1.45; } -.dash-root .bento-mini-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--accent); font-weight: 600; margin-top: 8px; } - -/* recent tickets */ -.dash-root .bento-recent { grid-area: recent; } -.dash-root .bento-ticket-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } -.dash-root .bento-ticket { text-align: left; cursor: pointer; font-family: inherit; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-2); display: flex; flex-direction: column; gap: 7px; transition: 0.14s; } -.dash-root .bento-ticket:hover { border-color: var(--border-2); background: var(--panel-3); transform: translateY(-2px); } -.dash-root .bento-ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; } -.dash-root .bento-ticket-subj { font-size: 13px; font-weight: 600; line-height: 1.35; } -.dash-root .bento-ticket-meta { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--faint); } - -@media (max-width: 1180px) { - .dash-root .support-bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "chat chat" "team team" "ticket call" "email help" "recent recent"; } - .dash-root .bento-ticket-row { grid-template-columns: repeat(2, 1fr); } - .dash-root .bento-team .team-list { max-height: none; } -} -@media (max-width: 680px) { - .dash-root .support-bento { grid-template-columns: 1fr; grid-template-areas: "chat" "team" "ticket" "call" "email" "help" "recent"; } - .dash-root .bento-ticket-row { grid-template-columns: 1fr; } -} - -/* ---- Support: channel cards (legacy) ---- */ -.dash-root .channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } -.dash-root .channel-card { text-align: left; position: relative; overflow: hidden; padding: 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--card-grad); box-shadow: var(--card-hi); cursor: pointer; font-family: inherit; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; display: flex; flex-direction: column; gap: 6px; } -.dash-root .channel-card::before { content: ""; position: absolute; top: -45%; right: -20%; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); opacity: 0; transition: opacity 0.25s; pointer-events: none; } -.dash-root .channel-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--card-hi), 0 18px 42px -22px color-mix(in srgb, var(--accent) 75%, #000); } -.dash-root .channel-card:hover::before { opacity: 1; } -.dash-root .channel-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); box-shadow: 0 8px 18px -9px color-mix(in srgb, var(--accent) 80%, transparent); margin-bottom: 4px; } -.dash-root .channel-status { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); text-transform: capitalize; } -.dash-root .channel-title { font-size: 15px; font-weight: 700; } -.dash-root .channel-desc { font-size: 12.5px; color: var(--muted); } -.dash-root .channel-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; } -.dash-root .channel-meta { font-size: 11.5px; color: var(--faint); } -.dash-root .channel-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--accent); } - -/* ---- Support team ---- */ -.dash-root .team-list { display: flex; flex-direction: column; gap: 4px; } -.dash-root .team-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); } -.dash-root .team-row:last-child { border-bottom: 0; } -.dash-root .team-txt { flex: 1; min-width: 0; } .dash-root .team-name { font-size: 13.5px; font-weight: 600; } .dash-root .team-role { font-size: 12px; color: var(--muted); } .dash-root .team-team { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--faint); margin-top: 2px; } -.dash-root .team-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--orange); } - -/* ---- Message Center ---- */ -.dash-root .msgctr { display: grid; grid-template-columns: 300px 1fr; height: 600px; } -.dash-root .msg-inbox { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; } -.dash-root .msg-inbox-head { display: flex; align-items: center; gap: 8px; padding: 16px 16px 12px; font-size: 14px; font-weight: 700; } -.dash-root .msg-inbox-list { flex: 1; overflow-y: auto; padding: 0 8px 8px; } -.dash-root .msg-thread { width: 100%; display: flex; gap: 10px; padding: 11px; border-radius: 12px; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; position: relative; transition: 0.12s; } -.dash-root .msg-thread:hover { background: var(--panel-2); } -.dash-root .msg-thread.active { background: var(--panel-2); } -.dash-root .msg-thread-txt { flex: 1; min-width: 0; } -.dash-root .msg-thread-top { display: flex; justify-content: space-between; gap: 6px; } .dash-root .msg-thread-name { font-size: 13px; font-weight: 600; } .dash-root .msg-thread-time { font-size: 10.5px; color: var(--faint); } -.dash-root .msg-thread-sub { font-size: 12px; color: var(--text-2); margin-top: 1px; } -.dash-root .msg-thread-prev { font-size: 11.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } -.dash-root .typing-now { color: var(--orange); font-style: italic; } -.dash-root .msg-unread { position: absolute; right: 11px; bottom: 11px; background: var(--orange); color: #1a1206; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 99px; display: grid; place-items: center; padding: 0 4px; } -.dash-root .msg-pin { position: absolute; right: 12px; top: 12px; color: var(--faint); } -.dash-root .msg-thread-pane { display: flex; flex-direction: column; min-height: 0; } -.dash-root .msg-pane-head { display: flex; align-items: center; gap: 11px; padding: 14px 18px; border-bottom: 1px solid var(--border); } -.dash-root .msg-pane-id { flex: 1; min-width: 0; } .dash-root .msg-pane-name { font-size: 14px; font-weight: 700; } .dash-root .msg-pane-sub { font-size: 12px; color: var(--muted); } -.dash-root .msg-stream { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; } -.dash-root .msg-stream.sm { max-height: 320px; } -.dash-root .bubble-row { display: flex; gap: 8px; align-items: flex-end; max-width: 78%; animation: ds-rise 0.2s ease; } -.dash-root .bubble-row.me { align-self: flex-end; flex-direction: row-reverse; } -.dash-root .bubble { padding: 9px 13px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); } -.dash-root .bubble p { margin: 0; font-size: 13px; line-height: 1.45; } -.dash-root .bubble-time { display: block; font-size: 10px; color: var(--faint); margin-top: 4px; } -.dash-root .bubble-row.me .bubble { background: var(--orange); border-color: transparent; color: #1a1206; } .dash-root .bubble-row.me .bubble-time { color: color-mix(in srgb, #1a1206 60%, transparent); } -.dash-root .bubble.typing { display: flex; gap: 4px; padding: 13px; } -.dash-root .bubble.typing .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: ds-bounce 1.2s infinite; } -.dash-root .bubble.typing .dot:nth-child(2) { animation-delay: 0.18s; } .dash-root .bubble.typing .dot:nth-child(3) { animation-delay: 0.36s; } -.dash-root .msg-compose { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-top: 1px solid var(--border); } -.dash-root .msg-compose .ds-input { flex: 1; } - -/* ---- New Ticket routing ---- */ -.dash-root .route-banner { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 11px; background: color-mix(in srgb, var(--blue) 9%, transparent); border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent); font-size: 12.5px; margin-bottom: 14px; animation: ds-rise 0.2s ease; } -.dash-root .route-banner svg { color: #6f9bff; } .dash-root .route-banner > span { flex: 1; } -.dash-root .route-list { display: flex; flex-direction: column; gap: 9px; } -.dash-root .route-item { display: flex; align-items: center; gap: 9px; font-size: 12px; } -.dash-root .route-cat { flex: 1; color: var(--text-2); } .dash-root .route-item svg { color: var(--faint); } .dash-root .route-dept { color: var(--muted); font-weight: 600; } - -/* ---- My Tickets table ---- */ -.dash-root .ticket-table { display: flex; flex-direction: column; } -.dash-root .ticket-row { display: grid; grid-template-columns: 2.2fr 1.3fr 0.9fr 1fr 1.1fr; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--border); background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; font-family: inherit; text-align: left; color: var(--text); cursor: pointer; transition: 0.12s; } -.dash-root button.ticket-row:hover { background: var(--panel-2); } -.dash-root .ticket-row.ticket-head { cursor: default; } -.dash-root .ticket-head span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); } -.dash-root .t-subject { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 600; } -.dash-root .t-id { font-size: 11px; color: var(--orange); font-weight: 700; } -.dash-root .t-dept { font-size: 12.5px; color: var(--muted); } -.dash-root .t-updated { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); justify-content: space-between; } -.dash-root .ticket-modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; } -.dash-root .lifecycle { display: flex; align-items: center; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; } -.dash-root .lc-step { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--faint); white-space: nowrap; } -.dash-root .lc-line { width: 26px; height: 2px; background: var(--border); } -.dash-root .lc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--track); border: 2px solid var(--border-2); } -.dash-root .lc-step.done { color: var(--text-2); } .dash-root .lc-step.done .lc-dot { background: var(--green); border-color: var(--green); } -.dash-root .lc-step.current .lc-dot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); } - -/* ---- Help Center ---- */ -.dash-root .help-search { display: flex; align-items: center; gap: 10px; padding: 4px 16px; height: 52px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--panel); margin-bottom: 18px; } -.dash-root .help-search > svg { color: var(--faint); } -.dash-root .help-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } -.dash-root .help-topic-card { padding: 0; overflow: hidden; --accent: var(--orange); } -.dash-root .help-topic-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; } -.dash-root .help-topic-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); flex: 0 0 auto; } -.dash-root .help-topic-txt { flex: 1; } .dash-root .help-topic-title { font-size: 14px; font-weight: 700; } .dash-root .help-topic-count { font-size: 11.5px; color: var(--muted); } -.dash-root .acc-chev { color: var(--faint); transition: transform 0.2s; } .dash-root .acc-chev.open { transform: rotate(180deg); } -.dash-root .help-acc-list { padding: 0 18px 10px; } -.dash-root .help-results { display: flex; flex-direction: column; } -.dash-root .help-acc { border-top: 1px solid var(--border); } -.dash-root .help-acc summary { display: flex; align-items: center; gap: 10px; padding: 13px 0; cursor: pointer; list-style: none; } -.dash-root .help-acc summary::-webkit-details-marker { display: none; } -.dash-root .help-q { flex: 1; font-size: 13px; font-weight: 600; } -.dash-root .help-acc summary .acc-chev { transition: transform 0.2s; } -.dash-root .help-acc[open] summary .acc-chev { transform: rotate(180deg); } -.dash-root .help-acc p { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.55; animation: ds-rise 0.2s ease; } - -/* ---- Live chat handshake ---- */ -.dash-root .chat-connecting { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 0; } -.dash-root .chat-radar { position: relative; display: grid; place-items: center; } -.dash-root .radar-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ds-radar 1.8s ease-out infinite; } -.dash-root .radar-ring.d2 { animation-delay: 0.9s; } -.dash-root .chat-connecting-txt { font-size: 14px; font-weight: 600; } .dash-root .chat-connecting-txt .dots span { animation: ds-bounce 1.2s infinite; display: inline-block; } .dash-root .chat-connecting-txt .dots span:nth-child(2){ animation-delay: 0.18s; } .dash-root .chat-connecting-txt .dots span:nth-child(3){ animation-delay: 0.36s; } -.dash-root .livechat-joined { display: flex; align-items: center; gap: 7px; justify-content: center; font-size: 12px; color: var(--muted); padding: 6px 0 10px; } - -/* ---- phone input / callback ---- */ -.dash-root .phone-input { display: flex; gap: 8px; } -.dash-root .phone-input .cc { width: 110px; flex: 0 0 auto; } -.dash-root .phone-input .ds-input { flex: 1; border: 1px solid var(--border-2); background: var(--panel-2); padding: 0 13px; } -.dash-root .cb-slots { display: flex; flex-direction: column; gap: 8px; } -.dash-root .cb-slot { display: flex; justify-content: space-between; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--border-2); background: var(--panel-2); cursor: pointer; font-family: inherit; color: var(--text); transition: 0.14s; } -.dash-root .cb-slot.active { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 9%, transparent); } -.dash-root .cb-slot-l { font-size: 13px; font-weight: 600; } .dash-root .cb-slot-r { font-size: 12px; color: var(--muted); } - -/* ---- Rules grid ---- */ -.dash-root .rules-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; } -.dash-root .rule-card { position: relative; overflow: hidden; --accent: var(--orange); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; } -.dash-root .rule-card::before { content: ""; position: absolute; top: -55%; right: -15%; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); pointer-events: none; } -.dash-root .rule-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 18px 42px -24px color-mix(in srgb, var(--accent) 70%, #000); } -.dash-root .rule-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; position: relative; } -.dash-root .rule-n { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, var(--text))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } -.dash-root .rule-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 8px; } .dash-root .rule-title svg { color: var(--accent); flex: 0 0 auto; } -.dash-root .rule-detail { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0; } - -/* ---- responsive ---- */ -@media (max-width: 1180px) { - .dash-root .grid-side, .dash-root .consent-cols, .dash-root .rules-grid, .dash-root .channel-grid, .dash-root .help-topics, .dash-root .grid-2 { grid-template-columns: 1fr; } - .dash-root .msgctr { grid-template-columns: 1fr; height: auto; } - .dash-root .msg-inbox { border-right: 0; border-bottom: 1px solid var(--border); max-height: 280px; } -} -@media (max-width: 720px) { - .dash-root .notif-row { grid-template-columns: 1fr; gap: 10px; } - .dash-root .notif-head { display: none; } - .dash-root .ticket-row { grid-template-columns: 1fr; gap: 6px; } - .dash-root .ticket-head { display: none; } - .dash-root .pw-checks, .dash-root .time-windows { grid-template-columns: 1fr; } - .dash-root .profile-hero-stats { padding-left: 0; border-top: 1px solid var(--border); padding-top: 14px; width: 100%; } -} + .dash-root { + /* accents (shared) */ + --orange: #fda913; + --orange-2: #fd6d13; + --yellow: #ffd60a; + --cyan: #09b9c6; + --green: #14bc83; + --blue: #285ef0; + --purple: #9036e9; + --red: #f0563f; + + --radius: 16px; + --radius-sm: 12px; + --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; + + min-height: 100vh; + display: flex; + background: var(--bg); + color: var(--text); + font-family: var(--font); + -webkit-font-smoothing: antialiased; + } + + /* ---- dark (default) ---- */ + .dash-root, + .dash-root[data-theme="dark"] { + --bg: #060608; + --panel: #0e0e13; + --panel-2: #060608; + --panel-3: #1b1b22; + --border: rgba(255, 255, 255, 0.07); + --border-2: rgba(255, 255, 255, 0.12); + --text: #ffffff; + --text-2: #eaeaea; + --muted: #8c8c8c; + --faint: #686868; + --track: rgba(255, 255, 255, 0.08); + --sidebar: #08080b; + --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8); + } + + /* ---- light ---- */ + .dash-root[data-theme="light"] { + --bg: #eef1f7; + --panel: #ffffff; + --panel-2: #f5f7fb; + --panel-3: #eef1f7; + --border: rgba(15, 23, 42, 0.08); + --border-2: rgba(15, 23, 42, 0.14); + --text: #0c0e14; + --text-2: #1f2430; + --muted: #5b6472; + --faint: #97a0b0; + --track: rgba(15, 23, 42, 0.07); + --sidebar: #ffffff; + --shadow: 0 18px 40px -26px rgba(15, 23, 42, 0.25); + --card-grad: var(--panel); + } + + .dash-root * { box-sizing: border-box; } + .dash-root h1, .dash-root h2, .dash-root h3, .dash-root h4 { margin: 0; } + + /* ---- sidebar ---- */ + .dash-sidebar { + width: 214px; + flex: 0 0 214px; + background: var(--sidebar); + border-right: 1px solid var(--border); + display: flex; + flex-direction: column; + height: 100vh; + position: sticky; + top: 0; + } + .dash-brand { display: flex; align-items: center; gap: 9px; padding: 18px 18px 14px; } + .dash-brand img { height: 44px; width: auto; } + .dash-brand .bk { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; } + .dash-nav { flex: 1; overflow-y: auto; padding: 6px 12px 12px; } + .dash-nav::-webkit-scrollbar { width: 6px; } + .dash-nav::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; } + .nav-group { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 14px 10px 6px; } + .nav-item { + display: flex; align-items: center; gap: 11px; + width: 100%; padding: 8.5px 10px; border-radius: 9px; + border: 0; background: none; cursor: pointer; + color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 500; + text-align: left; transition: background 0.14s, color 0.14s; + } + .nav-item:hover { background: var(--panel-2); color: var(--text-2); } + .nav-item.active { background: var(--orange); color: #fff; font-weight: 600; } + .nav-item.active svg { color: #fff; } + .nav-item svg { color: var(--faint); flex: 0 0 auto; } + .nav-item:hover svg { color: var(--text-2); } + .fig-ic { display: inline-flex; flex: 0 0 auto; color: inherit; } + .fig-ic svg { width: 100%; height: 100%; display: block; } + .dash-sidebar .sb-foot { border-top: 1px solid var(--border); padding: 10px 12px; } + .sb-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; } + .sb-user:hover { background: var(--panel-2); } + .sb-user .av { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: 0 0 30px; } + .sb-user .nm { font-size: 12.5px; font-weight: 600; } + .sb-user .rl { font-size: 11px; color: var(--faint); } + + /* ---- main ---- */ + .dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; } + .dash-topbar { + height: 84px; display: flex; align-items: center; justify-content: space-between; + padding: 0 24px; border-bottom: 1px solid var(--border); + position: sticky; top: 0; z-index: 20; + background: color-mix(in srgb, var(--bg) 80%, transparent); + backdrop-filter: blur(10px); + } + .dash-title h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; } + .dash-title p { font-size: 12.5px; color: var(--muted); margin-top: 2px; } + .top-actions { display: flex; align-items: center; gap: 8px; } + .ic-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; } + .ic-btn:hover { color: var(--text); border-color: var(--border-2); } + .top-user { display: flex; align-items: center; gap: 9px; padding: 5px 8px 5px 5px; border: 1px solid var(--border); border-radius: 99px; background: var(--panel); cursor: pointer; } + .top-user .av { width: 30px; height: 30px; border-radius: 99px; object-fit: cover; } + .top-user .nm { font-size: 12.5px; font-weight: 600; } + .top-user .rl { font-size: 10.5px; color: var(--faint); } + + .dash-content { padding: 22px 28px 40px; width: 100%; } + .sec-title { font-size: 15px; font-weight: 700; margin: 6px 0 14px; } + + /* ---- grid helpers ---- */ + .grid { display: grid; gap: 16px; } + .row { display: flex; align-items: center; } + .between { justify-content: space-between; } + .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } + .muted { color: var(--muted); } .faint { color: var(--faint); } + + /* ---- card ---- */ + .dcard { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; } + .dcard-pad-0 { padding: 0; } + .card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } + .card-h h3 { font-size: 14px; font-weight: 600; } + .card-sub { font-size: 11.5px; color: var(--faint); } + + /* ---- stat bits ---- */ + .stat-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; } + .big-val { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; } + .mid-val { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; } + .lbl { font-size: 12px; color: var(--muted); } + .pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 600; } + .pill-orange { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); } + .pill-green { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); } + .pill-blue { background: color-mix(in srgb, var(--blue) 20%, transparent); color: #6f9bff; } + .pill-cyan { background: color-mix(in srgb, var(--cyan) 18%, transparent); color: var(--cyan); } + .pill-red { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); } + + /* small stat card (right 2x2) */ + .mini-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 15px; } + .mini-card .top { display: flex; justify-content: space-between; align-items: flex-start; } + + /* progress */ + .bar { height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; } + .bar > span { display: block; height: 100%; border-radius: 99px; } + + /* legend dot */ + .ldot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; } + + /* pipeline rows */ + .pl-row { display: grid; grid-template-columns: 92px 1fr 22px; align-items: center; gap: 10px; margin-bottom: 10px; } + .pl-row .lab { font-size: 12px; color: var(--muted); } + .pl-row .n { font-size: 12px; font-weight: 700; text-align: right; } + + /* weather */ + .wx-hours { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; } + .wx-hr { text-align: center; flex: 1; } + .wx-hr .t { font-size: 11px; color: var(--faint); } + .wx-hr .te { font-size: 13px; font-weight: 700; margin-top: 6px; } + + /* reps */ + .rep-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); } + .rep-row:last-child { border-bottom: 0; } + .rep-row .rk { width: 22px; font-size: 12px; font-weight: 700; color: var(--faint); } + .rep-row .av { width: 34px; height: 34px; border-radius: 99px; object-fit: cover; } + .rep-row .nm { font-size: 13px; font-weight: 600; } + .rep-row .em { font-size: 11px; color: var(--faint); } + .rep-row .amt { font-size: 13px; font-weight: 700; color: var(--green); } + + .link-btn { font-size: 12px; font-weight: 600; color: var(--orange); background: none; border: 0; cursor: pointer; } + + /* ---- charts ---- */ + .chart { display: flex; gap: 8px; width: 100%; } + .chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 9px; color: var(--faint); padding-bottom: 16px; text-align: right; min-width: 18px; } + .chart-plot { flex: 1; display: flex; align-items: flex-end; gap: 2px; } + .bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; } + .bar-group .bars { height: calc(100% - 20px); width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; } + .vbar { border-radius: 3px; align-self: flex-end; transition: height 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); } + .bar-x { font-size: 10px; color: var(--faint); margin-top: 7px; } + + .spark { display: flex; align-items: flex-end; gap: 4px; } + .spark > span { border-radius: 3px; transition: height 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); } + + .donut { position: relative; display: grid; place-items: center; } + .donut-c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; } + .donut-c .dv { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; } + .donut-c .dl { font-size: 11px; color: var(--faint); } + + .gauge { position: relative; } + .gauge-c { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; } + .gauge-c .gv { font-size: 18px; font-weight: 800; } + .gauge-c .gl { font-size: 10px; color: var(--faint); } + + /* responsive */ + @media (max-width: 1100px) { .dash-sidebar { display: none; } } + @media (max-width: 760px) { .dash-content { padding: 16px; } } + + /* ========================================================================= + ACCOUNT MODULE — Profile · Support · Rules design system + All components consume the .dash-root tokens above, so they theme with + [data-theme] automatically. Prefix-free utility names are scoped under + .dash-root to avoid collisions with the rest of the app. + ========================================================================= */ + + .dash-root { + --ring: color-mix(in srgb, var(--orange) 35%, transparent); + --grad-brand: rgba(253, 169, 19, 0.92); + --card-grad: #060608; + --card-hi: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent); + --glow-orange: 0 10px 28px -12px color-mix(in srgb, var(--orange) 60%, transparent); + } + /* ambient depth behind the content */ + .dash-root .dash-content { position: relative; } + .dash-root .dash-content::before { + content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; + background: + radial-gradient(55% 45% at 100% 0%, color-mix(in srgb, var(--orange) 7%, transparent), transparent 70%), + radial-gradient(45% 40% at 0% 100%, color-mix(in srgb, var(--blue) 6%, transparent), transparent 70%); + } + .dash-root .view { position: relative; z-index: 1; } + + /* ---- sidebar (premium nav) ---- */ + .dash-root .dash-sidebar { width: 236px; flex: 0 0 236px; background: #040404 } + .dash-root .dash-brand { padding: 20px 18px 16px; } + .dash-root .dash-brand .bk { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; } + .dash-root .dash-nav { padding: 4px 12px 14px; } + .dash-root .nav-section { margin-bottom: 4px; } + .dash-root .nav-section + .nav-section { border-top: 1px solid var(--border); padding-top: 4px; } + .dash-root .nav-group { + letter-spacing: 1px; + text-transform: uppercase; + color: var(--faint); + padding: 13px 10px 11px; + font-size: 14px; + font-weight: 700; + } + .dash-root .nav-item { cursor: pointer; + width: 100%; + color: var(--text); + text-align: left; + background: none; + border: 0; + border-radius: 10px; + align-items: center; + gap: 11px; + padding: 15px 12px; + font-family: inherit; + font-size: 15px; + font-weight: 500; + transition: background .14s, color .14s, transform .12s; + display: flex; } + .dash-root .nav-item svg { color: var(--text); flex: 0 0 auto; transition: color 0.14s; } + .dash-root .nav-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + .dash-root .nav-item:hover { background: var(--panel-2); color: var(--text); } + .dash-root .nav-item:hover svg { color: var(--text-2); } + .dash-root .nav-item.active { + background: var(--grad-brand); + color: #fff; + font-weight: 700; + background: linear-gradient(90deg, rgba(17, 9, 9, 0) 0%, rgba(253, 169, 19, 0.21) 100%); + } + .dash-root .nav-item.active svg { color: #fff; } + + /* ---- coming-soon placeholder ---- */ + .dash-root .coming-soon { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px; gap: 8px; } + .dash-root .coming-soon-ic { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: var(--orange); background: color-mix(in srgb, var(--orange) 12%, transparent); margin-bottom: 8px; } + .dash-root .coming-soon h3 { font-size: 18px; font-weight: 800; } + .dash-root .coming-soon p { font-size: 13px; color: var(--muted); max-width: 440px; line-height: 1.55; } + .dash-root .coming-soon-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; justify-content: center; } + + /* ---- animations ---- */ + @keyframes ds-fade { from { opacity: 0; } to { opacity: 1; } } + @keyframes ds-pop { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } } + @keyframes ds-slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } } + @keyframes ds-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } + @keyframes ds-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } } + @keyframes ds-radar { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(2.1); opacity: 0; } } + @keyframes ds-bar { from { width: 0; } } + + .dash-root .view { animation: ds-fade 0.3s ease; } + .dash-root .view-body { animation: ds-rise 0.32s ease; } + + /* ---- generic card / layout ---- */ + .dash-root .card { background: var(--card-grad); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--card-hi), 0 1px 2px rgba(0,0,0,0.18); } + .dash-root .card-muted { background: var(--panel-2); } + .dash-root .card-pad-0 { padding: 0; overflow: hidden; } + .dash-root .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } + .dash-root .card-head.pad { padding: 18px 20px 0; margin-bottom: 14px; } + .dash-root .card-head h3 { font-size: 15px; font-weight: 700; } + .dash-root .card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; } + .dash-root .card-stack { display: flex; flex-direction: column; gap: 16px; } + .dash-root .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } + .dash-root .grid-side { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; } + .dash-root .consent-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; } + .dash-root .muted-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); margin-top: 12px; } + .dash-root .muted-note svg { flex: 0 0 auto; } + + /* ---- PageHead ---- */ + .dash-root .ds-pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; } + .dash-root .ds-pagehead-l { display: flex; gap: 14px; align-items: center; } + .dash-root .ds-pagehead-ic { width: 52px; height: 52px; border-radius: 16px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--grad-brand); box-shadow: var(--glow-orange); } + .dash-root .ds-pagehead h1 { font-size: 24px; } + .dash-root .ds-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 3px; } + .dash-root .ds-pagehead h1 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; } + .dash-root .ds-pagehead p { font-size: 13px; color: var(--muted); margin-top: 3px; } + .dash-root .ds-pagehead-actions { display: flex; gap: 10px; align-items: center; } + + /* ---- Avatar ---- */ + .dash-root .ds-avatar { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; } + .dash-root .ds-avatar-bg { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-weight: 700; letter-spacing: -0.01em; } + .dash-root .ds-avatar-dot { position: absolute; right: -1px; bottom: -1px; border-radius: 50%; border: 2px solid var(--panel); } + .dash-root .status-online { background: var(--green); } + .dash-root .status-away { background: var(--orange); } + .dash-root .status-busy { background: var(--red); } + .dash-root .status-offline { background: var(--faint); } + + /* ---- Pill ---- */ + .dash-root .ds-pill { display: inline-flex; align-items: center; gap: 5px; height: 23px; padding: 0 10px; border-radius: 99px; font-size: 11px; font-weight: 600; white-space: nowrap; } + .dash-root .ds-pill.tone-muted { background: var(--panel-3); color: var(--muted); } + .dash-root .ds-pill.tone-green { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); } + .dash-root .ds-pill.tone-orange { background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange); } + .dash-root .ds-pill.tone-blue { background: color-mix(in srgb, var(--blue) 18%, transparent); color: #6f9bff; } + .dash-root .ds-pill.tone-purple { background: color-mix(in srgb, var(--purple) 18%, transparent); color: #b07bf2; } + .dash-root .ds-pill.tone-cyan { background: color-mix(in srgb, var(--cyan) 16%, transparent); color: var(--cyan); } + .dash-root .ds-pill.tone-red { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); } + .dash-root .ds-pill svg { flex: 0 0 auto; } + + .dash-root .ds-statusdot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; } + + /* ---- Toggle ---- */ + .dash-root .ds-toggle { width: 40px; height: 23px; border-radius: 99px; border: 0; background: var(--track); position: relative; cursor: pointer; transition: background 0.18s; flex: 0 0 auto; padding: 0; } + .dash-root .ds-toggle .knob { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform 0.18s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); } + .dash-root .ds-toggle.on { background: var(--orange); } + .dash-root .ds-toggle.on .knob { transform: translateX(17px); } + .dash-root .ds-toggle.disabled { opacity: 0.45; cursor: not-allowed; } + + /* ---- Field / inputs ---- */ + .dash-root .ds-field { display: block; margin-bottom: 14px; } + .dash-root .ds-field-lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; } + .dash-root .req { color: var(--red); font-style: normal; margin-left: 3px; } + .dash-root .ds-field-hint { display: block; font-size: 11.5px; color: var(--faint); margin-top: 6px; line-height: 1.4; } + .dash-root .ds-field-err { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--red); margin-top: 6px; } + .dash-root .ds-input, .dash-root .ds-select, .dash-root .ds-textarea { + width: 100%; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--border-2); + background: var(--panel-2); color: var(--text); font-family: inherit; font-size: 13.5px; outline: none; transition: border-color 0.14s, box-shadow 0.14s; + } + .dash-root .ds-textarea { height: auto; padding: 11px 13px; resize: vertical; line-height: 1.5; } + .dash-root .ds-select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; } + .dash-root .ds-input:focus, .dash-root .ds-select:focus, .dash-root .ds-textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); } + .dash-root .ds-input.flush { border: 0; background: none; box-shadow: none; padding: 0 4px; height: 38px; } + .dash-root .ds-input.flush:focus { box-shadow: none; } + .dash-root .ds-input::placeholder, .dash-root .ds-textarea::placeholder { color: var(--faint); } + + /* ---- Buttons ---- */ + .dash-root .ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.14s; white-space: nowrap; } + .dash-root .ds-btn.s-sm { height: 32px; padding: 0 12px; font-size: 12px; border-radius: 9px; } + .dash-root .ds-btn.full { width: 100%; } + .dash-root .ds-btn:disabled { opacity: 0.45; cursor: not-allowed; } + .dash-root .ds-btn.v-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--orange) 75%, transparent); } + .dash-root .ds-btn.v-primary:not(:disabled):hover { filter: brightness(1.05); transform: translateY(-1px); } + .dash-root .ds-btn.v-ghost { background: transparent; color: var(--muted); } + .dash-root .ds-btn.v-ghost:hover { background: var(--panel-2); color: var(--text); } + .dash-root .ds-btn.v-soft { background: var(--panel-3); color: var(--text); } + .dash-root .ds-btn.v-soft:hover { background: var(--border-2); } + .dash-root .ds-btn.v-outline { background: transparent; border-color: var(--border-2); color: var(--text-2); } + .dash-root .ds-btn.v-outline:hover { border-color: var(--orange); color: var(--orange); } + .dash-root .ds-btn.v-danger { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); } + .dash-root .ds-btn.v-danger:hover { background: var(--red); color: #fff; } + + .dash-root .ds-iconbtn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; flex: 0 0 auto; } + .dash-root .ds-iconbtn:hover { color: var(--text); border-color: var(--border-2); } + .dash-root .ds-iconbtn.sm { width: 28px; height: 28px; border-radius: 8px; } + .dash-root .link-inline { background: none; border: 0; color: var(--orange); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; } + + /* ---- Segmented / Tabs ---- */ + .dash-root .ds-segmented { display: inline-flex; gap: 4px; padding: 5px; background: var(--panel-2); border: 1px solid var(--border-2); border-radius: 14px; flex-wrap: wrap; margin-bottom: 20px; } + .dash-root .ds-segmented .seg { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: 0.14s; } + .dash-root .ds-segmented .seg:hover { color: var(--text); background: color-mix(in srgb, var(--orange) 9%, transparent); } + .dash-root .ds-segmented .seg.active { background: rgba(253, 169, 19, 0.92); color: #fff; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--orange) 75%, transparent); } + .dash-root .ds-segmented .seg.active:hover { background: rgba(253, 169, 19, 1); color: #fff; } + .dash-root .ds-segmented .seg.active svg { color: #fff; } + + .dash-root .ds-tabs { display: flex; gap: 4px; padding: 5px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; margin: 18px 0 22px; overflow-x: auto; } + .dash-root .ds-tabs::-webkit-scrollbar { height: 0; } + .dash-root .ds-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: 0.16s; } + .dash-root .ds-tab:hover { color: var(--text-2); background: color-mix(in srgb, var(--panel) 55%, transparent); } + .dash-root .ds-tab.active { color: var(--orange); background: var(--panel); box-shadow: var(--card-hi), 0 4px 14px -8px rgba(0,0,0,0.5); } + .dash-root .ds-tab-badge { background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 4px; } + + /* ---- OTP ---- */ + .dash-root .ds-otp { display: flex; gap: 9px; } + .dash-root .ds-otp-box { width: 46px; height: 54px; text-align: center; font-size: 22px; font-weight: 700; border-radius: 12px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--text); outline: none; transition: 0.14s; } + .dash-root .ds-otp-box:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); } + .dash-root .otp-wrap { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; } + + /* ---- Modal ---- */ + .dash-root .ds-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(2,2,6,0.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: ds-fade 0.18s ease; } + .dash-root .ds-modal { width: 100%; background: var(--panel); border: 1px solid var(--border-2); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); animation: ds-pop 0.22s cubic-bezier(0.2,0.7,0.2,1); max-height: 90vh; display: flex; flex-direction: column; } + .dash-root .ds-modal.size-sm { max-width: 400px; } + .dash-root .ds-modal.size-md { max-width: 540px; } + .dash-root .ds-modal.size-lg { max-width: 760px; } + .dash-root .ds-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--border); } + .dash-root .ds-modal-head-l { display: flex; gap: 12px; align-items: center; } + .dash-root .ds-modal-ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); } + .dash-root .ds-modal-head h3 { font-size: 16px; font-weight: 700; } + .dash-root .ds-modal-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; } + .dash-root .ds-modal-body { padding: 18px 20px; overflow-y: auto; } + .dash-root .ds-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); } + + /* ---- Toasts ---- */ + .dash-root .ds-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; width: 340px; max-width: calc(100vw - 40px); } + .dash-root .ds-toast { display: flex; gap: 11px; padding: 13px 14px; border-radius: 13px; background: var(--panel); border: 1px solid var(--border-2); box-shadow: var(--shadow); animation: ds-slide-in 0.26s ease; } + .dash-root .ds-toast.tone-success { border-left: 3px solid var(--green); } .dash-root .ds-toast.tone-success > svg { color: var(--green); } + .dash-root .ds-toast.tone-info { border-left: 3px solid var(--blue); } .dash-root .ds-toast.tone-info > svg { color: #6f9bff; } + .dash-root .ds-toast.tone-error { border-left: 3px solid var(--red); } .dash-root .ds-toast.tone-error > svg { color: var(--red); } + .dash-root .ds-toast > svg { flex: 0 0 auto; margin-top: 1px; } + .dash-root .ds-toast-body { flex: 1; min-width: 0; } + .dash-root .ds-toast-title { font-size: 13px; font-weight: 600; } + .dash-root .ds-toast-desc { font-size: 12px; color: var(--muted); margin-top: 2px; } + .dash-root .ds-toast-x { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 0; height: 18px; } + + /* ---- key/value list, callouts ---- */ + .dash-root .kv-list { display: flex; flex-direction: column; } + .dash-root .kv { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); } + .dash-root .kv:last-child { border-bottom: 0; } + .dash-root .kv dt { font-size: 12.5px; color: var(--muted); } + .dash-root .kv dd { font-size: 13.5px; font-weight: 600; text-align: right; } + .dash-root .kv dd.masked { letter-spacing: 0.06em; color: var(--faint); font-weight: 500; } + .dash-root .kv dd.kv-edit { display: inline-flex; align-items: center; gap: 8px; } + .dash-root .kv-edit-btn { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; } + .dash-root .kv-edit-btn:hover { color: var(--orange); border-color: var(--orange); } + .dash-root .kv-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--faint); font-weight: 500; } + .dash-root .edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } + @media (max-width: 720px) { .dash-root .edit-grid { grid-template-columns: 1fr; } } + .dash-root .callout { display: flex; gap: 11px; padding: 13px 14px; border-radius: 13px; margin-bottom: 16px; } + .dash-root .callout svg { flex: 0 0 auto; margin-top: 1px; } + .dash-root .callout strong { display: block; font-size: 13px; } .dash-root .callout span { font-size: 12px; color: var(--muted); } + .dash-root .callout.tone-green { background: color-mix(in srgb, var(--green) 10%, transparent); } .dash-root .callout.tone-green svg { color: var(--green); } + .dash-root .callout.tone-orange { background: color-mix(in srgb, var(--orange) 10%, transparent); } .dash-root .callout.tone-orange svg { color: var(--orange); } + .dash-root .callout.tone-red { background: color-mix(in srgb, var(--red) 10%, transparent); } .dash-root .callout.tone-red svg { color: var(--red); } + + /* ---- Profile hero ---- */ + .dash-root .profile-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 4px; background: linear-gradient(120deg, color-mix(in srgb, var(--orange) 10%, var(--panel)) 0%, var(--panel) 55%); } + .dash-root .profile-hero-bg { position: absolute; inset: 0; background: radial-gradient(90% 140% at 100% -10%, color-mix(in srgb, var(--orange) 22%, transparent), transparent 50%), radial-gradient(70% 120% at -5% 110%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 55%); pointer-events: none; } + .dash-root .profile-hero-main { display: flex; gap: 20px; align-items: center; position: relative; } + .dash-root .profile-hero-avatar { position: relative; border-radius: 24px; box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--orange) 60%, transparent); } + .dash-root .profile-hero-cam { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--panel); background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; } + .dash-root .profile-hero-name { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; } + .dash-root .verified-badge { color: var(--green); } + .dash-root .profile-hero-role { font-size: 13px; color: var(--muted); margin-top: 2px; } + .dash-root .profile-hero-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; } + .dash-root .hero-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--text-2); padding: 5px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border); } + .dash-root .hero-chip svg { color: var(--faint); } + .dash-root .hero-chip.accent { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 30%, transparent); } .dash-root .hero-chip.accent svg { color: var(--orange); } + .dash-root .profile-hero-stats { display: flex; gap: 0; position: relative; } + .dash-root .hero-stat { padding: 0 22px; border-left: 1px solid var(--border); } + .dash-root .hero-stat:first-child { padding-left: 0; border-left: 0; } + .dash-root .hero-stat:last-child { padding-right: 0; } + .dash-root .hero-stat-v { font-size: 20px; font-weight: 800; } + .dash-root .hero-stat-l { font-size: 11.5px; color: var(--muted); margin-top: 2px; } + + /* ---- reveal gate ---- */ + .dash-root .reveal-gate { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px; border-radius: 13px; border: 1px dashed var(--border-2); background: var(--panel-2); margin-bottom: 16px; } + .dash-root .reveal-gate-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); flex: 0 0 auto; } + .dash-root .reveal-gate-txt { flex: 1; min-width: 140px; } .dash-root .reveal-gate-txt strong { display: block; font-size: 13px; } .dash-root .reveal-gate-txt span { font-size: 12px; color: var(--muted); } + .dash-root .reveal-gate-form { display: flex; gap: 8px; } .dash-root .reveal-gate-form .ds-input { width: 140px; } + + /* ---- KYC ---- */ + .dash-root .kyc-progress { margin-bottom: 18px; } + .dash-root .kyc-progress-bar { height: 9px; border-radius: 99px; background: var(--track); overflow: hidden; } + .dash-root .kyc-progress-bar > span { display: block; height: 100%; border-radius: 99px; background: rgba(253, 169, 19, 0.92); transition: width 0.5s cubic-bezier(0.2,0.7,0.2,1); animation: ds-bar 0.6s ease; } + .dash-root .kyc-progress-legend { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; } + .dash-root .kyc-leg { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--faint); } + .dash-root .kyc-leg.verified { color: var(--green); } .dash-root .kyc-leg.uploaded { color: #6f9bff; } .dash-root .kyc-leg.missing { color: var(--muted); } + .dash-root .kyc-slots { display: flex; flex-direction: column; gap: 12px; } + .dash-root .kyc-slot { display: flex; gap: 12px; padding: 14px; border-radius: 13px; border: 1px solid var(--border); background: var(--panel-2); } + .dash-root .kyc-slot.status-verified { border-color: color-mix(in srgb, var(--green) 40%, transparent); } + .dash-root .kyc-slot.status-rejected { border-color: color-mix(in srgb, var(--red) 40%, transparent); } + .dash-root .kyc-slot-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: 0 0 auto; } + .dash-root .kyc-slot-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; } + .dash-root .kyc-slot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } + .dash-root .kyc-slot-title { font-size: 13.5px; font-weight: 600; } + .dash-root .kyc-slot-hint { font-size: 11.5px; color: var(--faint); } + .dash-root .kyc-drop { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 11px; border: 1px dashed var(--border-2); background: var(--panel); color: var(--muted); font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: 0.14s; } + .dash-root .kyc-drop:hover { border-color: var(--orange); color: var(--orange); } + .dash-root .kyc-file { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); } + .dash-root .kyc-file-name { font-size: 12.5px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + .dash-root .kyc-file-note { font-size: 11px; color: var(--faint); } + .dash-root .rule-mini { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 9px; } + .dash-root .rule-mini li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-2); } + .dash-root .rule-mini svg { color: var(--green); flex: 0 0 auto; margin-top: 2px; } + .dash-root .kyc-doc-pairs { border-top: 1px solid var(--border); padding-top: 14px; } + .dash-root .pair-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--muted); } + + /* ---- password meter ---- */ + .dash-root .pw-meter { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } + .dash-root .pw-bars { display: flex; gap: 5px; flex: 1; } + .dash-root .pw-bars .lvl { flex: 1; height: 6px; border-radius: 99px; background: var(--track); transition: background 0.2s; } + .dash-root .pw-bars .lvl-weak { background: var(--red); } .dash-root .pw-bars .lvl-fair { background: var(--orange); } + .dash-root .pw-bars .lvl-good { background: var(--yellow); } .dash-root .pw-bars .lvl-strong { background: var(--green); } + .dash-root .pw-label { font-size: 12px; font-weight: 700; min-width: 48px; text-align: right; } + .dash-root .pw-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } + .dash-root .pw-checks li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--faint); } + .dash-root .pw-checks li svg { color: var(--faint); } + .dash-root .pw-checks li.ok { color: var(--text-2); } .dash-root .pw-checks li.ok svg { color: var(--green); } + + /* ---- setting rows ---- */ + .dash-root .setting-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); } + .dash-root .setting-row:last-of-type { border-bottom: 0; } + .dash-root .setting-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); flex: 0 0 auto; } + .dash-root .setting-txt { flex: 1; min-width: 0; } .dash-root .setting-title { font-size: 13.5px; font-weight: 600; } .dash-root .setting-desc { font-size: 12px; color: var(--muted); margin-top: 2px; } + + /* ---- notifications matrix ---- */ + .dash-root .notif-table { display: flex; flex-direction: column; } + .dash-root .notif-row { display: grid; grid-template-columns: 1.6fr repeat(4, 70px); align-items: center; gap: 8px; padding: 13px 20px; border-top: 1px solid var(--border); } + .dash-root .notif-row.notif-head { border-top: 0; } + .dash-root .notif-head span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); } + .dash-root .notif-ch { display: inline-flex; align-items: center; gap: 5px; justify-content: center; } + .dash-root .notif-cat-name { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; } + .dash-root .notif-cat-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; } + .dash-root .lock-ic { color: var(--faint); } + + /* ---- contact-time windows ---- */ + .dash-root .time-windows { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 4px; } + .dash-root .time-win { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--muted); cursor: pointer; font-family: inherit; text-align: left; transition: 0.14s; position: relative; } + .dash-root .time-win svg { position: absolute; right: 11px; top: 11px; } + .dash-root .time-win.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 9%, transparent); color: var(--text); } .dash-root .time-win.on svg { color: var(--orange); } + .dash-root .tw-label { font-size: 13px; font-weight: 600; } .dash-root .tw-range { font-size: 11.5px; color: var(--faint); } + + /* ---- destinations ---- */ + .dash-root .dest-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; } + .dash-root .dest-row { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--border); } + .dash-root .dest-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: 0 0 auto; } + .dash-root .dest-txt { flex: 1; min-width: 0; } .dash-root .dest-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; } .dash-root .dest-val { font-size: 12px; color: var(--muted); margin-top: 1px; } + + /* ---- consent ---- */ + .dash-root .consent-list { display: flex; flex-direction: column; gap: 4px; } + .dash-root .consent-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); } + .dash-root .consent-item:last-child { border-bottom: 0; } + .dash-root .consent-item.locked { opacity: 0.85; } + .dash-root .consent-label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; } .dash-root .consent-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; } + .dash-root .consent-sub { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border); animation: ds-rise 0.2s ease; } + .dash-root .consent-sub-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 12.5px; } + + /* ---- devices + timeline ---- */ + .dash-root .device-list { display: flex; flex-direction: column; gap: 11px; } + .dash-root .device-row { display: flex; align-items: center; gap: 13px; padding: 13px; border-radius: 13px; background: var(--panel-2); border: 1px solid var(--border); } + .dash-root .device-row.current { border-color: color-mix(in srgb, var(--green) 35%, transparent); } + .dash-root .device-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: 0 0 auto; } + .dash-root .device-txt { flex: 1; min-width: 0; } + .dash-root .device-name { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; } + .dash-root .device-meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); margin-top: 3px; } + .dash-root .timeline { display: flex; flex-direction: column; } + .dash-root .tl-item { display: flex; gap: 12px; padding-bottom: 16px; position: relative; } + .dash-root .tl-item:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--border); } + .dash-root .tl-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--panel-3); color: var(--muted); z-index: 1; } + .dash-root .tl-dot.ev-password-change { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); } + .dash-root .tl-dot.ev-new-device, .dash-root .tl-dot.ev-awaiting-customer { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); } + .dash-root .tl-dot.ev-resolved, .dash-root .tl-dot.ev-closed { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); } + .dash-root .tl-body { padding-top: 2px; } .dash-root .tl-title { font-size: 13px; font-weight: 600; } .dash-root .tl-meta { font-size: 11.5px; color: var(--muted); margin-top: 1px; } .dash-root .tl-time { font-size: 11px; color: var(--faint); margin-top: 2px; } + + /* ---- Support: command-center Overview ---- */ + .dash-root .support-ov { display: flex; flex-direction: column; gap: 16px; } + + .dash-root .sup-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--green) 28%, var(--border)); background: color-mix(in srgb, var(--green) 9%, var(--panel)); flex-wrap: wrap; } + .dash-root .sup-status-l { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: var(--green); } + .dash-root .sup-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: sup-pulse 1.8s infinite; } + .dash-root .sup-status-r { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); } + @keyframes sup-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } } + + .dash-root .sup-pulse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } + .dash-root .sup-stat { position: relative; overflow: hidden; display: flex; align-items: center; gap: 13px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--card-grad); box-shadow: var(--card-hi); transition: transform 0.16s, border-color 0.16s; } + .dash-root .sup-stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--orange) 40%, var(--border)); } + .dash-root .sup-stat-ic { width: 42px; height: 42px; border-radius: 13px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: rgba(253, 169, 19, 0.92); box-shadow: var(--glow-orange); } + .dash-root .sup-stat-txt b { display: flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; } + .dash-root .sup-stat-txt b svg { color: var(--orange); } + .dash-root .sup-stat-txt span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 5px; } + .dash-root .sup-stat-live { position: absolute; top: 13px; right: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: sup-pulse 1.8s infinite; } + + /* hero live-signal rings */ + .dash-root .bento-chat-sig { position: absolute; right: 34px; top: 26px; width: 10px; height: 10px; pointer-events: none; z-index: 1; } + .dash-root .bento-chat-sig span { position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.55); animation: sup-ring 2.6s ease-out infinite; } + .dash-root .bento-chat-sig span:nth-child(2) { animation-delay: 0.85s; } + .dash-root .bento-chat-sig span:nth-child(3) { animation-delay: 1.7s; } + @keyframes sup-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(6.5); opacity: 0; } } + + @media (max-width: 1180px) { .dash-root .sup-pulse { grid-template-columns: 1fr 1fr; } } + @media (max-width: 560px) { .dash-root .sup-pulse { grid-template-columns: 1fr 1fr; } } + + /* ---- Support: Bento hub ---- */ + .dash-root .support-bento { + display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); + grid-template-areas: + "chat chat team team" + "chat chat team team" + "ticket call email help" + "recent recent recent recent"; + } + .dash-root .bento-tile { border: 1px solid var(--border); border-radius: 18px; background: var(--card-grad); box-shadow: var(--card-hi); padding: 20px; } + .dash-root .bento-tile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; } + .dash-root .bento-tile-head h3 { font-size: 15px; font-weight: 700; } + + /* hero live-chat tile */ + .dash-root .bento-chat { grid-area: chat; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 268px; text-align: left; cursor: pointer; font-family: inherit; border: 0; color: #fff; background: rgba(253, 169, 19, 0.92); box-shadow: var(--glow-orange); transition: transform 0.18s, box-shadow 0.18s; } + .dash-root .bento-chat:hover { transform: translateY(-3px); box-shadow: 0 26px 54px -20px color-mix(in srgb, var(--orange) 85%, #000); } + .dash-root .bento-chat::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 68%); pointer-events: none; } + .dash-root .bento-chat::before { content: ""; position: absolute; left: -40px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(26,18,6,0.12), transparent 70%); pointer-events: none; } + .dash-root .bento-chat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; z-index: 1; font-size: 12px; font-weight: 600; flex-wrap: wrap; } + .dash-root .bento-chat-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.2); padding: 6px 11px; border-radius: 99px; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); } + .dash-root .bento-chat-badge .ds-statusdot { background: #0c3517; box-shadow: 0 0 0 3px rgba(12,53,23,0.3); } + .dash-root .bento-chat-wait { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.85); } + .dash-root .bento-chat-mid { position: relative; z-index: 1; } + .dash-root .bento-chat-mid h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; } + .dash-root .bento-chat-mid p { font-size: 13px; margin-top: 9px; color: rgba(255,255,255,0.88); max-width: 360px; line-height: 1.5; } + .dash-root .bento-chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: relative; z-index: 1; flex-wrap: wrap; } + .dash-root .bento-avstack { display: flex; align-items: center; } + .dash-root .bento-avstack .ds-avatar { margin-left: -9px; box-shadow: 0 0 0 2px rgba(255,255,255,0.92); border-radius: 50%; } + .dash-root .bento-avstack .ds-avatar:first-child { margin-left: 0; } + .dash-root .bento-av-more { margin-left: 11px; font-size: 12px; font-weight: 700; } + .dash-root .bento-chat-cta { display: inline-flex; align-items: center; gap: 8px; background: #1a1206; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 13.5px; font-weight: 700; transition: transform 0.14s; } + .dash-root .bento-chat:hover .bento-chat-cta { transform: translateX(3px); } + + /* team tile */ + .dash-root .bento-team { grid-area: team; display: flex; flex-direction: column; } + .dash-root .bento-team .team-list { overflow-y: auto; } + + /* mini tiles */ + .dash-root .bento-mini { position: relative; overflow: hidden; text-align: left; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; gap: 5px; min-height: 150px; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; } + .dash-root .bento-mini::before { content: ""; position: absolute; top: -45%; right: -25%; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); opacity: 0; transition: opacity 0.25s; pointer-events: none; } + .dash-root .bento-mini:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--card-hi), 0 16px 36px -22px color-mix(in srgb, var(--accent) 75%, #000); } + .dash-root .bento-mini:hover::before { opacity: 1; } + .dash-root .bento-mini-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); margin-bottom: 8px; } + .dash-root .bento-mini-title { font-size: 14.5px; font-weight: 700; } + .dash-root .bento-mini-desc { font-size: 12px; color: var(--muted); flex: 1; line-height: 1.45; } + .dash-root .bento-mini-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--accent); font-weight: 600; margin-top: 8px; } + + /* recent tickets */ + .dash-root .bento-recent { grid-area: recent; } + .dash-root .bento-ticket-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } + .dash-root .bento-ticket { text-align: left; cursor: pointer; font-family: inherit; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-2); display: flex; flex-direction: column; gap: 7px; transition: 0.14s; } + .dash-root .bento-ticket:hover { border-color: var(--border-2); background: var(--panel-3); transform: translateY(-2px); } + .dash-root .bento-ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; } + .dash-root .bento-ticket-subj { font-size: 13px; font-weight: 600; line-height: 1.35; } + .dash-root .bento-ticket-meta { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--faint); } + + @media (max-width: 1180px) { + .dash-root .support-bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "chat chat" "team team" "ticket call" "email help" "recent recent"; } + .dash-root .bento-ticket-row { grid-template-columns: repeat(2, 1fr); } + .dash-root .bento-team .team-list { max-height: none; } + } + @media (max-width: 680px) { + .dash-root .support-bento { grid-template-columns: 1fr; grid-template-areas: "chat" "team" "ticket" "call" "email" "help" "recent"; } + .dash-root .bento-ticket-row { grid-template-columns: 1fr; } + } + + /* ---- Support: channel cards (legacy) ---- */ + .dash-root .channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } + .dash-root .channel-card { text-align: left; position: relative; overflow: hidden; padding: 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--card-grad); box-shadow: var(--card-hi); cursor: pointer; font-family: inherit; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; display: flex; flex-direction: column; gap: 6px; } + .dash-root .channel-card::before { content: ""; position: absolute; top: -45%; right: -20%; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); opacity: 0; transition: opacity 0.25s; pointer-events: none; } + .dash-root .channel-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--card-hi), 0 18px 42px -22px color-mix(in srgb, var(--accent) 75%, #000); } + .dash-root .channel-card:hover::before { opacity: 1; } + .dash-root .channel-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); box-shadow: 0 8px 18px -9px color-mix(in srgb, var(--accent) 80%, transparent); margin-bottom: 4px; } + .dash-root .channel-status { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); text-transform: capitalize; } + .dash-root .channel-title { font-size: 15px; font-weight: 700; } + .dash-root .channel-desc { font-size: 12.5px; color: var(--muted); } + .dash-root .channel-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; } + .dash-root .channel-meta { font-size: 11.5px; color: var(--faint); } + .dash-root .channel-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--accent); } + + /* ---- Support team ---- */ + .dash-root .team-list { display: flex; flex-direction: column; gap: 4px; } + .dash-root .team-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); } + .dash-root .team-row:last-child { border-bottom: 0; } + .dash-root .team-txt { flex: 1; min-width: 0; } .dash-root .team-name { font-size: 13.5px; font-weight: 600; } .dash-root .team-role { font-size: 12px; color: var(--muted); } .dash-root .team-team { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--faint); margin-top: 2px; } + .dash-root .team-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--orange); } + + /* ---- Message Center ---- */ + .dash-root .msgctr { display: grid; grid-template-columns: 300px 1fr; height: 600px; } + .dash-root .msg-inbox { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; } + .dash-root .msg-inbox-head { display: flex; align-items: center; gap: 8px; padding: 16px 16px 12px; font-size: 14px; font-weight: 700; } + .dash-root .msg-inbox-list { flex: 1; overflow-y: auto; padding: 0 8px 8px; } + .dash-root .msg-thread { width: 100%; display: flex; gap: 10px; padding: 11px; border-radius: 12px; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; position: relative; transition: 0.12s; } + .dash-root .msg-thread:hover { background: var(--panel-2); } + .dash-root .msg-thread.active { background: var(--panel-2); } + .dash-root .msg-thread-txt { flex: 1; min-width: 0; } + .dash-root .msg-thread-top { display: flex; justify-content: space-between; gap: 6px; } .dash-root .msg-thread-name { font-size: 13px; font-weight: 600; } .dash-root .msg-thread-time { font-size: 10.5px; color: var(--faint); } + .dash-root .msg-thread-sub { font-size: 12px; color: var(--text-2); margin-top: 1px; } + .dash-root .msg-thread-prev { font-size: 11.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + .dash-root .typing-now { color: var(--orange); font-style: italic; } + .dash-root .msg-unread { position: absolute; right: 11px; bottom: 11px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 99px; display: grid; place-items: center; padding: 0 4px; } + .dash-root .msg-pin { position: absolute; right: 12px; top: 12px; color: var(--faint); } + .dash-root .msg-thread-pane { display: flex; flex-direction: column; min-height: 0; } + .dash-root .msg-pane-head { display: flex; align-items: center; gap: 11px; padding: 14px 18px; border-bottom: 1px solid var(--border); } + .dash-root .msg-pane-id { flex: 1; min-width: 0; } .dash-root .msg-pane-name { font-size: 14px; font-weight: 700; } .dash-root .msg-pane-sub { font-size: 12px; color: var(--muted); } + .dash-root .msg-stream { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; } + .dash-root .msg-stream.sm { max-height: 320px; } + .dash-root .bubble-row { display: flex; gap: 8px; align-items: flex-end; max-width: 78%; animation: ds-rise 0.2s ease; } + .dash-root .bubble-row.me { align-self: flex-end; flex-direction: row-reverse; } + .dash-root .bubble { padding: 9px 13px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); } + .dash-root .bubble p { margin: 0; font-size: 13px; line-height: 1.45; } + .dash-root .bubble-time { display: block; font-size: 10px; color: var(--faint); margin-top: 4px; } + .dash-root .bubble-row.me .bubble { background: var(--orange); border-color: transparent; color: #fff; } .dash-root .bubble-row.me .bubble-time { color: rgba(255, 255, 255, 0.72); } + .dash-root .bubble.typing { display: flex; gap: 4px; padding: 13px; } + .dash-root .bubble.typing .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: ds-bounce 1.2s infinite; } + .dash-root .bubble.typing .dot:nth-child(2) { animation-delay: 0.18s; } .dash-root .bubble.typing .dot:nth-child(3) { animation-delay: 0.36s; } + .dash-root .msg-compose { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-top: 1px solid var(--border); } + .dash-root .msg-compose .ds-input { flex: 1; } + + /* ---- New Ticket routing ---- */ + .dash-root .route-banner { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 11px; background: color-mix(in srgb, var(--blue) 9%, transparent); border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent); font-size: 12.5px; margin-bottom: 14px; animation: ds-rise 0.2s ease; } + .dash-root .route-banner svg { color: #6f9bff; } .dash-root .route-banner > span { flex: 1; } + .dash-root .route-list { display: flex; flex-direction: column; gap: 9px; } + .dash-root .route-item { display: flex; align-items: center; gap: 9px; font-size: 12px; } + .dash-root .route-cat { flex: 1; color: var(--text-2); } .dash-root .route-item svg { color: var(--faint); } .dash-root .route-dept { color: var(--muted); font-weight: 600; } + + /* ---- My Tickets table ---- */ + .dash-root .ticket-table { display: flex; flex-direction: column; } + .dash-root .ticket-row { display: grid; grid-template-columns: 2.2fr 1.3fr 0.9fr 1fr 1.1fr; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--border); background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; font-family: inherit; text-align: left; color: var(--text); cursor: pointer; transition: 0.12s; } + .dash-root button.ticket-row:hover { background: var(--panel-2); } + .dash-root .ticket-row.ticket-head { cursor: default; } + .dash-root .ticket-head span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); } + .dash-root .t-subject { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 600; } + .dash-root .t-id { font-size: 11px; color: var(--orange); font-weight: 700; } + .dash-root .t-dept { font-size: 12.5px; color: var(--muted); } + .dash-root .t-updated { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); justify-content: space-between; } + .dash-root .ticket-modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; } + .dash-root .lifecycle { display: flex; align-items: center; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; } + .dash-root .lc-step { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--faint); white-space: nowrap; } + .dash-root .lc-line { width: 26px; height: 2px; background: var(--border); } + .dash-root .lc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--track); border: 2px solid var(--border-2); } + .dash-root .lc-step.done { color: var(--text-2); } .dash-root .lc-step.done .lc-dot { background: var(--green); border-color: var(--green); } + .dash-root .lc-step.current .lc-dot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); } + + /* ---- Help Center ---- */ + .dash-root .help-search { display: flex; align-items: center; gap: 10px; padding: 4px 16px; height: 52px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--panel); margin-bottom: 18px; } + .dash-root .help-search > svg { color: var(--faint); } + .dash-root .help-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } + .dash-root .help-topic-card { padding: 0; overflow: hidden; --accent: var(--orange); } + .dash-root .help-topic-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; } + .dash-root .help-topic-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); flex: 0 0 auto; } + .dash-root .help-topic-txt { flex: 1; } .dash-root .help-topic-title { font-size: 14px; font-weight: 700; } .dash-root .help-topic-count { font-size: 11.5px; color: var(--muted); } + .dash-root .acc-chev { color: var(--faint); transition: transform 0.2s; } .dash-root .acc-chev.open { transform: rotate(180deg); } + .dash-root .help-acc-list { padding: 0 18px 10px; } + .dash-root .help-results { display: flex; flex-direction: column; } + .dash-root .help-acc { border-top: 1px solid var(--border); } + .dash-root .help-acc summary { display: flex; align-items: center; gap: 10px; padding: 13px 0; cursor: pointer; list-style: none; } + .dash-root .help-acc summary::-webkit-details-marker { display: none; } + .dash-root .help-q { flex: 1; font-size: 13px; font-weight: 600; } + .dash-root .help-acc summary .acc-chev { transition: transform 0.2s; } + .dash-root .help-acc[open] summary .acc-chev { transform: rotate(180deg); } + .dash-root .help-acc p { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.55; animation: ds-rise 0.2s ease; } + + /* ---- Live chat handshake ---- */ + .dash-root .chat-connecting { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 0; } + .dash-root .chat-radar { position: relative; display: grid; place-items: center; } + .dash-root .radar-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ds-radar 1.8s ease-out infinite; } + .dash-root .radar-ring.d2 { animation-delay: 0.9s; } + .dash-root .chat-connecting-txt { font-size: 14px; font-weight: 600; } .dash-root .chat-connecting-txt .dots span { animation: ds-bounce 1.2s infinite; display: inline-block; } .dash-root .chat-connecting-txt .dots span:nth-child(2){ animation-delay: 0.18s; } .dash-root .chat-connecting-txt .dots span:nth-child(3){ animation-delay: 0.36s; } + .dash-root .livechat-joined { display: flex; align-items: center; gap: 7px; justify-content: center; font-size: 12px; color: var(--muted); padding: 6px 0 10px; } + + /* ---- phone input / callback ---- */ + .dash-root .phone-input { display: flex; gap: 8px; } + .dash-root .phone-input .cc { width: 110px; flex: 0 0 auto; } + .dash-root .phone-input .ds-input { flex: 1; border: 1px solid var(--border-2); background: var(--panel-2); padding: 0 13px; } + .dash-root .cb-slots { display: flex; flex-direction: column; gap: 8px; } + .dash-root .cb-slot { display: flex; justify-content: space-between; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--border-2); background: var(--panel-2); cursor: pointer; font-family: inherit; color: var(--text); transition: 0.14s; } + .dash-root .cb-slot.active { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 9%, transparent); } + .dash-root .cb-slot-l { font-size: 13px; font-weight: 600; } .dash-root .cb-slot-r { font-size: 12px; color: var(--muted); } + + /* ---- Rules grid (uniform brand-orange cards) ---- */ + .dash-root .rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; } + .dash-root .rule-card { position: relative; overflow: hidden; display: flex; flex-direction: column; --accent: var(--orange); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; } + .dash-root .rule-watermark { position: absolute; right: 8px; bottom: -22px; font-size: 120px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: color-mix(in srgb, var(--accent) 12%, transparent); pointer-events: none; user-select: none; } + .dash-root .rule-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; position: relative; z-index: 1; } + .dash-root .rule-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent); } + .dash-root .rule-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 18px 42px -24px color-mix(in srgb, var(--accent) 70%, #000); } + .dash-root .rule-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; letter-spacing: -0.01em; } + .dash-root .rule-detail { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0; position: relative; z-index: 1; } + .dash-root .rule-foot { display: flex; align-items: center; gap: 7px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border); font-size: 11px; font-weight: 600; color: var(--accent); position: relative; z-index: 1; } + + /* ---- responsive ---- */ + @media (max-width: 1180px) { + .dash-root .grid-side, .dash-root .consent-cols, .dash-root .channel-grid, .dash-root .help-topics, .dash-root .grid-2 { grid-template-columns: 1fr; } + .dash-root .rules-grid { grid-template-columns: repeat(2, 1fr); } + .dash-root .msgctr { grid-template-columns: 1fr; height: auto; } + .dash-root .msg-inbox { border-right: 0; border-bottom: 1px solid var(--border); max-height: 280px; } + } + @media (max-width: 680px) { + .dash-root .rules-grid { grid-template-columns: 1fr; } + } + @media (max-width: 720px) { + .dash-root .notif-row { grid-template-columns: 1fr; gap: 10px; } + .dash-root .notif-head { display: none; } + .dash-root .ticket-row { grid-template-columns: 1fr; gap: 6px; } + .dash-root .ticket-head { display: none; } + .dash-root .pw-checks, .dash-root .time-windows { grid-template-columns: 1fr; } + .dash-root .profile-hero-stats { padding-left: 0; border-top: 1px solid var(--border); padding-top: 14px; width: 100%; } + } + + /* =========================================================== */ + /* Glass box treatment — every card wrapped in a brand-brown */ + /* border over a translucent black, blurred (dark theme). */ + /* =========================================================== */ + .dash-root[data-theme="dark"] .card { + background: rgba(0, 0, 0, 0.54); + border: 0.5px solid #452B1A; + -webkit-backdrop-filter: blur(2px); + backdrop-filter: blur(2px); + border-radius: 20px; + } + .dash-root[data-theme="dark"] .ds-modal, + .dash-root[data-theme="dark"] .tm-menu-pop { + border: 0.5px solid #452B1A; + border-radius: 20px; + } + + /* =========================================================== */ + /* Team Management */ + /* =========================================================== */ + .dash-root .tm { display: flex; flex-direction: column; gap: 18px; } + + /* ---- Crew hero ---- */ + .dash-root .tm-hero { position: relative; overflow: hidden; border-radius: 24px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 0.5px solid #452B1A; background: var(--panel); } + .dash-root[data-theme="light"] .tm-hero { border: 1px solid var(--border); } + .dash-root .tm-hero-orbs { position: absolute; inset: 0; pointer-events: none; background: + radial-gradient(42% 120% at 92% -20%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 60%), + radial-gradient(40% 120% at 8% 130%, rgba(255,255,255,0.05), transparent 62%); } + .dash-root .tm-hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; + background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); + background-size: 30px 30px; -webkit-mask-image: radial-gradient(70% 120% at 80% 0%, #000, transparent 70%); mask-image: radial-gradient(70% 120% at 80% 0%, #000, transparent 70%); } + .dash-root .tm-hero-main { position: relative; display: flex; align-items: center; gap: 22px; min-width: 0; } + .dash-root .tm-stack { display: flex; align-items: center; flex: 0 0 auto; } + .dash-root .tm-stack-av { margin-left: -14px; border-radius: 50%; box-shadow: 0 0 0 3px var(--panel); transition: 0.18s; } + .dash-root .tm-stack-av:first-child { margin-left: 0; } + .dash-root .tm-stack-av:hover { transform: translateY(-5px); z-index: 20 !important; } + .dash-root .tm-stack-more { margin-left: -14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: var(--grad-brand); box-shadow: 0 0 0 3px var(--panel); } + .dash-root .tm-hero-copy { min-width: 0; } + .dash-root .tm-hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); } + .dash-root .tm-hero-copy h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 4px; } + .dash-root .tm-hero-copy p { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 460px; } + .dash-root .tm-hero-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--text-2); font-weight: 600; } + .dash-root .tm-hero-live b { color: var(--green); } + .dash-root .tm-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: tm-pulse 1.8s infinite; } + .dash-root .tm-hero-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin: 0 4px; } + .dash-root .tm-hero-actions { position: relative; flex: 0 0 auto; } + @keyframes tm-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } } + + /* ---- Metric strip ---- */ + .dash-root .tm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } + .dash-root .card.tm-stat { display: flex; flex-direction: column; gap: 16px; padding: 20px; position: relative; overflow: hidden; transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; } + .dash-root .card.tm-stat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc) 42%, var(--border)) !important; box-shadow: 0 22px 44px -28px color-mix(in srgb, var(--rc) 80%, #000); } + .dash-root .card.tm-stat::after { content: ""; position: absolute; top: -40%; right: -20%; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 20%, transparent), transparent 70%); opacity: 0; transition: opacity 0.25s; pointer-events: none; } + .dash-root .card.tm-stat:hover::after { opacity: 1; } + .dash-root .tm-stat-head { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; } + .dash-root .tm-stat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; color: var(--rc); background: color-mix(in srgb, var(--rc) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 30%, transparent); } + .dash-root .tm-stat-body { min-width: 0; } + .dash-root .tm-stat-val { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; } + .dash-root .tm-stat-lbl { font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-top: 6px; } + .dash-root .tm-stat-bar { display: block; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--rc) 16%, transparent); overflow: hidden; position: relative; z-index: 1; } + .dash-root .tm-stat-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--rc); } + .dash-root .tm-stat-foot { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--faint); padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto; position: relative; z-index: 1; } + .dash-root .tm-stat-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; background: var(--rc); } + + /* ---- Tabs ---- */ + .dash-root .tm-tabs { display: flex; gap: 8px; flex-wrap: wrap; } + .dash-root .tm-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.14s; } + .dash-root .tm-tab:hover { color: var(--text); border-color: color-mix(in srgb, var(--orange) 40%, var(--border-2)); } + .dash-root .tm-tab.active { color: #fff; background: rgba(253, 169, 19, 0.92); border-color: transparent; box-shadow: var(--glow-orange); } + .dash-root .tm-tab.active svg { color: #fff; } + .dash-root .tm-tab-badge { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 800; background: color-mix(in srgb, var(--text) 12%, transparent); color: var(--text-2); } + .dash-root .tm-tab.active .tm-tab-badge { background: rgba(255,255,255,0.26); color: #fff; } + + /* Brand action — solid orange (no gradient) + white text/icon */ + .dash-root .tm .ds-btn.v-primary { background: rgba(253, 169, 19, 0.92); color: #fff; border-radius: 9.132px; box-shadow: 0 8px 20px -10px rgba(253, 169, 19, 0.75); } + .dash-root .tm .ds-btn.v-primary svg { color: #fff; } + .dash-root .tm .ds-btn.v-primary:not(:disabled):hover { background: rgba(253, 169, 19, 1); } + + .dash-root .view-body { display: flex; flex-direction: column; gap: 14px; } + + .dash-root .tm-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } + .dash-root .tm-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; height: 44px; padding: 0 13px; border-radius: 13px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--muted); transition: 0.14s; } + .dash-root .tm-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); color: var(--orange); } + .dash-root .tm-search .ds-input { flex: 1; } + .dash-root .tm-search-x { border: 0; background: none; color: var(--faint); cursor: pointer; display: grid; place-items: center; padding: 2px; border-radius: 6px; } + .dash-root .tm-search-x:hover { color: var(--text); background: var(--panel-3); } + .dash-root .tm-viewtoggle { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--panel-2); } + .dash-root .tm-viewtoggle button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; } + .dash-root .tm-viewtoggle button:hover { color: var(--text); } + .dash-root .tm-viewtoggle button.on { background: var(--grad-brand); color: #fff; } + + /* ---- Role filter chips ---- */ + .dash-root .tm-chips { display: flex; flex-wrap: wrap; gap: 8px; } + .dash-root .tm-chip { --rc: var(--text-2); display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--text-2); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: 0.14s; } + .dash-root .tm-chip:hover { border-color: color-mix(in srgb, var(--rc) 55%, var(--border-2)); } + .dash-root .tm-chip.on { color: var(--rc); border-color: color-mix(in srgb, var(--rc) 55%, transparent); background: color-mix(in srgb, var(--rc) 13%, transparent); } + .dash-root .tm-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; } + .dash-root .tm-chip i { font-style: normal; font-weight: 800; opacity: 0.7; } + + /* ---- People gallery ---- */ + .dash-root .tm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 14px; } + .dash-root .card.tm-pcard { position: relative; overflow: hidden; padding: 18px; display: flex; flex-direction: column; transition: 0.18s; --rc: var(--orange); } + .dash-root .card.tm-pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc) 50%, var(--border)) !important; box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--rc) 85%, #000); } + .dash-root .tm-pcard-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--rc) 16%, transparent), transparent 60%); opacity: 0; transition: 0.18s; } + .dash-root .card.tm-pcard:hover .tm-pcard-bg { opacity: 1; } + .dash-root .tm-pcard-top { display: flex; align-items: flex-start; justify-content: space-between; position: relative; } + .dash-root .tm-pcard-av { position: relative; border-radius: 50%; padding: 3px; background: color-mix(in srgb, var(--rc) 65%, transparent); } + .dash-root .tm-pcard-name { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin-top: 13px; } + .dash-root .tm-crown { color: var(--orange); display: inline-grid; place-items: center; } + .dash-root .tm-pcard-title { font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-top: 3px; } + .dash-root .tm-pcard-email { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } + .dash-root .tm-pcard-email svg { color: var(--faint); flex: 0 0 auto; } + .dash-root .tm-pcard-role { margin-top: 14px; } + .dash-root .tm-meter { margin-top: 14px; } + .dash-root .tm-meter-h { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--faint); margin-bottom: 6px; } + .dash-root .tm-meter-h b { color: var(--text); font-size: 12px; font-weight: 800; } + .dash-root .tm-meter-track { display: block; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--rc) 14%, transparent); overflow: hidden; } + .dash-root .tm-meter-fill { display: block; height: 100%; border-radius: 99px; background: var(--rc); transition: width 0.5s cubic-bezier(0.2,0.7,0.2,1); } + .dash-root .tm-pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--border); } + + .dash-root .tm-table { display: flex; flex-direction: column; } + .dash-root .tm-row { display: grid; grid-template-columns: minmax(220px, 2.4fr) 210px 190px 110px 52px; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--border); } + .dash-root .tm-row:last-child { border-bottom: 0; } + .dash-root .tm-head { padding-top: 12px; padding-bottom: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); background: var(--panel-2); } + .dash-root .tm-row:not(.tm-head):hover { background: color-mix(in srgb, var(--panel-2) 60%, transparent); } + .dash-root .tm-member { display: flex; align-items: center; gap: 12px; min-width: 0; } + .dash-root .tm-member-meta { min-width: 0; } + .dash-root .tm-name { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; } + .dash-root .tm-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } + .dash-root .tm-c-num { text-align: right; font-size: 14px; } + .dash-root .tm-c-num b { font-weight: 800; } + .dash-root .tm-dash { color: var(--faint); } + .dash-root .tm-c-act { display: flex; justify-content: center; position: relative; } + + .dash-root .tm-rolebadge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 32%, transparent); white-space: nowrap; } + .dash-root .tm-roleselect { position: relative; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 11px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--panel-2); transition: 0.14s; } + .dash-root .tm-roleselect:hover { border-color: color-mix(in srgb, var(--rc) 55%, transparent); } + .dash-root .tm-roledot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--rc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc) 22%, transparent); } + .dash-root .tm-roleselect .ds-select { border: 0; background-color: transparent; height: 34px; padding: 0 26px 0 0; font-weight: 600; font-size: 12.5px; box-shadow: none; background-position: calc(100% - 6px) 15px, calc(100% - 1px) 15px; } + .dash-root .tm-roleselect .ds-select:focus { box-shadow: none; } + + .dash-root .tm-statuscell { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; } + .dash-root .tm-lastactive { color: var(--faint); font-weight: 500; font-size: 11.5px; margin-left: 2px; } + + .dash-root .tm-menu-lock { color: var(--faint); display: grid; place-items: center; } + .dash-root .tm-menu-pop { position: absolute; top: 38px; right: 0; z-index: 30; min-width: 178px; padding: 6px; border-radius: 13px; border: 1px solid var(--border-2); background: var(--panel); box-shadow: var(--shadow), 0 8px 30px -12px rgba(0,0,0,0.6); animation: ds-rise 0.14s ease; } + .dash-root .tm-menu-scrim { position: fixed; inset: 0; z-index: 20; } + .dash-root .tm-menu-pop button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; } + .dash-root .tm-menu-pop button:hover { background: var(--panel-2); color: var(--text); } + .dash-root .tm-menu-pop button.danger { color: var(--red); } + .dash-root .tm-menu-pop button.danger:hover { background: color-mix(in srgb, var(--red) 14%, transparent); } + .dash-root .tm-menu-sep { height: 1px; background: var(--border); margin: 5px 4px; } + + .dash-root .tm-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 54px 20px; color: var(--muted); text-align: center; } + .dash-root .tm-empty-ic { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; color: var(--orange); background: color-mix(in srgb, var(--orange) 13%, transparent); } + .dash-root .tm-empty p { font-size: 13px; } + + .dash-root .tm-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; } + .dash-root .tm-rolecard { position: relative; overflow: hidden; --rc: var(--orange); } + .dash-root .tm-rolecard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--rc); } + .dash-root .tm-rolecard-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; } + .dash-root .tm-ring { position: relative; width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: conic-gradient(var(--rc) calc(var(--pct) * 1%), color-mix(in srgb, var(--rc) 16%, transparent) 0); } + .dash-root .tm-ring-in { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--rc); background: var(--panel); } + .dash-root[data-theme="dark"] .tm-ring-in { background: #14110d; } + .dash-root .tm-rolecard-name { font-size: 15px; font-weight: 800; display: flex; align-items: center; } + .dash-root .tm-rolecard-sub { font-size: 12px; color: var(--muted); margin-top: 2px; } + .dash-root .tm-rolecard-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; } + .dash-root .tm-permgroup { margin-bottom: 14px; } + .dash-root .tm-permgroup:last-child { margin-bottom: 0; } + .dash-root .tm-permgroup-h { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); margin-bottom: 8px; } + .dash-root .tm-perm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border-radius: 11px; border: 1px solid transparent; transition: 0.14s; } + .dash-root .tm-perm:hover { background: var(--panel-2); } + .dash-root .tm-perm.on { background: color-mix(in srgb, var(--rc) 8%, transparent); border-color: color-mix(in srgb, var(--rc) 22%, transparent); } + .dash-root .tm-perm-meta { min-width: 0; } + .dash-root .tm-perm-label { display: block; font-size: 12.5px; font-weight: 600; } + .dash-root .tm-perm-desc { display: block; font-size: 11px; color: var(--faint); margin-top: 2px; } + + .dash-root .tm-invite-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); } + .dash-root .tm-invite-head h3 { font-size: 14.5px; font-weight: 700; } + .dash-root .tm-invite-head p { font-size: 12px; color: var(--muted); margin-top: 2px; } + .dash-root .tm-invites { display: flex; flex-direction: column; } + .dash-root .tm-inviterow { display: flex; align-items: center; gap: 13px; padding: 14px 20px; border-bottom: 1px solid var(--border); } + .dash-root .tm-inviterow:last-child { border-bottom: 0; } + .dash-root .tm-invite-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); } + .dash-root .tm-invite-meta { flex: 1; min-width: 0; } + .dash-root .tm-invite-actions { display: flex; gap: 8px; } + + .dash-root .tm-form { display: flex; flex-direction: column; } + .dash-root .tm-roleprev { border-radius: 13px; border: 1px solid color-mix(in srgb, var(--rc) 30%, transparent); background: color-mix(in srgb, var(--rc) 8%, transparent); padding: 13px 15px; --rc: var(--blue); } + .dash-root .tm-roleprev-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; } + .dash-root .tm-roleprev-count { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); } + .dash-root .tm-roleprev p { font-size: 12px; color: var(--muted); margin: 7px 0 0; line-height: 1.5; } + .dash-root .tm-edit-hero { display: flex; align-items: center; gap: 14px; padding: 4px 0 16px; } + .dash-root .tm-confirm-text { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; } + + /* =========================================================== */ + /* AI Assistant — Lynk AI */ + /* =========================================================== */ + .dash-root .ai-view { display: flex; flex-direction: column; gap: 16px; height: calc(100vh - 168px); min-height: 520px; } + .dash-root .ai-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; } + .dash-root .ai-head-l { display: flex; align-items: center; gap: 13px; } + .dash-root .ai-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--orange) 80%, transparent); } + .dash-root .ai-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); } + .dash-root .ai-head h1 { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; } + .dash-root .ai-head-actions { display: flex; align-items: center; gap: 10px; } + .dash-root .ai-model { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--panel-2); font-size: 12px; font-weight: 600; color: var(--muted); } + .dash-root .ai-model-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); } + + .dash-root .ai-stage { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; } + .dash-root .ai-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; + background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 22px 22px; + -webkit-mask-image: radial-gradient(60% 55% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 0%, #000, transparent 75%); } + .dash-root .ai-scroll { position: relative; z-index: 1; flex: 1; min-height: 0; overflow-y: auto; padding: 26px; } + .dash-root .ai-scroll::-webkit-scrollbar { width: 9px; } + .dash-root .ai-scroll::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; } + + .dash-root .ai-hero { max-width: 720px; margin: 0 auto; padding: 18px 0 6px; text-align: center; display: flex; flex-direction: column; align-items: center; } + .dash-root .ai-orb-wrap { position: relative; width: 84px; height: 84px; display: grid; place-items: center; } + .dash-root .ai-orb-ring { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 28px; border: 1.5px solid color-mix(in srgb, var(--orange) 50%, transparent); animation: ai-orbring 3s ease-out infinite; } + .dash-root .ai-orb-ring.d2 { animation-delay: 1s; } + .dash-root .ai-orb-ring.d3 { animation-delay: 2s; } + @keyframes ai-orbring { 0% { transform: scale(1); opacity: 0.65; } 100% { transform: scale(2.1); opacity: 0; } } + .dash-root .ai-hero-orb { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; color: #fff; background: rgba(253, 169, 19, 0.92); box-shadow: 0 18px 50px -14px color-mix(in srgb, var(--orange) 78%, transparent), 0 0 0 1px color-mix(in srgb, var(--orange) 40%, transparent); animation: ai-float 4s ease-in-out infinite; } + .dash-root .ai-hero h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-top: 20px; } + .dash-root .ai-hero > p { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 480px; margin: 10px auto 0; } + .dash-root .ai-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 28px; } + .dash-root .ai-cap { --rc: var(--orange); text-align: left; display: flex; flex-direction: column; gap: 5px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--panel-2); cursor: pointer; transition: 0.16s; } + .dash-root .ai-cap:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--rc) 50%, transparent); box-shadow: 0 18px 38px -22px color-mix(in srgb, var(--rc) 80%, #000); } + .dash-root .ai-cap-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--rc); background: color-mix(in srgb, var(--rc) 15%, transparent); margin-bottom: 4px; } + .dash-root .ai-cap-title { font-size: 13.5px; font-weight: 700; } + .dash-root .ai-cap-desc { font-size: 12px; color: var(--muted); line-height: 1.45; } + .dash-root .ai-suggest { width: 100%; margin-top: 26px; } + .dash-root .ai-suggest-lbl { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 11px; } + .dash-root .ai-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; } + .dash-root .ai-chip, .dash-root .ai-quick { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--text-2); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: 0.14s; } + .dash-root .ai-chip:hover, .dash-root .ai-quick:hover { border-color: var(--orange); color: var(--text); background: color-mix(in srgb, var(--orange) 10%, var(--panel-2)); } + .dash-root .ai-chip svg, .dash-root .ai-quick svg { color: var(--orange); flex: 0 0 auto; } + + .dash-root .ai-thread { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; } + .dash-root .ai-msg { display: flex; gap: 11px; align-items: flex-start; } + .dash-root .ai-msg.me { flex-direction: row-reverse; } + .dash-root .ai-msg-av { width: 32px; height: 32px; border-radius: 10px; flex: 0 0 auto; } + .dash-root .ai-bubble { max-width: 78%; padding: 12px 15px; border-radius: 16px; border: 1px solid var(--border); background: var(--panel-2); font-size: 13.5px; line-height: 1.6; } + .dash-root .ai-bubble p { margin: 0; } + .dash-root .ai-bubble p + p { margin-top: 5px; } + .dash-root .ai-msg.me .ai-bubble { background: var(--grad-brand); color: #fff; border-color: transparent; border-bottom-right-radius: 5px; font-weight: 500; } + .dash-root .ai-msg.ai .ai-bubble { border-bottom-left-radius: 5px; } + .dash-root .ai-msg-actions { display: flex; gap: 4px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--border); } + .dash-root .ai-msg-actions button { width: 26px; height: 26px; border-radius: 8px; border: 0; background: none; color: var(--faint); display: grid; place-items: center; cursor: pointer; transition: 0.14s; } + .dash-root .ai-msg-actions button:hover { background: var(--panel-3); color: var(--text); } + .dash-root .ai-typing { display: inline-flex; gap: 5px; align-items: center; } + .dash-root .ai-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: ai-blink 1.2s infinite ease-in-out; } + .dash-root .ai-typing span:nth-child(2) { animation-delay: 0.18s; } + .dash-root .ai-typing span:nth-child(3) { animation-delay: 0.36s; } + + .dash-root .ai-composer { border-top: 1px solid var(--border); padding: 14px 18px 12px; background: color-mix(in srgb, var(--panel-2) 40%, transparent); } + .dash-root .ai-quickrow { display: flex; gap: 8px; margin-bottom: 11px; overflow-x: auto; padding-bottom: 2px; } + .dash-root .ai-quickrow::-webkit-scrollbar { height: 0; } + .dash-root .ai-quick { white-space: nowrap; } + .dash-root .ai-inputbar { display: flex; align-items: flex-end; gap: 9px; padding: 7px 7px 7px 11px; border-radius: 16px; border: 1px solid var(--border-2); background: var(--panel); transition: 0.14s; } + .dash-root .ai-inputbar:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px var(--ring); } + .dash-root .ai-attach { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: 0.14s; } + .dash-root .ai-attach:hover { background: var(--panel-3); color: var(--text); } + .dash-root .ai-textarea { flex: 1; resize: none; border: 0; background: none; outline: none; color: var(--text); font-family: inherit; font-size: 13.5px; line-height: 1.5; max-height: 132px; padding: 8px 0; } + .dash-root .ai-textarea::placeholder { color: var(--faint); } + .dash-root .ai-send { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: var(--grad-brand); box-shadow: 0 8px 20px -9px color-mix(in srgb, var(--orange) 80%, transparent); transition: 0.14s; } + .dash-root .ai-send:not(:disabled):hover { filter: brightness(1.08); transform: translateY(-1px); } + .dash-root .ai-send:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; } + .dash-root .ai-foot { text-align: center; font-size: 11px; color: var(--faint); margin-top: 9px; } + + @keyframes ai-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } } + @keyframes ai-blink { 0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1); } } + + @media (max-width: 920px) { + .dash-root .tm-stats { grid-template-columns: 1fr 1fr; } + .dash-root .tm-hero { padding: 22px; } + .dash-root .tm-hero-actions { width: 100%; } + .dash-root .tm-hero-actions .ds-btn { width: 100%; } + .dash-root .tm-head { display: none; } + .dash-root .tm-row { grid-template-columns: 1fr auto; row-gap: 10px; padding: 14px 16px; } + .dash-root .tm-member { grid-column: 1 / -1; } + .dash-root .tm-rolecell { grid-column: 1; } + .dash-root .tm-c-act { grid-column: 2; grid-row: 2; } + .dash-root .tm-statuscell { grid-column: 1 / -1; } + .dash-root .tm-c-num { grid-column: 1 / -1; text-align: left; } + .dash-root .tm-c-num::before { content: "Open deals: "; color: var(--faint); font-size: 12px; } + .dash-root .ai-caps { grid-template-columns: 1fr; } + .dash-root .ai-bubble { max-width: 86%; } + .dash-root .ai-view { height: calc(100vh - 150px); } + } + \ No newline at end of file diff --git a/src/components/dashboard/ai-assistant.tsx b/src/components/dashboard/ai-assistant.tsx new file mode 100644 index 0000000..f38053b --- /dev/null +++ b/src/components/dashboard/ai-assistant.tsx @@ -0,0 +1,201 @@ +"use client"; + +// ============================================================ +// AI Assistant — "Lynk AI", a creative conversational copilot. +// · Empty state : warm greeting, capability cards, prompt chips +// · Active chat : message thread with a typing indicator and a +// simulated, keyword-aware assistant reply +// · Composer : auto-suggesting prompt row + send / new chat +// All responses are canned + client-side so it demos with no API. +// ============================================================ + +import { useEffect, useRef, useState } from "react"; +import { user } from "./account-data"; +import { Avatar, Btn, Icon, Pill, useToast } from "./ui"; + +type Msg = { id: number; from: "me" | "ai"; text: string }; + +const CAPABILITIES = [ + { icon: "leads", tone: "var(--orange)", title: "Qualify leads", desc: "Score and summarise new leads, draft the first outreach." }, + { icon: "estimates", tone: "var(--blue)", title: "Build estimates", desc: "Turn scope notes into a clean, line-itemed proposal." }, + { icon: "schedule", tone: "var(--green)", title: "Plan the week", desc: "Suggest a crew schedule around weather and priorities." }, + { icon: "leaderboard", tone: "var(--purple)", title: "Analyse pipeline", desc: "Spot stalled deals and where revenue is leaking." }, +]; + +const PROMPTS = [ + { icon: "leads", text: "Summarise my new leads from this week" }, + { icon: "estimates", text: "Draft an estimate for a 28-square asphalt reroof" }, + { icon: "storm", text: "Which territories were hit by the last storm?" }, + { icon: "pipeline", text: "Show deals stuck in the pipeline over 14 days" }, +]; + +let msgSeq = 1; + +export function AiAssistant() { + const toast = useToast(); + const [messages, setMessages] = useState([]); + const [draft, setDraft] = useState(""); + const [typing, setTyping] = useState(false); + const scrollRef = useRef(null); + const timer = useRef | null>(null); + + const started = messages.length > 0; + + useEffect(() => { + scrollRef.current?.scrollTo({ top: scrollRef.current.scrollHeight, behavior: "smooth" }); + }, [messages, typing]); + + useEffect(() => () => { if (timer.current) clearTimeout(timer.current); }, []); + + function send(text: string) { + const body = text.trim(); + if (!body || typing) return; + setMessages((m) => [...m, { id: msgSeq++, from: "me", text: body }]); + setDraft(""); + setTyping(true); + timer.current = setTimeout(() => { + setMessages((m) => [...m, { id: msgSeq++, from: "ai", text: replyFor(body) }]); + setTyping(false); + }, 1100); + } + + function reset() { + if (timer.current) clearTimeout(timer.current); + setMessages([]); setDraft(""); setTyping(false); + } + + return ( +
+
+
+ +
+
LynkedUp Pro
+

Lynk AI Beta

+
+
+
+ Opus 4.8 + {started && New chat} +
+
+ +
+
+ {!started ? ( +
+
+ + + + +
+

{greeting()}, {user.firstName}.

+

I'm your roofing copilot. Ask me to summarise leads, draft estimates, plan crews or dig into your pipeline.

+ +
+ {CAPABILITIES.map((c) => ( + + ))} +
+ +
+ Try asking +
+ {PROMPTS.map((p) => ( + + ))} +
+
+
+ ) : ( +
+ {messages.map((m) => ( +
+ {m.from === "ai" + ? + : } +
+ {m.text.split("\n").map((line, i) =>

{line}

)} + {m.from === "ai" && ( +
+ + +
+ )} +
+
+ ))} + {typing && ( +
+ +
+
+ )} +
+ )} +
+ +
+ {started && ( +
+ {PROMPTS.slice(0, 3).map((p) => ( + + ))} +
+ )} +
+ +