:root {
  --bg: #eef2f5;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --ink: #17202a;
  --muted: #647184;
  --line: #d8dee6;
  --soft-line: #e8edf2;
  --accent: #247c70;
  --accent-dark: #155a54;
  --coral: #c24d4d;
  --blue: #3568a6;
  --gold: #a87824;
  --green: #3f7f57;
  --shadow: 0 18px 48px rgba(19, 32, 44, 0.13);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.app-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 16px 42px;
}
[hidden] {
  display: none !important;
}
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(36, 124, 112, 0.11), rgba(53, 104, 166, 0.1)),
    var(--bg);
}
.auth-panel {
  width: min(440px, 100%);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.auth-panel h1 {
  margin-bottom: 10px;
}
.auth-copy,
.auth-message {
  color: var(--muted);
}
.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.auth-form label {
  display: grid;
  gap: 6px;
  font-weight: 750;
}
.auth-form input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}
.auth-message {
  min-height: 22px;
  margin-top: 14px;
  font-weight: 700;
}
body.role-admin .artist-only,
body.role-artist .admin-only,
body:not(.can-manage-accounts) .account-manager-only {
  display: none !important;
}
body.role-artist #artistPortalView.active,
body.role-artist #chatView {
  display: block;
}
.user-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
  font-weight: 800;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
}
.eyebrow {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1;
}
h2 {
  margin-bottom: 0;
  font-size: 1.1rem;
}
.top-actions,
.modal-actions,
.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.primary-button,
.ghost-button,
.icon-button,
.tab-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 750;
  text-decoration: none;
}
.primary-button {
  color: white;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(36, 124, 112, 0.2);
}
.ghost-button {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}
.icon-button {
  width: 40px;
  padding: 0;
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}
.modal-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.tab-button {
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
}
.tab-button.active {
  box-shadow: 0 4px 14px rgba(19, 32, 44, 0.08);
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}
#conceptTabCount {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-size: 0.7rem;
}
.filters {
  display: grid;
  grid-template-columns: 1.6fr repeat(6, minmax(128px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.filters[hidden] {
  display: none;
}
.batch-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: #f4fbfa;
}
.batch-bar[hidden] {
  display: none;
}
.batch-bar strong {
  white-space: nowrap;
  align-self: center;
}
.notification-button #notificationCount {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  border-radius: 8px;
  color: white;
  background: var(--muted);
  font-size: 0.72rem;
}
.notification-button.has-alerts #notificationCount {
  background: var(--coral);
}
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}
input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fbfdff;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(36, 124, 112, 0.18);
  border-color: var(--accent);
}
textarea {
  resize: vertical;
}
.checkbox-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 40px;
  white-space: nowrap;
}
.checkbox-line input,
.checklist-fieldset input {
  width: auto;
  min-height: auto;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.chat-shell {
  min-height: min(680px, calc(100vh - 190px));
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}
.chat-channels {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
}
.chat-channel-button {
  min-height: 58px;
  display: grid;
  gap: 3px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.chat-channel-button.active {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: 0 3px 12px rgba(19, 32, 44, 0.07);
}
.chat-channel-button span {
  font-weight: 850;
}
.chat-channel-button small {
  color: var(--muted);
}
.chat-room {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
}
.chat-room-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.chat-room-header h2,
.chat-room-header p {
  margin: 0;
}
.chat-room-header p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}
.chat-messages {
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: #f8fafc;
}
.chat-message {
  max-width: min(72%, 720px);
  display: grid;
  gap: 5px;
  justify-self: start;
}
.chat-message.mine {
  justify-self: end;
}
.chat-message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.74rem;
}
.chat-message.mine .chat-message-meta {
  justify-content: flex-end;
}
.chat-message-bubble {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--panel);
}
.chat-message.mine .chat-message-bubble {
  border-color: var(--blue);
  color: white;
  background: var(--blue);
}
.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.chat-composer textarea {
  min-height: 52px;
  max-height: 150px;
  resize: vertical;
}
#chatStatus {
  padding: 0 18px 10px;
}
@media (max-width: 760px) {
.chat-shell {
    min-height: calc(100vh - 150px);
    grid-template-columns: 1fr;
  }
.chat-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
.chat-message {
    max-width: 88%;
  }
.chat-composer {
    grid-template-columns: 1fr;
  }
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(145px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.metric {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  width: 100%;
  padding: 18px 18px 16px 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 4px 16px rgba(19, 32, 44, 0.05);
  text-align: left;
}
button.metric {
  cursor: pointer;
}
.metric span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.metric .metric-icon {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.14);
  font-size: 1.35rem;
  text-transform: uppercase;
}
.metric.warn .metric-icon,
.metric.orange .metric-icon {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.14);
}
.metric.good .metric-icon,
.metric.green .metric-icon {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
}
.metric.purple .metric-icon {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.14);
}
.metric.blue .metric-icon {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.14);
}
.metric.cyan .metric-icon {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.14);
}
.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}
.metric small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}
.metric-spark {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 78px;
  height: 30px;
  color: var(--accent);
  opacity: 0.75;
}
.metric.warn .metric-spark,
.metric.orange .metric-spark {
  color: var(--coral);
}
.metric.good .metric-spark,
.metric.green .metric-spark {
  color: var(--green);
}
.metric.purple .metric-spark {
  color: #8b5cf6;
}
.metric.blue .metric-spark {
  color: #3b82f6;
}
.metric.cyan .metric-spark {
  color: #22d3ee;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.section-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.size-slider {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 210px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.size-slider input[type="range"] {
  width: 150px;
  accent-color: var(--accent);
}
.attention-list,
.artist-list {
  display: grid;
  gap: 10px;
}
.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.22fr) minmax(320px, 0.86fr) minmax(360px, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.dashboard-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 4px 16px rgba(19, 32, 44, 0.05);
}
.dashboard-panel .section-header h2 span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.pipeline-panel {
  margin-bottom: 14px;
  padding: 22px 24px 26px;
}
.pipeline-panel .section-header {
  align-items: flex-start;
  margin-bottom: 18px;
}
.pipeline-overview {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: 28px;
  align-items: end;
}
.pipeline-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 138px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: center;
}
.pipeline-card {
  width: min(100%, 132px);
  min-height: 82px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
}
.pipeline-icon,
.dashboard-row-icon,
.artist-avatar {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.14);
  font-weight: 900;
}
.pipeline-icon {
  width: 34px;
  height: 34px;
  background: transparent;
}
.pipeline-icon svg,
.dashboard-row-icon svg,
.metric-icon svg {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.pipeline-card strong {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}
.pipeline-node.warn .pipeline-card,
.pipeline-node.orange .pipeline-card,
.dashboard-row-icon.warn {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}
.pipeline-node.good .pipeline-card,
.pipeline-node.green .pipeline-card,
.dashboard-row-icon.good,
.dashboard-row-icon.done {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
}
.pipeline-node.accent .pipeline-card,
.pipeline-node.cyan .pipeline-card,
.dashboard-row-icon.accent {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
}
.pipeline-node.purple .pipeline-card {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.12);
}
.pipeline-node.blue .pipeline-card {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
}
.pipeline-node.gold .pipeline-card {
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
}
.pipeline-copy {
  display: grid;
  gap: 0;
  min-width: 0;
}
.pipeline-copy b {
  font-size: 1.8rem;
}
.trend-chart {
  min-height: 232px;
}
.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}
.trend-key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trend-canvas-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 260px;
  height: clamp(240px, 24vw, 320px);
}
.trend-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.trend-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 850;
  pointer-events: none;
}
.trend-empty[hidden] {
  display: none;
}
.concepts {
  color: #8b5cf6;
  stroke: #8b5cf6;
}
.completed {
  color: #22c55e;
  stroke: #22c55e;
}
.released {
  color: #3b82f6;
  stroke: #3b82f6;
}
.revisions {
  color: #ef4444;
  stroke: #ef4444;
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-height: 220px;
}
.insight-card,
.readiness-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}
.insight-card small,
.readiness-card small {
  color: var(--muted);
  font-weight: 800;
}
.insight-card strong,
.readiness-card strong {
  font-size: 1.35rem;
  line-height: 1.1;
}
.insight-card b {
  font-size: 1.2rem;
}
.insight-card em,
.readiness-card em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 750;
}
.compact-list {
  display: grid;
  gap: 8px;
}
.compact-row {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--panel);
  text-align: left;
  box-shadow: 0 4px 12px rgba(19, 32, 44, 0.04);
}
.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.compact-row span {
  display: grid;
  gap: 3px;
}
.compact-row small {
  color: var(--muted);
}
.compact-row b {
  color: var(--accent-dark);
}
.readiness-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.readiness-card {
  min-height: 114px;
}
.readiness-card .dashboard-row-icon {
  margin-bottom: 4px;
}
.readiness-card strong {
  font-size: 1.8rem;
}
.readiness-card em {
  color: var(--accent);
}
.artist-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 4px 12px rgba(19, 32, 44, 0.04);
}
.dashboard-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
.dashboard-table {
  overflow: auto;
}
.dashboard-table table {
  width: 100%;
  border-collapse: collapse;
}
.dashboard-table th,
.dashboard-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--soft-line);
  text-align: left;
}
.dashboard-table th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}
.dashboard-table td {
  font-weight: 800;
}
.dashboard-table td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.artist-avatar {
  width: 30px;
  height: 30px;
  color: white;
  background: var(--accent);
  font-size: 0.72rem;
}
.activity-list {
  display: grid;
  gap: 8px;
}
.activity-row {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}
.activity-row span:nth-child(2) {
  display: grid;
  gap: 3px;
}
.activity-row small,
.activity-row time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}
.thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 850;
}
.copy-image-wrap {
  position: relative;
  display: block;
  min-width: 0;
}
.copy-image-wrap > img,
.copy-image-wrap > .thumb-placeholder {
  display: block;
}
.copy-image-button {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  min-height: 28px;
  max-width: calc(100% - 14px);
  border: 1px solid rgba(31, 48, 64, 0.2);
  border-radius: 8px;
  padding: 0 9px;
  color: #1f3040;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 14px rgba(19, 32, 44, 0.16);
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}
.board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.board-column {
  min-height: 520px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}
.board-column.drag-over {
  position: relative;
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.board-column.drag-blocked {
  position: relative;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.25);
}
.column-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  margin-bottom: 8px;
  font-weight: 850;
}
.count-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}
.count-badge {
  background: #e8edf2;
}
.status-pill {
  color: #173a3d;
  background: #dcefed;
}
.status-pill.warn {
  color: #793025;
  background: #f6deda;
}
.status-pill.good {
  color: #24512d;
  background: #dceede;
}
.status-pill.done {
  color: #25416d;
  background: #dfe9f8;
}
.project-card {
  position: relative;
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 4px 14px rgba(19, 32, 44, 0.07);
}
.board-stage-checklist {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.board-stage-checklist .board-task-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 30px;
  padding: 5px 6px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  color: var(--ink);
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 750;
}
.board-stage-checklist .board-task-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.board-stage-checklist .board-task-row input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
}
.stage-file-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px dashed #91a8b8;
  border-radius: 8px;
  background: #f7fbfd;
}
.final-file-slots {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.final-file-slots .stage-file-action {
  margin-top: 0;
}
.stage-file-summary {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.stage-file-action.file-drop-target,
.project-card.file-drop-target .stage-file-action {
  border-color: var(--accent);
  background: #eaf8f5;
}
.stage-file-action.done {
  grid-template-columns: minmax(0, 1fr);
  border-style: solid;
  border-color: #a9cbb2;
  background: #eef8f0;
}
.stage-file-action.done .stage-file-list {
  grid-column: 1 / -1;
}
.stage-file-action > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.stage-file-action strong,
.stage-file-action span {
  overflow-wrap: anywhere;
}
.stage-file-action strong {
  font-size: 0.75rem;
}
.stage-file-action span {
  color: var(--muted);
  font-size: 0.68rem;
}
.stage-upload-button {
  min-height: 30px;
  padding: 0 9px;
  font-size: 0.72rem;
}
.project-card.dragging {
  opacity: 0.55;
}
.board .project-card,
.board .project-card img {
  cursor: grab;
}
.board .project-card.dragging,
.board .project-card.dragging img {
  cursor: grabbing;
}
.board .project-card button,
.board .project-card input,
.board .project-card label,
.board .project-card select {
  cursor: pointer;
}
.project-card img,
.project-card .thumb-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.card-meta,
.small-muted {
  color: var(--muted);
  font-size: 0.82rem;
}
.quick-status {
  min-height: 34px;
  font-size: 0.8rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--gallery-card-size, 220px), 1fr));
  align-items: start;
  gap: 12px;
}
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--concept-card-size, 340px), 1fr));
  align-items: start;
  gap: 16px;
}
.progressive-loader {
  grid-column: 1 / -1;
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.86rem;
}
.loading-card {
  pointer-events: none;
}
.loading-thumb,
.loading-button {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(122, 139, 154, 0.14), rgba(122, 139, 154, 0.28), rgba(122, 139, 154, 0.14));
  background-size: 220% 100%;
  animation: loading-sheen 1.25s ease-in-out infinite;
}
.loading-thumb {
  aspect-ratio: 4 / 3;
  min-height: calc(var(--gallery-card-size, 220px) * 0.76);
}
.concept-card .loading-thumb {
  min-height: calc(var(--concept-card-size, 340px) * 0.72);
}
.loading-button {
  min-height: 40px;
}
@keyframes loading-sheen {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.concept-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 4px 14px rgba(19, 32, 44, 0.07);
}
.concept-image-button {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #dbe3eb;
}
.concept-image-button img,
.concept-image-button .thumb-placeholder {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}
.concept-image-button .thumb-placeholder {
  display: grid;
  place-items: center;
  min-height: calc(var(--concept-card-size, 340px) * 0.72);
  aspect-ratio: 4 / 3;
}
.concept-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.concept-actions button {
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.82rem;
}
.gallery-card {
  position: relative;
  display: grid;
  align-self: start;
  gap: 6px;
  overflow: visible;
  min-height: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 4px 14px rgba(19, 32, 44, 0.07);
}
.gallery-card.selected {
  outline: 2px solid rgba(36, 124, 112, 0.55);
}
.gallery-card.file-drop-target,
.project-card.file-drop-target,
.detail-panel.file-drop-target {
  outline: 3px solid rgba(36, 124, 112, 0.6);
  outline-offset: 2px;
}
.gallery-image-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #dbe3eb;
  overflow: hidden;
}
.gallery-image-button img,
.gallery-image-button .thumb-placeholder {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 8px;
  object-fit: contain;
}
.gallery-image-button .thumb-placeholder {
  display: grid;
  place-items: center;
  min-height: calc(var(--gallery-card-size, 220px) * 0.76);
  aspect-ratio: 4 / 3;
}
.gallery-card > .copy-image-button {
  top: 13px;
  right: 13px;
}
.duplicate-groups {
  display: grid;
  gap: 18px;
}
.duplicate-group {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.duplicate-group-head,
.duplicate-candidate-info,
.duplicate-candidate-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.duplicate-group-head {
  align-items: flex-start;
  margin-bottom: 12px;
}
.duplicate-select-copies {
  min-height: 32px;
}
.duplicate-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.duplicate-candidate {
  position: relative;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.duplicate-candidate.selected {
  outline: 3px solid rgba(194, 77, 77, 0.5);
  border-color: rgba(194, 77, 77, 0.6);
}
.duplicate-select {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 12px rgba(19, 32, 44, 0.18);
}
.duplicate-select input {
  width: 18px;
  height: 18px;
}
.duplicate-image-button {
  display: block;
  width: 100%;
  min-height: 180px;
  max-height: 380px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #dbe3eb;
}
.duplicate-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
}
.duplicate-candidate-info {
  align-items: flex-end;
  padding: 8px 4px 2px;
}
.duplicate-candidate-info > div:first-child {
  min-width: 0;
}
.duplicate-candidate-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.duplicate-candidate-actions {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.duplicate-candidate-actions .ghost-button,
.duplicate-candidate-actions .danger-button,
.duplicate-delete-selected {
  min-height: 32px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  min-height: 44px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}
tr:last-child td {
  border-bottom: 0;
}
.artist-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 16px;
  align-items: start;
}
.artist-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.artist-stat {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  text-align: left;
}
.artist-stat span {
  color: var(--muted);
  font-size: 0.82rem;
}
.tool-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.artist-row {
  grid-template-columns: 1fr auto;
}
.artist-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-account-panel {
  margin-top: 16px;
}
.admin-user-create,
.admin-user-actions {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(140px, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.admin-user-create label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.admin-user-create input,
.admin-user-actions input {
  min-height: 40px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
}
.admin-user-list {
  display: grid;
  gap: 10px;
}
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(320px, 1.4fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #fbfdff;
}
.admin-user-row h3 {
  margin-bottom: 4px;
}
.admin-user-actions {
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) auto auto auto;
}
.artist-login-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto auto;
  gap: 8px;
  margin-top: 10px;
}
.artist-login-form input {
  min-height: 38px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
}
.system-panel {
  margin-top: 16px;
}
.system-storage {
  display: grid;
  gap: 8px;
}
.system-storage-track {
  height: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef2f5;
}
.system-storage-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #2d7d6f;
  transition: width 180ms ease;
}
.system-storage-bar[data-level="warning"] {
  background: #b8860b;
}
.system-storage-bar[data-level="danger"] {
  background: #b85c38;
}
.system-storage-bar[data-level="critical"] {
  background: #b42318;
}
.system-storage-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
}
.system-storage-copy strong {
  color: var(--ink);
}
#systemStorageMessage[data-level="warning"] {
  color: #8a6508;
}
#systemStorageMessage[data-level="danger"],
#systemStorageMessage[data-level="critical"] {
  color: #a13d24;
}
.system-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}
.system-stat,
.system-detail {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #fbfdff;
}
.system-stat span,
.system-detail span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}
.system-stat strong,
.system-detail strong {
  font-size: 1rem;
}
.system-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.system-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.system-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: white;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}
.system-chip.good {
  border-color: rgba(45, 125, 111, 0.25);
  color: #2d7d6f;
  background: #edf8f5;
}
.system-chip.warn {
  border-color: rgba(180, 35, 24, 0.22);
  color: #a13d24;
  background: #fff2ed;
}
.board-artist-select {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}
.board-artist-select select {
  width: 100%;
  min-height: 38px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 9px;
  color: var(--ink);
  background: var(--panel);
}
.artist-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 1fr));
  gap: 14px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
}
.artist-board-column {
  min-width: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.artist-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.artist-board-head span {
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  font-weight: 850;
}
.artist-board-list {
  display: grid;
  gap: 10px;
  padding: 10px;
}
.artist-work-card {
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--panel);
}
.artist-work-card.loading-card {
  padding: 8px;
}
.artist-work-card .loading-thumb {
  min-height: 160px;
}
.artist-work-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eef2f5;
}
.artist-work-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}
.artist-payment-proof {
  display: grid;
  gap: 8px;
}
.artist-payment-proof-item {
  display: block;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.artist-payment-proof-item img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}
