/* tools/assets/tools-brand.css — Xenco Labs brand skin for the dev tools.
   Loaded AFTER each tool's inline <style>; uses !important so one file rebrands
   all 17 tools + the index from the legacy DevMaestro dark theme to the Xenco
   navy + amber + Inter light system. */

:root {
  --bg: #F2F5FB;
  --card: #FFFFFF;
  --text: #16233F;
  --muted: #5A6B84;
  --accent: #1F3864;   /* navy — links / structure */
  --amber: #E8A33D;    /* the accent pop */
  --border: #DCE3EF;
  --ok: #0F7A52;
  --warn: #B45309;
}

html, body { margin: 0 !important; min-height: 100%; }
body {
  background: #F2F5FB !important;
  color: #16233F !important;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.5;
}
body, .dm-shell, button, textarea, input, select, .badge, .dm-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
}

a { color: #1F3864; }
a:hover { color: #B4791F; }

/* Tool card + chrome */
.wrap { max-width: 1100px; margin: 48px auto; padding: 0 24px 56px; box-sizing: border-box; }
.card {
  background: #FFFFFF !important;
  border: 1px solid #DCE3EF !important;
  box-shadow: 0 8px 30px rgba(15, 31, 58, 0.08) !important;
  border-radius: 16px !important;
}
header {
  border-bottom: 1px solid #DCE3EF !important;
}
header h1, .card h1, .dm-title { color: #16233F !important; font-weight: 700 !important; }
.small, .dm-sub, .footer { color: #5A6B84 !important; }

/* Inputs */
textarea, input[type=text], input[type=number], input[type=search], select, .out {
  background: #F7F9FC !important;
  border: 1px solid #DCE3EF !important;
  color: #16233F !important;
  border-radius: 10px !important;
}
textarea:focus, input:focus, select:focus {
  outline: none !important;
  border-color: #E8A33D !important;
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.22) !important;
}

/* Buttons */
button {
  background: #FFFFFF !important;
  border: 1px solid #DCE3EF !important;
  color: #1F3864 !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
  transition: border-color .15s ease, background .15s ease;
}
button:hover { border-color: #E8A33D !important; }
button.primary {
  background: #E8A33D !important;
  border: 1px solid #E8A33D !important;
  color: #0B1F3A !important;
  font-weight: 600 !important;
}
button.primary:hover { background: #F0B45F !important; }

.footer { border-top: 1px solid #DCE3EF !important; }

/* Index page badges (tool links) */
.badge {
  background: #FFFFFF !important;
  border: 1px solid #DCE3EF !important;
  color: #1F3864 !important;
  font-weight: 500 !important;
  transition: border-color .15s ease, transform .1s ease;
}
.badge:hover { border-color: #E8A33D !important; transform: translateY(-1px); text-decoration: none !important; }

/* ── Injected top bar (Xenco brand) ── */
.xeno-topbar {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px; padding: 0 28px;
  background: rgba(255,255,255,.96); color: #16233F;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid #DCE3EF;
  backdrop-filter: blur(12px);
}
.xeno-brand { display: inline-flex; align-items: center; text-decoration: none; }
.xeno-logo { height: 38px; width: auto; display: block; }
.xeno-nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.xeno-nav a { color: #4A5A6E; text-decoration: none; font-size: 14px; font-weight: 600; }
.xeno-nav a:hover { color: #1F3864; }
@media (max-width: 560px) { .xeno-nav { gap: 12px; } .xeno-nav a:nth-child(n+2) { display: none; } }

/* Individual tool-page polish */
body > .wrap:first-of-type, body > main.wrap { margin-top: 48px !important; }
.card { padding: 24px !important; }
.xeno-tools-context {
  max-width: 1100px; margin: 28px auto 0; padding: 0 24px; box-sizing: border-box;
  color: #5A6B84; font-size: 13px;
}
.xeno-tools-context a { font-weight: 600; text-decoration: none; }
