:root {
  --ct-bg: #000;
  --ct-ink: #f4f4f4;
  --ct-muted: rgba(244, 244, 244, 0.55);
  --ct-line: rgba(244, 244, 244, 0.16);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.ct-body {
  min-height: 100vh;
  background: var(--ct-bg);
  color: var(--ct-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
a { color: inherit; }
.ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ct-top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #000;
  border-bottom: 1px solid var(--ct-line);
}
.ct-top-inner, .ct-nav, .ct-main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}
.ct-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 0 .4rem;
  gap: 1rem;
}
.ct-mark {
  text-decoration: none;
  letter-spacing: .28em;
  font-weight: 700;
}
.ct-top-actions, .ct-lang, .ct-logout { display: flex; align-items: center; gap: .6rem; }
.ct-lang a { text-decoration: none; color: var(--ct-muted); font-size: .75rem; }
.ct-lang a[aria-current="true"] { color: var(--ct-ink); }
.ct-logout button, .ct-login button {
  background: transparent;
  color: var(--ct-ink);
  border: 1px solid var(--ct-line);
  padding: .35rem .7rem;
}
.ct-nav { display: flex; gap: 1rem; padding: 0 0 .7rem; }
.ct-nav a { color: var(--ct-muted); text-decoration: none; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.ct-nav a[aria-current="page"] { color: var(--ct-ink); }
.ct-main { padding: 1.2rem 0 3rem; }
.ct-tools { margin: 0 0 .8rem; }
.ct-search input, .ct-login input {
  width: 100%;
  background: #000;
  color: var(--ct-ink);
  border: 1px solid var(--ct-line);
  padding: .7rem .8rem;
  font: inherit;
}
.ct-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.ct-chip-label, .ct-section {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ct-muted);
}
.ct-chip-label { width: 100%; padding-top: .35rem; }
.ct-section { margin: 1.1rem 0 .45rem; font-weight: 700; }
.ct-chip {
  text-decoration: none;
  border: 1px solid var(--ct-line);
  padding: .3rem .55rem;
  font-size: .75rem;
  color: var(--ct-muted);
}
.ct-chip.is-on { color: #000; background: #f4f4f4; }
.ct-count, .ct-lead, .ct-kicker, .ct-empty { color: var(--ct-muted); }
.ct-page-title { font-size: 1.6rem; margin: .2rem 0 .6rem; }
.ct-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .7rem;
}
.ct-card a {
  display: flex;
  gap: .8rem;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--ct-line);
  padding: .75rem;
  min-height: 4.5rem;
}
.ct-avatar {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--ct-line);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  letter-spacing: .04em;
}
.ct-card-meta { display: flex; flex-direction: column; min-width: 0; }
.ct-card-title { font-weight: 700; }
.ct-card-sub { color: var(--ct-muted); font-size: .85rem; }
.ct-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.ct-tags a { text-decoration: none; border: 1px solid var(--ct-line); padding: .25rem .5rem; font-size: .8rem; }
.ct-block h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ct-muted); }
.ct-block ul { padding-left: 1.1rem; }
.ct-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.ct-login-shell { width: min(420px, 100%); }
.ct-login-mark { letter-spacing: .28em; font-size: .8rem; }
.ct-login h1 { font-weight: 500; }
.ct-login-row { display: flex; gap: .5rem; }
.ct-login-error { color: #f4f4f4; }
.ct-login-foot { text-align: center; }
.ct-login-foot a { color: var(--ct-muted); }
.ct-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: .6rem; }
.ct-selects label { display: flex; flex-direction: column; gap: .25rem; color: var(--ct-muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.ct-selects select, .ct-block input, .ct-block textarea {
  width: 100%;
  background: #000;
  color: var(--ct-ink);
  border: 1px solid var(--ct-line);
  padding: .55rem .6rem;
  font: inherit;
}
.ct-campaign-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .4rem 0 .8rem; }
.ct-campaign-bar button, .ct-pick { font: inherit; }
.ct-card { position: relative; }
.ct-card-link { display: flex; gap: .8rem; align-items: center; text-decoration: none; border: 1px solid var(--ct-line); padding: .9rem .75rem .9rem 2.2rem; min-height: 5.5rem; }
.ct-card > a { display: flex; gap: .8rem; align-items: center; text-decoration: none; border: 1px solid var(--ct-line); padding: .9rem .75rem; min-height: 5.5rem; }
.ct-pick { position: absolute; left: .55rem; top: .9rem; }
.ct-card-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.ct-card-tags span, .ct-card-tags a { border: 1px solid var(--ct-line); padding: .1rem .35rem; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ct-muted); text-decoration: none; }
.ct-card-tags .is-gap { color: #f4f4f4; }
.ct-campaign-list { padding-left: 1.1rem; }
.ct-block { display: block; margin: 1rem 0; }
@media (max-width: 720px) {
  .ct-selects { grid-template-columns: 1fr; }
}
