/* Vendor portal styles. Palette and type match the public Dog Guide sites
   (sage / bark tokens from the site's Tailwind config). No external requests. */
:root {
  --bark-50: #fdf8f0; --bark-100: #f9eddb; --bark-200: #f2d7b3; --bark-600: #c56a24;
  --bark-700: #a45220; --bark-800: #844221; --bark-950: #3a1b0d;
  --sage-50: #f4f7f4; --sage-100: #e3eae2; --sage-200: #c7d5c5; --sage-300: #a1b89e;
  --sage-400: #7a9976; --sage-600: #456243; --sage-700: #384f37; --sage-800: #2f402e;
  --sage-900: #273527;
  --ink: #1f2937; --muted: #5b6470; --line: #e8dcc8; --err: #a32a1d; --err-bg: #fbeceb;
  --ok-bg: #e9f1e8;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bark-50); color: var(--ink); font-family: var(--font-body);
  font-size: 16px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: var(--font-display); color: #111827; line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--sage-700); }
a:hover { color: var(--bark-700); }
:focus-visible { outline: 3px solid var(--bark-600); outline-offset: 2px; }
.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 16px; }
.site-header { background: #fff; border-bottom: 1px solid var(--bark-100); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #111827; }
.brand svg { color: var(--sage-700); flex: none; }
.brand .dog { color: var(--sage-600); }
.brand small { font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 4px; }
.who { font-size: .875rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.who form { margin: 0; }
main { flex: 1; padding: 28px 0 40px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.lede { color: var(--muted); }
.claiming { background: var(--sage-50); border-left: 4px solid var(--sage-600); padding: 10px 14px;
  margin: 0 0 1rem; border-radius: 0 6px 6px 0; }
label, .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.help { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
input[type=text], input[type=email], input[type=url], input[type=tel], textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #b9ad97; border-radius: 6px;
  background: #fff; color: var(--ink); }
textarea { min-height: 7rem; resize: vertical; }
input:focus, textarea:focus { border-color: var(--sage-600); }
.field { margin-bottom: 18px; }
.field.has-error input, .field.has-error textarea { border-color: var(--err); border-width: 2px; }
.error { color: var(--err); font-size: .9rem; font-weight: 600; margin: 4px 0 0; }
.banner { border-radius: 6px; padding: 12px 14px; margin-bottom: 18px; }
.banner.ok { background: var(--ok-bg); border: 1px solid var(--sage-300); }
.banner.bad { background: var(--err-bg); border: 1px solid #e3b4af; color: #6e1d14; }
.btn { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--sage-700); color: #fff; border: 2px solid var(--sage-700); border-radius: 6px;
  padding: 10px 18px; min-height: 44px; }
.btn:hover { background: var(--sage-800); color: #fff; }
.btn.secondary { background: #fff; color: var(--sage-700); }
.btn.secondary:hover { background: var(--sage-50); color: var(--sage-800); }
.btn.link { background: none; border-color: transparent; color: var(--sage-700); text-decoration: underline;
  padding: 4px 6px; min-height: 0; font-weight: 500; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--bark-100); }
.row:first-of-type { border-top: 0; padding-top: 4px; }
.row .name { font-weight: 600; }
.row .sub { font-size: .85rem; color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.site-footer { background: var(--sage-900); color: var(--sage-200); font-size: .85rem; padding: 20px 0; }
.site-footer a { color: var(--sage-100); }
@media (min-width: 640px) { h1 { font-size: 2rem; } main { padding-top: 44px; } .panel { padding: 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #b9ad97; border-radius: 6px; background: #fff; color: var(--ink); min-height: 44px; }
select:focus { border-color: var(--sage-600); }
.field.has-error select { border-color: var(--err); border-width: 2px; }
