/* EngineerLetters.co (powered by Oasis Engineering) — MFH cert app shared styles */
:root {
  --green-950: #0a1b33;
  --green-900: #1b78fc;
  --green-700: #0f5fe0;
  --green-100: #e3eefe;
  --green-50: #f2f7ff;
  --sand: #59a1ff;
  --sand-dark: #0f5fe0;
  --ink: #17242b;
  --muted: #5c6b64;
  --line: #d8e2ec;
  --bg: #f4f7fb;
  --white: #ffffff;
  --red: #b42318;
  --red-bg: #fdecea;
  --amber-bg: #fdf6e3;
  --ok: #1a7f4b;
  --ok-bg: #e8f5ee;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.topbar {
  background: #fff; color: var(--green-950); padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-bottom: 3px solid var(--green-900);
}
.topbar .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-950); }
.topbar .brand img { height: 34px; display: block; }
.topbar .brand .bt { font-weight: 800; font-size: 14px; line-height: 1.2; }
.topbar .brand small { color: var(--muted); font-weight: 600; display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; }
.topbar .right { font-size: 12px; color: var(--muted); text-align: right; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
.wrap.wide { max-width: 1080px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(10,46,40,.05);
}
h1 { font-size: 26px; line-height: 1.25; margin-bottom: 8px; color: var(--green-950); }
h2 { font-size: 19px; margin-bottom: 8px; color: var(--green-950); }
h3 { font-size: 15px; margin-bottom: 6px; color: var(--green-950); }
p.muted, .muted { color: var(--muted); font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 5px; color: var(--green-950); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 16px; background: #fff; color: var(--ink); font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green-700); border-color: var(--green-700); }
.row { display: flex; gap: 12px; } .row > * { flex: 1; }
.btn {
  display: inline-block; width: 100%; text-align: center; background: var(--green-900); color: #fff;
  border: none; border-radius: 10px; padding: 14px 18px; font-size: 16px; font-weight: 700;
  cursor: pointer; text-decoration: none; font-family: inherit;
}
.btn:hover { background: var(--green-700); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--green-900); border: 1.5px solid var(--green-900); }
.btn.small { width: auto; padding: 9px 14px; font-size: 14px; }
.btn.danger { background: var(--red); }
.btn.sand { background: var(--sand-dark); }
.pill {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 99px;
}
.pill.req { background: var(--red-bg); color: var(--red); }
.pill.pref { background: var(--amber-bg); color: #b3801f; }
.pill.done { background: var(--ok-bg); color: var(--ok); }
.pill.rej { background: var(--red-bg); color: var(--red); }
.pill.neutral { background: var(--green-100); color: var(--green-900); }
.notice { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 12px 0; }
.notice.info { background: var(--green-50); border: 1px solid var(--line); color: var(--green-950); }
.notice.warn { background: var(--amber-bg); border: 1px solid #ecd9a6; color: #7a5b10; }
.notice.err { background: var(--red-bg); border: 1px solid #f1b8b2; color: var(--red); }
.notice.ok { background: var(--ok-bg); border: 1px solid #bfe3cf; color: var(--ok); }
.progressbar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 10px 0; }
.progressbar > div { height: 100%; background: var(--green-700); border-radius: 99px; transition: width .3s; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.steps-list { list-style: none; }
.steps-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: 14px; }
.steps-list .n {
  background: var(--green-100); color: var(--green-900); font-weight: 800; font-size: 12px;
  width: 22px; height: 22px; border-radius: 99px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.footer-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
table.cases { width: 100%; border-collapse: collapse; font-size: 14px; }
table.cases th, table.cases td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
table.cases th { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
table.cases tr.click { cursor: pointer; } table.cases tr.click:hover { background: var(--green-50); }
@media (max-width: 560px) { .row { flex-direction: column; gap: 0; } h1 { font-size: 22px; } }
@media (max-width: 560px) {
  .topbar .right { display: none; }
  .topbar .brand img { height: 30px; }
  .topbar .brand .bt { font-size: 12.5px; }
}
