/* dash.evansdesignstudio.com. EDS brand colors; every text pair meets WCAG 2.2 AA (4.5:1). */
:root {
  --ink: #080a1b;
  --body: #252737;
  --slate: #4a4c5c;         /* 8.3:1 on white */
  --teal: #55b9d1;          /* decoration only, never text on white */
  --teal-text: #1d6577;     /* 6.6:1 on white: links and small accents */
  --sky: #8dd0e0;
  --cloud: #f4fbfd;
  --line: #d9dbe0;
  --warn-bg: #fff4e5;
  --warn: #7a3d00;          /* 8.6:1 on --warn-bg */
  --good: #1b6b3a;          /* 6.4:1 on white */
  --bad: #a3261b;           /* 6.5:1 on white */
  --radius: 10px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }
h1 { font-size: 1.75rem; margin: 1.5rem 0 0.5rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
a { color: var(--teal-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 1.25rem; }
main.wrap { padding-bottom: 3rem; min-height: 60vh; }
main:focus { outline: none; }

/* header */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top__row { display: flex; align-items: center; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.top__logo img { display: block; width: 150px; }
.top__biz { margin: 0 0 0 auto; font-weight: 600; color: var(--ink); text-align: right; }
.top__out { margin-left: 0.5rem; }
.tabs { background: var(--cloud); border-top: 1px solid var(--line); }
.tabs__row { display: flex; gap: 0.25rem; overflow-x: auto; }
.tabs a { display: inline-block; padding: 0.8rem 0.9rem; color: var(--body); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; min-height: 44px; }
.tabs a:hover { color: var(--ink); border-bottom-color: var(--sky); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* text bits */
.lede { font-size: 1.05rem; color: var(--slate); margin-top: 0; }
.note { color: var(--slate); font-size: 0.95rem; }
.note--info { background: var(--cloud); border: 1px solid var(--sky); border-radius: var(--radius); padding: 1rem 1.25rem; color: var(--body); }
.note--warn { background: var(--warn-bg); color: var(--warn); border-radius: var(--radius); padding: 0.75rem 1rem; }
.loading { margin-top: 2rem; color: var(--slate); }

/* buttons */
.btn, .btn-2, .link { font: inherit; cursor: pointer; }
.btn { display: inline-block; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 0.6rem 1.25rem; font-weight: 600; text-decoration: none; min-height: 44px; transition: background 0.2s, color 0.2s; }
.btn:hover, .btn:focus-visible { background: #1d6577; border-color: #1d6577; color: #fff; }
.btn-2 { display: inline-block; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 0.5rem 1rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.btn-2:hover, .btn-2:focus-visible { background: var(--cloud); color: var(--ink); }
.link { background: none; border: 0; padding: 0.5rem 0.25rem; color: var(--teal-text); text-decoration: underline; min-height: 44px; }
.link:hover { color: var(--ink); }
.btn[disabled], .btn-2[disabled] { opacity: 0.6; cursor: wait; }
.btn--file { position: relative; overflow: hidden; }
.btn--file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.btn--file:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }

/* panels and forms */
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.25rem 0; background: #fff; }
.panel > h2:first-child { margin-top: 0; }
.panel--narrow { max-width: 480px; margin: 2rem auto; }
.form label { display: block; font-weight: 600; color: var(--ink); margin: 0.75rem 0 0.25rem; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea, textarea, input[type="text"], select {
  font: inherit; width: 100%; max-width: 32rem; padding: 0.6rem 0.75rem; border: 1px solid #767987; border-radius: 6px; color: var(--ink); background: #fff;
}
textarea { min-height: 6rem; max-width: 100%; }
.form button[type="submit"] { margin-top: 1rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
legend { font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; font-size: 1.05rem; }
fieldset input[type="text"] { display: block; margin-bottom: 0.5rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.5rem; }
.choice { display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--cloud); }
.choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--ink); }

/* to-do cards */
.cards { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; }
.card { border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius); padding: 1.1rem 1.25rem; background: #fff; }
.card--urgent { border-left-color: var(--ink); }
.card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.card p { margin: 0 0 0.6rem; }
.card__meta { font-size: 0.85rem; color: var(--slate); font-weight: 600; }
.card__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.5rem; }
.cards--quiet .card { border-left-color: var(--line); background: var(--cloud); }
.allclear { padding: 1.25rem; background: var(--cloud); border-radius: var(--radius); }

/* stats */
.stats { list-style: none; padding: 0; margin: 0.5rem 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.75rem; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }
.stat__label { display: block; font-size: 0.85rem; color: var(--slate); font-weight: 600; }
.stat__num { display: block; font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.stat__chg { display: block; font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.stat__chg.up { color: var(--good); }
.stat__chg.down { color: var(--bad); }

/* lists */
.items { list-style: none; padding: 0; margin: 0.5rem 0; display: grid; gap: 0.75rem; }
.item { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }
.item__head { font-weight: 700; color: var(--ink); margin: 0 0 0.25rem; }
.item__body { margin: 0 0 0.5rem; white-space: pre-line; }
.item .card__btns { margin-top: 0.5rem; }
.items--plain .item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0.5rem 0; }
.donelist { list-style: none; padding: 0; margin: 0.5rem 0; }
.donelist li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 0.75rem; justify-content: space-between; flex-wrap: wrap; }
.donelist .when { color: var(--slate); font-size: 0.85rem; white-space: nowrap; }
.tick { color: var(--good); font-weight: 700; }
table.changes { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
table.changes th, table.changes td { text-align: left; vertical-align: top; padding: 0.5rem; border-bottom: 1px solid var(--line); }
table.changes th { color: var(--ink); }
.copybox { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.copybox input { flex: 1 1 260px; }
progress { width: 100%; max-width: 32rem; height: 0.75rem; accent-color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; margin: 0; opacity: 0; transition: opacity 0.2s; pointer-events: none; max-width: calc(100% - 2rem); }
.toast.show { opacity: 1; }

.foot { border-top: 1px solid var(--line); background: var(--cloud); padding: 1.25rem 0; font-size: 0.9rem; color: var(--slate); }
.foot p { margin: 0.25rem 0; }

@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  .top__biz { font-size: 0.9rem; }
  .panel { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
