/* Quickring — app.quickring.me (account portal)
   Same Digital Zen tokens as quickring.me (stone neutrals, sage green,
   golden-tab motif), trimmed to what a functional MVP portal needs — this
   is a utility surface, not a marketing page. */

:root {
  --stone-50:  #FAF8F3;
  --stone-100: #F2EEE5;
  --stone-200: #E5DECF;
  --stone-300: #D2C8B4;
  --stone-500: #8C8270;
  --stone-700: #5A5347;
  --ink:       #211E18;

  --sage-600: #566E52;
  --sage-700: #3F5239;

  --gold:      #C99A3B;
  --gold-soft: #E6C57E;
  --gold-700:  #8A6717;

  --danger: #B3452F;

  --bg:        var(--stone-50);
  --surface:   #FFFFFF;
  --text:      var(--ink);
  --text-soft: var(--stone-700);
  --line:      rgba(33,30,24,0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 14px;
  --maxw: 640px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 0.4em; }
p { margin: 0 0 1rem; color: var(--text-soft); }
a { color: var(--sage-700); text-decoration: none; }
a:hover { color: var(--gold-700); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.5rem; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 0.8rem; }

.brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-bottom: 2.5rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.25rem; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 500; font-size: 1rem; padding: 0.75rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s ease, transform .1s ease; text-align: center; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--ink); }

.note { font-size: 0.85rem; color: var(--stone-500); }
.error { color: var(--danger); background: rgba(179,69,47,0.08); border: 1px solid rgba(179,69,47,0.25); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }

.field-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.field-row:last-child { border-bottom: none; }
.field-label { color: var(--stone-500); font-size: 0.9rem; }
.field-value { font-family: var(--font-mono); font-size: 0.95rem; }

.device-list { list-style: none; margin: 0; padding: 0; }
.device-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.device-list li:last-child { border-bottom: none; }

.empty-state { text-align: center; padding: 2rem 1rem; color: var(--stone-500); }

.loading { color: var(--stone-500); font-family: var(--font-mono); font-size: 0.9rem; }

.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.dash-header .brand { margin-bottom: 0; }

.center { text-align: center; }
