@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --ink: #17181A;
  --charcoal: #232529;
  --canvas: #EEE9DD;
  --canvas-dim: #DCD5C4;
  --crimson: #8C1F28;
  --crimson-bright: #B62A34;
  --brass: #A68A54;
  --line: #3A3C40;
  --ok: #4C7A4E;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--canvas);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, .display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--canvas);
  margin: 0;
}

a { color: var(--brass); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 64px 24px;
}

.wrap-wide {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.mark-bar {
  width: 6px;
  height: 28px;
  background: var(--crimson);
}

.mark span {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 36px;
}

h1.display { font-size: 28px; font-weight: 600; margin-bottom: 8px; }
p.lede { color: #B7B2A4; margin: 0 0 28px 0; font-size: 15px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #B7B2A4;
  margin-bottom: 6px;
  margin-top: 18px;
}
label:first-of-type { margin-top: 0; }

input[type="email"], input[type="password"], input[type="text"], textarea, input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--canvas);
  font-family: inherit;
  font-size: 15px;
}

input:focus, textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}

button, .btn {
  display: inline-block;
  margin-top: 26px;
  width: 100%;
  padding: 13px 20px;
  background: var(--crimson);
  color: var(--canvas);
  border: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}

button:hover, .btn:hover { background: var(--crimson-bright); text-decoration: none; }
button:disabled { background: var(--line); cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--canvas);
}
.btn-ghost:hover { border-color: var(--brass); background: transparent; }

.toggle-row {
  margin-top: 20px;
  font-size: 14px;
  color: #B7B2A4;
  text-align: center;
}

.msg {
  margin-top: 18px;
  padding: 12px 14px;
  font-size: 14px;
  border-left: 3px solid var(--brass);
  background: rgba(166,138,84,0.08);
}
.msg.error { border-color: var(--crimson-bright); background: rgba(182,42,52,0.1); }
.msg.ok { border-color: var(--ok); background: rgba(76,122,78,0.1); }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

header.top .signout { font-size: 13px; color: #B7B2A4; cursor: pointer; }

.section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin: 40px 0 16px 0;
}
.section-title:first-child { margin-top: 0; }

table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
th { color: #B7B2A4; font-weight: 600; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }

.pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pill.pending { background: rgba(166,138,84,0.18); color: var(--brass); }
.pill.approved { background: rgba(76,122,78,0.18); color: #7FB582; }

.row-actions button {
  width: auto;
  margin: 0 4px 0 0;
  padding: 6px 12px;
  font-size: 12px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card { background: var(--charcoal); border: 1px solid var(--line); padding: 16px; }
.video-card h3 { font-size: 15px; margin-bottom: 10px; }
.video-card video { width: 100%; display: block; background: #000; }
.video-card p { font-size: 13px; color: #B7B2A4; margin: 10px 0 0 0; }

.comments {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.comment {
  margin-bottom: 10px;
  font-size: 13px;
}
.comment .who {
  color: var(--brass);
  font-weight: 600;
  margin-right: 6px;
}
.comment .when {
  color: #7C7869;
  font-size: 11px;
  margin-left: 6px;
}
.comment-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.comment-form input {
  flex: 1;
  padding: 8px 10px;
  font-size: 13px;
}
.comment-form button {
  width: auto;
  margin-top: 0;
  padding: 8px 14px;
  font-size: 12px;
  white-space: nowrap;
}
.no-comments {
  font-size: 13px;
  color: #7C7869;
  font-style: italic;
}

.empty {
  text-align: center;
  padding: 60px 20px;
  color: #7C7869;
}

.center-note {
  text-align: center;
  margin-top: 60px;
  color: #7C7869;
  font-size: 14px;
}