.artist-payment-proof-cta {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-top: 1px solid rgba(34, 197, 94, 0.18);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(14, 165, 233, 0.12));
}
.artist-payment-proof-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #047857;
  background: rgba(34, 197, 94, 0.18);
}
.artist-payment-proof-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.artist-payment-proof-cta strong,
.artist-payment-proof-cta small {
  display: block;
}
.artist-payment-proof-cta strong {
  color: var(--ink);
  font-size: 0.86rem;
}
.artist-payment-proof-cta small {
  color: var(--muted);
  font-weight: 800;
}
.artist-revision-note {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.35;
}
.artist-revision-note {
  display: grid;
  gap: 10px;
  border-left: 4px solid var(--coral);
}
.artist-revision-note p {
  margin: 4px 0 2px;
  white-space: pre-wrap;
}
.artist-work-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.artist-work-downloads {
  display: grid;
  gap: 7px;
}
.board-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.artist-file-list {
  display: grid;
  gap: 7px;
  width: 100%;
}
.artist-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--panel);
}
.artist-file-main {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.artist-file-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  border-radius: 8px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.1);
}
.artist-file-icon svg,
.artist-file-download svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.artist-file-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.artist-file-copy strong,
.artist-file-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artist-file-copy strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
}
.artist-file-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.15;
}
.artist-file-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 7px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.2), rgba(69, 20, 31, 0.24));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  text-decoration: none;
}
.upload-status {
  position: relative;
  min-height: 38px;
  margin: 0;
  padding: 9px 10px 9px 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  background: #f6f8fa;
  font-size: 0.86rem;
  line-height: 1.35;
}
.upload-status[data-state="ready"] {
  color: #176958;
  border-color: #a7d9cb;
  background: #eef9f6;
}
.upload-status[data-state="ready"]::before,
.upload-status[data-state="success"]::before {
  content: "\2713";
  border: 0;
  font-size: 0.95rem;
}
.upload-status[data-state="loading"] {
  color: #175a8c;
  border-color: #a9cde5;
  background: #eff7fc;
}
.upload-status[data-state="loading"]::before {
  content: "";
  border-color: currentColor transparent currentColor currentColor;
  animation: upload-status-spin 700ms linear infinite;
}
.upload-status[data-state="success"] {
  color: #17633f;
  border-color: #a7d5ba;
  background: #eef8f2;
}
.upload-status[data-state="error"] {
  color: #9d2929;
  border-color: #e5aaaa;
  background: #fff1f1;
}
.upload-status[data-state="error"]::before {
  content: "!";
}
dialog[data-busy="true"] {
  cursor: wait;
}
dialog[data-busy="true"] input,
dialog[data-busy="true"] select,
dialog[data-busy="true"] textarea {
  pointer-events: none;
  opacity: 0.72;
}
@keyframes upload-status-spin {
  to {
    transform: rotate(360deg);
  }
}
.artist-blend-picker {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  background: #f8fafc;
  font-weight: 800;
}
.artist-upload-progress {
  display: grid;
  gap: 8px;
}
.artist-upload-progress > div {
  height: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: #dbe3eb;
}
.artist-upload-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 120ms linear;
}
.artist-upload-progress strong {
  color: var(--muted);
  font-size: 0.86rem;
}
.artist-upload-progress[hidden] {
  display: none;
}
.revision-reference-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.revision-reference-images img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: #eef2f5;
}
.revision-reference-images a {
  display: block;
  min-width: 0;
}
.revision-image-picker {
  display: grid;
  gap: 9px;
}
.revision-image-picker > span {
  font-size: 0.86rem;
  font-weight: 750;
}
.revision-image-picker > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.revision-add-image-button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid var(--blue);
  border-radius: 7px;
  color: white;
  background: var(--blue);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.revision-add-image-button span {
  font-size: 1.35rem;
  line-height: 1;
}
.payment-proof-paste {
  margin: 9px 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.payment-proof-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--soft-line);
  border-radius: 7px;
  background: #f8fafc;
}
.payment-proof-preview[hidden] {
  display: none;
}
.payment-proof-preview img {
  width: 100%;
  max-height: 260px;
  border-radius: 6px;
  object-fit: contain;
  background: #eef2f5;
}
.payment-proof-preview > div {
  display: grid;
  gap: 8px;
  justify-items: start;
  max-width: 180px;
}
.payment-proof-preview strong {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}
.revision-image-queue {
  display: grid;
  gap: 8px;
}
.revision-image-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: #f8fafc;
}
.revision-image-item img {
  width: 52px;
  height: 52px;
  border-radius: 5px;
  object-fit: cover;
}
.revision-image-item span {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 120;
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -48%) scale(0.98);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}
.detail-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  box-shadow:
    var(--shadow),
    0 0 0 100vmax rgba(17, 24, 39, 0.34);
}
body.detail-open {
  overflow: hidden;
}
body.detail-open .app-shell {
  pointer-events: none;
}
.panel-close {
  position: static;
  float: none;
  z-index: 2;
  margin: 0;
  background: #f8fafc;
}
.detail-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.detail-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  border-radius: 8px;
  object-fit: contain;
  background: #eef2f5;
}
.detail-title {
  margin: 4px 0;
  font-size: 1.45rem;
}
.detail-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.detail-kicker {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.detail-hero {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}
.detail-media {
  min-width: 0;
}
.detail-media .copy-image-wrap {
  display: block;
}
.detail-media .detail-cover {
  max-height: 320px;
}
.detail-primary-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.detail-primary-actions .quick-status {
  min-height: 38px;
  flex: 1 1 190px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.detail-key-grid {
  margin: 0;
}
.detail-key-grid .detail-field {
  min-height: 58px;
}
.detail-tabset {
  display: grid;
  gap: 14px;
}
.detail-tab-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.detail-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.detail-tab-list label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 120px;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}
.detail-tab-list label:hover {
  color: var(--ink);
  background: var(--panel-strong);
}
#detailTabDetails:checked ~ .detail-tab-list label[for="detailTabDetails"],
#detailTabFiles:checked ~ .detail-tab-list label[for="detailTabFiles"],
#detailTabRevisions:checked ~ .detail-tab-list label[for="detailTabRevisions"],
#detailTabActivity:checked ~ .detail-tab-list label[for="detailTabActivity"] {
  color: var(--ink);
  background: var(--panel-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}
.detail-tab-panels {
  min-width: 0;
}
.detail-tab-panel {
  display: none;
  gap: 14px;
}
#detailTabDetails:checked ~ .detail-tab-panels [data-detail-tab-panel="details"],
#detailTabFiles:checked ~ .detail-tab-panels [data-detail-tab-panel="files"],
#detailTabRevisions:checked ~ .detail-tab-panels [data-detail-tab-panel="revisions"],
#detailTabActivity:checked ~ .detail-tab-panels [data-detail-tab-panel="activity"] {
  display: grid;
}
.detail-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.detail-note-block {
  min-height: 110px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.detail-note-block h3 {
  margin: 0 0 8px;
}
.detail-note-block p {
  margin: 0;
  white-space: pre-wrap;
}
.detail-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.workflow-checklist {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.workflow-checklist-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.workflow-checklist-head h3 {
  margin: 0;
  font-size: 1rem;
}
.workflow-stage-list {
  display: grid;
  gap: 4px;
}
.workflow-step {
  display: grid;
  gap: 6px;
  padding: 7px 9px;
  border-left: 3px solid var(--line);
  border-radius: 6px;
  background: var(--panel-strong);
}
.workflow-step.done {
  border-left-color: #10b981;
}
.workflow-step.skipped {
  border-left-color: var(--muted);
  opacity: 0.82;
}
.workflow-step.current {
  border-left-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--panel-strong));
}
.workflow-step-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}
.workflow-step-head span {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 850;
}
.workflow-step.done .workflow-step-head span {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
}
.workflow-step.skipped .workflow-step-head span {
  color: var(--muted);
  background: var(--panel);
}
.workflow-step.current .workflow-step-head span {
  color: white;
  background: var(--accent);
}
.workflow-step-head strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workflow-current-items {
  display: grid;
  gap: 4px;
  margin-left: 49px;
  padding-top: 4px;
  border-top: 1px solid var(--soft-line);
}
.workflow-current-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 2px 0;
  color: var(--ink);
  font-size: 0.78rem;
}
.workflow-current-check span {
  min-width: 0;
}
.workflow-current-check strong,
.workflow-current-check small {
  display: block;
}
.workflow-current-check strong {
  font-size: 0.78rem;
  font-weight: 750;
}
.workflow-current-check small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}
.workflow-current-check input {
  width: 16px !important;
  min-height: 0 !important;
  height: 16px !important;
  flex: 0 0 auto;
  padding: 0 !important;
  accent-color: var(--accent);
}
.workflow-step-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: 49px;
}
.workflow-step-summary span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 7px;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
}
.workflow-step-summary.muted span {
  color: var(--muted);
  background: var(--panel);
}
.detail-field {
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.detail-field span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.detail-field strong {
  display: block;
  margin-top: 8px;
}
.checklist {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.checklist label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.asset-list,
.timeline,
.folder-file-list,
.revision-list {
  display: grid;
  gap: 8px;
}
.note-form {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.asset-row,
.timeline-row,
.folder-file-row,
.revision-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.revision-row {
  grid-template-columns: 1fr;
}
.revision-row p {
  margin: 0;
}
.revision-row span,
.folder-file-row span {
  color: var(--muted);
  font-size: 0.82rem;
}
.revision-form {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.revision-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.asset-row a {
  color: var(--accent-dark);
  font-weight: 850;
}
.danger-button {
  min-height: 32px;
  border: 1px solid #d8aea4;
  border-radius: 8px;
  color: #873426;
  background: #fff2ef;
}
.import-summary {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}
.choice-panel {
  display: grid;
  gap: 8px;
}
.choice-panel > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}
.choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--ink);
  background: #fbfdff;
  font-size: 0.82rem;
  font-weight: 800;
}
.choice-button.active {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}
.choice-buttons-strong .choice-button {
  min-height: 40px;
  padding: 0 14px;
}
.import-progress {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
}
.import-progress span {
  display: block;
  width: 0;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transition: width 140ms ease;
}
.import-progress strong {
  color: var(--muted);
  font-size: 0.82rem;
}
.import-progress[hidden] {
  display: none;
}
.import-grid {
  display: grid;
  gap: 12px;
  min-height: 120px;
  margin-bottom: 16px;
  max-height: min(62vh, 720px);
  overflow: auto;
  padding-right: 4px;
}
.import-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.import-card {
  display: grid;
  gap: 12px;
  padding: 12px;
}
.import-card.has-duplicates {
  grid-column: 1 / -1;
}
.import-card-current {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}
.import-current-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.import-current-head div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.import-current-head strong {
  font-size: 0.96rem;
}
.import-current-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.import-card img {
  width: 100%;
  max-height: 54vh;
  border-radius: 8px;
  object-fit: contain;
  background: #dbe3eb;
}
.import-current-head .danger-button {
  flex: 0 0 auto;
}
.import-classification {
  display: grid;
  gap: 14px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.duplicate-review {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid #e5b9a8;
  border-radius: 8px;
  background: #fff8f5;
}
.import-duplicate-review {
  border-width: 2px;
  border-color: #c85f47;
  background: #fff1ec;
  box-shadow: 0 0 0 3px rgba(200, 95, 71, 0.1);
}
.queued-duplicate-review {
  grid-column: 1 / -1;
}
.duplicate-review-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
}
.duplicate-review-head strong {
  color: #793025;
  font-weight: 750;
}
.import-duplicate-review .duplicate-review-head strong {
  font-size: 0.95rem;
  font-weight: 900;
}
.import-duplicate-review .duplicate-review-head span {
  color: #793025;
  font-weight: 750;
}
.duplicate-review-head span {
  color: #8b6359;
}
.duplicate-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 8px;
}
.import-duplicate-review .duplicate-compare-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.duplicate-figure {
  display: grid;
  min-width: 0;
  gap: 6px;
  margin: 0;
}
.duplicate-image-frame,
.duplicate-image-button {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  background: #eef2f5;
}
.duplicate-image-button {
  color: inherit;
}
.duplicate-image-frame img,
.duplicate-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.duplicate-figure figcaption {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}
.duplicate-figure figcaption strong {
  color: var(--ink);
  font-size: 0.75rem;
}
.duplicate-figure figcaption span,
.duplicate-figure figcaption small {
  overflow-wrap: anywhere;
}
dialog {
  width: min(920px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--panel);
  box-shadow: var(--shadow);
}
#paymentProofDialog {
  width: min(560px, calc(100vw - 28px));
}
#lightboxDialog {
  width: min(1100px, calc(100vw - 28px));
  background: #0e1720;
}
.lightbox {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(82vh, 820px);
  padding: 18px;
}
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  font-size: 1.4rem;
}
#lightboxPrevBtn {
  left: 14px;
}
#lightboxNextBtn {
  right: 14px;
}
.lightbox-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 8px;
  color: white;
  background: rgba(8, 14, 20, 0.76);
}
.lightbox-caption span {
  color: rgba(255, 255, 255, 0.78);
}
#lightboxDialog[data-mode="concept"] .lightbox {
  padding: 0;
}
#lightboxDialog[data-mode="concept"] .lightbox img {
  max-height: 84vh;
  border-radius: 8px;
}
#lightboxDialog[data-mode="concept"] .lightbox-caption {
  display: none;
}
dialog::backdrop {
  background: rgba(32, 33, 36, 0.42);
}
.modal-form {
  padding: 18px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.span-2 {
  grid-column: span 2;
}
.checklist-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.checklist-fieldset legend {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}
.checklist-fieldset label {
  display: flex;
  flex-direction: row;
  gap: 7px;
}
.empty-state {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}
.calendar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.calendar-controls strong {
  min-width: 170px;
  text-align: center;
}
.release-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--panel);
}
.calendar-weekday {
  min-width: 120px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-align: center;
}
.calendar-day {
  min-width: 120px;
  min-height: 132px;
  padding: 7px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar-day > span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}
