:root {
  --navy: #010921; --bg: #f5f6fa; --card: #fff; --text: #1a1f36; --muted: #5c6480;
  --line: #dde1ec; --accent: #d9480f; --accent-dark: #b33a0b; --ok: #1f8a4c; --warn: #b7791f; --bad: #c0392b;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); }
header.top { background: var(--navy); color: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
header.top nav { display: flex; align-items: center; gap: 1rem; }
header.top nav a { color: #cfd5ea; text-decoration: none; }
header.top nav a:hover { color: #fff; }
.link-button { background: none; border: 0; color: #cfd5ea; font: inherit; cursor: pointer; padding: 0; }
.link-button:hover { color: #fff; }
.wrap { max-width: 60rem; margin: 0 auto; padding-inline: 1rem; }
main { padding-block: 1.5rem 3rem; }
h1 { font-size: 1.6rem; margin: .2rem 0 1rem; }
h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.narrow { max-width: 28rem; margin: 2rem auto; }
label { display: block; font-weight: 600; margin: .8rem 0 .25rem; }
.hint { color: var(--muted); font-size: .9rem; margin: .15rem 0 0; font-weight: 400; }
input[type=text], input[type=email], input[type=url], textarea, select {
  width: 100%; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
textarea { min-height: 7rem; resize: vertical; }
button, .button { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: .55rem 1rem; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: var(--accent-dark); color: #fff; }
button.secondary { background: #e8ebf3; color: var(--text); }
button.secondary:hover { background: #d9deea; }
button.danger { background: none; color: var(--bad); padding-inline: .3rem; }
button.danger:hover { background: #fdecea; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row > * { flex: 1 1 12rem; }
.row > .fixed { flex: 0 0 auto; }
.actions { margin-top: 1rem; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.pill { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.pill.draft { background: #eef0f5; color: var(--muted); }
.pill.pending { background: #fff4e0; color: var(--warn); }
.pill.published { background: #e3f5ea; color: var(--ok); }
.pill.rejected { background: #fdecea; color: var(--bad); }
.pill.pro { background: #fde9df; color: var(--accent-dark); }
.notice { background: #e3f5ea; border: 1px solid #b9e2c8; color: #155d34; padding: .6rem .9rem; border-radius: 8px; margin-bottom: 1rem; }
.error { background: #fdecea; border: 1px solid #f5c2bc; color: #8a241a; padding: .6rem .9rem; border-radius: 8px; margin-bottom: 1rem; }
#map { height: 320px; border-radius: 10px; border: 1px solid var(--line); margin-top: .5rem; }
.thumb { max-width: 160px; max-height: 110px; border-radius: 8px; border: 1px solid var(--line); background: #0b1433; display: block; margin: .4rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-scroll { overflow-x: auto; }
th, td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; }
ul.links { list-style: none; padding: 0; margin: 0 0 .5rem; }
ul.links li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.stat { font-size: 2rem; font-weight: 700; line-height: 1.1; }
