/* CVTS web tools — shared shell + theme tokens
   Black and white primary. One Hello Agency brand accent per theme:
   yellow (#FFB802) on dark, blue (#0500FF) on light, each chosen for legibility. */

:root,
[data-theme="dark"]{
  --bg:#161616;
  --panel:#1e1e1e;          /* brand black */
  --panel-2:#262626;
  --line:#313131;
  --line-soft:#272727;
  --line-strong:#3d3d3d;
  --ink:#fefffe;            /* brand white */
  --muted:#9ca0a4;
  --muted-2:#6e7378;
  --accent:#ffb802;         /* brand yellow */
  --accent-ink:#1e1e1e;
  --accent-tint:rgba(255,184,2,.12);
  --warn:#d8a657;
  --danger:#e0675a;
  --check-1:#242424;
  --check-2:#1b1b1b;
  --radius:14px;
  --radius-sm:9px;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

[data-theme="light"]{
  --bg:#f4f4f2;
  --panel:#fefffe;          /* brand white */
  --panel-2:#f1f1ef;
  --line:#e2e2df;
  --line-soft:#eaeae7;
  --line-strong:#d2d2ce;
  --ink:#1e1e1e;            /* brand black */
  --muted:#5e6368;
  --muted-2:#8a8f94;
  --accent:#0500ff;         /* brand blue */
  --accent-ink:#fefffe;
  --accent-tint:rgba(5,0,255,.07);
  --warn:#9a6a12;
  --danger:#c8503f;
  --check-1:#e7e7e4;
  --check-2:#f3f3f0;
}

*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"Manrope",system-ui,-apple-system,sans-serif;
  font-size:15px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  transition:background .18s ease,color .18s ease;
}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
button{font-family:inherit}
::selection{background:var(--accent);color:var(--accent-ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.wrap{max-width:1100px;margin:0 auto;padding:28px 22px 80px}

/* ---- shell header ---- */
.shell-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-wrap:wrap;
  padding-bottom:22px;border-bottom:1px solid var(--line-soft);margin-bottom:28px;
}
.brand{display:flex;align-items:center;gap:18px;min-width:0;flex-wrap:wrap}
.brand .logo{display:inline-flex;align-items:center;gap:11px;flex:none}
.brand .logo:hover{text-decoration:none}
.brand .logo img{
  height:38px;width:38px;border-radius:50%;display:block;object-fit:cover;
}
[data-theme="dark"] .brand .logo img{filter:invert(1)}
.brand .wordmark{font-weight:800;font-size:18px;letter-spacing:-0.02em;color:var(--ink)}

.nav{display:flex;align-items:center;gap:18px;padding-left:18px;border-left:1px solid var(--line);min-width:0}
.nav a{
  position:relative;color:var(--muted);font-weight:600;font-size:14px;
  padding:3px 0;white-space:nowrap;
}
.nav a:hover{color:var(--ink);text-decoration:none}
.nav a[aria-current="page"]{color:var(--ink)}
.nav a[aria-current="page"]::after{
  content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;
  background:var(--accent);border-radius:2px;
}

.theme-toggle{
  width:40px;height:40px;flex:none;
  border:1px solid var(--line);background:var(--panel);
  border-radius:11px;color:var(--muted);
  display:grid;place-items:center;cursor:pointer;
  transition:color .12s,border-color .12s,background .12s;
}
.theme-toggle:hover{color:var(--ink);border-color:var(--line-strong)}
.theme-toggle svg{width:19px;height:19px}
[data-theme="dark"] .theme-toggle .i-moon{display:none}
[data-theme="light"] .theme-toggle .i-sun{display:none}

@media (max-width:540px){
  .brand{gap:12px}
  .nav{gap:14px;padding-left:14px}
  .nav a{font-size:13px}
}

/* ---- shell footer ---- */
.shell-foot{
  margin-top:40px;padding-top:22px;border-top:1px solid var(--line-soft);
  font-size:13px;color:var(--muted);
}
.shell-foot a{font-weight:600}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
