:root {
  --background: #f9f7f4;
  --surface: #ffffff;
  --surface-muted: #f4eeeb;
  --surface-strong: #eadfd5;
  --border: #1a1a1a;
  --border-strong: #111111;
  --text: #1a1a1a;
  --text-secondary: #4b5563;
  --text-muted: #8a8580;
  --primary: #de9151;
  --primary-hover: #c97835;
  --primary-soft: #faedd8;
  --accent: #de9151;
  --accent-soft: #faedd8;
  --teal: #10b981;
  --teal-hover: #059669;
  --teal-soft: #ecfdf5;
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --blue-soft: #eff6ff;
  --violet: #8b5cf6;
  --violet-hover: #7c3aed;
  --violet-soft: #f5f3ff;
  --rose: #f43f5e;
  --rose-hover: #e11d48;
  --rose-soft: #fff1f2;
  --olive: #84cc16;
  --olive-hover: #65a30d;
  --olive-soft: #f7fee7;
  --cream: #fef9f3;
  --success: #10b981;
  --success-soft: #ecfdf5;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --danger: #f43f5e;
  --danger-soft: #fff1f2;
  --info: #3b82f6;
  --info-soft: #eff6ff;
  --purple: #8b5cf6;
  --purple-soft: #f5f3ff;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 3.5px 3.5px 0 #1a1a1a;
  --shadow-sm: 1.5px 1.5px 0 #1a1a1a;
  --shadow-lg: 5px 5px 0 #1a1a1a;
  --sidebar: 232px;
  --header: 56px;
  font-family:
    "Google Sans", "Product Sans", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(122, 112, 104, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(122, 112, 104, 0.03) 1px, transparent 1px),
    var(--background);
  background-size: 28px 28px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lucide {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  stroke-width: 2.35;
}

a .lucide,
.btn .lucide,
.nav-icon .lucide,
.mobile-bar .lucide,
.search-result-icon .lucide,
.item-icon .lucide,
.metric-icon .lucide {
  vertical-align: -3px;
}

.app-shell {
  min-height: 100vh;
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 12px;
  background: var(--surface);
  border-right: 1.5px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--primary-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.brand-name {
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: 11px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: left;
  font-weight: 700;
}

.nav-button:hover,
.nav-button.active {
  color: var(--text);
  background: var(--surface-muted);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: translate(-1px, -1px);
}

.nav-button.active {
  background: var(--primary);
  color: var(--text);
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 18px;
  color: var(--text);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.sync-card {
  padding: 10px;
  color: var(--text-secondary);
  background: var(--surface-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.sync-card strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(260px, 520px) auto;
  align-items: center;
  gap: 12px;
  height: var(--header);
  padding: 0 20px;
  background: rgba(249, 247, 244, 0.96);
  border-bottom: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 13px;
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  height: 34px;
  padding: 0 12px 0 36px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 8px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  pointer-events: none;
}

.search-icon .lucide {
  width: 16px;
  height: 16px;
}

.search-results {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  max-height: 360px;
  overflow: auto;
  padding: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-result {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-align: left;
}

.search-result:hover {
  background: var(--surface-muted);
  border-color: var(--border);
}

.search-result-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--blue-hover);
  background: var(--blue-soft);
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.search-result-icon .lucide {
  width: 17px;
  height: 17px;
}

.search-result strong,
.search-result small {
  display: block;
}

.search-result small,
.search-empty {
  color: var(--text-muted);
  font-size: 12px;
}

.search-empty {
  padding: 10px;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.page {
  padding: 20px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.page-title-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.page-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  color: var(--primary-hover);
  background: var(--primary-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.page-badge .lucide {
  width: 24px;
  height: 24px;
  stroke-width: 2.45;
}

.eyebrow {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  margin-bottom: 4px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
}

.muted {
  color: var(--text-muted);
}

.section {
  margin-bottom: 18px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  transform: translateY(2px);
}

.section-header h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  gap: 10px;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-pad {
  padding: 16px;
}

.metric {
  min-height: 96px;
  padding: 16px;
  --metric-color: var(--primary);
  --metric-color-hover: var(--primary-hover);
  --metric-soft: var(--primary-soft);
  background: linear-gradient(180deg, var(--metric-soft) 0 7px, var(--surface) 7px);
}

.metric-primary {
  --metric-color: var(--primary);
  --metric-color-hover: var(--primary-hover);
  --metric-soft: var(--primary-soft);
}

.metric-green {
  --metric-color: var(--teal);
  --metric-color-hover: var(--teal-hover);
  --metric-soft: var(--teal-soft);
}

.metric-blue {
  --metric-color: var(--blue);
  --metric-color-hover: var(--blue-hover);
  --metric-soft: var(--blue-soft);
}

.metric-purple {
  --metric-color: var(--violet);
  --metric-color-hover: var(--violet-hover);
  --metric-soft: var(--violet-soft);
}

.metric-yellow {
  --metric-color: var(--olive);
  --metric-color-hover: var(--olive-hover);
  --metric-soft: var(--olive-soft);
}

.metric-red {
  --metric-color: var(--rose);
  --metric-color-hover: var(--rose-hover);
  --metric-soft: var(--rose-soft);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.metric-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--metric-color-hover);
  background: var(--metric-soft);
  border: 1px solid var(--metric-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.metric-icon .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.55;
}

.metric-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
}

.metric-value {
  margin-top: 5px;
  color: var(--metric-color-hover);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.1;
}

.metric-note {
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 12px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.split-toolbar {
  align-items: flex-start;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tab {
  min-height: 32px;
  padding: 6px 12px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.tab.active {
  color: var(--text);
  background: var(--primary);
  border-color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn .lucide {
  width: 15px;
  height: 15px;
}

.btn-small .lucide {
  width: 13px;
  height: 13px;
}

.btn:hover {
  border-color: var(--border-strong);
  box-shadow: 3px 3px 0 var(--border-strong);
  transform: translate(-1px, -1px);
}

.btn-primary {
  color: var(--text);
  background: var(--primary);
  border-color: var(--primary);
  border-color: var(--border);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-ghost {
  background: transparent;
}

.btn-danger {
  color: var(--rose-hover);
  background: var(--danger-soft);
  border-color: var(--rose);
}

.btn-small {
  min-height: 27px;
  padding: 4px 8px;
  font-size: 11px;
}

.icon-btn {
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.alert-btn {
  position: relative;
}

.alert-btn span {
  position: absolute;
  right: -7px;
  top: -7px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  color: var(--rose-hover);
  background: var(--rose-soft);
  border: 1px solid var(--rose);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.status,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 999px;
}

.tone-neutral {
  color: var(--text-secondary);
  background: var(--surface-muted);
}

.tone-blue {
  color: var(--blue-hover);
  background: var(--blue-soft);
}

.tone-green {
  color: #2f8b5d;
  background: var(--success-soft);
}

.tone-yellow {
  color: var(--olive-hover);
  background: var(--warning-soft);
}

.tone-red {
  color: var(--rose-hover);
  background: var(--danger-soft);
}

.tone-purple {
  color: var(--violet-hover);
  background: var(--purple-soft);
}

.table-wrap {
  overflow: auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-muted);
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: var(--surface-muted);
}

.cell-title {
  font-weight: 700;
}

.cell-subtitle {
  color: var(--text-muted);
  font-size: 12px;
}

.table-link {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
}

.table-link:hover .cell-title {
  color: var(--primary-hover);
  text-decoration: underline;
}

.inline-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  cursor: pointer;
}

.inline-status .status {
  padding-right: 7px;
  border-radius: 999px;
  overflow: hidden;
}

.inline-status select {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  opacity: 0;
  cursor: pointer;
}

.copy-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--blue-hover);
  background: var(--blue-soft);
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.copy-btn .lucide {
  width: 13px;
  height: 13px;
}

.related-pill {
  cursor: help;
  text-decoration: underline dotted var(--border);
  text-underline-offset: 3px;
}

.related-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.inline-link {
  display: inline;
  padding: 0;
  color: var(--primary-hover);
  background: transparent;
  border: 0;
  box-shadow: none;
  font: inherit;
  font-weight: 750;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

td:last-child .actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

td:last-child {
  width: 1%;
  white-space: nowrap;
}

.attention-list,
.timeline,
.compact-list {
  display: grid;
  gap: 8px;
}

.attention-item,
.timeline-item,
.list-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.attention-item {
  background: linear-gradient(90deg, var(--rose-soft) 0 8px, var(--surface) 8px);
}

@media (max-width: 650px) {
  .attention-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .attention-item > div:last-child {
    grid-column: 1 / -1;
    justify-content: flex-start !important;
    margin-top: 4px;
  }
}

.item-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--teal-hover);
  background: var(--teal-soft);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  font-weight: 900;
}

.item-icon .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.45;
}

.empty-state {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.empty-visual,
.quick-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--violet-hover);
  background: var(--violet-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.empty-visual img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 999px;
}

.quick-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.quick-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translate(-1px, -1px);
}

.quick-card-icon {
  color: var(--blue-hover);
  background: var(--blue-soft);
}

.quick-card-primary .quick-card-icon {
  color: var(--primary-hover);
  background: var(--primary-soft);
}

.quick-card-green .quick-card-icon {
  color: var(--teal-hover);
  background: var(--teal-soft);
}

.quick-card-purple .quick-card-icon {
  color: var(--violet-hover);
  background: var(--violet-soft);
}

.quick-card-yellow .quick-card-icon {
  color: var(--olive-hover);
  background: var(--olive-soft);
}

.kanban {
  display: grid;
  grid-auto-columns: minmax(250px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.kanban-col {
  min-height: 220px;
  padding: 12px;
  background: var(--surface-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kanban-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 9px;
  color: var(--text);
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.kanban-card {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: grab;
}

.kanban-card strong,
.list-item strong,
.attention-item strong {
  color: var(--primary-hover);
}

.kanban-card:hover {
  border-color: var(--border-strong);
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.progress-track {
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.progress-block {
  display: grid;
  gap: 9px;
  margin: 12px 0 16px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 12px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
}

.check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.check-row input {
  width: 18px;
  min-height: 18px;
  box-shadow: none;
}

.check-row span {
  overflow-wrap: anywhere;
}

.disabled-field {
  opacity: 0.55;
}

.disabled-field input {
  cursor: not-allowed;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.client-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finance-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.span-2 {
  grid-column: span 2;
}

.field.span-3 {
  grid-column: span 3;
}

.field.span-4 {
  grid-column: span 4;
}

.field.span-8 {
  grid-column: span 8;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  box-shadow: var(--shadow-sm);
  font-weight: 650;
}

textarea {
  resize: vertical;
}

select[multiple] {
  min-height: 126px;
  padding: 6px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border);
  box-shadow: 3px 3px 0 var(--primary);
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(16, 24, 40, 0.22);
}

.drawer {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(620px, 100vw);
  height: 100vh;
  background: var(--surface);
  border-left: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.drawer-header,
.drawer-footer,
.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.drawer-title {
  min-width: 0;
}

.drawer-title h2 {
  overflow-wrap: anywhere;
}

.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.drawer-action-gap {
  width: 4px;
}

.drawer-footer,
.modal-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.drawer-body,
.modal-body {
  flex: 1;
  overflow: auto;
  padding: 14px;
}

.modal {
  position: fixed;
  z-index: 40;
  top: 50%;
  left: 50%;
  width: min(720px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.builder {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 12px;
}

.proposal-preview {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.code-chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 8px;
  color: var(--text);
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.quote-builder {
  display: block;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 12px;
}

.quote-panel,
.quote-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-preview {
  border-color: var(--text);
  background: linear-gradient(180deg, var(--violet-soft) 0 8px, var(--surface) 8px);
  box-shadow: var(--shadow);
}

.quote-options {
  display: grid;
  gap: 8px;
}

.quote-options-title {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.check-card {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.check-card input {
  min-height: auto;
  margin-top: 3px;
}

.check-card strong,
.check-card small {
  display: block;
}

.check-card small {
  color: var(--text-muted);
}

.quote-total {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--text);
  background: var(--primary-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}

.quote-total span,
.quote-total small {
  color: var(--text-secondary);
}

.quote-total strong {
  font-size: 24px;
  line-height: 1.1;
}

.clean-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.proposal-text-card pre {
  overflow: auto;
  max-height: 360px;
  margin: 0;
  white-space: pre-wrap;
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

.proposal-doc-modal {
  width: min(1180px, calc(100vw - 28px));
}

.proposal-doc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--border);
}

.proposal-doc-stage {
  display: grid;
  justify-items: center;
  background:
    linear-gradient(90deg, rgba(122, 112, 104, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(122, 112, 104, 0.06) 1px, transparent 1px),
    var(--surface-muted);
  background-size: 28px 28px;
}

.proposal-document {
  width: min(880px, 100%);
  padding: 26px;
  color: var(--text);
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.proposal-document-mobile {
  width: 390px;
  padding: 16px;
  border-radius: 18px;
}

.proposal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--border);
}

.proposal-document-mobile .proposal-hero,
.proposal-document-mobile .doc-summary-grid,
.proposal-document-mobile .doc-split {
  grid-template-columns: 1fr;
}

.proposal-hero h1 {
  max-width: 680px;
  margin: 8px 0 10px;
  color: var(--text);
  font-size: 34px;
  line-height: 1.06;
}

.proposal-document-mobile .proposal-hero h1 {
  font-size: 26px;
}

.proposal-hero p,
.proposal-document p {
  color: var(--text-secondary);
}

.doc-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: var(--text);
  background: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.doc-brand,
.doc-signature {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: var(--text);
}

.proposal-document-mobile .doc-brand,
.proposal-document-mobile .doc-signature {
  justify-items: start;
}

.doc-brand strong,
.doc-signature strong {
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  font-size: 20px;
}

.doc-brand span,
.doc-signature span {
  color: var(--text-muted);
  font-size: 12px;
}

.doc-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.doc-summary-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.doc-summary-card span,
.doc-summary-card small {
  color: var(--text-muted);
  font-size: 12px;
}

.doc-summary-card strong {
  color: var(--text);
  font-size: 20px;
}

.doc-section,
.doc-next {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.proposal-document-mobile .doc-section,
.proposal-document-mobile .doc-next {
  grid-template-columns: 1fr;
}

.doc-section.compact {
  margin-top: 0;
}

.doc-section-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text);
  background: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-family: "Google Sans", "Product Sans", Inter, sans-serif;
  font-weight: 900;
}

.doc-section h2,
.doc-next h2 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
}

.doc-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.doc-deliverables span {
  padding: 5px 8px;
  color: var(--text);
  background: var(--teal-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.doc-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.doc-next {
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: end;
  background: var(--primary-soft);
  border-color: var(--border);
}

@media print {
  body {
    background: #fff;
  }

  .layout,
  .drawer-backdrop,
  .drawer,
  .modal-backdrop,
  .modal-header,
  .proposal-doc-toolbar,
  .toast-root,
  .no-print {
    display: none !important;
  }

  .modal,
  .proposal-doc-modal {
    position: static;
    display: block;
    width: 100%;
    max-height: none;
    box-shadow: none;
    transform: none;
  }

  .modal-body,
  .proposal-doc-stage {
    display: block;
    overflow: visible;
    padding: 0;
    background: #fff;
  }

  .proposal-document,
  .proposal-document-mobile {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    break-inside: avoid;
  }
}

.preview-cover {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.preview-price {
  padding: 14px;
  background: var(--surface-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bar {
  height: 10px;
  overflow: hidden;
  background: var(--surface-muted);
  border-radius: 999px;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.toast-root {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 260px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-bar {
  display: none;
}

@media (max-width: 1100px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .builder,
  .quote-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .proposal-preview {
    position: static;
  }
}

@media (max-width: 820px) {
  :root {
    --header: auto;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .topbar {
    grid-template-columns: auto 1fr;
    grid-template-areas: 
      "breadcrumb actions"
      "search search";
    gap: 12px;
    height: auto;
    padding: 14px 16px;
  }

  .breadcrumb {
    grid-area: breadcrumb;
    align-self: center;
    font-size: 14px;
    margin-bottom: 2px;
  }

  .search {
    grid-area: search;
  }

  .top-actions {
    grid-area: actions;
    justify-content: flex-end;
  }

  h1 { font-size: 21px; }
  h2 { font-size: 15px; }
  
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .tabs::-webkit-scrollbar {
    height: 4px;
  }
  .tabs::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
  }
  
  .dashboard-columns {
    display: flex !important;
    flex-direction: column;
  }
  .dashboard-col-left, .dashboard-col-right {
    display: contents;
  }
  .dashboard-metrics-box {
    order: -1;
  }
  
  .attention-list-wrapper {
    max-height: none;
    overflow-y: visible;
  }

  .toast-root {
    bottom: 80px;
    left: 16px;
    right: 16px;
    align-items: end;
  }
  
  .toast {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }

  .page {
    padding: 18px 16px 86px;
  }

  .page-header {
    display: grid;
  }

  .metric-grid,
  .three-col,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.span-2,
  .field.full {
    grid-column: auto;
  }

  .mobile-bar {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px;
    background: var(--surface);
    border-top: 1.5px solid var(--border);
  }

  .mobile-bar button {
    display: grid;
    gap: 2px;
    justify-items: center;
    padding: 7px 4px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 800;
  }

.mobile-bar button.active {
    color: var(--text);
    background: var(--primary);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
  }
}

/* Chart Component Styles */
:root {
  --chart-color-1: #FF5C5C;
  --chart-color-2: #3B82F6;
  --chart-color-3: #10B981;
  --chart-color-4: #FBBF24;
  --chart-color-5: #8B5CF6;
  --chart-color-6: #F97316;
  --chart-color-7: #06B6D4;
  --chart-color-8: #EC4899;
  --chart-color-9: #6366F1;
  --chart-color-10: #84CC16;
}

.chart-bar-container {
  position: relative;
}

.chart-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -10px);
  background: var(--surface) !important;
  border: 1.5px solid var(--border-strong) !important;
  border-radius: var(--radius) !important;
  padding: 12px 14px;
  box-shadow: 4px 4px 0px var(--border-strong) !important;
  z-index: 100;
  min-width: 230px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease-in-out, transform 0.12s ease-in-out;
}

.chart-bar-container:hover .chart-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -14px);
}

.chart-tooltip-list::-webkit-scrollbar {
  width: 4px;
}

.chart-tooltip-list::-webkit-scrollbar-track {
  background: transparent;
}

.chart-tooltip-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.chart-bar-segment:hover {
  filter: brightness(0.9) contrast(1.1);
  cursor: pointer;
}

input[type="checkbox"] {
  accent-color: var(--primary);
}

.searchable-select-option:hover {
  background: var(--background);
}
.searchable-select-option.selected {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

/* Notifications Dropdown Animations and Styles */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notifications-dropdown {
  animation: slideDown 0.15s ease-out;
}

.notification-dropdown-item {
  transition: background-color 0.15s ease;
}

.notification-dropdown-item:hover {
  background-color: var(--background);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr !important;
  }
}

.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .dashboard-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dashboard-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-budget-title .cell-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.metric-small {
  padding: 8px 12px !important;
  min-height: auto !important;
}

.metric-small .metric-label {
  font-size: 11px !important;
}

.metric-small .metric-value {
  font-size: 18px !important;
  margin-top: 2px !important;
}

.metric-small .metric-note {
  font-size: 11px !important;
  margin-top: 2px !important;
}

.metric-small .metric-icon {
  width: 26px !important;
  height: 26px !important;
}

.metric-small .metric-icon .lucide {
  width: 14px !important;
  height: 14px !important;
}

.dashboard-metrics-sidebar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .dashboard-metrics-sidebar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dashboard-metrics-sidebar-grid .metric-small .metric-value {
    font-size: 15px !important;
  }
  .dashboard-metrics-sidebar-grid .metric-small .metric-note {
    font-size: 10px !important;
  }
}

.dashboard-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .dashboard-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .dashboard-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}




/* Table Pagination & Sorting */
th.table-sortable {
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
th.table-sortable:hover {
  background: var(--gray-soft);
}
.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-soft);
  flex-wrap: wrap;
  gap: 12px;
}
.table-pagination .pagination-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.table-pagination button {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.table-pagination button:hover:not(:disabled) {
  background: var(--gray-soft);
  border-color: var(--gray);
}
.table-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.table-pagination .page-indicator {
  font-weight: 600;
  color: var(--text);
  margin: 0 4px;
}
.table-pagination input[type="number"] {
  width: 60px;
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

@keyframes spin { 100% { transform: rotate(360deg); } }
.spinner { animation: spin 1s linear infinite; }

/* Calendar View */
.calendar-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.calendar-header-title {
  font-size: 16px;
  font-weight: 700;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

.calendar-grid-header-cell {
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: var(--border);
  gap: 1px;
}

.calendar-cell {
  background: var(--surface);
  min-height: 120px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-cell.is-today {
  background: #fef3c7;
}

.calendar-cell.out-of-month {
  background: #dddddd;
  opacity: 1;
}

.calendar-day-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calendar-cell.is-today .calendar-day-number {
  color: var(--primary);
  font-weight: 800;
}

.calendar-item {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 3px solid var(--border-strong);
  transition: opacity 0.2s;
}

.calendar-item:hover {
  opacity: 0.8;
}

.calendar-item.status-green { border-left-color: #22c55e; background: #dcfce7; color: #166534; }
.calendar-item.status-red { border-left-color: #ef4444; background: #fee2e2; color: #991b1b; }
.calendar-item.status-red-light { border-left-color: #fca5a5; background: #fff1f2; color: #be123c; }
.calendar-item.status-yellow { border-left-color: #eab308; background: #fef9c3; color: #854d0e; }
.calendar-item.status-blue { border-left-color: #3b82f6; background: #dbeafe; color: #1e40af; }
.calendar-item.status-purple { border-left-color: #a855f7; background: #f3e8ff; color: #6b21a8; }
.calendar-item.status-gray { border-left-color: #6b7280; background: #f3f4f6; color: #374151; }


.modal-large { width: min(1040px, calc(100vw - 28px)); }
.modal-confirm { max-width: 440px; }


[data-theme="dark"] {
  --background: #121212;
  --surface: #1e1e1e;
  --surface-muted: #27272a;
  --surface-strong: #3f3f46;
  --border: #3f3f46;
  --border-strong: #52525b;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --primary: #de9151;
  --primary-hover: #c97835;
  --primary-soft: rgba(222, 145, 81, 0.15);
  
  --accent: #de9151;
  --accent-soft: rgba(222, 145, 81, 0.15);
  
  --teal: #34d399;
  --teal-hover: #10b981;
  --teal-soft: rgba(16, 185, 129, 0.15);
  
  --blue: #60a5fa;
  --blue-hover: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.15);
  
  --violet: #a78bfa;
  --violet-hover: #8b5cf6;
  --violet-soft: rgba(139, 92, 246, 0.15);
  
  --rose: #fb7185;
  --rose-hover: #f43f5e;
  --rose-soft: rgba(244, 63, 94, 0.15);
  
  --olive: #a3e635;
  --olive-hover: #84cc16;
  --olive-soft: rgba(132, 204, 22, 0.15);
  
  --cream: #1e1e1e;
  
  --success: #34d399;
  --success-soft: rgba(16, 185, 129, 0.15);
  
  --warning: #fbbf24;
  --warning-soft: rgba(245, 158, 11, 0.15);
  
  --danger: #fb7185;
  --danger-soft: rgba(244, 63, 94, 0.15);
  
  --info: #60a5fa;
  --info-soft: rgba(59, 130, 246, 0.15);
  
  --purple: #a78bfa;
  --purple-soft: rgba(139, 92, 246, 0.15);
  
  --shadow: 3.5px 3.5px 0 var(--border);
  --shadow-sm: 1.5px 1.5px 0 var(--border);
  --shadow-lg: 5px 5px 0 var(--border);
}

[data-theme="dark"] .topbar {
  background: rgba(18, 18, 18, 0.96);
}

[data-theme="dark"] body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--background);
  background-size: 28px 28px;
}
