/* Deliberately plain: the vendor's own surface has no design system to keep in
   step with, and pulling in the shared UI library would drag the whole catalog
   into a host that must not contain it. */

:root {
    color-scheme: dark;
    --bg: #0b0d10;
    --panel: #14181d;
    --line: #262d35;
    --text: #e6e9ec;
    --muted: #98a2ad;
    --accent: #6aa9ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}

header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

header .mark {
    font-weight: 600;
    letter-spacing: 0.01em;
}

header .who {
    margin-left: auto;
    color: var(--muted);
}

a {
    color: var(--accent);
}

main {
    padding: 1.5rem;
    max-width: 70rem;
}

main.plain {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
}

h1 {
    font-size: 1.35rem;
    margin: 0 0 1rem;
}

h2 {
    font-size: 1.05rem;
    margin: 2rem 0 0.6rem;
    color: var(--muted);
    font-weight: 600;
}

.summary {
    color: var(--muted);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--panel);
    border: 1px solid var(--line);
}

th,
td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--muted);
    font-weight: 600;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.sign-in {
    display: grid;
    gap: 0.5rem;
    width: min(22rem, 100%);
    padding: 1.75rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

.sign-in h1 {
    margin-bottom: 0.5rem;
}

.sign-in label {
    color: var(--muted);
    font-size: 0.9rem;
}

.sign-in input {
    padding: 0.5rem 0.6rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    color: inherit;
    font: inherit;
}

.sign-in button {
    margin-top: 0.75rem;
    padding: 0.55rem;
    border: 0;
    border-radius: 0.35rem;
    background: var(--accent);
    color: #06121f;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.failed {
    margin: 0;
    padding: 0.5rem 0.6rem;
    border-radius: 0.35rem;
    background: #3a1c1c;
    color: #ffb4b4;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--muted);
}

nav a.active {
    color: var(--text);
    text-decoration: underline;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: 0 0 0.5rem;
}

.row input,
.row select {
    padding: 0.4rem 0.5rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    color: inherit;
    font: inherit;
}

button {
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: var(--panel);
    color: inherit;
    font: inherit;
    cursor: pointer;
}

button[type="submit"] {
    background: var(--accent);
    border-color: var(--accent);
    color: #06121f;
    font-weight: 600;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hint {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}

.message {
    padding: 0.5rem 0.7rem;
    border-radius: 0.35rem;
    background: #14261c;
    color: #bce8cd;
}

.actions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.tag {
    margin-left: 0.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 0.3rem;
    background: #23303f;
    color: var(--accent);
    font-size: 0.75rem;
}

tr.off td {
    opacity: 0.55;
}

code {
    font-size: 0.85em;
    color: var(--muted);
}
