/* ========================================================
   Suryam — Solar Vendor OS
   Energetic + solar-themed design system
   ======================================================== */

:root {
  /* Solar palette */
  --sun-50:  #FFF8EB;
  --sun-100: #FFEFCC;
  --sun-200: #FFDF99;
  --sun-300: #FFC85C;
  --sun-400: #FFAE1F;
  --sun-500: #F59E0B;   /* primary */
  --sun-600: #D97706;
  --sun-700: #B45309;
  --sun-800: #92400E;
  --sun-900: #7C2D12;

  --ember-500: #EA580C; /* deep orange accent */
  --ember-600: #C2410C;

  --ink-50:  #FAF7F2;
  --ink-100: #F2EDE3;
  --ink-200: #E5DDCB;
  --ink-300: #C9BFA8;
  --ink-400: #8A8170;
  --ink-500: #5B5547;
  --ink-600: #3F3A2E;
  --ink-700: #2A2620;
  --ink-800: #1B1813;
  --ink-900: #110F0B;

  --cream: #FFFBF3;
  --paper: #FFFFFF;
  --warm-line: #F0E9DA;
  --warm-line-2: #E8DFCB;

  --ok-500:    #16A34A;
  --info-500:  #0284C7;
  --warn-500:  #DC2626;

  /* Functional */
  --bg-app: var(--cream);
  --bg-panel: var(--paper);
  --text: var(--ink-800);
  --text-mute: var(--ink-500);
  --text-soft: var(--ink-400);
  --border: var(--warm-line);
  --border-strong: var(--warm-line-2);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Shadows — warm */
  --shadow-sm: 0 1px 0 rgba(124, 45, 18, 0.04), 0 1px 2px rgba(124, 45, 18, 0.06);
  --shadow-md: 0 2px 4px rgba(124, 45, 18, 0.05), 0 8px 24px -8px rgba(124, 45, 18, 0.12);
  --shadow-lg: 0 8px 16px rgba(124, 45, 18, 0.06), 0 24px 48px -16px rgba(124, 45, 18, 0.18);
  --shadow-sun: 0 0 0 1px rgba(245, 158, 11, 0.18), 0 12px 40px -8px rgba(245, 158, 11, 0.42);

  --grad-sun: linear-gradient(135deg, #FFC85C 0%, #F59E0B 45%, #EA580C 100%);
  --grad-soft: linear-gradient(180deg, #FFF8EB 0%, #FFFBF3 100%);
  --grad-ink: linear-gradient(180deg, #2A2620 0%, #1B1813 100%);

  --sidebar-w: 232px;
  --topbar-h: 60px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink-900);
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: "tnum"; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: transparent; padding: 0; }

a { color: inherit; text-decoration: none; }

/* ================== layout ================== */
.app {
  min-height: 100vh;
  background: var(--bg-app);
}

/* ================== buttons ================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border-radius: var(--r-md);
  font-weight: 600; font-size: 13px;
  letter-spacing: -0.005em;
  transition: transform 0.06s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad-sun);
  color: white;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { box-shadow: var(--shadow-sun); }

.btn-dark {
  background: var(--ink-900); color: white;
}
.btn-dark:hover { background: var(--ink-700); }

.btn-ghost {
  background: transparent; color: var(--text);
}
.btn-ghost:hover { background: var(--ink-100); }

.btn-outline {
  background: var(--paper); color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--ink-50); border-color: var(--ink-300); }

.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14px; border-radius: 12px; }

.icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--text-mute);
}
.icon-btn:hover { background: var(--ink-100); color: var(--text); }

/* ================== inputs ================== */
.field {
  display: block; width: 100%;
  height: 38px; padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  transition: border 0.1s, box-shadow 0.1s;
}
.field:focus { outline: none; border-color: var(--sun-500); box-shadow: 0 0 0 3px rgba(245,158,11,0.15); }
textarea.field { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; }
.field-label { display:block; font-size: 12px; font-weight: 600; color: var(--text-mute); margin-bottom: 6px; }

/* ================== card ================== */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 18px; }

/* ================== chips/badges ================== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  border-radius: 6px;
  font-size: 11px; font-weight: 600;
  background: var(--ink-100); color: var(--ink-700);
  letter-spacing: 0.01em;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-sun { background: var(--sun-100); color: var(--sun-800); }
.chip-ember { background: #FFE4D2; color: #9A3412; }
.chip-ok { background: #DCFCE7; color: #166534; }
.chip-info { background: #DBEAFE; color: #1E40AF; }
.chip-warn { background: #FECACA; color: #991B1B; }
.chip-mute { background: var(--ink-100); color: var(--ink-600); }

/* ================== tables ================== */
.table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 13px;
}
.table th {
  text-align: left; font-weight: 600; font-size: 11px;
  color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--ink-50);
}
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: 0; }
.table tr.row-hover:hover td { background: var(--ink-50); cursor: pointer; }