.calendar-day.outside {
  background: #f4f6f8;
}
.calendar-day.outside > span {
  opacity: 0.45;
}
.calendar-day.today > span {
  border-radius: 8px;
  color: white;
  background: var(--accent);
}
.calendar-items {
  display: grid;
  gap: 5px;
}
.calendar-items button {
  width: 100%;
  overflow: hidden;
  border: 1px solid #bbd3cf;
  border-radius: 6px;
  padding: 5px 6px;
  color: var(--accent-dark);
  background: #eef9f7;
  font-size: 0.7rem;
  font-weight: 750;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-unscheduled-header {
  margin-top: 22px;
}
.notification-panel {
  position: fixed;
  top: 74px;
  right: 16px;
  z-index: 80;
  width: min(390px, calc(100vw - 24px));
  max-height: calc(100vh - 94px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.notification-panel[hidden],
.context-menu[hidden],
.undo-toast[hidden] {
  display: none;
}
.notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.notification-list {
  display: grid;
  gap: 7px;
}
.notification-item {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fbfdff;
  text-align: left;
}
.notification-item.warn {
  border-left-color: var(--gold);
}
.notification-item.danger {
  border-left-color: var(--coral);
}
.notification-item span {
  color: var(--muted);
  font-size: 0.76rem;
}
.recycle-list {
  display: grid;
  gap: 9px;
}
.recycle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.recycle-row div {
  display: grid;
  gap: 3px;
}
.recycle-row span,
.recycle-row small {
  color: var(--muted);
  font-size: 0.78rem;
}
.context-menu {
  position: fixed;
  z-index: 100;
  display: grid;
  width: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.context-menu > strong {
  overflow: hidden;
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.context-menu button {
  min-height: 34px;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  padding: 7px 11px;
  color: var(--ink);
  background: var(--panel);
  text-align: left;
}
.context-menu button:hover {
  background: #f1f5f7;
}
.context-menu .danger-menu-item {
  color: var(--coral);
}
#commandDialog {
  width: min(640px, calc(100vw - 28px));
}
.command-palette {
  padding: 12px;
}
.command-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}
.command-results {
  display: grid;
  gap: 5px;
  max-height: 58vh;
  overflow: auto;
}
.command-result {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fbfdff;
  text-align: left;
}
.command-result span {
  color: var(--muted);
  font-size: 0.76rem;
}
.undo-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.undo-toast span {
  margin-right: auto;
  font-size: 0.84rem;
  font-weight: 750;
}
#importDialog {
  box-sizing: border-box;
  width: min(920px, calc(100vw - 16px));
  height: auto;
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
  overflow: hidden;
}
#importForm {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 8px;
  box-sizing: border-box;
  height: auto;
  overflow: hidden;
  padding: 12px;
}
#importForm .modal-header {
  margin: 0;
}
#importForm .modal-header h2,
#importForm .modal-header p {
  margin: 0;
}
#importForm .import-progress {
  margin: 0;
}
#importForm .import-summary {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#importForm.is-empty .import-summary,
#importForm.is-empty #importMoreBtn,
#importForm.is-empty #clearImportBtn,
#importForm.is-empty #saveAllUnsortedBtn,
#importForm.is-empty #createImportBtn {
  display: none;
}
#importForm.is-empty .import-footer {
  justify-content: flex-end;
}
#importForm .import-grid {
  min-height: 0;
  height: auto;
  max-height: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}
.import-drop-zone {
  width: 100%;
  min-height: min(52vh, 390px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 32px;
  border: 2px dashed #8ca0b3;
  border-radius: 8px;
  color: var(--ink);
  background: #f8fafc;
  font: inherit;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.import-drop-zone.drag-over {
  border-color: var(--blue);
  background: #edf5ff;
}
.import-drop-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: 2rem;
  line-height: 1;
}
.import-drop-zone strong {
  font-size: 1.12rem;
}
.import-drop-zone > span:not(.import-drop-icon) {
  color: var(--muted);
  font-size: 0.9rem;
}
.import-drop-zone small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}
#importForm .import-card {
  min-height: 0;
  gap: 6px;
  padding: 8px;
}
#importForm .import-card-current {
  grid-template-rows: auto auto auto auto;
  height: auto;
  overflow: hidden;
}
#importForm .import-card-current > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(26vh, 240px);
  object-fit: contain;
}
#importForm .import-classification {
  gap: 7px;
}
#importForm .import-classification .choice-panel {
  gap: 5px;
}
#importForm .import-classification .choice-buttons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}
#importForm .import-classification .choice-buttons-strong {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#importForm .import-classification .choice-button,
#importForm .import-classification .choice-buttons-strong .choice-button {
  min-height: 32px;
  padding: 4px 6px;
  font-size: 0.75rem;
  line-height: 1.1;
}
#importForm .import-duplicate-review {
  grid-template-rows: auto auto auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
}
#importForm .import-duplicate-review .duplicate-compare-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
#importForm .import-duplicate-review .duplicate-figure {
  grid-template-rows: auto auto;
  min-height: 0;
}
#importForm .import-duplicate-review .duplicate-image-frame,
#importForm .import-duplicate-review .duplicate-image-button {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: min(22vh, 220px);
  aspect-ratio: 16 / 9;
}
#importForm .import-duplicate-review .duplicate-image-frame img,
#importForm .import-duplicate-review .duplicate-image-button img {
  max-height: none;
}
#importForm .duplicate-continue-button {
  justify-self: end;
  min-width: 150px;
}
.import-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.import-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}
.import-footer-actions button {
  min-height: 34px;
  padding: 0 10px;
}
.bulk-unsorted-button {
  color: var(--accent-dark);
  border-color: rgba(36, 124, 112, 0.45);
  background: #eef9f6;
}
@media (max-width: 920px) {
.concept-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
.concept-image-button .thumb-placeholder {
    min-height: 190px;
  }
.app-shell {
    width: 100%;
    padding: 18px 12px 34px;
  }
.topbar,
.section-header {
    align-items: flex-start;
    flex-direction: column;
  }
.filters,
.dashboard-main-grid,
.dashboard-bottom-grid,
.artist-layout,
.settings-layout,
.form-grid {
    grid-template-columns: 1fr;
  }
.pipeline-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.span-2 {
    grid-column: span 1;
  }
.metric-grid {
    gap: 10px;
  }
.trend-legend {
    gap: 8px 12px;
    font-size: 0.72rem;
  }
.trend-canvas-wrap {
    min-height: 230px;
    height: 230px;
  }
.artist-board {
    grid-template-columns: repeat(5, minmax(240px, 78vw));
  }
.admin-user-create,
.admin-user-actions,
.admin-user-row {
    grid-template-columns: 1fr;
  }
.artist-row {
    grid-template-columns: 1fr;
  }
.artist-row-actions {
    justify-content: stretch;
  }
.artist-row-actions button {
    flex: 1 1 140px;
  }
.artist-login-form {
    grid-template-columns: 1fr;
  }
.size-slider {
    width: 100%;
    justify-content: space-between;
  }
.size-slider input[type="range"] {
    flex: 1;
    max-width: 260px;
  }
.system-stats,
.system-detail-grid {
    grid-template-columns: 1fr;
  }
.detail-panel {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    padding: 14px;
  }
.detail-modal-head {
    align-items: stretch;
    flex-direction: column;
  }
.detail-modal-head .panel-close {
    align-self: flex-end;
  }
.detail-hero,
.detail-note-grid {
    grid-template-columns: 1fr;
  }
.detail-media .detail-cover {
    max-height: 220px;
  }
.detail-grid {
    grid-template-columns: 1fr;
  }
.detail-tab-list label {
    flex-basis: calc(50% - 4px);
  }
.duplicate-group-head,
.duplicate-candidate-info {
    align-items: stretch;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
.artist-board {
    grid-template-columns: 1fr;
  }
.artist-board-column {
    min-width: 0;
  }
.artist-work-actions {
    align-items: stretch;
    flex-direction: column;
  }
.detail-primary-actions,
.detail-secondary-actions {
    flex-direction: column;
    align-items: stretch;
  }
.detail-primary-actions .quick-status {
    flex-basis: auto;
    width: 100%;
  }
#importDialog {
    width: calc(100vw - 6px);
    height: auto;
    max-height: calc(100vh - 6px);
    max-height: calc(100dvh - 6px);
  }
#importForm {
    gap: 4px;
    padding: 5px;
  }
#importForm .modal-header h2 {
    font-size: 1rem;
  }
#importForm .modal-subtitle,
#importForm .import-current-head span,
#importForm .import-summary {
    font-size: 0.67rem;
  }
#importForm .import-card {
    gap: 4px;
    padding: 5px;
  }
#importForm .import-classification .choice-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
#importForm .import-card-current > img {
    max-height: min(20vh, 150px);
  }
#importForm .import-duplicate-review .duplicate-image-frame,
#importForm .import-duplicate-review .duplicate-image-button {
    max-height: min(16vh, 110px);
  }
.import-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }
.import-footer-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.import-footer-actions button {
    min-height: 28px;
    padding: 0 4px;
    font-size: 0.68rem;
  }
.import-footer-actions .bulk-unsorted-button {
    grid-column: span 2;
  }
#importForm .import-current-head .danger-button {
    min-height: 28px;
    padding: 0 7px;
    font-size: 0.7rem;
  }
.import-card.has-duplicates {
    grid-column: 1 / -1;
  }
.duplicate-group-grid {
    grid-template-columns: 1fr;
  }
}
html {
  font-size: 17.5px !important;
}
@media (max-width: 1000px) {
html {
    font-size: 16px !important;
  }
}
@media (max-width: 600px) {
html {
    font-size: 15px !important;
  }
}
:root {
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  
  --bg: #0b0c13; 
  --panel: #10121d; 
  --panel-strong: #151826; 
  --ink: #f8fafc; 
  --muted: #cbd5e1; 
  --line: #1c1f32; 
  --soft-line: #141724;
  --accent: #6366f1; 
  --accent-dark: #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.2);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  
  --scrollbar-thumb: #334155;
  --scrollbar-hover: #475569;
}
body {
  font-family: var(--font-body);
  background: var(--bg) !important;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (max-width: 1100px) {
.topbar {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
.top-actions {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
.top-actions .search-container {
    flex: 1 1 260px !important;
  }
}
.notification-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.notification-button .btn-icon {
  flex: 0 0 auto !important;
}
.notification-button #notificationCount {
  margin-left: 2px !important;
}
.logout-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.logout-button .btn-icon {
  flex: 0 0 auto !important;
}
.app-shell {
  padding: 0 !important;
}
.topbar {
  min-height: 104px;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at 34% 10%, rgba(49, 46, 129, 0.08), transparent 30%),
    rgba(4, 13, 26, 0.94);
  backdrop-filter: blur(18px);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #253149;
  border-radius: 12px;
  color: #8258ff;
  background: linear-gradient(145deg, #111a2d, #09101d);
  box-shadow: inset 0 0 18px rgba(99, 102, 241, 0.06), 0 8px 24px rgba(0, 0, 0, 0.22);
}
.brand-mark svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar .eyebrow {
  margin-bottom: 6px;
  color: #8170ff;
  font-size: 0.78rem;
  letter-spacing: 0.025em;
}
.topbar h1 {
  font-size: 1.55rem;
  line-height: 1.08;
}
.top-actions {
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}
.top-actions .ghost-button,
.top-actions .primary-button,
.user-pill {
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid #202b40 !important;
  border-radius: 9px !important;
  color: #f8fafc !important;
  background: linear-gradient(145deg, #0d1728, #0a1220) !important;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.18) !important;
  font-size: 0.88rem;
  font-weight: 700;
}
.top-actions .btn-icon {
  flex: 0 0 auto;
}
.user-pill {
  gap: 10px;
}
.account-menu {
  position: relative;
  flex: 0 0 auto;
}
.mobile-nav-toggle,
.mobile-nav-search,
.mobile-nav-account {
  display: none !important;
}
.account-dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.account-menu-item {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 760px), (min-width: 1101px) {
.account-dropdown {
    display: none !important;
  }
}
.user-pill b {
  margin: 0 3px;
  color: #94a3b8;
}
.user-pill-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #7168ff;
  background: rgba(79, 70, 229, 0.16);
}
.user-pill-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#addImagesBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px;
  line-height: 1 !important;
  border-color: #665cff !important;
  background: linear-gradient(135deg, #754fff, #2563d9) !important;
  box-shadow: 0 0 20px rgba(99, 75, 255, 0.3) !important;
}
#addImagesBtn .btn-icon {
  display: block;
  width: 21px;
  height: 21px;
}
.logout-button .btn-icon {
  color: #ef3e32;
}
.tabs {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 14px 30px 0 !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: rgba(13, 23, 39, 0.9) !important;
  backdrop-filter: blur(18px);
}
.tab-button {
  position: relative;
  min-height: 44px;
  padding: 0 10px 14px !important;
  border-radius: 0 !important;
}
main {
  padding: 6px 30px 0;
}
h1,
h2,
h3,
.eyebrow,
.topbar h1,
.auth-panel h1,
#authTitle,
#projectDialogTitle {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}
.eyebrow {
  letter-spacing: 0;
  font-weight: 800;
  text-transform: uppercase;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-hover); }
.board-column,
.filters,
.batch-bar,
.chat-channels,
.system-stat,
.system-detail,
.system-chip {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px;
}
.board-column.drag-blocked {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.28) !important;
}
.board-column.drag-over {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.28) !important;
}
.auth-panel,
.chat-shell,
.detail-panel,
.notification-panel,
.command-palette,
.metric,
.dashboard-panel,
.pipeline-card,
.insight-card,
.readiness-card,
.activity-row,
.compact-row,
.artist-row,
.duplicate-group,
.undo-toast,
dialog,
.project-card,
.concept-card,
.gallery-card {
  background: var(--panel-strong) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
  border-radius: 12px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.dashboard-view {
  display: none;
}
.dashboard-view.active {
  display: block;
}
.target-progress-panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 3fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 50%, rgba(99, 102, 241, 0.14), transparent 26%),
    var(--panel);
  box-shadow: var(--shadow);
}
.target-progress-heading,
.target-progress-item {
  display: flex;
  align-items: center;
}
.target-progress-heading {
  gap: 14px;
}
.target-progress-icon,
.target-progress-item-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.target-progress-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  border-radius: 12px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.14);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.22);
}
.target-progress-icon svg {
  width: 24px;
  height: 24px;
}
.target-progress-heading div {
  display: grid;
  gap: 3px;
}
.target-progress-heading span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.target-progress-heading strong {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.1;
}
.target-progress-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.target-progress-item {
  min-width: 0;
  gap: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.target-progress-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--target-tone);
  background: color-mix(in srgb, var(--target-tone) 12%, transparent);
}
.target-progress-item-icon svg {
  width: 19px;
  height: 19px;
}
.target-progress-item.blue { --target-tone: #60a5fa; }
.target-progress-item.purple { --target-tone: #a78bfa; }
.target-progress-item.green { --target-tone: #6ee7b7; }
.target-progress-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 9px;
}
.target-progress-copy > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.target-progress-copy strong {
  color: var(--ink);
  font-size: 1.05rem;
  white-space: nowrap;
}
.target-progress-copy strong small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.target-progress-copy > div:first-child > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  text-align: right;
}
.target-progress-copy > div:first-child > span small {
  display: block;
  margin-top: 2px;
  color: var(--target-tone);
  font-size: 0.64rem;
  font-weight: 750;
}
.target-progress-track {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  appearance: none;
  -webkit-appearance: none;
}
@media (max-width: 1000px) {
.target-progress-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
.target-progress-milestones {
    grid-template-columns: 1fr;
  }
.target-progress-item {
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
.metric {
  background: var(--panel-strong) !important;
}
.dashboard-panel {
  background: var(--panel) !important;
}
.pipeline-overview {
  gap: 18px;
}
.pipeline-node {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.pipeline-card,
.insight-card {
  background: var(--panel-strong) !important;
  box-shadow: none !important;
}
.dashboard-table th,
.dashboard-table td {
  border-color: var(--line);
}
.calendar-day,
.compact-row,
.admin-user-row,
.recycle-row,
.chat-messages {
  background: var(--panel-strong) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.calendar-day.outside { background: var(--bg) !important; opacity: 0.6; }
.calendar-day.today { border: 2px solid var(--accent) !important; }
dialog[open] { animation: modalFadeIn 0.16s ease-out forwards; }
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#importDialog {
  color: var(--ink) !important;
}
#importForm .import-drop-zone {
  color: var(--ink) !important;
  background: var(--panel) !important;
  border-color: rgba(129, 140, 248, 0.55) !important;
}
#importForm .import-drop-zone.drag-over {
  background: var(--panel-strong) !important;
  border-color: var(--accent) !important;
}
#importForm .import-drop-zone span,
#importForm .import-drop-zone small {
  color: var(--muted) !important;
}
#importForm .import-drop-zone strong {
  color: var(--ink) !important;
}
.auth-screen { background: var(--bg) !important; }
.auth-panel { padding: 36px !important; }
.primary-button {
  background: var(--accent) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 12px var(--accent-glow) !important;
  transition: all 0.15s ease;
  font-weight: 700;
}
.ghost-button,
.icon-button {
  background: var(--panel-strong) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  transition: all 0.15s ease;
}
.metric strong {
  color: var(--ink) !important;
}
.tab-button { transition: all 0.15s ease; border-radius: 8px !important; color: var(--muted) !important; background: transparent !important; border: none !important; }
.tab-button.active { background: var(--panel-strong) !important; color: var(--ink) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; font-weight: 700; }
.project-card img,
.project-card .thumb-placeholder,
.concept-image-button,
.gallery-image-button { border-radius: 8px !important; }
.status-pill {
  font-weight: 750;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.74rem;
  display: inline-block;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  background: rgba(99, 102, 241, 0.15) !important;
  color: #a5b4fc !important;
}
.status-pill.warn {
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
}
.status-pill.good {
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #6ee7b7 !important;
}
.status-pill.done {
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  background: rgba(59, 130, 246, 0.15) !important;
  color: #93c5fd !important;
}
input,
select,
textarea {
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  background: var(--panel) !important;
  border-radius: 8px !important;
  transition: all 0.1s ease;
}
input:focus,
select:focus,
textarea:focus { background: var(--panel-strong) !important; border-color: var(--accent) !important; outline: 2px solid var(--accent) !important; outline-offset: -1px; }
.chat-message-bubble { border-radius: 12px !important; border: 1px solid var(--line) !important; background: var(--panel) !important; color: var(--ink) !important; }
.chat-message.mine .chat-message-bubble { background: var(--accent) !important; border-color: var(--accent-dark) !important; color: white !important; }
.user-pill,
.artist-board-column,
.artist-revision-note,
.upload-status,
.artist-blend-picker,
.payment-proof-preview,
.revision-image-item,
.detail-field,
.checklist label,
.asset-row,
.timeline-row,
.folder-file-row,
.revision-row,
.board-task-row,
.stage-file-action,
.empty-state {
  background: var(--panel) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}
