/* Calm Remodel app — the mockups' one sheet. design/APP.md says why each value is what it is. */
@font-face { font-family: "Nunito"; src: url("fonts/Nunito.ttf") format("truetype"); font-weight: 200 1000; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat.ttf") format("truetype"); font-weight: 400 700; }

:root {
  --ink: #2b2233;
  --ink-2: #6b6272;
  --ink-3: #9a929f;
  --paper: #f7f3ea;
  --card: #ffffff;
  --line: #e7e0d2;
  --hat: #f5c518;       /* Bea, and your move */
  --hat-soft: #fff4c7;
  --vest: #ff8a2b;      /* Bea only */
  --plan: #1f4b7a;      /* plans, not yet */
  --plan-soft: #e6eef7;
  --pen: #e0393e;       /* a problem on paper */
  --pen-soft: #fde8e8;
  --ok: #2f8f5b;        /* a clean stamp */
  --ok-soft: #e3f3ea;
  --r: 18px;
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--paper); -webkit-font-smoothing: antialiased; }

/* The sticker card: an ink edge and a solid drop, like the cast's outline. */
.card { background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: 0 4px 0 var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.pill.late { background: var(--pen); color: #fff; }
.pill.today { background: var(--hat); color: var(--ink); }
.pill.soon { background: var(--plan-soft); color: var(--plan); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 14px; font: 800 16px "Nunito"; border: 2.5px solid var(--ink); background: var(--card); color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.btn.go { background: var(--hat); }
.btn.quiet { border-color: var(--line); box-shadow: none; color: var(--ink-2); }

.bubble { position: relative; display: inline-block; background: var(--card); border: 2.5px solid var(--ink); border-radius: 20px; padding: 12px 18px; font-weight: 800; font-size: 19px; line-height: 1.25; }
.bubble::after { content: ""; position: absolute; left: -12px; top: 22px; width: 18px; height: 18px; background: var(--card); border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }
.bubble.down::after { left: 34px; top: auto; bottom: -11px; transform: rotate(-45deg); }
.bubble.down-r::after { left: auto; right: 30px; top: auto; bottom: -11px; transform: rotate(-45deg); }

.pen { font-family: "Caveat", cursive; color: var(--pen); font-weight: 700; }
.num { font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.tiny { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* Tell Bea: the one input on every screen. */
.tell { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 10px 0 20px; background: var(--card); border: 2.5px solid var(--ink); border-radius: 99px; box-shadow: 0 4px 0 var(--ink); font-weight: 700; color: var(--ink-3); font-size: 17px; }
.tell .grow { flex: 1; }
.tell .ico { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; background: var(--paper); }
.tell .ico.send { background: var(--hat); border: 2px solid var(--ink); }

/* A head cropped from a cast drawing. */
.head { display: inline-block; border-radius: 99px; background: var(--hat-soft); border: 2.5px solid var(--ink); overflow: hidden; }
.head svg { display: block; width: 100%; height: 100%; }

/* The money bar. */
.bar { position: relative; display: flex; height: 22px; border: 2.5px solid var(--ink); border-radius: 99px; overflow: hidden; background: var(--card); }
.bar > i { display: block; height: 100%; }
.bar .signed { background: var(--ink); }
.bar .pending { background: repeating-linear-gradient(-45deg, var(--hat) 0 8px, #ffe27a 8px 16px); }
.bar .over { background: var(--pen); }