/* ================== sun mark logo ================== */
.sun-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad-sun);
  position: relative;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15), 0 8px 18px -4px rgba(234,88,12,0.4);
  flex: 0 0 28px;
}
.sun-mark::before, .sun-mark::after {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--sun-400);
  opacity: 0.6;
}
.sun-mark::after { inset: -12px; border-color: var(--sun-300); opacity: 0.4; }
.sun-mark.lg { width: 40px; height: 40px; flex-basis: 40px; }
.sun-mark.xl { width: 56px; height: 56px; flex-basis: 56px; }

/* ================== sidebar ================== */
.sidebar {
  width: var(--sidebar-w);
  background: var(--ink-900);
  color: var(--ink-200);
  display: flex; flex-direction: column;
  position: fixed; inset: 0 auto 0 0;
  padding: 14px 12px;
  border-right: 1px solid var(--ink-700);
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
}
.sidebar-brand .name {
  font-family: 'Sora'; font-weight: 700; font-size: 16px; color: white;
  letter-spacing: -0.01em;
}
.sidebar-brand .sub { font-size: 10px; color: var(--ink-300); letter-spacing: 0.06em; text-transform: uppercase; }
.nav-section { font-size: 10px; font-weight: 700; color: var(--ink-400); letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 10px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-200);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  position: relative;
}
.nav-item:hover { background: rgba(255,255,255,0.04); color: white; }
.nav-item.active {
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(234,88,12,0.12));
  color: white;
}
.nav-item.active::before {
  content: ''; position: absolute; left: -12px; top: 6px; bottom: 6px; width: 3px;
  background: var(--sun-500); border-radius: 0 3px 3px 0;
}
.nav-item .nav-ic { width: 16px; height: 16px; opacity: 0.9; }
.nav-item .badge { margin-left: auto; font-size: 10px; background: var(--sun-500); color: var(--ink-900); padding: 1px 6px; border-radius: 10px; font-weight: 700; }

.sidebar-bottom { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }

/* ================== topbar ================== */
.shell-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.topbar {
  height: var(--topbar-h);
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 10;
}
.topbar .crumb { color: var(--text-soft); font-size: 13px; }
.topbar .crumb b { color: var(--text); font-weight: 600; }
.topbar-search {
  flex: 0 1 360px; height: 34px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; background: var(--ink-50); border-radius: 8px;
  color: var(--text-soft); font-size: 13px;
  margin-left: auto;
}
.topbar-search input { background: transparent; border: 0; outline: 0; flex: 1; }
.shell-content { flex: 1; padding: 26px 28px 64px; }

/* ================== page chrome ================== */
.page-h {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 20px;
}
.page-h h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.page-h .sub { color: var(--text-mute); font-size: 13px; margin-top: 4px; }
.page-actions { display: flex; gap: 8px; align-items: center; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.tab {
  padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--text-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer;
}
.tab.active { color: var(--text); border-bottom-color: var(--sun-500); }

/* ================== marketing ================== */
.mk-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 251, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mk-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; gap: 28px;
}
.mk-nav-brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora'; font-weight: 700; font-size: 17px; }
.mk-nav-links { display: flex; gap: 22px; font-size: 13px; font-weight: 500; color: var(--text-mute); }
.mk-nav-links a:hover { color: var(--text); }
.mk-nav-cta { margin-left: auto; display: flex; gap: 8px; }

