:root {
  color-scheme: dark;
  --black: #000;
  --panel: #090909;
  --paper: #f4f3ef;
  --muted: #b9b9b4;
  --acid: #b7ff00;
  --line: #4e4e4e;
  font-family: 'Courier New', Courier, monospace;
  color: var(--paper);
  background: var(--black);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--black); }
body { min-height: 100vh; margin: 0; background: var(--black); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 112px;
  padding: 20px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  flex-direction: column;
  width: max-content;
  font: 900 clamp(20px, 2vw, 30px) / .94 Impact, 'Arial Narrow', Arial, sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.wordmark strong { color: var(--acid); font-weight: inherit; }

.back,
.refresh {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 12px 24px;
  border: 1px solid var(--acid);
  color: var(--acid);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.back:hover,
.back:focus-visible,
.refresh:hover,
.refresh:focus-visible { color: #000; background: var(--acid); outline: 0; }
.refresh:disabled { cursor: wait; opacity: .55; }

.language { position: relative; margin-left: 18px; }
.language-toggle {
  display: grid;
  grid-template-columns: 30px auto 8px;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: #050505;
  cursor: pointer;
  text-transform: uppercase;
}
.language-toggle img,
.language-menu img { width: 30px; height: 20px; object-fit: cover; }
.chevron { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.language-menu { position: absolute; z-index: 5; top: calc(100% + 7px); right: 0; width: 230px; border: 1px solid var(--acid); background: #050505; }
.language-menu[hidden] { display: none; }
.language-menu button { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; width: 100%; min-height: 48px; padding: 8px 12px; border: 0; border-bottom: 1px solid #333; color: var(--paper); background: #050505; text-align: left; cursor: pointer; }
.language-menu button:hover,
.language-menu button:focus-visible { color: #000; background: var(--acid); outline: 0; }

main { width: min(1500px, calc(100% - 48px)); margin: 0 auto; padding: clamp(58px, 8vw, 110px) 0 100px; }
.intro { padding-bottom: clamp(42px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 12px; letter-spacing: .2em; }
.intro-row { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
h1 { margin: 0; font: 900 clamp(58px, 8vw, 126px) / .86 Impact, 'Arial Narrow', Arial, sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
h1 span { display: block; color: var(--acid); }
.lead { max-width: 720px; margin: 30px 0 0; color: var(--muted); font-size: clamp(14px, 1.2vw, 18px); line-height: 1.7; }

.state { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.state[hidden] { display: none; }
.state-marker { width: 10px; height: 10px; flex: 0 0 auto; border: 1px solid var(--acid); }
.state[data-kind='error'] .state-marker { border-color: #ff7070; background: #ff7070; }
.state[data-kind='success'] .state-marker { background: var(--acid); }
.state p { margin: 0; line-height: 1.6; }

.directory[hidden] { display: none; }
.directory-filters { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.4fr); gap:16px; padding-bottom:24px; }
.directory-filters label { display:grid; gap:8px; color:var(--muted); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.directory-filters input,.directory-filters select { min-height:48px; border:1px solid var(--line); padding:10px 12px; color:var(--paper); background:#050505; font:inherit; }
.directory-filters input:focus,.directory-filters select:focus { border-color:var(--acid); outline:0; }
.directory-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 42px 0 24px; }
.directory-head h2 { margin: 0; font: 900 clamp(30px, 4vw, 54px) / 1 Impact, 'Arial Narrow', Arial, sans-serif; text-transform: uppercase; }
.directory-head p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.directory-head strong { color: var(--acid); font-size: 22px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); outline: 0; }
.table-scroll:focus-visible { border-color: var(--acid); }
table { width: 100%; min-width: 1120px; border-collapse: collapse; background: var(--panel); }
th,
td { padding: 20px 22px; border-right: 1px solid #333; border-bottom: 1px solid #333; text-align: left; vertical-align: top; }
th:last-child,
td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
th { color: var(--acid); background: #030303; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
td { font-size: 13px; line-height: 1.45; }
td:first-child { font-weight: 700; }
td time { color: var(--muted); white-space: nowrap; }
.status-list { display:flex; flex-wrap:wrap; gap:6px; min-width:170px; }
.status-badge { display:inline-block; padding:5px 7px; border:1px solid currentColor; font-size:10px; letter-spacing:.04em; text-transform:uppercase; }
.status-badge.project-lead,.role-option.project-lead { color:#ff3b30; }
.status-badge.management,.role-option.management { color:#27e0d0; }
.status-badge.vip,.role-option.vip { color:var(--acid); }
.status-badge.artist,.role-option.artist { color:#c66bff; }
.status-badge.registered-user { color:var(--paper); }
.role-editor { display:grid; gap:7px; min-width:190px; }
.role-option { display:flex; align-items:center; gap:7px; font-size:10px; text-transform:uppercase; }
.role-option input { accent-color:currentColor; }
.save-roles { width:max-content; padding:6px 9px; border:1px solid var(--acid); color:var(--acid); background:transparent; font-size:10px; text-transform:uppercase; cursor:pointer; }
.save-roles:hover,.save-roles:focus-visible { color:#000; background:var(--acid); outline:0; }
.save-roles:disabled { opacity:.55; cursor:wait; }

.footer { display: flex; justify-content: space-between; gap: 30px; padding: 32px clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer a:hover,
.footer a:focus-visible { color: var(--acid); outline: 0; }

@media (max-width: 760px) {
  .header { grid-template-columns: 1fr auto; min-height: 96px; padding-inline: 20px; }
  .back { display: none; }
  .language { margin-left: 10px; }
  .language-toggle { grid-template-columns: 28px 8px; padding-inline: 10px; }
  #language-code { display: none; }
  main { width: calc(100% - 40px); padding-top: 58px; }
  .intro-row { display: grid; gap: 34px; }
  h1 { font-size: clamp(62px, 19vw, 98px); }
  .refresh { width: 100%; }
  .directory-filters { grid-template-columns:1fr; }
  .directory-head { align-items: center; }
  .directory-head h2 { font-size: 30px; }
  th,
  td { padding: 17px 18px; }
  .footer { flex-direction: column; align-items: center; text-align: center; }
}

/* Shared editorial typography from the home page. The wordmark remains a brand mark. */
body,
.back,
.refresh,
.language-toggle,
.language-menu button,
.eyebrow,
.directory-filters label,
.directory-filters input,
.directory-filters select,
.directory-head p,
th,
td,
.status-badge,
.role-option,
.save-roles,
.footer { font-family: Georgia, 'Times New Roman', serif; }
h1,
.directory-head h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.05em;
}
