/*
======================================================

Profile Name:
MartyCore1.0

Description:
A dark Marty-native palette derived directly from the Marty
fist icon: true black, warm Marty orange, and muted blue-slate.

Best For:
Daytime
Evening
MartyCore
Focused work

Brightness:
2 ★★☆☆☆

Energy:
4 ★★★★☆

Warmth:
4 ★★★★☆

Contrast:
5 ★★★★★

Mood Tags:
Marty
Orange
Slate
Black
Bold
Warm
Clean
Focused

Inspired By:
Marty fist icon
#FB945B Marty orange
#43595D blue-slate
#000000 black

Author:
Sarah + Marty

Version:
1.2

Notes:
Built from the three dominant exact colors in the Marty icon.
Version 1.1 swaps the original hierarchy: blue-slate/teal now drives
primary surfaces, accents, and headings; Marty orange is reserved as
the secondary highlight. Version 1.2 adds restrained raspberry as an
optional tertiary accent without changing existing color hierarchy.
No gradients.

======================================================
*/

:root {

  /* ==================================================
     CORE PALETTE
     ================================================== */

  --marty-black: #000000;
  --marty-orange: #fb945b;
  --marty-slate: #43595d;
  --marty-raspberry: #a24978; /* restrained tertiary accent; use sparingly */

  /* ==================================================
     BACKGROUNDS
     ================================================== */

  --bg: #000000;
  --surface: #0b0d0e;
  --surface-alt: #151a1b;

  /* ==================================================
     TEXT
     ================================================== */

  --text: #f7f3ef;
  --text-muted: #9daaad;

  /* ==================================================
     PRIMARY
     ================================================== */

  --primary: #43595d;
  --primary-light: #62777b;

  /* ==================================================
     SECONDARY
     ================================================== */

  --secondary: #fb945b;
  --secondary-light: #ffae80;

  /* ==================================================
     ACCENTS
     ================================================== */

  --accent: #43595d;
  --accent-dark: #2f4144;
  --accent-light: #718589;
  --accent-soft: #263638;
  --accent-contrast: #000000;
  --accent-raspberry: var(--marty-raspberry); /* occasional detail, never default primary/secondary */

  /* ==================================================
     STATUS
     ================================================== */

  --success: #718c82;
  --warning: #fb945b;
  --alert: #d96d5f;

  /* ==================================================
     UI
     ================================================== */

  --page-background: #000000;

  --panel-background: rgba(11, 13, 14, 0.96);
  --panel-border: rgba(67, 89, 93, 0.48);

  --card-background: #121718;
  --card-background-alt: #1b2325;

  --item-background: rgba(251, 148, 91, 0.12);
  --item-background-active: rgba(67, 89, 93, 0.34);
  --item-border: rgba(67, 89, 93, 0.50);

  --user-message-text: #f7f3ef;
  --marty-message-text: #f7f3ef;
  --control-background: rgba(67, 89, 93, 0.34);
  --control-background-hover: rgba(67, 89, 93, 0.54);
  --preview-background: rgba(0, 0, 0, 0.42);
  --media-border: rgba(251, 148, 91, 0.28);

  --border: rgba(67, 89, 93, 0.40);
  --scrollbar: rgba(67, 89, 93, 0.52);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.72);
  --glass-blur: 8px;
  --white: #f7f3ef;

  /* ==================================================
     DASHBOARD THEME PACKAGE
     ================================================== */

  --theme-bg: #000000;
  --theme-panel: rgba(11, 13, 14, 0.96);
  --theme-panel-sarah: rgba(18, 23, 24, 0.96);
  --theme-panel-evi: rgba(24, 31, 33, 0.96);
  --theme-panel-soft: rgba(67, 89, 93, 0.16);

  --theme-today: rgba(18, 23, 24, 0.98);
  --theme-tomorrow: rgba(27, 35, 37, 0.98);

  --theme-text: #f7f3ef;
  --theme-muted: #9daaad;

  --theme-accent: #43595d;
  --theme-accent-soft: #718589;
  --theme-accent-secondary: #fb945b;
  --theme-accent-raspberry: var(--marty-raspberry); /* opt-in decorative accent */

  --theme-border: rgba(67, 89, 93, 0.46);
  --theme-row-border: rgba(67, 89, 93, 0.24);

  --theme-radius: 20px;
  --theme-hero-color: #718589;
  --theme-date-color: #9daaad;

  --theme-background-color: #000000;
  --theme-background-image: none;
}

html[data-color-profile="MartyCore1.0"] body.dashboard {
  --v4-bg: #000000;
  --v4-panel: rgba(11, 13, 14, 0.96);
  --v4-panel-plum: rgba(18, 23, 24, 0.96);
  --v4-panel-purple: rgba(24, 31, 33, 0.96);
  --v4-panel-soft: rgba(67, 89, 93, 0.16);
  --v4-today: rgba(18, 23, 24, 0.98);
  --v4-tomorrow: rgba(27, 35, 37, 0.98);
  --v4-text: #f7f3ef;
  --v4-muted: #9daaad;
  --v4-pink: #43595d;
  --v4-pink-soft: #718589;
  --v4-purple: #fb945b;
  --v4-border: rgba(67, 89, 93, 0.46);
  --v4-row-border: rgba(67, 89, 93, 0.24);

  background-color: #000000 !important;
  background-image: none !important;
  color: var(--v4-text);
}

html[data-color-profile="MartyCore1.0"] #primary > h1,
html[data-color-profile="MartyCore1.0"] .dashboard-header h1,
html[data-color-profile="MartyCore1.0"] .current-weather-temp {
  color: #718589 !important;
}

html[data-color-profile="MartyCore1.0"] #primary > h2,
html[data-color-profile="MartyCore1.0"] .dashboard-date,
html[data-color-profile="MartyCore1.0"] .dashboard-v2-date {
  color: #9daaad !important;
}

html[data-color-profile="MartyCore1.0"] .mode-label,
html[data-color-profile="MartyCore1.0"] .dashboard-header h2,
html[data-color-profile="MartyCore1.0"] .routine-time,
html[data-color-profile="MartyCore1.0"] .chorecore-summary-header,
html[data-color-profile="MartyCore1.0"] .chorecore-balance,
html[data-color-profile="MartyCore1.0"] #today h2,
html[data-color-profile="MartyCore1.0"] #today h3 {
  color: #718589 !important;
}

html[data-color-profile="MartyCore1.0"] #tomorrow h2,
html[data-color-profile="MartyCore1.0"] #tomorrow h3 {
  color: #718589 !important;
}

html[data-color-profile="MartyCore1.0"] .routine-item.completed {
  background: rgba(67, 89, 93, 0.28) !important;
  color: #9daaad !important;
}
