/* The platform's pages, in the same look as the RepeatLess app on a computer: the same logo, colours, type, top menu and buttons. No script and nothing from another site is loaded. */
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/static/fonts/nunito-sans.woff2) format('woff2'); }
:root { color-scheme: dark; --bg: #0b0714; --frame: #120b1e; --panel: #1d122b; --line: #342346; --line2: #49335f; --ink: #f5f0ff; --muted: #b5a9c5; --dim: #8f819f; --accent: #d0009a; --primary: #4a00ff; --teal: #b879ff; --danger: #ff9a9a; --ok: #8be3b0; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; padding: 28px 34px 72px; background: radial-gradient(circle at 18% 0%, rgba(74,0,255,.28) 0, transparent 38%), linear-gradient(135deg, #0b0714, #1b0b2b); color: var(--ink); font: 14px/1.5 'Nunito Sans', 'Segoe UI', system-ui, sans-serif; }
a { color: var(--teal); }
.shell { max-width: 1400px; margin: 0 auto; }

/* the frame: the logo row, then the page */
header.site { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 76px; padding: 0 28px; border: 1px solid var(--line); border-radius: 8px 8px 0 0; background: var(--frame); }
header.site .brand { display: inline-flex; flex: 0 0 auto; align-items: center; margin: 0 12px 0 0; }
header.site .brand img { display: block; width: auto; height: 39px; transform: translateY(-5px); }  /* the letters sit low in the picture: lifted so the words line up with the menu */
.main-tabs { display: inline-flex; flex-wrap: wrap; align-items: center; }
.main-tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; color: #b5a9c5; font: 700 13px 'Nunito Sans', 'Segoe UI', sans-serif; text-decoration: none; white-space: nowrap; transition: color .18s, box-shadow .18s; }
.main-tabs a + a::before { position: absolute; top: 8px; bottom: 8px; left: 0; width: 1px; background: #4b3765; content: ''; }
.main-tabs a:hover { color: #fff; }
.main-tabs a.after-group { margin-left: 12px; }
.main-tabs a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.count { min-width: 16px; padding: 1px 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; text-align: center; }
.who { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 4px 6px 4px 6px; border: 1px solid #2f9e6f; border-radius: 12px; background: #14684a; }
.who .avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #4a00ff, #d0009a); font-size: 13px; font-weight: 800; }
.who .who-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }
.who button.small { margin: 0; }
main { padding: 24px 28px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; background: var(--frame); box-shadow: 0 24px 60px rgba(0,0,0,.42); min-height: 60vh; }
main.narrow { padding-left: max(28px, calc((100% - 420px) / 2)); padding-right: max(28px, calc((100% - 420px) / 2)); }

/* titles and text */
h1 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
h2 { margin: 28px 0 8px; font-size: 16px; font-weight: 800; }
p.lead { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
p.crumb { margin: 0 0 10px; color: var(--dim); font-size: 12px; }
p.crumb a { text-decoration: none; }
.muted { color: var(--dim); }
.mono { font: 12px 'JetBrains Mono', ui-monospace, Consolas, monospace; color: var(--muted); }

/* cards and notices */
.card { margin: 14px 0; padding: 20px; border: 1px solid var(--line2); border-radius: 8px; background: var(--panel); }
.card > h2:first-child, .card > h1:first-child { margin-top: 0; }
.notice { margin: 0 0 16px; padding: 10px 14px; border-radius: 6px; border: 1px solid var(--ok); background: #10261b; color: var(--ok); }
.notice.error { border-color: #a33; background: #2a1216; color: var(--danger); }

/* forms and buttons */
label { display: block; margin: 12px 0 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
input[type=text], input[type=email], input[type=password], input[type=url], select, textarea { width: 100%; height: 36px; padding: 0 12px; border: 1px solid #4b3765; border-radius: 6px; background: #0e0817; color: var(--ink); font: 600 13px 'Nunito Sans', sans-serif; }
textarea { height: auto; min-height: 90px; padding: 9px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; }
#source-editor { display: none; height: 420px; margin-top: 6px; border: 1px solid #4b3765; border-radius: 6px; overflow: hidden; }
#source-editor.ready { display: block; }
#source-editor .ace_editor { font: 13px/1.6 ui-monospace, Consolas, monospace; }
button, .button { display: inline-flex; align-items: center; justify-content: center; height: 34px; margin-top: 14px; padding: 0 16px; border: 1px solid var(--primary); border-radius: 6px; background: var(--primary); color: #fff; font: 700 13px 'Nunito Sans', sans-serif; cursor: pointer; text-decoration: none; transition: border-color .18s, background .18s; }
button:hover, .button:hover { border-color: #7a4dff; background: #5a1fff; }
button.secondary, .button.secondary { border-color: #4b3765; background: #21142f; color: var(--ink); }
button.secondary:hover, .button.secondary:hover { border-color: var(--accent); background: #35134a; }
button.danger, .button.danger { border-color: #c94a4a; background: #c94a4a; color: #fff; }
button.danger:hover, .button.danger:hover { border-color: #e06666; background: #d45a5a; }
button.small, .button.small { height: 28px; margin-top: 0; padding: 0 10px; font-size: 12px; }
form.inline select { width: auto; min-width: 170px; height: 28px; font-size: 12px; }
form.inline { display: inline; }
form.row, div.row { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
form.row > div, div.row > div { flex: 1; min-width: 160px; }
form.row button { margin-top: 0; }

/* tables */
table { width: 100%; border-collapse: collapse; margin: 8px 0; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--dim); font: 600 11px 'JetBrains Mono', ui-monospace, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:hover { background: rgba(74,0,255,.07); }
a.rowlink { color: var(--ink); font-weight: 800; text-decoration: none; }
a.rowlink:hover { color: var(--teal); text-decoration: underline; }
.badge { display: inline-block; padding: 1px 10px; border: 1px solid #5b3c70; border-radius: 999px; color: var(--muted); font: 800 10px 'Nunito Sans', sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.badge.verified, .badge.approved, .badge.active { border-color: #62a993; color: #9ee4ca; }
.badge.submitted, .badge.pending { border-color: #e0b354; color: #e0b354; }
.badge.rejected, .badge.suspended { border-color: #a33; color: var(--danger); }
pre, code { padding: 2px 6px; border-radius: 4px; background: #0e0817; color: #d8c8ff; font: 13px 'JetBrains Mono', ui-monospace, Consolas, monospace; }
pre { display: block; padding: 10px 12px; overflow-x: auto; }
.steps { padding-left: 20px; }
.steps li { margin: 6px 0; }
.steps li.done { color: var(--ok); }
footer.site { margin-top: 40px; color: var(--dim); font-size: 13px; text-align: center; }

@media (max-width: 900px) { body { padding: 0; } header.site { border-radius: 0; padding: 10px 16px; } main { border-radius: 0; padding: 18px 16px 50px; } main.narrow { padding-left: 16px; padding-right: 16px; } .who { margin-left: 0; } th, td { padding: 8px 6px; font-size: 13px; } }
