/* Kinest family web view. Sizes in rem so text follows the browser's text
   size and zoom. Colours from docs/DESIGN_SYSTEM.md. */
:root {
  --forest: #133528;
  --forest-700: #1F4D3A;
  --cream: #F3EFE4;
  --paper: #F6F3EC;
  --surface: #FFFFFF;
  --ink: #1B221E;
  --stone: #5E6660;
  --brass: #E3C88F;
  --sage: #E4EBE3;
  --clay: #A4472F;
  --line: #E2DDD0;
}
* { box-sizing: border-box; }
html { font-size: 112.5%; } /* 18px at the default text size */
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
.top { background: var(--forest); color: var(--cream); padding: 1rem 0; border-radius: 0 0 1.25rem 1.25rem; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font: 600 1.6rem/1 Georgia, serif; color: var(--cream); text-decoration: none; }
.brand span { color: var(--brass); }
.link-button { background: none; border: 0; color: var(--brass); font: inherit; font-weight: 600; min-height: 2.75rem; cursor: pointer; }
main { padding-top: 1.5rem; padding-bottom: 1.5rem; outline: none; }
h1 { font: 400 1.75rem/1.25 Georgia, serif; margin: 0.5rem 0 1rem; }
h2 { font: 600 1.15rem/1.35 system-ui, sans-serif; margin: 1.5rem 0 0.75rem; }
.card h2 { margin-top: 0; }
p { margin: 0 0 1rem; }
a { color: var(--forest-700); font-weight: 600; }
.quiet { color: var(--stone); font-size: 0.95rem; }
.note { background: var(--sage); padding: 0.75rem 1rem; border-radius: 0.75rem; }
.error { color: var(--clay); min-height: 1em; }
.overline { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--stone); margin: 1rem 0 0; }
.card { display: block; background: var(--surface); border-radius: 1.25rem; padding: 1.25rem; margin: 0 0 1rem;
  box-shadow: 0 1px 2px rgba(19, 53, 40, .06), 0 4px 16px rgba(19, 53, 40, .06); color: inherit; text-decoration: none; }
.card.link:hover, .card.link:focus { outline: 2px solid var(--forest-700); }
.banner { background: var(--sage); color: var(--forest-700); padding: 1rem; border-radius: 1rem; }
.back { display: inline-block; min-height: 2.75rem; padding: 0.5rem 0; }
label { display: block; font-weight: 600; margin: 0 0 0.4rem; }
input[type=email] { width: 100%; font: inherit; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 0.9rem;
  background: var(--surface); margin-bottom: 0.5rem; }
input[type=email]:focus { outline: 2px solid var(--forest-700); }
.check { display: flex; gap: 0.6rem; align-items: center; margin: 0.5rem 0; }
.check input { width: 1.4rem; height: 1.4rem; }
.check label { margin: 0; font-weight: 500; }
.button { display: block; width: 100%; min-height: 3.25rem; border: 0; border-radius: 1rem; background: var(--forest);
  color: var(--cream); font: 600 1.05rem system-ui, sans-serif; cursor: pointer; margin-top: 0.75rem; }
.button:disabled { opacity: .6; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 6.5rem; padding: 1rem;
  background: var(--surface); border-radius: 1.1rem; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(19, 53, 40, .06); }
.tile-name { font-weight: 600; }
.tile-count { color: var(--stone); font-size: 0.9rem; font-weight: 500; }
.tile.locked { background: transparent; border: 1px dashed var(--line); box-shadow: none; color: var(--stone); }
.entry dl { margin: 0; display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: 0.35rem 1rem; }
.entry dt { color: var(--stone); }
.entry dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 30rem) { .entry dl { grid-template-columns: 1fr; } .entry dd { margin-bottom: 0.5rem; } }
.foot { padding-bottom: 2rem; color: var(--stone); font-size: 0.9rem; }
.print-only { display: none; }

/* Printing is discouraged: the vault content is replaced by a note. (Nobody
   can stop screenshots or photos of the screen.) */
@media print {
  .top, main, .foot { display: none !important; }
  .print-only { display: block; font: 1.2rem Georgia, serif; margin: 3rem; }
}
[hidden] { display: none !important; }