.small-muted,
.card-meta,
.compact-row small,
.chat-message-meta,
.modal-subtitle,
.checklist-fieldset legend {
  color: var(--muted) !important;
}
.stage-file-action strong {
  color: var(--ink) !important;
}
.stage-file-action span {
  color: var(--muted) !important;
}
.stage-file-action.done {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}
.system-chip.good { background: rgba(16, 185, 129, 0.1) !important; color: #10b981 !important; border-color: rgba(16, 185, 129, 0.2) !important; }
.system-chip.warn { background: rgba(239, 68, 68, 0.1) !important; color: #ef4444 !important; border-color: rgba(239, 68, 68, 0.2) !important; }
.board-stage-checklist {
  border-top-color: var(--soft-line) !important;
  padding-top: 10px !important;
  margin-top: 8px !important;
  gap: 4px !important;
}
.board-task-row {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 3px 0 !important;
  min-height: auto !important;
  cursor: pointer !important;
}
.board-task-row input[type="checkbox"] {
  accent-color: var(--accent) !important;
  width: 15px !important;
  height: 15px !important;
  cursor: pointer !important;
  margin: 0 !important;
}
.board-task-row span {
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  transition: all 0.15s ease !important;
}
.board-task-row:has(input:checked) span {
  text-decoration: line-through !important;
  color: var(--muted) !important;
  opacity: 0.6 !important;
}
.stage-file-action {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--soft-line) !important;
  border-radius: 0 !important;
  padding: 8px 0 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  box-shadow: none !important;
  margin-top: 10px !important;
}
.stage-file-action.done {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--soft-line) !important;
}
.stage-file-action.done strong {
  color: #10b981 !important;
}
.stage-file-action.done span {
  color: #10b981 !important;
}
.stage-file-action strong {
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
}
.stage-file-action span {
  font-size: 0.68rem !important;
  color: var(--muted) !important;
  display: block !important;
}
.stage-file-action button {
  background: var(--accent) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
  font-size: 0.7rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  min-height: auto !important;
}
.stage-file-action button:hover {
  background: var(--accent-dark) !important;
  filter: brightness(1.1) !important;
}
.stage-file-list {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.stage-file-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  width: 100% !important;
}
.stage-file-name {
  font-size: 0.72rem !important;
  color: var(--muted) !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  flex-grow: 1 !important;
  text-align: left !important;
}
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 290px;
}
.search-icon {
  position: absolute;
  left: 15px;
  color: #b9c3d4;
  pointer-events: none;
}
.search-input-field {
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 16px 0 46px !important;
  border: 1px solid #202b40 !important;
  border-radius: 9px !important;
  background: linear-gradient(145deg, #0d1728, #0a1220) !important;
  color: var(--ink) !important;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.notification-button #notificationCount {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff !important;
  background: #ef4444 !important;
  font-size: 0.72rem;
}
@media (max-width: 1400px) and (min-width: 1001px) {
.topbar {
    min-height: 88px;
    padding: 16px 18px;
    gap: 12px;
  }
.topbar-brand {
    gap: 12px;
  }
.brand-mark {
    width: 48px;
    height: 48px;
  }
.brand-mark svg {
    width: 29px;
    height: 29px;
  }
.topbar .eyebrow {
    margin-bottom: 4px;
    font-size: 0.67rem;
  }
.topbar h1 {
    font-size: 1.25rem;
  }
.top-actions {
    gap: 7px;
  }
.top-actions .ghost-button,
.top-actions .primary-button,
.user-pill {
    min-height: 46px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
.user-pill {
    gap: 7px;
  }
.user-pill-icon {
    width: 27px;
    height: 27px;
  }
.search-container {
    min-width: 210px;
  }
.search-input-field {
    min-height: 46px !important;
  }
.notification-button #notificationCount {
    min-width: 22px;
    height: 22px;
  }
}
.tab-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
}
.tab-icon {
  flex-shrink: 0;
  opacity: 0.7;
}
.tab-button.active .tab-icon {
  opacity: 1;
  color: var(--accent);
}
.metric {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 20px 22px !important;
  min-height: 140px !important;
  border-radius: 12px !important;
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
}
.metric .metric-icon {
  position: static !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 1.35rem !important;
  border-radius: 10px !important;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}
.metric-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  margin-left: 16px !important;
  text-align: left !important;
}
.metric .metric-label {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  color: var(--muted) !important;
  text-transform: none !important;
  line-height: 1.2;
}
.metric strong {
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  margin-top: 3px !important;
  margin-bottom: 1px !important;
  color: var(--ink) !important;
  line-height: 1.1;
}
.metric small {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  color: var(--muted) !important;
}
.metric.purple small,
.metric.green small,
.metric.blue small {
  color: #22c55e !important;
}
.metric.warn small {
  color: #ef4444 !important;
}
.metric.purple .metric-icon {
  background: rgba(139, 92, 246, 0.15) !important;
  color: #a78bfa !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25) !important;
}
.metric.blue .metric-icon {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #93c5fd !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25) !important;
}
.metric.green .metric-icon {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #6ee7b7 !important;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25) !important;
}
.metric.warn .metric-icon {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
}
.metric.cyan .metric-icon {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fcd34d !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25) !important;
}
.metric-spark {
  position: absolute !important;
  bottom: 12px !important;
  right: 14px !important;
  width: 80px !important;
  height: 32px !important;
  opacity: 0.85 !important;
  pointer-events: none;
}
.metric.cyan .metric-spark { color: #f59e0b !important; }
.pipeline-overview {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 0 !important;
  overflow-x: auto !important;
}
.pipeline-node {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 140px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  flex: 1 !important;
  min-width: 110px !important;
  padding: 0 !important;
}
.pipeline-node .pipeline-card {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 132px !important;
  min-height: 96px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 16px 12px !important;
  background: var(--panel-strong) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}
.pipeline-icon {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
  flex: 0 0 auto !important;
}
.pipeline-icon svg {
  width: 30px !important;
  height: 30px !important;
  filter: none !important;
}
.pipeline-node.purple .pipeline-card {
  border-color: rgba(139, 92, 246, 0.5) !important;
  background: linear-gradient(rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.08)), var(--panel-strong) !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.22) !important;
}
.pipeline-node.purple .pipeline-icon {
  color: #a78bfa !important;
}
.pipeline-node.blue .pipeline-card {
  border-color: rgba(59, 130, 246, 0.5) !important;
  background: linear-gradient(rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.08)), var(--panel-strong) !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.22) !important;
}
.pipeline-node.blue .pipeline-icon {
  color: #60a5fa !important;
}
.pipeline-node.cyan .pipeline-card {
  border-color: rgba(34, 211, 238, 0.5) !important;
  background: linear-gradient(rgba(34, 211, 238, 0.08), rgba(34, 211, 238, 0.08)), var(--panel-strong) !important;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.22) !important;
}
.pipeline-node.cyan .pipeline-icon {
  color: #22d3ee !important;
}
.pipeline-node.green .pipeline-card {
  border-color: rgba(34, 197, 94, 0.5) !important;
  background: linear-gradient(rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.08)), var(--panel-strong) !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.22) !important;
}
.pipeline-node.green .pipeline-icon {
  color: #6ee7b7 !important;
}
.pipeline-node.gold .pipeline-card {
  border-color: rgba(245, 158, 11, 0.5) !important;
  background: linear-gradient(rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.08)), var(--panel-strong) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.22) !important;
}
.pipeline-node.gold .pipeline-icon {
  color: #fcd34d !important;
}
.pipeline-node.orange .pipeline-card {
  border-color: rgba(249, 115, 22, 0.5) !important;
  background: linear-gradient(rgba(249, 115, 22, 0.08), rgba(249, 115, 22, 0.08)), var(--panel-strong) !important;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.22) !important;
}
.pipeline-node.orange .pipeline-icon {
  color: #fdba74 !important;
}
.pipeline-node.purple-rocket .pipeline-card {
  border-color: rgba(139, 92, 246, 0.5) !important;
  background: linear-gradient(rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.08)), var(--panel-strong) !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.22) !important;
}
.pipeline-node.purple-rocket .pipeline-icon {
  color: #c084fc !important;
}
.pipeline-card strong {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-transform: none !important;
  text-align: center !important;
  line-height: 1.15 !important;
  margin-top: 4px !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}
.pipeline-copy {
  margin-top: 8px !important;
  display: block !important;
  text-align: center !important;
}
.pipeline-copy b {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
}
.trend-panel .section-header {
  align-items: center !important;
}
.trend-select-wrap {
  display: none !important;
}
.trend-select {
  min-height: 28px !important;
  padding: 2px 10px !important;
  font-size: 0.76rem !important;
  border-radius: 6px !important;
  width: auto !important;
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
.trend-legend {
  display: flex !important;
  gap: 16px !important;
  margin-bottom: 12px;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
}
.trend-chart text {
  font-weight: 500 !important;
}
.trend-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trend-key.concepts { color: #a78bfa !important; }
#conceptsView {
  padding: 4px 2px 24px;
}
#conceptsView > .section-header {
  align-items: end;
  margin-bottom: 16px;
}
#conceptSummary,
#conceptTabCount,
#gallerySummary,
#duplicateSummary,
#releasedSummary,
#paymentSummary,
#artistPortalSummary,
#recycleSummary {
  display: none !important;
}
#boardView > .section-header,
#releasedView > .section-header,
#paymentsView > .section-header,
#artistPortalView > .section-header,
#recycleView > .section-header,
#calendarView > .calendar-unscheduled-header {
  display: none !important;
}
#galleryView > .section-header > h2,
#duplicatesView > .section-header > div:first-child,
#calendarView > .section-header > h2 {
  display: none !important;
}
#galleryView > .section-header,
#duplicatesView > .section-header,
#calendarView > .section-header {
  justify-content: flex-end;
}
.released-card {
  overflow: hidden !important;
}
.released-order-label {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-grid;
  min-width: 42px;
  height: 30px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 7px;
  color: #f8fafc;
  background: rgba(10, 15, 26, 0.82);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
#conceptsView .size-slider {
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#conceptsView .size-slider input[type="range"] {
  accent-color: #6366f1;
}
#conceptsView .concept-grid {
  gap: 14px;
}
#conceptsView .concept-card {
  gap: 10px;
  overflow: hidden;
  padding: 10px !important;
  border-color: #26314a !important;
  border-radius: 9px !important;
  background: linear-gradient(145deg, #111827, #0d1322) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3) !important;
}
#conceptsView .concept-image-button {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-radius: 7px !important;
  background: #090e19 !important;
}
#conceptsView .concept-image-button img,
#conceptsView .concept-image-button .thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}
#conceptsView .concept-actions {
  gap: 10px;
}
#conceptsView .concept-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 7px !important;
  font-size: 0.9rem;
  font-weight: 700;
}
#conceptsView .concept-actions svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#conceptsView .concept-edit-button,
#conceptsView .concept-final-button {
  border: 1px solid rgba(248, 113, 113, 0.24) !important;
  color: var(--ink) !important;
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.2), rgba(69, 20, 31, 0.24)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025) !important;
  white-space: nowrap;
}
.trend-key.completed { color: #4ade80 !important; }
.trend-key.released { color: #60a5fa !important; }
.trend-key.revisions { color: #fb923c !important; }
.insight-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  min-height: auto !important;
}
.insight-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  padding: 14px 12px !important;
  background: var(--panel-strong) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  text-align: left !important;
  cursor: pointer;
  box-shadow: var(--shadow) !important;
  min-height: 150px !important;
  height: auto !important;
  position: relative !important;
}
.insight-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  width: 100% !important;
}
.insight-label {
  display: block !important;
  font-size: 0.58rem !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
  text-transform: none !important;
  margin-bottom: 1px !important;
  line-height: 1.2 !important;
}
.insight-desc {
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  line-height: 1.2 !important;
  margin-top: 0 !important;
}
.insight-val {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  margin-top: 1px !important;
  line-height: 1.15 !important;
}
.insight-submeta {
  font-size: 0.62rem !important;
  color: var(--muted) !important;
  opacity: 0.75;
  margin-top: 1px !important;
  line-height: 1.2 !important;
}
.insight-card .dashboard-row-icon {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  margin-bottom: 10px !important;
  margin-right: 0 !important;
  flex-shrink: 0;
  box-shadow: none !important;
}
.insight-card .dashboard-row-icon svg {
  width: 12px !important;
  height: 12px !important;
}
.insight-card .dashboard-row-icon.accent { 
  background: rgba(168, 85, 247, 0.12) !important; 
  color: #a78bfa !important; 
  border: 1.5px solid rgba(168, 85, 247, 0.35) !important; 
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25) !important; 
}
.insight-card .dashboard-row-icon.warn { 
  background: rgba(249, 115, 22, 0.12) !important; 
  color: #ffb07c !important; 
  border: 1.5px solid rgba(249, 115, 22, 0.35) !important; 
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.25) !important; 
}
.insight-card .dashboard-row-icon.delayed { 
  background: rgba(59, 130, 246, 0.12) !important; 
  color: #60a5fa !important; 
  border: 1.5px solid rgba(59, 130, 246, 0.35) !important; 
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25) !important; 
}
.insight-card .dashboard-row-icon.good { 
  background: rgba(34, 197, 94, 0.12) !important; 
  color: #6ee7b7 !important; 
  border: 1.5px solid rgba(34, 197, 94, 0.35) !important; 
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25) !important; 
}
.insight-card .dashboard-row-icon.danger {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #fca5a5 !important;
  border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
}
.insight-card b {
  font-weight: 500;
  color: var(--muted);
}
.insight-card em {
  display: none !important;
}
.readiness-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin-top: 14px;
}
.readiness-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px 20px !important;
  background: var(--panel-strong) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  text-align: left !important;
  cursor: pointer;
  min-height: 114px !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}
