/* PMP Create Pro v182 — Aurora Cinema workspace
 * A light, artistic production palette with clear control contrast. Layout and
 * command ownership are intentionally unchanged.
 */

:root {
  --aurora-ink: #172a3a;
  --aurora-slate: #40556a;
  --aurora-teal: #087f78;
  --aurora-cyan: #20aaa4;
  --aurora-violet: #684bb5;
  --aurora-copper: #c6673f;
  --aurora-gold: #dfa94d;
  --aurora-paper: #fffefa;
  --aurora-shell: #edf3f3;
  --aurora-line: #b9c7ce;
  --stage: #e8efef;
  --ink: var(--aurora-ink);
  --muted: #586b7c;
  --line: var(--aurora-line);
  --deck-deep: #f7f8f4;
  --deck-table: var(--aurora-shell);
}

html,
body,
body[data-layout="pmp-command-deck"] {
  background: var(--aurora-shell);
  color: var(--aurora-ink);
}

body::before {
  background:
    radial-gradient(circle at 7% -8%, rgba(255, 207, 121, .45), transparent 28%),
    radial-gradient(circle at 50% -14%, rgba(43, 186, 171, .24), transparent 34%),
    radial-gradient(circle at 94% 0%, rgba(128, 99, 205, .28), transparent 31%);
}

/* The header reads like a lightbox rather than a dark application bar. */
.topbar {
  border-bottom-color: #afc0c8;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 222, 163, .50), transparent 31%),
    linear-gradient(104deg, #fffdf6 0%, #eef8f5 48%, #f2edfc 100%);
  color: var(--aurora-ink);
  box-shadow: 0 9px 28px rgba(43, 68, 78, .13);
}

.brand {
  border-right: 1px solid rgba(43, 113, 109, .24);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .90), transparent 32%),
    linear-gradient(135deg, #d8f2ec, #eee9fb 72%, #ffe7c7);
  color: var(--aurora-ink);
  box-shadow: 8px 0 22px rgba(48, 79, 88, .10);
}

