/* Brand neutral until the company has a name. System fonts, dark grey type, one accent. */
:root {
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --bg: #f6f6f4;
  --card: #ffffff;
  --accent: #0b5d6e;
  --accent-ink: #ffffff;
  --danger: #a33a2a;
  --ok: #2d7a46;
  --amber: #b36b00;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
h1 { font-size: 1.6rem; font-weight: 600; margin: 0 0 .6rem; }
h2 { font-size: 1.15rem; font-weight: 600; margin: 1.6rem 0 .6rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1rem 0 .4rem; }
code { font-size: .9em; background: #eee; padding: .05em .3em; border-radius: 3px; }
code.wrap { word-break: break-all; display: inline-block; padding: .4em .6em; margin-top: .4em; }
small, .muted { color: var(--muted); }
.top { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 16px; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { font-weight: 600; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--ink); padding: .2rem 0; border-bottom: 2px solid transparent; }
nav a:hover { border-color: var(--accent); }
.who { margin-left: auto; display: flex; gap: .6rem; align-items: center; font-size: .9rem; }
main { max-width: 1100px; margin: 0 auto; padding: 1.2rem 16px 3rem; }
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem 16px 2rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; margin: 1rem 0; }
.card.narrow { max-width: 460px; margin: 3rem auto; }
.flash { background: #e8f3ef; border: 1px solid #bfdccf; color: #1f4d33; padding: .7rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.error { background: #fbeeea; border: 1px solid #efc7bd; color: #7a2a1d; padding: .7rem 1rem; border-radius: 6px; margin: .5rem 0 1rem; }
label { display: block; margin: .9rem 0; font-weight: 500; }
label small { display: block; font-weight: 400; margin-top: .25rem; }
label.check { font-weight: 400; }
input:not([type]), input[type=text], input[type=email], input[type=url], input[type=number], select, textarea { width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid #cfcfcf; border-radius: 6px; margin-top: .3rem; background: #fff; color: var(--ink); }
input[type=file] { display: block; margin-top: .4rem; }
textarea { resize: vertical; }
button, .button { font: inherit; font-weight: 500; padding: .55rem 1rem; border-radius: 6px; border: 1px solid #cfcfcf; background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; display: inline-block; }
button.primary, .button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
button.danger { color: var(--danger); border-color: var(--danger); }
button.link { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; font-weight: 400; }
form.inline { display: inline; }
details { margin: .7rem 0; }
summary { cursor: pointer; color: var(--accent); }
details form { padding: .5rem 0 0 .5rem; border-left: 2px solid var(--line); margin-left: .3rem; }
.sites { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.site { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.row-actions form { margin-right: .6rem; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; background: #eee; white-space: nowrap; }
.badge-new, .badge-building, .badge-publishing { background: #e7eef9; color: #1f4b8a; }
.badge-ready { background: #fff3d6; color: var(--amber); }
.badge-needs_info { background: #f1e6fa; color: #5a2d82; }
.badge-failed { background: #fbeeea; color: var(--danger); }
.badge-live { background: #e4f3e8; color: var(--ok); }
.badge-rejected { background: #eee; color: var(--muted); }
.head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.crumb { margin: 0 0 .3rem; font-size: .9rem; }
.meta { color: var(--muted); font-size: .92rem; margin: 0; }
.preview { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; margin: 1rem 0; }
.preview .button { margin-bottom: .4rem; }
.preview small { display: block; }
.summary p, .summary ul { margin: .4rem 0; }
.captures { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .captures { grid-template-columns: 2fr 1fr; } }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
figure { margin: 0; }
figure img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 6px; background: #fff; display: block; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.placeholder { height: 200px; border: 1px dashed var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.two { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .two { grid-template-columns: 3fr 2fr; } }
.description { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.description p { margin: .4rem 0; }
.files { padding-left: 1.2rem; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 .9rem 1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline time { display: block; font-size: .8rem; color: var(--muted); }
.timeline .detail { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: .5rem .7rem; margin-top: .3rem; font-size: .95rem; }
.timeline .detail p { margin: .2rem 0; }
.actions .meta { margin-bottom: .8rem; }
.sites-table details form { max-width: 420px; }
@media (max-width: 640px) {
  th:nth-child(5), td:nth-child(5) { display: none; }
  .requests td:nth-child(2) { display: none; }
  .requests th:nth-child(2) { display: none; }
  .site { flex-direction: column; align-items: flex-start; }
}