.readiness-icon-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.readiness-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.readiness-card .dashboard-row-icon {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}
.readiness-card .dashboard-row-icon svg {
  width: 20px !important;
  height: 20px !important;
}
.readiness-card.blue .dashboard-row-icon { 
  background: rgba(59, 130, 246, 0.12) !important; 
  color: #60a5fa !important; 
  border: 1.5px solid rgba(59, 130, 246, 0.35) !important; 
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25) !important; 
}
.readiness-card.purple .dashboard-row-icon {
  background: rgba(139, 92, 246, 0.12) !important;
  color: #a78bfa !important;
  border: 1.5px solid rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25) !important;
}
.readiness-card.gold .dashboard-row-icon { 
  background: rgba(245, 158, 11, 0.12) !important; 
  color: #fcd34d !important; 
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important; 
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25) !important; 
}
.readiness-card.green .dashboard-row-icon { 
  background: rgba(34, 197, 94, 0.12) !important; 
  color: #6ee7b7 !important; 
  border: 1.5px solid rgba(34, 197, 94, 0.35) !important; 
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25) !important; 
}
.readiness-card strong {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  line-height: 1 !important;
  margin: 0 0 4px 0 !important;
}
.readiness-card small {
  display: block !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  margin-bottom: 4px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.readiness-card em {
  display: block !important;
  font-style: normal !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #818cf8 !important;
  text-decoration: none !important;
}
.dashboard-main-grid {
  display: grid !important;
  grid-template-columns: 1.6fr 1.05fr !important;
  gap: 14px !important;
  margin-top: 14px;
}
.dashboard-bottom-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1.1fr 1fr !important;
  gap: 14px !important;
  margin-top: 14px;
}
@media (max-width: 1000px) {
.dashboard-main-grid {
    grid-template-columns: 1fr !important;
  }
.dashboard-bottom-grid {
    grid-template-columns: 1fr !important;
  }
}
.workload-panel table {
  width: 100%;
  border-collapse: collapse;
}
.workload-panel th {
  text-align: left;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
  text-transform: uppercase;
  padding: 10px 8px !important;
  border-bottom: 1px solid var(--line) !important;
}
.workload-panel td {
  padding: 10px 8px !important;
  font-size: 0.82rem !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--soft-line) !important;
  vertical-align: middle;
}
.artist-avatar {
  display: inline-flex !important;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.66rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  vertical-align: middle;
}
.artist-avatar.unassigned { background: #475569 !important; }
.workload-progress-cell {
  color: #22c55e !important;
  font-weight: 700 !important;
}
.workload-progress-cell.warn {
  color: #ef4444 !important;
}
.activity-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.activity-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  padding: 12px 16px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left !important;
  cursor: pointer;
  gap: 16px !important;
  border-radius: 12px !important;
  transition: background 0.2s ease !important;
}
.activity-row .dashboard-row-icon {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  background: var(--panel-strong) !important;
  color: var(--ink) !important;
}
.activity-row .dashboard-row-icon svg {
  width: 18px !important;
  height: 18px !important;
}
.activity-row .dashboard-row-icon.good { 
  background: rgba(34, 197, 94, 0.12) !important; 
  color: #6ee7b7 !important; 
  border: 1.5px solid rgba(34, 197, 94, 0.35) !important; 
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25) !important; 
}
.activity-row .dashboard-row-icon.blue { 
  background: rgba(59, 130, 246, 0.12) !important; 
  color: #60a5fa !important; 
  border: 1.5px solid rgba(59, 130, 246, 0.35) !important; 
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25) !important; 
}
.activity-row .dashboard-row-icon.warn { 
  background: rgba(245, 158, 11, 0.12) !important; 
  color: #fcd34d !important; 
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important; 
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25) !important; 
}
.activity-row .dashboard-row-icon.purple { 
  background: rgba(168, 85, 247, 0.12) !important; 
  color: #c084fc !important; 
  border: 1.5px solid rgba(168, 85, 247, 0.35) !important; 
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25) !important; 
}
.activity-row > span:nth-child(2) {
  display: block !important;
  flex-grow: 1;
  font-size: 0.85rem !important;
  color: var(--ink) !important;
}
.activity-row span strong {
  display: inline !important;
  font-weight: 700;
  color: var(--ink) !important;
}
.activity-row span small {
  display: block;
  color: var(--muted) !important;
  font-size: 0.8rem !important;
  margin-top: 4px !important;
}
.activity-row time {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
  flex-shrink: 0;
}
.tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
.tabs::-webkit-scrollbar {
  display: none !important;
}
.tab-button {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
.metric-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 14px !important;
}
@media (max-width: 1200px) {
.metric-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 1000px) {
.insight-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
.readiness-card-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 920px) {
.filters {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  }
.top-actions {
    flex-wrap: wrap !important;
  }
h1,
.topbar h1 {
    font-size: 1.25rem !important;
  }
h2 {
    font-size: 1.12rem !important;
  }
.metric strong {
    font-size: 1.35rem !important;
  }
.readiness-card strong {
    font-size: 1.35rem !important;
  }
.pipeline-copy b {
    font-size: 1.25rem !important;
  }
}
@media (max-width: 760px) {
.insight-grid {
    grid-template-columns: 1fr !important;
  }
.topbar {
    padding: 20px 16px 16px !important;
  }
.tabs {
    padding: 14px 16px 0 !important;
    gap: 10px !important;
  }
main {
    padding: 14px 16px 0 !important;
  }
.tab-button {
    font-size: 0.78rem !important;
  }
.metric strong {
    font-size: 1.25rem !important;
  }
.readiness-card strong {
    font-size: 1.25rem !important;
  }
.insight-val {
    font-size: 1.15rem !important;
  }
.metric-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
.metric-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
.trend-chart text {
    font-size: 8px !important;
  }
.concept-card,
.gallery-card,
.project-card {
    max-width: 100% !important;
  }
.topbar {
    padding: 16px 14px 14px !important;
  }
.topbar h1 {
    font-size: 1.12rem !important;
  }
.top-actions {
    gap: 6px !important;
  }
.top-actions button,
.top-actions .search-container,
.search-input-field {
    font-size: 0.78rem !important;
    min-height: 34px !important;
  }
.search-input-field {
    width: 100% !important;
  }
.search-container {
    flex: 1 1 100% !important;
  }
.tabs {
    padding: 10px 14px 0 !important;
    gap: 8px !important;
  }
main {
    padding: 12px 14px 0 !important;
  }
h2 {
    font-size: 1.02rem !important;
  }
.tab-button {
    font-size: 0.74rem !important;
  }
.metric strong {
    font-size: 1.15rem !important;
  }
.readiness-card strong {
    font-size: 1.15rem !important;
  }
.readiness-card small {
    font-size: 0.76rem !important;
  }
.insight-val {
    font-size: 1.1rem !important;
  }
.insight-desc {
    font-size: 0.78rem !important;
  }
.pipeline-copy b {
    font-size: 1.12rem !important;
  }
.activity-row > span:nth-child(2) {
    font-size: 0.78rem !important;
  }
.activity-row span small {
    font-size: 0.74rem !important;
  }
}
@media (max-width: 480px) {
.metric-grid {
    grid-template-columns: 1fr !important;
  }
}
html,
body {
  height: 100%;
}
.app-shell {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}
main {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.dashboard-view.active {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.dashboard-main-grid,
.dashboard-bottom-grid {
  flex-grow: 1 !important;
}
.dashboard-panel {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.trend-panel .trend-chart {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: center !important;
}
.trend-panel .trend-chart svg {
  flex-grow: 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 200px !important;
  max-height: 400px !important;
}
.production-insights-panel .attention-list,
.workload-panel .dashboard-table,
.release-readiness-panel .readiness-card-grid,
.activity-panel .activity-list {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}
.insight-grid {
  display: grid !important;
  flex-grow: 1 !important;
  grid-auto-rows: 1fr !important;
}
.insight-card {
  height: 100% !important;
}
.readiness-card-grid {
  grid-auto-rows: 1fr !important;
}
.dashboard-view.active {
  display: block !important;
}
.dashboard-main-grid,
.dashboard-bottom-grid,
.dashboard-panel,
.trend-panel .trend-chart,
.trend-panel .trend-chart svg,
.production-insights-panel .attention-list,
.workload-panel .dashboard-table,
.release-readiness-panel .readiness-card-grid,
.activity-panel .activity-list {
  flex-grow: 0 !important;
  height: auto !important;
}
.dashboard-panel {
  min-height: 0 !important;
}
.insight-grid {
  flex-grow: 0 !important;
  grid-auto-rows: auto !important;
}
.insight-card {
  height: auto !important;
}
.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  align-items: stretch !important;
}
.metric {
  min-width: 0 !important;
}
.metric-content {
  min-width: 0 !important;
  padding-right: 70px !important;
}
.metric .metric-label,
.metric small {
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
.pipeline-overview {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  overflow: visible !important;
  gap: 14px !important;
}
.pipeline-node {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 130px !important;
  justify-items: center !important;
}
.pipeline-node .pipeline-card {
  width: min(100%, 168px) !important;
  max-width: 168px !important;
}
.pipeline-copy {
  margin-top: 10px !important;
}
.pipeline-copy b {
  font-size: 1.45rem !important;
}
@media (min-width: 921px) {
.pipeline-overview {
    grid-template-columns: repeat(7, minmax(150px, 1fr)) !important;
    gap: 18px !important;
  }
.pipeline-node .pipeline-card {
    min-height: 96px !important;
  }
}
.dashboard-main-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 1fr) !important;
}
.dashboard-bottom-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.82fr) minmax(300px, 1fr) !important;
}
.trend-panel .trend-chart svg {
  min-height: 220px !important;
  max-height: 300px !important;
}
.section-header {
  min-width: 0 !important;
}
.section-header > div {
  min-width: 0 !important;
}
@media (max-width: 1000px) {
.dashboard-main-grid,
.dashboard-bottom-grid {
    grid-template-columns: 1fr !important;
  }
.dashboard-panel {
    height: auto !important;
  }
}
@media (max-width: 920px) {
.topbar {
    align-items: flex-start !important;
  }
.top-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }
.pipeline-overview {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }
.pipeline-node {
    min-height: 118px !important;
  }
.pipeline-node .pipeline-card {
    min-height: 82px !important;
    padding: 14px 10px !important;
  }
}
@media (max-width: 760px) {
.metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)) !important;
  }
.metric {
    min-height: 108px !important;
    padding: 16px !important;
  }
.metric .metric-icon {
    width: 42px !important;
    height: 42px !important;
  }
.metric-content {
    margin-left: 12px !important;
    padding-right: 0 !important;
  }
.metric-spark {
    display: none !important;
  }
.dashboard-panel {
    padding: 14px !important;
  }
.section-header {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
.trend-panel .trend-chart {
    overflow-x: auto !important;
  }
.trend-panel .trend-chart svg {
    min-width: 640px !important;
    min-height: 220px !important;
  }
}
@media (max-width: 520px) {
.topbar {
    gap: 12px !important;
  }
.top-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
.top-actions .user-pill,
.top-actions .search-container {
    grid-column: 1 / -1 !important;
  }
.top-actions button {
    width: 100% !important;
    justify-content: center !important;
  }
.metric-grid,
.pipeline-overview,
.insight-grid,
.readiness-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
.metric {
    min-height: 96px !important;
    gap: 10px !important;
  }
.metric .metric-icon {
    width: 36px !important;
    height: 36px !important;
  }
.metric-content {
    margin-left: 0 !important;
  }
.pipeline-node {
    min-height: auto !important;
  }
.pipeline-node .pipeline-card {
    min-height: 82px !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    padding: 10px 8px !important;
    width: min(100%, 150px) !important;
    max-width: 150px !important;
  }
.pipeline-icon svg {
    width: 26px !important;
    height: 26px !important;
  }
.pipeline-copy b {
    font-size: 1rem !important;
  }
.insight-card,
.readiness-card {
    min-height: 0 !important;
    gap: 8px !important;
    padding: 12px !important;
  }
.readiness-info {
    min-width: 0 !important;
  }
.insight-card .dashboard-row-icon,
.readiness-card .dashboard-row-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
.insight-val,
.readiness-card strong {
    font-size: 1rem !important;
  }
.insight-desc,
.readiness-card small {
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
  }
.pipeline-copy {
    margin-top: 6px !important;
  }
.dashboard-table {
    overflow-x: auto !important;
  }
.trend-panel .trend-chart svg {
    min-width: 520px !important;
    min-height: 190px !important;
  }
}
@media (max-width: 340px) {
.metric-grid,
.pipeline-overview,
.insight-grid,
.readiness-card-grid {
    grid-template-columns: 1fr !important;
  }
}
.trend-panel .trend-chart {
  width: 100% !important;
  display: block !important;
  overflow: visible !important;
}
.trend-panel .trend-chart svg {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 300px !important;
  flex: none !important;
}
.production-insights-panel .attention-list {
  display: flex !important;
  flex: 1 1 auto !important;
}
.production-insights-panel .insight-grid {
  flex: 1 1 auto !important;
  grid-auto-rows: 1fr !important;
}
.release-readiness-panel .readiness-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
}
.release-readiness-panel .readiness-card {
  height: 100% !important;
  min-height: 148px !important;
  min-width: 0 !important;
  gap: 20px !important;
  padding: 22px !important;
}
.release-readiness-panel .readiness-info {
  gap: 8px !important;
}
.release-readiness-panel .readiness-card strong,
.release-readiness-panel .readiness-card small {
  margin: 0 !important;
}
.release-readiness-panel .readiness-card .dashboard-row-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
}
.release-readiness-panel .readiness-card .dashboard-row-icon svg {
  width: 26px !important;
  height: 26px !important;
}
.release-readiness-panel .readiness-card strong {
  font-size: 1.8rem !important;
  line-height: 1 !important;
}
.release-readiness-panel .readiness-card small {
  font-size: 0.9rem !important;
  line-height: 1.25 !important;
}
.release-readiness-panel .readiness-card em {
  margin-top: 2px !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
}
@media (max-width: 520px) {
.release-readiness-panel .readiness-card-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 1500px) and (min-height: 700px) {
html:has(#dashboardView.active),
body:has(#dashboardView.active) {
    height: 100dvh;
    overflow: hidden;
  }
.app-shell:has(#dashboardView.active) {
    height: 100dvh !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
    overflow: hidden;
  }
.topbar {
    min-height: clamp(54px, 7.2vh, 68px) !important;
    padding: clamp(7px, 1vh, 12px) clamp(14px, 1.5vw, 24px) !important;
  }
.topbar-brand {
    gap: clamp(8px, 0.8vw, 13px) !important;
  }
.brand-mark {
    width: clamp(38px, min(3.1vw, 5.2vh), 48px) !important;
    height: clamp(38px, min(3.1vw, 5.2vh), 48px) !important;
  }
.brand-mark svg {
    width: 62% !important;
    height: 62% !important;
  }
.topbar .eyebrow {
    font-size: clamp(0.52rem, min(0.55vw, 0.9vh), 0.66rem) !important;
  }
.topbar h1 {
    font-size: clamp(0.96rem, min(1.05vw, 1.8vh), 1.24rem) !important;
  }
.top-actions {
    gap: clamp(4px, 0.45vw, 7px) !important;
    flex-wrap: nowrap !important;
  }
.top-actions button,
.top-actions .user-pill,
.top-actions .search-container input {
    min-height: clamp(30px, 4.2vh, 42px) !important;
    font-size: clamp(0.62rem, min(0.65vw, 1.05vh), 0.78rem) !important;
  }
.top-actions button,
.top-actions .user-pill {
    padding-inline: clamp(8px, 0.75vw, 13px) !important;
  }
.user-pill-icon {
    width: clamp(22px, min(1.8vw, 3vh), 28px) !important;
    height: clamp(22px, min(1.8vw, 3vh), 28px) !important;
  }
.top-actions .search-container {
    min-width: clamp(170px, 14vw, 240px) !important;
  }
.top-actions .search-container input {
    width: clamp(170px, 14vw, 240px) !important;
  }
.tabs {
    height: clamp(32px, 4.4vh, 42px) !important;
    min-height: clamp(32px, 4.4vh, 42px) !important;
    padding: 0 clamp(14px, 1.5vw, 24px) !important;
    gap: clamp(2px, 0.28vw, 5px) !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: clamp(6px, 0.42vw, 10px) !important;
  }
.tab-button {
    height: clamp(26px, 3.5vh, 32px) !important;
    min-height: clamp(26px, 3.5vh, 32px) !important;
    padding: 0 clamp(5px, 0.48vw, 9px) !important;
    font-size: clamp(0.58rem, min(0.6vw, 0.95vh), 0.72rem) !important;
    line-height: 1 !important;
    align-items: center !important;
    justify-content: center !important;
  }
.tab-button > span:not(.tab-icon) {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
  }
.tab-icon {
    display: inline-grid !important;
    place-items: center !important;
    width: 14px !important;
    height: 14px !important;
    line-height: 0 !important;
  }
.tab-icon svg {
    display: block !important;
    width: 13px !important;
    height: 13px !important;
  }
main:has(#dashboardView.active) {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 clamp(6px, 0.42vw, 10px) clamp(5px, 0.7vh, 8px) !important;
    overflow: hidden;
  }
#dashboardView.active {
    --dash-gap: clamp(6px, 0.42vw, 10px);
    --dash-gap-tight: clamp(4px, 0.31vw, 8px);
    --dash-icon-sm: clamp(22px, 1.46vw, 34px);
    --dash-icon-md: clamp(27px, 1.77vw, 42px);
    --dash-spark-w: clamp(44px, 3.125vw, 72px);
    --dash-spark-h: clamp(24px, 2.96vh, 40px);
    --dash-text-xs: clamp(0.54rem, min(0.62vw, 0.92vh), 0.76rem);
    --dash-text-sm: clamp(0.62rem, min(0.7vw, 1.06vh), 0.88rem);
    --dash-text-md: clamp(0.74rem, min(0.82vw, 1.28vh), 1.04rem);
    --dash-text-lg: clamp(0.9rem, min(1vw, 1.55vh), 1.28rem);
    --dash-text-xl: clamp(1.12rem, min(1.28vw, 2.05vh), 1.7rem);
    display: grid !important;
    grid-template-rows:
      minmax(0, 0.55fr)
      minmax(0, 0.85fr)
      minmax(0, 1.35fr)
      minmax(0, 2.1fr)
      minmax(0, 2.15fr);
    gap: var(--dash-gap);
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden;
  }
#dashboardView,
#dashboardView > *,
#dashboardView .dashboard-panel,
#dashboardView .metric,
#dashboardView .pipeline-node,
#dashboardView .pipeline-card,
#dashboardView .insight-card,
#dashboardView .readiness-card {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 0 !important;
    min-width: 0 !important;
  }
