/* HVJ Zoho Automation - light pastel theme (no dark mode, by Tarun's choice) */
:root {
  --bg: #fbf7f2;          /* champagne cream */
  --card: #ffffff;
  --ink: #3b3340;
  --muted: #8a7f8f;
  --line: #eadfd6;
  --blush: #f6dcdc;
  --blush-ink: #9c4a57;
  --mint: #d9f0e6;
  --mint-ink: #2f7a5b;
  --butter: #fbefc6;
  --butter-ink: #8a6a12;
  --lilac: #e7e0f5;
  --lilac-ink: #5e4b8b;
  --sky: #dceaf7;
  --sky-ink: #2f5d86;
  --peach: #fbe3d3;
  --peach-ink: #9a5630;
  --accent: #b5838d;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom); }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
a { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 20px 0 40px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--blush);
  display: grid; place-items: center; font-weight: 800; color: var(--blush-ink); font-size: 14px; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.center { min-height: 90vh; display: grid; place-items: center; }
.auth { width: 100%; max-width: 380px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blush); border-color: var(--accent); }
button, .btn { font: inherit; font-weight: 600; border: 0; border-radius: 12px; padding: 12px 16px;
  background: var(--accent); color: #fff; cursor: pointer; }
button.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
button:disabled { opacity: .5; }
.full { width: 100%; margin-top: 18px; }
.err { color: var(--blush-ink); font-size: 14px; min-height: 20px; margin-top: 10px; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hello { margin: 6px 0 18px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tile { border-radius: var(--radius); padding: 18px; min-height: 120px; border: 1px solid rgba(0,0,0,.04);
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.tile h3 { font-size: 17px; }
.tile p { margin: 6px 0 0; font-size: 13px; opacity: .85; }
.tile .soon { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.t-blush { background: var(--blush); color: var(--blush-ink); }
.t-mint { background: var(--mint); color: var(--mint-ink); }
.t-butter { background: var(--butter); color: var(--butter-ink); }
.t-lilac { background: var(--lilac); color: var(--lilac-ink); }
.t-sky { background: var(--sky); color: var(--sky-ink); }
.t-peach { background: var(--peach); color: var(--peach-ink); }
.show-tile { position: relative; }
.show-tile .count { display: flex; align-items: baseline; gap: 6px; }
.show-tile .count b { font-size: 30px; line-height: 1; }
.show-tile .count span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.nudge { margin-top: 6px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.65); display: inline-block; padding: 3px 8px; border-radius: 99px; }
.t-rose { background: #f8d9e2; color: #8e3f5c; }
.t-sage { background: #dfeedd; color: #3f6b45; }
.t-cream { background: #f3ece2; color: #7a6a55; }
.devices { margin-top: 28px; }
.devices li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); }
.devices ul { list-style: none; padding: 0; margin: 10px 0 0; }
.pill { font-size: 11px; background: var(--mint); color: var(--mint-ink); padding: 2px 8px; border-radius: 99px; }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { min-height: 110px; padding: 14px; } }