.mk-hero {
  position: relative; overflow: hidden;
  padding: 80px 28px 80px;
  background:
    radial-gradient(80% 70% at 80% 0%, rgba(255, 200, 92, 0.5), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(234, 88, 12, 0.18), transparent 60%),
    linear-gradient(180deg, #FFF6E2 0%, #FFFBF3 100%);
}
.mk-container { max-width: 1200px; margin: 0 auto; }
.mk-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.mk-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; padding: 5px 10px 5px 6px;
  background: white; border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text-mute);
}
.mk-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-500); box-shadow: 0 0 0 3px #DCFCE7; }
.mk-hero h1 {
  font-size: 64px; line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 800; margin: 22px 0 18px;
  color: var(--ink-900);
}
.mk-hero h1 .grad { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-hero p.lead { font-size: 17px; color: var(--text-mute); max-width: 520px; line-height: 1.55; }
.mk-hero-ctas { display: flex; gap: 10px; margin-top: 28px; align-items: center; }
.mk-hero-trust { display: flex; gap: 18px; margin-top: 36px; color: var(--text-soft); font-size: 12px; }
.mk-hero-trust b { color: var(--text); font-family: 'Sora'; font-weight: 700; display: block; font-size: 22px; letter-spacing: -0.02em; }

/* hero artwork */
.mk-hero-art {
  position: relative; height: 520px;
}

/* ================== plan cards ================== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.plan.featured {
  background: linear-gradient(180deg, #FFFBF3 0%, #FFF3DD 100%);
  border-color: var(--sun-400);
  box-shadow: var(--shadow-md);
}
.plan .ribbon {
  position: absolute; top: -10px; right: 18px;
  background: var(--grad-sun); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.plan h3 { font-size: 17px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; font-family: 'Sora'; }
.plan .price .num { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; }
.plan .price .per { color: var(--text-soft); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.plan li { display: flex; align-items: flex-start; gap: 8px; color: var(--text); }
.plan li svg { flex: 0 0 16px; margin-top: 1px; }

/* ================== KPI ================== */
.kpi { padding: 16px 18px; }
.kpi .label { font-size: 12px; color: var(--text-mute); font-weight: 600; }
.kpi .v { font-family: 'Sora'; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; display: flex; align-items: baseline; gap: 6px; }
.kpi .v .unit { font-size: 13px; color: var(--text-soft); font-weight: 500; }
.kpi .delta { font-size: 11px; font-weight: 600; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.kpi .delta.up { color: #166534; }
.kpi .delta.dn { color: #991B1B; }
.kpi.featured { background: var(--grad-ink); color: white; }
.kpi.featured .label { color: rgba(255,255,255,0.6); }
.kpi.featured .v { color: white; }
.kpi.featured .v .unit { color: rgba(255,255,255,0.5); }

/* ================== kanban ================== */
.kanban {
  display: grid; grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.kcol {
  background: var(--ink-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  min-height: 540px;
}
.kcol-h {
  padding: 12px 14px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.kcol-h .count { margin-left: auto; font-size: 11px; color: var(--text-soft); background: white; padding: 1px 7px; border-radius: 10px; font-weight: 600; }
.kcol-h .stage-pill { width: 10px; height: 10px; border-radius: 50%; }
.kcol-body { padding: 10px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.kcard {
  background: white; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px;
  cursor: grab;
  transition: transform 0.08s, box-shadow 0.08s;
}
.kcard:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.kcard .head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.kcard .id { font-family: 'JetBrains Mono'; font-size: 11px; color: var(--text-soft); font-weight: 500; }
.kcard .title { font-weight: 600; font-size: 13px; margin: 2px 0 6px; }
.kcard .meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--text-mute); }
.kcard .row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); }
.kcard .avatar-stack { display: flex; }
.avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink-200); display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--ink-700);
  border: 2px solid white;
}
.avatar-stack .avatar + .avatar { margin-left: -8px; }
.avatar.sun { background: var(--sun-300); color: var(--sun-900); }
.avatar.ember { background: #FCA968; color: #7C2D12; }
.avatar.info { background: #93C5FD; color: #1E3A8A; }
.avatar.green { background: #86EFAC; color: #14532D; }

/* progress */
.progress { height: 4px; background: var(--ink-100); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--grad-sun); border-radius: 999px; }

/* misc */
.divider { height: 1px; background: var(--border); margin: 18px 0; }
.muted { color: var(--text-mute); }
.soft { color: var(--text-soft); }

.callout {
  background: linear-gradient(180deg, #FFF8EB, #FFEFCC);
  border: 1px solid #FFDF99;
  border-radius: var(--r-lg);
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--ink-800);
}

/* tile grid */
.tiles { display: grid; gap: 14px; }
.tiles.c2 { grid-template-columns: repeat(2, 1fr); }
.tiles.c3 { grid-template-columns: repeat(3, 1fr); }
.tiles.c4 { grid-template-columns: repeat(4, 1fr); }

/* feature blocks */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px;
}
.feat h4 { font-size: 15px; margin-bottom: 6px; font-family: 'Sora'; font-weight: 600; }
.feat p { font-size: 13px; color: var(--text-mute); line-height: 1.55; margin: 0; }
.feat .ic { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--sun-100); color: var(--sun-700); }

/* footer */
.mk-footer { background: var(--ink-900); color: var(--ink-300); padding: 60px 28px 30px; }
.mk-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.mk-footer h5 { color: white; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; font-weight: 700; }
.mk-footer a { display: block; padding: 4px 0; font-size: 13px; color: var(--ink-300); }
.mk-footer a:hover { color: white; }
.mk-footer .bottom { max-width: 1200px; margin: 40px auto 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-400); }

