/* Vgyan design tokens & shared components — kept in sync with the vgyan-ui prototype palette */
:root {
  --brand-50: #fdf3ea;
  --brand-200: #f5c7a0;
  --brand-400: #e38a47;
  --brand-500: #d9702f;
  --brand-600: #bd5a21;

  --cream-100: #fbf6ef;
  --cream-200: #f5ede1;

  --ink-50: #f4efea;
  --ink-100: #e6dad0;
  --ink-200: #c7ae9b;
  --ink-300: #9c7a63;
  --ink-400: #6e4f3c;
  --ink-500: #4a3324;
  --ink-600: #3a2317;
  --ink-700: #2e1b12;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-700);
  background: var(--cream-200);
}

a { color: inherit; }

.card {
  background: #fff;
  border: 1px solid rgba(230, 218, 208, .7);
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(46,27,18,.06), 0 1px 3px 0 rgba(46,27,18,.08);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--brand-500);
  color: #fff;
  border: none;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1rem;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease;
  font-family: inherit;
}
.btn-primary:hover { background: var(--brand-600); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  color: var(--ink-600);
  border: 1px solid var(--ink-100);
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1rem;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--cream-100); }
.btn-secondary:disabled { opacity: .6; cursor: not-allowed; }

.input-base {
  width: 100%;
  border: 1px solid var(--ink-100);
  background: #fff;
  color: var(--ink-700);
  border-radius: .5rem;
  padding: .5rem .75rem;
  font-size: .875rem;
  line-height: 1.25rem;
  font-family: inherit;
}
.input-base::placeholder { color: var(--ink-200); }
.input-base:focus { outline: 2px solid var(--brand-400); outline-offset: 1px; }

.label-base {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-600);
  margin-bottom: .375rem;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--brand-500);
  color: #fff;
  font-weight: 600;
  font-size: .8125rem;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
}
.icon-tile.enabled { background: var(--brand-50); color: var(--brand-500); }
.icon-tile.disabled { background: var(--ink-50); color: var(--ink-300); }