#dashboardView .target-progress-panel,
#dashboardView .metric-grid,
#dashboardView .pipeline-panel,
#dashboardView .dashboard-main-grid,
#dashboardView .dashboard-bottom-grid {
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
#dashboardView .target-progress-panel {
    gap: clamp(8px, 0.9vw, 14px);
    padding: clamp(5px, 0.65vh, 8px) clamp(8px, 0.9vw, 14px);
  }
#dashboardView .target-progress-icon {
    width: 36px;
    height: 36px;
  }
#dashboardView .target-progress-copy {
    gap: 4px;
  }
#dashboardView .metric-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: var(--dash-gap) !important;
  }
#dashboardView .metric {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center !important;
    column-gap: clamp(6px, 0.65vw, 12px) !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(6px, 0.85vh, 10px) clamp(7px, 0.75vw, 12px) !important;
  }
#dashboardView .metric-icon {
    position: static !important;
    grid-column: 1;
    grid-row: 1;
    width: clamp(29px, min(2.5vw, 4.2vh), 40px) !important;
    height: clamp(29px, min(2.5vw, 4.2vh), 40px) !important;
  }
#dashboardView .metric-icon svg {
    width: 62% !important;
    height: 62% !important;
  }
#dashboardView .metric-content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 clamp(34px, 3.2vw, 62px) 0 0 !important;
  }
#dashboardView .metric-label,
#dashboardView .metric small {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
#dashboardView .metric-spark {
    right: clamp(5px, 0.55vw, 10px) !important;
    bottom: clamp(5px, 0.7vh, 9px) !important;
    width: clamp(36px, 3.5vw, 62px) !important;
    height: clamp(18px, 2.8vh, 30px) !important;
  }
#dashboardView .metric strong {
    font-size: var(--dash-text-xl) !important;
  }
#dashboardView .pipeline-panel,
#dashboardView .dashboard-panel {
    padding: clamp(6px, 0.8vh, 10px) clamp(7px, 0.75vw, 12px) !important;
  }
#dashboardView .pipeline-panel {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
  }
#dashboardView .dashboard-panel > .section-header {
    gap: clamp(5px, 0.5vw, 9px) !important;
    margin-bottom: clamp(3px, 0.45vh, 6px) !important;
  }
#dashboardView .dashboard-panel > .section-header .ghost-button {
    min-height: clamp(25px, 3.5vh, 36px) !important;
    padding-inline: clamp(7px, 0.7vw, 12px) !important;
    font-size: var(--dash-text-sm) !important;
    line-height: 1 !important;
  }
#dashboardView .dashboard-panel > .section-header h2 {
    font-size: var(--dash-text-md) !important;
  }
#dashboardView .pipeline-overview {
    height: 100%;
    min-height: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, clamp(180px, 12.5vw, 240px)), 1fr)) !important;
    gap: var(--dash-gap) !important;
    align-items: stretch !important;
  }
#dashboardView .pipeline-node {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(2px, 0.45vh, 6px) !important;
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
    align-content: stretch !important;
    overflow: visible !important;
  }
#dashboardView .pipeline-node .pipeline-card {
    align-self: stretch;
    justify-self: center !important;
    width: min(100%, clamp(104px, 7.4vw, 142px)) !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(5px, 0.7vh, 9px) !important;
    gap: clamp(2px, 0.35vh, 6px) !important;
  }
#dashboardView .pipeline-icon {
    width: clamp(20px, min(1.25vw, 2.2vh), 24px) !important;
    height: clamp(20px, min(1.25vw, 2.2vh), 24px) !important;
  }
#dashboardView .pipeline-icon svg {
    width: 72% !important;
    height: 72% !important;
  }
#dashboardView .pipeline-card strong {
    font-size: clamp(0.52rem, min(0.58vw, 0.96vh), 0.66rem) !important;
    line-height: 1.05 !important;
  }
#dashboardView .pipeline-copy {
    display: grid !important;
    place-items: center !important;
    min-height: clamp(18px, 2.4vh, 27px) !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
#dashboardView .pipeline-copy b {
    font-size: clamp(0.9rem, min(1vw, 1.7vh), 1.2rem) !important;
    line-height: 1 !important;
  }
#dashboardView .dashboard-main-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) !important;
    gap: var(--dash-gap) !important;
  }
#dashboardView .dashboard-bottom-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.82fr) minmax(0, 1fr) !important;
    gap: var(--dash-gap) !important;
  }
#dashboardView .production-insights-panel,
#dashboardView .workload-panel,
#dashboardView .release-readiness-panel {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }
#dashboardView .production-insights-panel {
    container-type: inline-size;
    container-name: dashboard-insights;
  }
#dashboardView .activity-panel {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
  }
#dashboardView .dashboard-panel > .section-header:has(.dashboard-panel-heading) {
    align-items: flex-start !important;
    margin-bottom: 0.55em !important;
  }
#dashboardView .dashboard-panel-heading {
    display: grid !important;
    align-content: start !important;
    gap: 0.15em !important;
    min-width: 0 !important;
  }
#dashboardView .dashboard-panel-heading h2,
#dashboardView .dashboard-panel-heading .small-muted {
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
#dashboardView .workload-panel > .section-header .ghost-button {
    min-height: 0 !important;
    height: auto !important;
    align-self: flex-start !important;
    padding: 0.45em 0.7em !important;
  }
#dashboardView .insight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: var(--dash-gap-tight) !important;
    margin-top: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: stretch !important;
  }
#dashboardView .readiness-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--dash-gap-tight) !important;
    margin-top: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: stretch !important;
  }
#dashboardView .dashboard-panel,
#dashboardView .dashboard-main-grid,
#dashboardView .dashboard-bottom-grid {
    overflow: hidden !important;
  }
#dashboardView .trend-panel {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }
#dashboardView .trend-panel .trend-chart {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    gap: clamp(3px, 0.55vh, 6px) !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }
#dashboardView .trend-panel .trend-chart > :first-child {
    margin-bottom: 0 !important;
  }
#dashboardView .trend-panel .trend-chart svg {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
  }
#dashboardView .production-insights-panel .attention-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
#dashboardView .production-insights-panel .insight-grid {
    width: 100% !important;
    height: 100% !important;
    grid-auto-rows: minmax(0, 1fr) !important;
  }
#dashboardView .readiness-card {
    min-height: 0 !important;
    height: 100% !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }
#dashboardView .readiness-card .dashboard-row-icon {
    width: var(--dash-icon-md) !important;
    height: var(--dash-icon-md) !important;
  }
#dashboardView .readiness-card strong {
    font-size: 1.1rem !important;
  }
#dashboardView .workload-panel td,
#dashboardView .workload-panel th {
    padding: clamp(2px, 0.42vh, 4px) clamp(3px, 0.4vw, 6px) !important;
  }
#dashboardView .activity-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 2px !important;
    overflow: hidden !important;
  }
#dashboardView .activity-row {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    padding: 5px 8px !important;
    gap: var(--dash-gap) !important;
    font-size: var(--dash-text-sm) !important;
    line-height: 1.1 !important;
  }
#dashboardView .activity-row .dashboard-row-icon {
    width: var(--dash-icon-sm) !important;
    min-width: var(--dash-icon-sm) !important;
    height: var(--dash-icon-sm) !important;
    min-height: var(--dash-icon-sm) !important;
  }
#dashboardView .activity-row small {
    font-size: var(--dash-text-xs) !important;
  }
#dashboardView .target-progress-heading span,
#dashboardView .target-progress-copy > div:first-child > span,
#dashboardView .metric-label,
#dashboardView .metric small,
#dashboardView .pipeline-copy span,
#dashboardView .dashboard-panel .small-muted,
#dashboardView .trend-key,
#dashboardView .workload-panel th,
#dashboardView .readiness-card small,
#dashboardView .readiness-card em {
    font-size: var(--dash-text-xs) !important;
  }
#dashboardView .target-progress-heading strong,
#dashboardView .target-progress-copy strong,
#dashboardView .pipeline-card span,
#dashboardView .workload-panel td,
#dashboardView .readiness-card {
    font-size: var(--dash-text-sm) !important;
  }
#dashboardView .target-progress-heading strong,
#dashboardView .pipeline-panel > .section-header h2,
#dashboardView .workload-panel > .section-header h2,
#dashboardView .release-readiness-panel > .section-header h2,
#dashboardView .activity-panel > .section-header h2 {
    font-size: var(--dash-text-md) !important;
  }
#dashboardView .trend-chart text {
    font-size: clamp(7px, min(0.5vw, 0.82vh), 11px) !important;
  }
}
@container dashboard-insights (max-width: 620px) {
#dashboardView .production-insights-panel .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1500px) and (min-height: 700px) and (max-height: 950px) {
#dashboardView .pipeline-node .pipeline-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: center !important;
    justify-items: start !important;
    column-gap: clamp(4px, 0.4vw, 7px) !important;
  }
#dashboardView .pipeline-node .pipeline-icon {
    width: clamp(17px, min(1.2vw, 2.5vh), 22px) !important;
    height: clamp(17px, min(1.2vw, 2.5vh), 22px) !important;
    margin: 0 !important;
  }
#dashboardView .pipeline-node .pipeline-card strong {
    width: 100% !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }
}
@media (min-width: 1500px) and (min-height: 700px) and (max-height: 850px) {
#dashboardView.active {
    --dash-text-xs: clamp(0.5rem, min(0.56vw, 0.88vh), 0.66rem);
    --dash-text-sm: clamp(0.56rem, min(0.62vw, 0.98vh), 0.72rem);
    --dash-text-md: clamp(0.66rem, min(0.72vw, 1.12vh), 0.84rem);
    --dash-text-lg: clamp(0.78rem, min(0.86vw, 1.32vh), 1rem);
    --dash-text-xl: clamp(1rem, min(1.1vw, 1.72vh), 1.35rem);
    grid-template-rows:
      minmax(0, 0.5fr)
      minmax(0, 0.8fr)
      minmax(0, 1.18fr)
      minmax(0, 2.08fr)
      minmax(0, 2.34fr);
  }
#dashboardView .dashboard-panel > .section-header .ghost-button {
    min-height: 24px !important;
    padding-inline: 7px !important;
  }
#dashboardView .pipeline-node .pipeline-card {
    min-height: 0 !important;
    padding: 2px 5px !important;
  }
#dashboardView .pipeline-node {
    grid-template-rows: minmax(23px, 1fr) auto !important;
  }
#dashboardView .pipeline-node .pipeline-card strong {
    font-size: clamp(8.4px, 0.66vw, 9px) !important;
    line-height: 1 !important;
  }
#dashboardView .pipeline-icon {
    width: clamp(19px, 2.7vh, 23px) !important;
    height: clamp(19px, 2.7vh, 23px) !important;
  }
#dashboardView .pipeline-copy {
    min-height: 15px !important;
  }
#dashboardView .pipeline-copy b {
    font-size: var(--dash-text-md) !important;
  }
#dashboardView .readiness-card {
    padding: 5px 6px !important;
    gap: 5px !important;
  }
#dashboardView .readiness-card .dashboard-row-icon {
    width: 27px !important;
    height: 27px !important;
  }
#dashboardView .readiness-card strong {
    font-size: var(--dash-text-lg) !important;
  }
#dashboardView .activity-row {
    padding: 2px 5px !important;
    gap: 5px !important;
  }
#dashboardView .activity-row .dashboard-row-icon {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
  }
#dashboardView .activity-row span {
    min-width: 0;
    overflow: hidden;
    line-height: 1.05 !important;
  }
#dashboardView .activity-row small {
    line-height: 1 !important;
  }
#dashboardView .workload-panel td,
#dashboardView .workload-panel th {
    height: auto !important;
    padding-block: 2px !important;
    line-height: 1.05 !important;
  }
#dashboardView .artist-avatar {
    width: 20px;
    height: 20px;
    margin-right: 4px;
  }
}
#dashboardView .production-insights-panel .insight-card {
  container-type: size;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
}
#dashboardView .production-insights-panel .insight-card-body {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(4px, 5cqmin, 14px);
  gap: clamp(14px, 10cqh, 28px);
  overflow: hidden;
}
#dashboardView .production-insights-panel .insight-info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: clamp(6px, 2.5cqh, 10px) !important;
  height: auto;
  min-width: 0;
  min-height: 0;
}
#dashboardView .production-insights-panel .insight-card .dashboard-row-icon {
  width: clamp(18px, 14cqmin, 34px) !important;
  min-width: clamp(18px, 14cqmin, 34px) !important;
  height: clamp(18px, 14cqmin, 34px) !important;
  min-height: clamp(18px, 14cqmin, 34px) !important;
  margin: 0 0 clamp(1px, 1.5cqmin, 4px) !important;
}
#dashboardView .production-insights-panel .insight-card .dashboard-row-icon svg {
  width: 62% !important;
  height: 62% !important;
}
#dashboardView .production-insights-panel .insight-label,
#dashboardView .production-insights-panel .insight-submeta {
  font-size: clamp(8px, 5.6cqmin, 13px) !important;
  line-height: 1.08 !important;
}
#dashboardView .production-insights-panel .insight-desc {
  font-size: clamp(9px, 6.8cqmin, 16px) !important;
  line-height: 1.08 !important;
}
#dashboardView .production-insights-panel .insight-val {
  font-size: clamp(13px, 10cqmin, 24px) !important;
  line-height: 1.04 !important;
}
#dashboardView .production-insights-panel .insight-label,
#dashboardView .production-insights-panel .insight-desc,
#dashboardView .production-insights-panel .insight-val,
#dashboardView .production-insights-panel .insight-submeta {
  margin: 0 0 clamp(1px, 1.2cqmin, 3px) !important;
  overflow-wrap: anywhere;
}
#dashboardView .production-insights-panel .insight-label {
  margin-bottom: clamp(5px, 4cqh, 12px) !important;
}
@container (max-height: 100px) {
#dashboardView .production-insights-panel .insight-card-body {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: clamp(4px, 2cqmin, 8px);
  }
#dashboardView .production-insights-panel .insight-info {
    justify-content: center !important;
    gap: clamp(1px, 1cqmin, 3px) !important;
    height: auto;
  }
#dashboardView .production-insights-panel .insight-label {
    margin-bottom: clamp(1px, 1cqh, 2px) !important;
  }
#dashboardView .production-insights-panel .insight-card .dashboard-row-icon {
    margin: 0 !important;
  }
}
@media (min-width: 1500px) and (min-height: 700px) {
#dashboardView .trend-panel .trend-chart {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }
#dashboardView .trend-panel .trend-legend {
    flex: 0 0 auto !important;
    margin-bottom: clamp(3px, 0.45vh, 6px) !important;
  }
#dashboardView .trend-panel .trend-canvas-wrap {
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
  }
#dashboardView .trend-panel .trend-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
  }
}
@media (min-width: 921px) and (max-width: 1499px) {
html:has(#dashboardView.active),
body:has(#dashboardView.active),
.app-shell:has(#dashboardView.active) {
    height: auto !important;
    min-height: 100dvh !important;
    overflow: auto !important;
    padding-bottom: 0 !important;
  }
main:has(#dashboardView.active) {
    flex: 1 1 auto !important;
    overflow: visible !important;
    padding: 8px clamp(14px, 1.5vw, 24px) 14px !important;
  }
#dashboardView.active {
    display: grid !important;
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    gap: 14px !important;
  }
#dashboardView.active > .target-progress-panel,
#dashboardView.active > .metric-grid,
#dashboardView.active > .pipeline-panel,
#dashboardView.active > .dashboard-main-grid,
#dashboardView.active > .dashboard-bottom-grid {
    margin-block: 0 !important;
  }
#dashboardView .target-progress-panel,
#dashboardView .metric-grid,
#dashboardView .pipeline-panel,
#dashboardView .dashboard-main-grid,
#dashboardView .dashboard-bottom-grid,
#dashboardView .dashboard-panel {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
#dashboardView .metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  }
#dashboardView .metric {
    min-height: 104px !important;
  }
