body[data-current-view]:not([data-current-view="work_calendar"]) {
  --zedoor-crimson: #139f91;
  --zedoor-crimson-dark: #0b807a;
  --zedoor-crimson-light: #36b8a8;
}

body[data-current-view]:not([data-current-view="work_calendar"])[data-theme="light"] {
  --bg-body: #f5f7fb;
  --bg-sidebar: #101e31;
  --bg-card: #ffffff;
  --bg-table: #ffffff;
  --bg-input: #ffffff;
  --bg-hover: rgba(19, 159, 145, .07);
  --table-hover: rgba(19, 159, 145, .07);
  --border-color: #e8edf3;
  --border-light: #eef1f5;
  --text-primary: #142337;
  --text-secondary: #687b91;
  --text-muted: #75859b;
  --shadow: 0 4px 20px rgba(26, 42, 65, .045);
  --shadow-hover: 0 12px 30px rgba(26, 42, 65, .09);
  --workspace-soft: #f8fafc;
  --studio-teal: #139f91;
  --studio-gold: #e7a556;
  --link-color: #0b807a;
  --link-hover: #086c67;
  --bs-primary: #139f91;
  --bs-primary-rgb: 19, 159, 145;
  --bs-success: #139f91;
  --bs-body-bg: #f5f7fb;
  --bs-body-color: #142337;
  --bs-border-color: #e8edf3;
}

body[data-current-view]:not([data-current-view="work_calendar"])[data-theme="dark"] {
  --bg-body: #0b1421;
  --bg-sidebar: #091320;
  --bg-card: #142235;
  --bg-table: #142235;
  --bg-input: #192a3d;
  --bg-hover: rgba(67, 201, 183, .1);
  --table-hover: rgba(67, 201, 183, .1);
  --border-color: #293d51;
  --border-light: #22364a;
  --text-primary: #ecf4fb;
  --text-secondary: #a9bacb;
  --text-muted: #9aadc0;
  --shadow: 0 6px 22px rgba(0, 0, 0, .14);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, .24);
  --workspace-soft: #192a3d;
  --studio-teal: #43c9b7;
  --studio-gold: #f0b75e;
  --link-color: #68ddca;
  --link-hover: #9aefe2;
  --bs-primary: #26b09e;
  --bs-primary-rgb: 38, 176, 158;
  --bs-success: #26b09e;
  --bs-body-bg: #0b1421;
  --bs-body-color: #ecf4fb;
  --bs-border-color: #293d51;
}

body[data-current-view]:not([data-current-view="work_calendar"]) {
  background-color: var(--bg-body);
  color: var(--text-primary);
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar {
  width: 252px;
  min-width: 252px;
  background: linear-gradient(180deg, #101e31 0%, #091523 100%) !important;
  border-right-color: rgba(190, 215, 229, .12);
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .brand {
  border-bottom-color: rgba(190, 215, 229, .12);
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-section {
  color: #7690a7;
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-link,
body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-group summary {
  color: #a4b4c7;
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-link i,
body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-group summary i {
  color: #90a9bc;
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-link:hover,
body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-group summary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .055);
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-link.active {
  color: #eafffb;
  background: linear-gradient(110deg, #1c665e, rgba(24, 75, 76, .48));
  box-shadow: inset 3px 0 #49dfba;
}

body[data-current-view]:not([data-current-view="work_calendar"]) #sidebar .nav-link.active i {
  color: #5fe6c5;
}

body[data-current-view]:not([data-current-view="work_calendar"]) .content {
  background: var(--bg-body);
}

body[data-current-view]:not([data-current-view="work_calendar"]) .content :is(.card, .card-page, .workspace-focus, .workspace-project-card, .workspace-disclosure, .workspace-filter-form, .workload-filter-form) {
  border-color: var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

body[data-current-view]:not([data-current-view="work_calendar"]) .content .card-header {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border-color);
}

body[data-current-view]:not([data-current-view="work_calendar"]) .content .btn {
  min-height: 38px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 700;
}

body[data-current-view]:not([data-current-view="work_calendar"]) .content .btn-primary,
body[data-current-view]:not([data-current-view="work_calendar"]) .content .btn-success {
  color: #fff;
  background-color: var(--studio-teal);
  border-color: var(--studio-teal);
}

body[data-current-view]:not([data-current-view="work_calendar"]) .content :is(.form-control, .form-select) {
  min-height: 40px;
  color: var(--text-primary);
  background-color: var(--bg-input);
  border-color: var(--border-color);
  border-radius: 9px;
}

body[data-current-view]:not([data-current-view="work_calendar"]) .content .table thead th {
  color: var(--text-secondary);
  background: var(--workspace-soft);
  border-color: var(--border-color);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-cover {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 11px;
  background: linear-gradient(135deg, #10243a, #176b70 72%, #48bba5);
}

.project-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-cover-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  background: url("../images/project-placeholder.svg") center / cover no-repeat;
}

.project-cover--detail {
  aspect-ratio: 16 / 5;
  max-height: 360px;
  margin-bottom: 1.5rem;
}

@media (max-width: 575px) {
  .project-cover--detail {
    aspect-ratio: 16 / 8;
  }
}
