/* Shared look for both pages: colours, layout, cards, tables, buttons. */

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    font-size: 15px;
  }
header h1 { margin: 0; font-size: 1.3rem; }
header p { margin: 6px 0 0; opacity: .92; font-size: .88rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 18px; }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 18px 16px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
  }
h2 { font-size: 1.08rem; margin: 0 0 4px; }
.hint { color: var(--muted); font-size: .85rem; margin: 0 0 14px; }
/* table */
  table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: left; font-weight: 700; white-space: nowrap; }
.num { text-align: right; }
.center { text-align: center; }
input[type="text"], input[type="number"], select {
    padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px;
    font-size: .95rem; background: #fff; color: var(--ink); font-family: inherit; width: 100%;
  }
input[type="number"] { text-align: right; }
.col-weeks { width: 9%; }
/* one bill line per denomination, neatly aligned */
  .bl { display: grid; grid-template-columns: 2.2em 1.2em auto; align-items: baseline; font-size: .9rem; line-height: 1.6; }
.bl .cnt { text-align: right; font-weight: 700; color: var(--ink); }
.bl .x { text-align: center; color: var(--muted); font-size: .8rem; }
.bl .dv { font-weight: 600; color: var(--ink); }
.action {
    font-family: inherit; cursor: pointer; border: none; border-radius: 9px;
    padding: 9px 14px; font-size: .88rem; font-weight: 600;
    text-decoration: none; display: inline-block;
  }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.notice { background: var(--warn-soft); border: 1px solid #eccdbf; color: var(--warn);
    border-radius: 10px; padding: 10px 14px; font-size: .85rem; margin-top: 14px; }
.ok-notice { background: var(--accent-soft); border-color: #cfe0cf; color: var(--accent-dark); }