#dashboardView .pipeline-panel {
    grid-template-rows: auto auto !important;
  }
#dashboardView .pipeline-overview {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    height: auto !important;
  }
#dashboardView .pipeline-node {
    min-height: 112px !important;
    height: auto !important;
  }
#dashboardView .pipeline-node .pipeline-card {
    min-height: 78px !important;
    height: auto !important;
  }
#dashboardView .dashboard-main-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
#dashboardView .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-rows: minmax(132px, auto) !important;
    height: auto !important;
  }
#dashboardView .production-insights-panel .insight-card {
    min-height: 132px !important;
    height: auto !important;
  }
#dashboardView .dashboard-bottom-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr) !important;
  }
#dashboardView .activity-panel {
    grid-column: 1 / -1;
  }
#dashboardView .readiness-card-grid {
    height: auto !important;
  }
#dashboardView .activity-list {
    height: auto !important;
    overflow: visible !important;
  }
#dashboardView .activity-row {
    flex: 0 0 auto !important;
    min-height: 56px !important;
  }
#dashboardView .trend-panel {
    min-height: 320px !important;
  }
#dashboardView .trend-panel .trend-canvas-wrap {
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    min-height: 240px !important;
    height: clamp(240px, 28vw, 320px) !important;
  }
}
@media (min-width: 1251px) and (max-width: 1499px) {
.topbar {
    min-height: 72px !important;
    padding: 10px 20px !important;
  }
.brand-mark {
    width: 44px !important;
    height: 44px !important;
  }
.topbar .eyebrow {
    font-size: 0.64rem !important;
  }
.topbar h1 {
    font-size: 1.12rem !important;
  }
.top-actions {
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }
.top-actions button,
.top-actions .user-pill,
.top-actions .search-container input {
    min-height: 40px !important;
    font-size: 0.72rem !important;
  }
.top-actions button,
.top-actions .user-pill {
    padding-inline: 11px !important;
  }
.top-actions .search-container,
.top-actions .search-container input {
    min-width: 210px !important;
    width: 210px !important;
  }
.tabs {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 20px !important;
    gap: 3px !important;
    align-items: center !important;
    margin-bottom: 8px !important;
  }
.tab-button {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 7px !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
  }
#dashboardView .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
#dashboardView .dashboard-main-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  }
#dashboardView .dashboard-bottom-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.82fr) minmax(300px, 1fr) !important;
  }
#dashboardView .activity-panel {
    grid-column: auto;
  }
#dashboardView .release-readiness-panel .readiness-card-grid {
    grid-template-rows: repeat(2, minmax(112px, auto)) !important;
    gap: 8px !important;
  }
#dashboardView .release-readiness-panel .readiness-card {
    min-height: 112px !important;
    padding: 12px !important;
    gap: 9px !important;
  }
#dashboardView .release-readiness-panel .readiness-card .dashboard-row-icon {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}
@media (max-width: 920px) {
#dashboardView .insight-grid {
    grid-auto-rows: minmax(132px, auto) !important;
    height: auto !important;
  }
#dashboardView .production-insights-panel .insight-card {
    min-height: 132px !important;
    height: auto !important;
  }
#dashboardView .production-insights-panel .insight-card-body {
    min-height: 132px !important;
    height: auto !important;
  }
}
@media (min-width: 761px) and (max-width: 920px) {
.app-shell:has(#dashboardView.active) {
    padding-bottom: 0 !important;
  }
.topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    grid-template-rows: auto auto;
    position: relative;
    z-index: 30;
    min-height: 0 !important;
    padding: 10px 14px !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    align-items: center !important;
    overflow: visible !important;
  }
.topbar-brand {
    grid-column: 1;
    grid-row: 1;
    gap: 10px !important;
    padding-right: 170px;
  }
.brand-mark {
    width: 44px !important;
    height: 44px !important;
  }
.brand-mark svg {
    width: 27px !important;
    height: 27px !important;
  }
.topbar .eyebrow {
    margin-bottom: 2px !important;
    font-size: 0.64rem !important;
  }
.topbar h1 {
    font-size: 1.16rem !important;
  }
.top-actions {
    display: contents !important;
  }
.top-actions .account-menu {
    position: absolute;
    top: 10px;
    right: 14px;
  }
.top-actions .user-pill,
.top-actions .search-container input {
    min-height: 42px !important;
    font-size: 0.74rem !important;
  }
.top-actions .user-pill {
    padding-inline: 10px !important;
    min-width: 146px !important;
    white-space: nowrap !important;
  }
.user-pill-icon {
    width: 26px !important;
    height: 26px !important;
  }
.top-actions .search-container {
    grid-column: 1;
    grid-row: 2;
    width: 100% !important;
    min-width: 0 !important;
  }
.top-actions .search-container input {
    width: 100% !important;
    min-width: 0 !important;
  }
.top-actions .notification-button {
    grid-column: 2;
    grid-row: 2;
  }
.top-actions #addImagesBtn {
    grid-column: 3;
    grid-row: 2;
  }
#logoutBtn.desktop-logout-button {
    display: none !important;
  }
.top-actions .notification-button,
.top-actions #addImagesBtn {
    width: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
.top-actions .notification-button .action-label,
.top-actions #addImagesBtn .action-label {
    display: none !important;
  }
.top-actions .notification-button {
    position: relative;
  }
.top-actions .notification-button #notificationCount {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    min-width: 8px;
    height: 8px;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
    border: 2px solid #0b1220;
  }
.account-dropdown {
    z-index: 60;
    position: fixed;
    top: 199px;
    right: 14px;
  }
.tabs {
    height: auto !important;
    min-height: 76px !important;
    padding: 5px 14px !important;
    gap: 4px !important;
    align-items: center !important;
    margin-bottom: 8px !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
    align-content: center !important;
  }
.tab-button {
    flex: 1 1 90px !important;
    min-width: 80px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 0.69rem !important;
    line-height: 1 !important;
  }
.tab-button .tab-icon {
    display: none !important;
  }
main:has(#dashboardView.active) {
    padding: 8px 14px 14px !important;
  }
#dashboardView .pipeline-overview {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  }
#dashboardView .pipeline-node {
    grid-column: span 2;
  }
#dashboardView .production-insights-panel .insight-card {
    min-height: 138px !important;
    height: auto !important;
  }
#dashboardView .production-insights-panel .insight-card-body {
    min-height: 136px !important;
    height: auto !important;
  }
}
@media (min-width: 880px) and (max-width: 920px) {
.account-dropdown {
    top: 163px;
  }
.tabs {
    height: 44px !important;
    min-height: 44px !important;
    padding-block: 0 !important;
    gap: 3px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }
.tab-button {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    padding-inline: 6px !important;
  }
}
@media (min-width: 761px) and (max-width: 920px) {
.topbar {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) 42px 42px max-content !important;
    grid-template-rows: auto !important;
    min-height: 0 !important;
    padding: 10px 14px !important;
    column-gap: 6px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }
.topbar-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-right: 0 !important;
  }
.top-actions {
    display: contents !important;
  }
.top-actions .search-container {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin-left: 6px !important;
  }
.top-actions .notification-button {
    grid-column: 3 !important;
    grid-row: 1 !important;
    margin-left: 6px !important;
  }
.top-actions #addImagesBtn {
    grid-column: 4 !important;
    grid-row: 1 !important;
  }
.top-actions .account-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    grid-column: 5 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }
.top-actions .user-pill {
    min-width: 136px !important;
    padding-inline: 8px !important;
  }
.account-dropdown {
    position: absolute !important;
    top: calc(100% + 62px) !important;
    right: 0 !important;
  }
.tabs {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 12px !important;
    gap: 1px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    overflow: hidden !important;
  }
.tab-button {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding-inline: 4px !important;
    font-size: clamp(0.55rem, 1.15vw, 0.68rem) !important;
    white-space: nowrap !important;
  }
}
@media (min-width: 921px) and (max-width: 1250px) {
.topbar {
    min-height: 0 !important;
    padding: 12px 16px !important;
    gap: 10px !important;
  }
.topbar-brand {
    gap: 11px !important;
  }
.brand-mark {
    width: 46px !important;
    height: 46px !important;
  }
.brand-mark svg {
    width: 28px !important;
    height: 28px !important;
  }
.topbar .eyebrow {
    margin-bottom: 3px !important;
    font-size: 0.68rem !important;
  }
.topbar h1 {
    font-size: 1.22rem !important;
  }
.top-actions {
    width: 100% !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
  }
.top-actions button,
.top-actions .user-pill,
.top-actions .search-container input {
    min-height: 42px !important;
    font-size: 0.76rem !important;
  }
.top-actions button,
.top-actions .user-pill {
    padding-inline: 10px !important;
  }
.top-actions .search-container {
    flex: 1 1 230px !important;
    min-width: 190px !important;
  }
.top-actions .search-container input {
    width: 100% !important;
    min-width: 0 !important;
  }
.user-pill-icon {
    width: 26px !important;
    height: 26px !important;
  }
.tabs {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    gap: 5px !important;
    align-items: center !important;
    margin-bottom: 8px !important;
  }
.tab-button {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 8px !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
  }
#dashboardView .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
#dashboardView .pipeline-overview {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
#dashboardView .pipeline-node {
    grid-column: span 2;
  }
#dashboardView .dashboard-bottom-grid {
    grid-template-columns: 1fr !important;
  }
#dashboardView .readiness-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
  }
}
@media (min-width: 921px) and (max-width: 1100px) {
.topbar {
    display: grid !important;
    grid-template-columns: max-content minmax(180px, 1fr) repeat(2, max-content) max-content;
    grid-template-rows: auto;
    position: relative;
    z-index: 30;
    align-items: center !important;
    column-gap: 6px !important;
    padding-block: 10px !important;
    overflow: visible !important;
  }
.topbar-brand {
    grid-column: 1;
    grid-row: 1;
  }
.top-actions {
    display: contents !important;
  }
.top-actions .account-menu {
    grid-column: 5;
    grid-row: 1;
    justify-self: end;
  }
.top-actions .search-container {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    margin-left: 12px !important;
  }
.top-actions .notification-button {
    grid-column: 3;
    grid-row: 1;
    margin-left: 6px !important;
  }
.top-actions #addImagesBtn {
    grid-column: 4;
    grid-row: 1;
  }
#logoutBtn.desktop-logout-button {
    display: none !important;
  }
.account-dropdown {
    z-index: 60;
    top: calc(100% + 62px);
  }
.top-actions .notification-button,
.top-actions #addImagesBtn {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
.top-actions .notification-button .action-label,
.top-actions #addImagesBtn .action-label {
    display: none !important;
  }
.top-actions .notification-button {
    position: relative;
  }
.top-actions .notification-button #notificationCount {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    min-width: 8px;
    height: 8px;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
    border: 2px solid #0b1220;
  }
.tabs {
    justify-content: space-between !important;
    gap: 1px !important;
    padding-inline: 12px !important;
    overflow-x: hidden !important;
  }
.tab-button {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    padding-inline: 6px !important;
    font-size: 0.68rem !important;
  }
.tab-button .tab-icon {
    display: none !important;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
.topbar {
    column-gap: 8px !important;
  }
.top-actions .search-container,
.top-actions .notification-button {
    margin-left: 0 !important;
  }
.account-dropdown {
    position: absolute !important;
    z-index: 60;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
}
@media (min-width: 1921px) {
html:has(#dashboardView.active),
body:has(#dashboardView.active) {
    height: 100dvh;
    overflow: hidden;
  }
.app-shell:has(#dashboardView.active) {
    height: 100dvh !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
  }
main:has(#dashboardView.active) {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 clamp(8px, 0.42vw, 14px) clamp(8px, 0.7vh, 14px) !important;
    overflow: hidden !important;
  }
#dashboardView.active {
    --dash-gap: clamp(8px, 0.42vw, 14px);
    --dash-gap-tight: clamp(6px, 0.31vw, 10px);
    --dash-icon-sm: clamp(28px, 1.46vw, 40px);
    --dash-icon-md: clamp(34px, 1.77vw, 48px);
    --dash-spark-w: clamp(60px, 3.125vw, 90px);
    --dash-spark-h: clamp(32px, 2.96vh, 48px);
    display: grid !important;
    grid-template-rows:
      minmax(0, 0.55fr)
      minmax(0, 0.85fr)
      minmax(0, 1.35fr)
      minmax(0, 2.1fr)
      minmax(0, 2.15fr) !important;
    grid-auto-rows: auto !important;
    gap: var(--dash-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
.tabs {
    margin-bottom: clamp(8px, 0.42vw, 14px) !important;
  }
#dashboardView .target-progress-panel,
#dashboardView .metric-grid,
#dashboardView .pipeline-panel,
#dashboardView .dashboard-main-grid,
#dashboardView .dashboard-bottom-grid {
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
#dashboardView .metric-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
#dashboardView .pipeline-overview {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }
#dashboardView .dashboard-main-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) !important;
  }
#dashboardView .dashboard-bottom-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.82fr) minmax(0, 1fr) !important;
  }
#dashboardView .insight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
#dashboardView .readiness-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--dash-gap-tight) !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
#dashboardView .trend-panel {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }
#dashboardView .trend-panel .trend-chart {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }
#dashboardView .trend-panel .trend-canvas-wrap {
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
  }
#dashboardView .trend-panel .trend-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
  }
#dashboardView .metric {
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(6px, 0.65vh, 9px) clamp(8px, 0.62vw, 13px) !important;
  }
#dashboardView .metric-icon {
    width: clamp(30px, 1.65vw, 42px) !important;
    height: clamp(30px, 1.65vw, 42px) !important;
  }
#dashboardView .metric strong {
    font-size: clamp(1.12rem, min(1.1vw, 1.72vh), 1.45rem) !important;
  }
#dashboardView .pipeline-panel {
    grid-template-rows: auto minmax(0, 1fr) !important;
  }
#dashboardView .pipeline-overview {
    height: 100% !important;
    min-height: 0 !important;
  }
#dashboardView .pipeline-node {
    min-height: 0 !important;
    height: 100% !important;
  }
#dashboardView .pipeline-node .pipeline-card {
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(5px, 0.62vh, 9px) !important;
  }
#dashboardView .release-readiness-panel {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    overflow: hidden !important;
  }
#dashboardView .release-readiness-panel .readiness-card {
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(8px, 0.72vh, 12px) clamp(9px, 0.7vw, 14px) !important;
    gap: clamp(6px, 0.5vh, 9px) !important;
    overflow: hidden !important;
  }
#dashboardView .release-readiness-panel .readiness-card .dashboard-row-icon {
    width: clamp(32px, 1.65vw, 42px) !important;
    height: clamp(32px, 1.65vw, 42px) !important;
    min-width: clamp(32px, 1.65vw, 42px) !important;
    min-height: clamp(32px, 1.65vw, 42px) !important;
  }
#dashboardView .release-readiness-panel .readiness-card strong {
    font-size: clamp(1.15rem, min(1.15vw, 1.85vh), 1.55rem) !important;
  }
#dashboardView .activity-panel,
#dashboardView .workload-panel {
    overflow: hidden !important;
  }
#dashboardView .activity-panel .activity-list {
    min-height: 0 !important;
    overflow-y: auto !important;
  }
}
@media (max-width: 760px) {
.topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px !important;
    grid-template-rows: auto !important;
    min-height: 0 !important;
    padding: 10px 14px !important;
    column-gap: 5px !important;
    row-gap: 0 !important;
    align-items: center !important;
    overflow: visible !important;
  }
.topbar-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    gap: 7px !important;
    min-width: 0 !important;
  }
.brand-mark {
    width: 38px !important;
    height: 38px !important;
  }
.brand-mark svg {
    width: 23px !important;
    height: 23px !important;
  }
.topbar .eyebrow {
    display: block !important;
    margin-bottom: 1px !important;
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }
.topbar h1 {
    overflow: hidden !important;
    font-size: 0.9rem !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
.top-actions {
    display: contents !important;
  }
.mobile-nav-toggle {
    display: inline-flex !important;
    grid-column: 4 !important;
    grid-row: 1 !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }
.mobile-nav-close-icon {
    display: none;
  }
body.mobile-nav-open .mobile-nav-open-icon {
    display: none;
  }
body.mobile-nav-open .mobile-nav-close-icon {
    display: block;
  }
.top-actions .account-menu,
#logoutBtn.desktop-logout-button {
    display: none !important;
  }
