/* MyAsset — Design tokens, base styles and shared components.
   Application shell / layout lives in app-shell.css. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --brand-primary: #005B4F;         /* Deep Forest Green */
  --brand-secondary: #007864;       /* Secondary Green */
  --brand-accent: #E6A21A;          /* Copper / Amber */
  --brand-copper: #C87D32;          /* Subtle Copper */
  --accent-danger: #E5484D;         /* Danger Red */

  /* Surfaces */
  --bg-canvas: #F7F4EC;            /* Warm cream application background */
  --podium-bg: #EFECE3;            /* Recessed / overlay surface */
  --panel-bg: #FFFDF8;             /* Card + sidebar surface */
  --panel-surface: #FFFFFF;

  /* Borders & elevation — enterprise: 1px border + very soft shadow */
  --border-subtle: #E8E3D5;
  --border-strong: #D8D2C1;
  --shadow-card: 0 1px 2px rgba(23, 32, 31, 0.05), 0 1px 3px rgba(23, 32, 31, 0.04);
  --shadow-raised: 0 4px 14px rgba(23, 32, 31, 0.08);
  --shadow-overlay: 0 18px 44px rgba(23, 32, 31, 0.20);
  /* Legacy neumorphic shadow tokens, kept so existing page CSS keeps working,
     but softened: no white "highlight" shadow, low-contrast drop shadow. */
  --shadow-dark: rgba(23, 32, 31, 0.10);
  --shadow-light: rgba(255, 255, 255, 0);
  --shadow-soft-glow: rgba(0, 91, 79, 0.18);
  --inset-dark: rgba(23, 32, 31, 0.08);
  --inset-light: rgba(255, 255, 255, 0);

  /* Typography colours */
  --text-primary: #17201F;         /* Dark Charcoal */
  --text-secondary: #68736F;       /* Muted Gray Text */
  --text-tertiary: #92998E;

  /* Gradients / accent fills */
  --orange-start: #FFA033;
  --orange-end: #F56100;
  --amber-start: #E6A21A;
  --emerald-deep: #005B4F;
  --emerald-dark: #003B33;
  --emerald-accent: #00E676;

  /* Status badges */
  --status-ok-bg: #E6F4F1;
  --status-ok-text: #005B4F;
  --status-attn-bg: #FDF6E2;
  --status-attn-text: #B77A00;
  --status-alert-bg: #FDE8E8;
  --status-alert-text: #E5484D;
  --status-neutral-bg: #ECE8DE;
  --status-neutral-text: #68736F;

  /* Geometry — moderate radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg-canvas);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Card — enterprise surface (class name kept for existing pages) */
.neu-panel {
  background: var(--panel-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  padding: 20px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.neu-panel:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-raised);
}

/* Inset input track */
.neu-inset {
  background: #F1EEE4;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 2px var(--inset-dark);
  border: 1px solid var(--border-subtle);
}

/* Feature cards */
.vibrant-orange-card {
  background: linear-gradient(135deg, var(--orange-start) 0%, var(--orange-end) 100%);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  padding: 20px;
  border: 1px solid rgba(245, 97, 0, 0.35);
  box-shadow: 0 1px 2px rgba(23, 32, 31, 0.08), 0 8px 18px -10px rgba(245, 97, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.vibrant-emerald-card {
  background: linear-gradient(145deg, var(--brand-primary) 0%, var(--emerald-dark) 100%);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  padding: 20px;
  border: 1px solid rgba(0, 59, 51, 0.6);
  box-shadow: 0 1px 2px rgba(23, 32, 31, 0.08), 0 8px 18px -10px rgba(0, 91, 79, 0.5);
  position: relative;
  overflow: hidden;
}

.vibrant-emerald-card .wave-layer {
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background: radial-gradient(ellipse at 80% 100%, var(--emerald-accent) 0%, transparent 60%);
  pointer-events: none;
}

/* Buttons */
.pill-btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-card);
}

.pill-btn:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

.pill-btn-emerald {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 59, 51, 0.25);
}

.pill-btn-emerald:hover {
  background: var(--brand-secondary);
}

.pill-btn-light {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.pill-btn-light:hover {
  background: #F4F1EA;
  border-color: var(--border-strong);
}

.pill-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-ok { background: var(--status-ok-bg); color: var(--status-ok-text); border: 1px solid rgba(0, 91, 79, 0.2); }
.pill-attn { background: var(--status-attn-bg); color: var(--status-attn-text); border: 1px solid rgba(183, 122, 0, 0.2); }
.pill-alert { background: var(--status-alert-bg); color: var(--status-alert-text); border: 1px solid rgba(229, 72, 77, 0.2); }
.pill-neutral { background: var(--status-neutral-bg); color: var(--status-neutral-text); }

/* Custom scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(160, 152, 133, 0.45); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(130, 122, 105, 0.7); }

/* Navigation count badges */
.nav-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: auto;
}
.badge-danger { background: var(--status-alert-bg); color: var(--status-alert-text); border: 1px solid rgba(229, 72, 77, 0.3); }
.badge-warn { background: var(--status-attn-bg); color: var(--status-attn-text); border: 1px solid rgba(183, 122, 0, 0.3); }