/* role permission grid */
.perm-row {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 8px; align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.perm-row.head { background: var(--ink-50); font-size: 11px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.perm-row .perm-name { font-weight: 600; font-size: 13px; }
.perm-row .perm-name .desc { font-weight: 400; font-size: 12px; color: var(--text-soft); margin-top: 2px; }

.toggle { width: 32px; height: 18px; background: var(--ink-200); border-radius: 999px; position: relative; cursor: pointer; transition: background 0.12s; }
.toggle::after { content:''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: white; transition: left 0.12s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle.on { background: var(--sun-500); }
.toggle.on::after { left: 16px; }

/* signup */
.signup-shell {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--cream);
}
.signup-art {
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(255, 200, 92, 0.6), transparent 65%),
    var(--grad-ink);
  color: white; padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.signup-art h2 { color: white; font-size: 28px; line-height: 1.2; max-width: 360px; }
.signup-art .quote { font-size: 14px; color: rgba(255,255,255,0.7); max-width: 400px; line-height: 1.6; }
.signup-form-wrap { padding: 48px; display: flex; align-items: center; justify-content: center; }
.signup-form { width: 100%; max-width: 380px; }

/* hero device mock */
.device-mock {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: 560px; height: 420px;
  background: white; border: 1px solid var(--border-strong);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.device-mock .top-bar { height: 28px; background: var(--ink-50); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.device-mock .top-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-200); display: inline-block; }
.device-mock .body { padding: 14px; display: grid; grid-template-columns: 130px 1fr; gap: 12px; height: calc(100% - 28px); }
.device-mock .mini-side { background: var(--ink-900); border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.device-mock .mini-side .ms-brand { color: white; font-family: Sora; font-weight: 700; font-size: 11px; padding: 4px 6px; display: flex; align-items: center; gap: 6px; }
.device-mock .mini-side .ms-brand .sm { width:10px; height:10px; border-radius: 50%; background: var(--grad-sun); }
.device-mock .mini-side .mi { color: rgba(255,255,255,0.7); font-size: 10px; padding: 4px 6px; border-radius: 4px; display: flex; align-items: center; gap: 6px; }
.device-mock .mini-side .mi.act { background: rgba(245,158,11,0.18); color: white; }
.device-mock .mini-side .mi .ic { width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: 0.7; }
.device-mock .mini-content { display: flex; flex-direction: column; gap: 10px; }
.device-mock .mc-h { display: flex; justify-content: space-between; align-items: center; }
.device-mock .mc-h .mc-t { font-family: Sora; font-weight: 700; font-size: 12px; }
.device-mock .mc-pill { font-size: 8px; padding: 2px 6px; background: var(--sun-100); color: var(--sun-800); border-radius: 4px; font-weight: 700; }
.device-mock .mc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.device-mock .mc-k { background: var(--ink-50); border-radius: 6px; padding: 6px; }
.device-mock .mc-k .lab { font-size: 8px; color: var(--text-soft); font-weight: 600; }
.device-mock .mc-k .val { font-family: Sora; font-weight: 700; font-size: 12px; margin-top: 2px; }
.device-mock .mc-kan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: 1; }
.device-mock .mc-kc { background: var(--ink-50); border-radius: 6px; padding: 5px; display: flex; flex-direction: column; gap: 4px; }
.device-mock .mc-kc .h { font-size: 8px; font-weight: 700; color: var(--text-soft); }
.device-mock .mc-kc .card { background: white; border-radius: 4px; padding: 4px; border: 1px solid var(--border); }
.device-mock .mc-kc .card .t { font-size: 8px; font-weight: 600; }
.device-mock .mc-kc .card .m { font-size: 7px; color: var(--text-soft); margin-top: 2px; }

/* float sun in hero */
.sun-glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 92, 0.5), transparent 65%);
  filter: blur(20px);
}

.placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(245, 158, 11, 0.06) 8px 16px),
    var(--ink-50);
  border: 1px dashed var(--ink-300);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-family: 'JetBrains Mono'; font-size: 11px;
}

/* generic two col detail */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }

/* tickets list */
.ticket-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row .t-id { font-family: 'JetBrains Mono'; font-size: 11px; color: var(--text-soft); width: 70px; flex-shrink: 0; padding-top: 2px; }

.empty-line {
  display: inline-block; height: 8px; background: var(--ink-100); border-radius: 4px;
}