.top-actions .search-container {
    display: none !important;
  }
.top-actions .notification-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
.top-actions #addImagesBtn {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }
.top-actions .notification-button,
.top-actions #addImagesBtn {
    width: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
.top-actions .notification-button .action-label,
.top-actions #addImagesBtn .action-label {
    display: none !important;
  }
.top-actions .notification-button {
    position: relative;
  }
.top-actions .notification-button #notificationCount {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    min-width: 8px;
    height: 8px;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
    border: 2px solid #0b1220;
  }
.tabs {
    display: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 14px 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    overflow: visible !important;
  }
body.mobile-nav-open .tabs {
    display: grid !important;
  }
.mobile-nav-search {
    display: flex !important;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    gap: 9px;
    align-items: center;
    color: var(--muted);
    text-align: left;
    border: 1px solid #202b40;
    border-radius: 8px;
    background: #0c1626;
  }
.mobile-nav-search > span {
    flex: 1 1 auto;
  }
.tabs .tab-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    font-size: 0.72rem !important;
  }
.tabs .tab-button .tab-icon {
    display: block !important;
    flex: 0 0 auto !important;
  }
.tabs .tab-button.active {
    background: rgba(99, 102, 241, 0.12) !important;
  }
.mobile-nav-account {
    display: flex !important;
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 3px;
    padding-top: 10px;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }
.mobile-nav-user {
    display: flex;
    min-width: 0;
    gap: 8px;
    align-items: center;
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
  }
.mobile-nav-user .user-pill-icon {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
  }
#mobileLogoutBtn {
    width: auto !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    flex: 0 0 auto;
  }
main,
main:has(#dashboardView.active) {
    padding: 8px 14px 14px !important;
  }
}
#boardView {
  --board-accent: #94a3b8;
  --board-stage-muted: #64748b;
  padding: 4px 0 22px;
}
#boardView .board {
  grid-auto-columns: minmax(292px, 312px);
  gap: 12px;
  padding: 1px 1px 14px;
  scroll-snap-type: x proximity;
}
#boardView .board-column {
  --stage-color: var(--board-stage-muted);
  min-height: clamp(520px, calc(100vh - 270px), 760px);
  padding: 0 !important;
  overflow: hidden;
  scroll-snap-align: start;
  border-color: #222842 !important;
  background: #10121d !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}
#boardView .column-head {
  min-height: 54px;
  margin: 0;
  padding: 0 13px;
  border-bottom: 1px solid #222842;
  background: rgba(9, 12, 22, 0.42);
}
#boardView .column-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}
#boardView .column-head .count-badge {
  min-width: 28px;
  min-height: 26px;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #293047;
  color: #f8fafc !important;
  background: #161a28 !important;
}
#boardView .board-column-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
}
#boardView .board-project-card {
  gap: 10px;
  margin: 0;
  padding: 10px !important;
  overflow: hidden;
  border-color: #252b43 !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, #181b2a, #141725) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26) !important;
}
#boardView .board-project-card > img,
#boardView .board-project-card > .thumb-placeholder {
  display: block;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
}
#boardView .board-stage-checklist {
  gap: 6px !important;
  padding-top: 10px !important;
  border-top-color: rgba(148, 163, 184, 0.12) !important;
}
#boardView .board-task-row {
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  min-height: 34px !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(248, 113, 113, 0.28) !important;
  border-radius: 7px !important;
  background: rgba(127, 29, 29, 0.09) !important;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease !important;
}
#boardView .board-task-row input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-content: center;
  width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  border: 1px solid rgba(248, 113, 113, 0.38) !important;
  border-radius: 5px;
  background: rgba(69, 20, 31, 0.34) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}
#boardView .board-task-row input[type="checkbox"]::after {
  width: 8px;
  height: 4px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.6);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
#boardView .board-task-row input[type="checkbox"]:checked {
  border-color: #34d399 !important;
  background: linear-gradient(145deg, #059669, #047857) !important;
}
#boardView .board-task-row input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}
#boardView .board-task-row:has(input:checked) {
  border-color: rgba(52, 211, 153, 0.2) !important;
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.16), rgba(6, 95, 70, 0.1)) !important;
}
#boardView .board-task-row:has(input:checked):hover {
  border-color: rgba(52, 211, 153, 0.34) !important;
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.22), rgba(6, 95, 70, 0.14)) !important;
}
#boardView .board-task-row span,
#boardView .board-artist-select,
#boardView .stage-file-action strong {
  font-size: 0.7rem !important;
}
#boardView .board-task-row span {
  font-weight: 600 !important;
  line-height: 1.25;
}
#boardView .board-task-row:has(input:checked) span {
  color: #a7f3d0 !important;
  text-decoration: none !important;
  opacity: 0.82 !important;
}
#boardView .stage-file-action {
  padding-top: 10px !important;
}
#boardView .final-file-slots {
  display: grid !important;
  gap: 8px !important;
  margin-top: 10px !important;
}
#boardView .final-file-slots .stage-file-action {
  margin-top: 0 !important;
}
#boardView .stage-file-summary {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}
#boardView .stage-file-action.done {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 7px !important;
  margin-top: 8px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#boardView .stage-file-action.done .stage-file-list {
  width: 100% !important;
  display: grid !important;
  gap: 7px !important;
}
#boardView .stage-file-action.done .stage-file-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 36px !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(52, 211, 153, 0.18) !important;
  border-radius: 7px !important;
  background: rgba(6, 78, 59, 0.1) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.018) !important;
}
#boardView .stage-file-action.done .stage-file-name {
  min-width: 0 !important;
  color: #a7f3d0 !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
#boardView .stage-file-action button.stage-file-delete {
  display: inline-grid !important;
  place-items: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  border: 1px solid rgba(248, 113, 113, 0.3) !important;
  border-radius: 5px !important;
  color: #fff !important;
  background: rgba(127, 29, 29, 0.22) !important;
  box-shadow: none !important;
  font-size: 0.68rem !important;
  line-height: 1 !important;
}
#boardView .stage-file-action.file-drop-target {
  border-color: #fca5a5 !important;
  background: rgba(127, 29, 29, 0.24) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12) !important;
}
#boardView .stage-upload-button,
#boardView .board-card-actions button {
  min-height: 34px;
  border-radius: 7px !important;
  font-size: 0.7rem;
}
#boardView .board-card-actions:has(.board-review-approve) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
#boardView .board-card-actions:has(.board-review-approve) > .small-muted,
#boardView .board-card-actions:has(.board-review-approve) > .artist-file-list {
  grid-column: 1 / -1;
}
#boardView .board-review-approve,
#boardView .board-review-revision,
#boardView .stage-upload-button,
#boardView [data-payment-proof] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px !important;
  padding: 0 8px !important;
  border: 1px solid rgba(248, 113, 113, 0.24) !important;
  color: var(--ink) !important;
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.2), rgba(69, 20, 31, 0.24)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025) !important;
  font-weight: 700;
  white-space: nowrap;
}
#boardView [data-payment-proof]:hover {
  border-color: rgba(248, 113, 113, 0.42) !important;
  color: #fff !important;
  background: linear-gradient(145deg, rgba(153, 27, 27, 0.3), rgba(88, 28, 40, 0.34)) !important;
  transform: translateY(-1px);
}
#artistPortalView .artist-board-column {
  min-width: 260px;
  min-height: clamp(520px, calc(100vh - 270px), 760px);
  padding: 0 !important;
  overflow: hidden;
  border-color: #222842 !important;
  border-radius: 8px !important;
  background: #10121d !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}
#artistPortalView .artist-board-head {
  min-height: 54px;
  margin: 0;
  padding: 0 13px;
  border-bottom: 1px solid #222842 !important;
  background: rgba(9, 12, 22, 0.42) !important;
}
#artistPortalView .artist-board-head h3 {
  display: flex;
  min-width: 0;
  align-items: center;
  margin: 0;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}
#artistPortalView .artist-board-head span {
  min-width: 28px;
  min-height: 26px;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #293047;
  border-radius: 8px;
  color: #f8fafc !important;
  background: #161a28 !important;
}
#artistPortalView .artist-board-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
}
#artistPortalView .artist-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 1fr)) !important;
  gap: 14px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
}
#artistPortalView .artist-work-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 10px !important;
  overflow: hidden;
  border-color: #252b43 !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, #181b2a, #141725) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26) !important;
}
#artistPortalView .artist-work-image,
#artistPortalView .artist-work-card > .thumb-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  border: none !important;
  border-radius: 8px;
  background: #10121d !important;
}
#artistPortalView .artist-work-body {
  gap: 8px;
  padding: 0 !important;
}
#artistPortalView .artist-file-row,
#artistPortalView .artist-revision-note,
#artistPortalView .artist-payment-proof-item {
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: #10121d !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.018) !important;
}
#artistPortalView .artist-payment-proof-item img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  background: #0b0d16;
}
#artistPortalView .artist-payment-proof-item {
  border-color: rgba(34, 197, 94, 0.24) !important;
  background: linear-gradient(145deg, #111827, #0f172a) !important;
}
#artistPortalView .artist-payment-proof-cta {
  border-top-color: rgba(74, 222, 128, 0.18) !important;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(14, 165, 233, 0.16)) !important;
}
#artistPortalView .artist-payment-proof-icon {
  color: #bbf7d0 !important;
  background: rgba(34, 197, 94, 0.2) !important;
  box-shadow: inset 0 0 0 1px rgba(187, 247, 208, 0.18);
}
#artistPortalView .artist-payment-proof-cta strong {
  color: #dcfce7 !important;
}
#artistPortalView .artist-payment-proof-cta small {
  color: #f8fafc !important;
}
#artistPortalView .artist-file-row {
  min-height: 44px;
}
#artistPortalView .artist-file-copy strong {
  color: #f8fafc !important;
}
#artistPortalView .artist-file-copy small {
  color: #cbd5e1 !important;
}
#artistPortalView .artist-file-icon {
  border-color: rgba(99, 102, 241, 0.22) !important;
  color: #a5b4fc !important;
  background: rgba(99, 102, 241, 0.09) !important;
}
#artistPortalView .artist-revision-note {
  gap: 8px !important;
  padding: 10px !important;
  border-left: none !important;
  color: #f8fafc !important;
  font-size: 0.78rem !important;
}
#artistPortalView .artist-revision-note p {
  color: #cbd5e1 !important;
}
#artistPortalView .artist-upload-slot.stage-file-action {
  margin-top: 0 !important;
  padding: 10px !important;
  border-radius: 8px !important;
}
#artistPortalView .artist-upload-slot.stage-file-action.done {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 8px !important;
  min-height: 36px !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(52, 211, 153, 0.18) !important;
  border-radius: 7px !important;
  background: rgba(6, 78, 59, 0.1) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.018) !important;
}
#artistPortalView .artist-upload-slot .stage-file-summary {
  min-width: 0;
}
#artistPortalView .artist-upload-ready .artist-ready-icon {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border-color: rgba(52, 211, 153, 0.2) !important;
  color: #a7f3d0 !important;
  background: rgba(6, 78, 59, 0.12) !important;
}
#artistPortalView .artist-upload-ready .artist-ready-icon svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
}
#artistPortalView .artist-upload-ready .artist-file-main {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0 !important;
}
#artistPortalView .artist-upload-ready .artist-file-copy {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}
#artistPortalView .artist-upload-ready .artist-file-copy strong,
#artistPortalView .artist-upload-ready .artist-file-copy small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
#artistPortalView .artist-upload-ready .artist-file-copy strong {
  color: #a7f3d0 !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}
#artistPortalView .artist-upload-ready .artist-file-copy small {
  color: #a7f3d0 !important;
  font-size: 0.74rem !important;
  line-height: 1.15 !important;
}
#artistPortalView .artist-upload-slot button.stage-file-delete {
  display: inline-grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(248, 113, 113, 0.3) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: rgba(127, 29, 29, 0.22) !important;
  box-shadow: none !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
}
#artistPortalView .artist-upload-slot .stage-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(248, 113, 113, 0.24) !important;
  border-radius: 7px !important;
  color: var(--ink) !important;
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.2), rgba(69, 20, 31, 0.24)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025) !important;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
#artistPortalView .artist-work-actions:has(.artist-work-cta) {
  width: 100%;
  justify-content: stretch !important;
  margin-top: 2px;
}
#artistPortalView .artist-work-cta {
  width: 100%;
  min-height: 42px !important;
  justify-content: center !important;
  border: 1px solid rgba(52, 211, 153, 0.36) !important;
  border-radius: 8px !important;
  color: #d1fae5 !important;
  background: linear-gradient(145deg, rgba(6, 95, 70, 0.34), rgba(6, 78, 59, 0.22)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 8px 16px rgba(0, 0, 0, 0.14) !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
  cursor: pointer;
}
#boardView .board-artist-select select {
  min-height: 40px;
  border: 1px solid rgba(52, 211, 153, 0.28) !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  color: #a7f3d0 !important;
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.34), rgba(6, 95, 70, 0.24)) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  font-weight: 600;
}
#boardView .board-artist-select select:hover {
  border-color: rgba(52, 211, 153, 0.46) !important;
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.44), rgba(6, 95, 70, 0.32)) !important;
}
#boardView .board-artist-select select:focus {
  border-color: #34d399 !important;
  outline-color: rgba(52, 211, 153, 0.38) !important;
}
#boardView .board-artist-select select option {
  color: #f8fafc;
  background: #151826;
}
#boardView .empty-state {
  min-height: 92px;
  display: grid;
  place-items: center;
  border-style: dashed !important;
  border-color: #2a3148 !important;
  border-radius: 9px;
  color: #6f7d91 !important;
  background: rgba(8, 11, 19, 0.28) !important;
  font-size: 0.72rem;
}
@media (max-width: 1100px) {
#boardView .board {
    grid-auto-columns: minmax(288px, 310px);
  }
#boardView .board-column {
    min-height: 560px;
  }
}
@media (max-width: 760px) {
#boardView {
    padding-top: 0;
  }
#boardView .board {
    grid-auto-columns: minmax(270px, 84vw);
    gap: 10px;
  }
#boardView .board-column {
    min-height: 520px;
  }
}
body.role-artist main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 14px;
  flex-grow: 1 !important;
}
body.role-artist main > .view {
  grid-column: 1;
  min-width: 0;
}
body.role-artist main > .chat-sidebar {
  position: sticky;
  top: 76px;
  grid-column: 2;
  min-width: 0;
}
body.role-artist main > .chat-sidebar .chat-shell {
  min-height: 0;
  height: clamp(520px, calc(100dvh - 270px), 760px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  border-color: #222842 !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, #181b2a, #141725) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32) !important;
}
body.role-artist main > .chat-sidebar .chat-channels {
  display: none !important;
}
body.role-artist main > .chat-sidebar .chat-channels {
  grid-template-columns: 1fr 1fr;
  border-right: 0;
  border-bottom: 1px solid #222842 !important;
  background: rgba(9, 12, 22, 0.42) !important;
}
body.role-artist main > .chat-sidebar .chat-channel-button {
  min-height: 44px;
  padding: 8px;
}
body.role-artist main > .chat-sidebar .chat-channel-button small {
  display: none;
}
body.role-artist main > .chat-sidebar .chat-room {
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}
body.role-artist main > .chat-sidebar .chat-room-header {
  min-height: 54px;
  padding: 0 13px;
  border-bottom: 1px solid #222842 !important;
  background: rgba(9, 12, 22, 0.42) !important;
}
body.role-artist main > .chat-sidebar .chat-room-header h2 {
  margin: 0;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}
body.role-artist main > .chat-sidebar .chat-room-header p {
  display: none;
}
body.role-artist main > .chat-sidebar .chat-room-header .ghost-button {
  min-height: 32px;
  padding: 0 9px;
  font-size: 0.72rem;
}
body.role-artist main > .chat-sidebar .chat-messages {
  padding: 12px;
  background: #10121d !important;
}
body.role-artist main > .chat-sidebar .chat-message {
  max-width: 92%;
}
body.role-artist main > .chat-sidebar .chat-composer {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
}
body.role-artist main > .chat-sidebar .chat-composer textarea {
  min-height: 68px;
}
body.role-artist main > .chat-sidebar #sendChatBtn {
  width: 100%;
}
body.role-artist main > .chat-sidebar #chatStatus {
  padding: 0 12px 10px;
}
body.role-artist #addImagesBtn,
body.role-artist .admin-only {
  display: none !important;
}
@media (max-width: 1180px) {
body.role-artist main {
    grid-template-columns: minmax(0, 1fr);
  }
body.role-artist main > .chat-sidebar {
    position: static;
    grid-column: 1;
  }
body.role-artist main > .chat-sidebar .chat-shell {
    min-height: 520px;
    height: auto;
  }
}