.brand strong { color: #193847; text-shadow: none; }
.brand em { background: #b95736; color: #fff; box-shadow: 0 3px 10px rgba(140, 67, 38, .20); }
.topbar .brand-orb { box-shadow: 0 6px 17px rgba(45, 80, 92, .22); }

.file-nav,
.job-pipeline {
  border-color: #b8c7ce;
  background: rgba(255, 255, 255, .80);
}

.file-nav button,
.history-nav button,
.top-actions > button {
  border-color: #b8c5cc;
  background: rgba(255, 255, 255, .94);
  color: #20364a;
  font-weight: 760;
  box-shadow: 0 3px 9px rgba(42, 66, 77, .09);
}

.file-nav button:hover,
.history-nav button:hover,
.top-actions > button:hover {
  border-color: #6e9e9b;
  background: #fff;
  color: #175b60;
  box-shadow: 0 7px 17px rgba(38, 91, 91, .15);
}

.project-title input {
  border-color: #b5c4cc;
  background: rgba(255, 255, 255, .90);
  color: #1d3346;
  box-shadow: inset 0 1px 0 #fff;
}

.top-actions > button.save-project-button {
  border-color: rgba(8, 127, 120, .52);
  background: #dff4ef;
  color: #0b615c;
}

.send-export-button {
  border-color: rgba(104, 75, 181, .50) !important;
  background: #eee8fb !important;
  color: #45307f !important;
}

.gradient-button,
.quote-submit,
.resize-apply,
.mockup-download {
  background: linear-gradient(112deg, #b95736, #e0a343) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(174, 91, 46, .25) !important;
}

/* Opalescent command ribbon: every label stays readable at a glance. */
.tool-rail {
  border-bottom-color: #b5c5cc;
  background:
    radial-gradient(circle at 6% 38%, rgba(244, 182, 79, .34), transparent 20%),
    radial-gradient(circle at 70% 0%, rgba(80, 187, 176, .18), transparent 32%),
    linear-gradient(96deg, #fffaf0, #edf7f4 55%, #f0ebfa);
  box-shadow: 0 8px 22px rgba(43, 68, 78, .13);
}

.tool-rail::before { color: #3e596b; }
.tool-rail button {
  border-color: #b8c6cd;
  background: rgba(255, 255, 255, .94);
  color: #253d50;
  font-size: 9px;
  font-weight: 850;
  box-shadow: 0 4px 11px rgba(42, 67, 77, .09);
}
.tool-rail button i,
.tool-rail .rail-icon { color: var(--aurora-teal); }
.tool-rail button > span small { color: #5d7080; }
.tool-rail button:hover {
  border-color: #6c9d99;
  background: #fff;
  color: #17575c;
  box-shadow: 0 8px 18px rgba(36, 93, 91, .15);
}
.tool-rail button.active {
  border-color: #8069bd;
  background: linear-gradient(135deg, #fff, #e9e2fa);
  color: #3f2b77;
  box-shadow: inset 5px 0 0 var(--aurora-violet), 0 8px 18px rgba(82, 63, 139, .16);
}
.tool-rail button:disabled { opacity: .56; }

.asset-panel,
.production-drawer,
.app-dialog,
.resize-panel {
  background: var(--aurora-paper);
  color: var(--aurora-ink);
}
.asset-panel {
  border-color: #b5c5cc;
  border-top-color: var(--aurora-copper);
  background: linear-gradient(180deg, #fffaf1, #fbfdfc 22%, #f7faf9);
}
.search-box,
.chip-row button,
.text-preset,
.layer-row,
.asset-tile,
.context-toolbar input,
.context-toolbar select,
.context-toolbar button {
  border-color: #bdc9cf;
  background: #fff;
  color: #22394c;
}
.panel-title h2,
.section-head b { color: #172f42; }

.context-toolbar {
  border-bottom-color: #b6c5cc;
  background: linear-gradient(90deg, #fffdf7, #f0f8f5 61%, #f1ecfa);
  color: #273f52;
}
.context-toolbar label { color: #3e5365; }
.context-toolbar input,
.context-toolbar select,
.context-toolbar button { font-weight: 700; }

.stage {
  background-color: #e7eeee;
  background-image:
    radial-gradient(ellipse at 15% 8%, rgba(255, 224, 167, .72), transparent 34%),
    radial-gradient(ellipse at 84% 10%, rgba(183, 169, 224, .32), transparent 35%),
    linear-gradient(rgba(255, 255, 255, .62) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .62) 1px, transparent 1px),
    linear-gradient(rgba(54, 84, 91, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 84, 91, .055) 1px, transparent 1px);
  background-size: auto, auto, 20px 20px, 20px 20px, 100px 100px, 100px 100px;
}
.stage.no-grid {
  background-image:
    radial-gradient(ellipse at 15% 8%, rgba(255, 224, 167, .72), transparent 34%),
    radial-gradient(ellipse at 84% 10%, rgba(183, 169, 224, .32), transparent 35%);
}
.stage-meta,
.stage-options button,
.canvas-color-control,
.workspace-hint {
  border-color: #afc1c8;
  background: rgba(255, 254, 249, .97);
  color: #31495c;
  box-shadow: 0 5px 14px rgba(44, 68, 78, .10);
}
.page-bar {
  border-top-color: #b5c5cc;
  background: linear-gradient(90deg, #fffaf0, #f2f8f5 58%, #f1ecfa);
}
.add-page,
.page-action,
.page-thumb,
.view-controls button {
  border-color: #b8c6cd;
  background: #fff;
  color: #243c4f;
}

.send-export-dialog { background: #fbfaf6; color: var(--aurora-ink); }
.send-head { background: linear-gradient(90deg, #fff8eb, #eef8f5 60%, #eee8fa); }
.send-sidebar { background: #fffefa; }
.send-action.primary { border-color: #5d4a99; background: linear-gradient(145deg, #087f78, #684bb5); }

@media (prefers-contrast: more) {
  .file-nav button,
  .history-nav button,
  .top-actions > button,
  .tool-rail button,
  .context-toolbar button { border-width: 2px; }
}
