:root {
    color-scheme: light;
    --bg: #ffffff;
    --card: #f7fbfe;
    --ink: #1a3144;
    --muted: #5c7386;
    --line: #d4e6f2;
    --accent: #4c93c7;
    --accent-ink: #ffffff;
    --danger: #9a3d4a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.5 "Segoe UI", sans-serif;
}

h1, h2, h3 {
    font-family: Georgia, "Iowan Old Style", Palatino, serif;
    font-weight: 600;
    line-height: 1.25;
}

h1 { font-size: 2rem; margin: 0 0 0.4rem; }
h2 { font-size: 1.35rem; margin: 0; }

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

p { margin: 0.4rem 0; }

.wrap {
    width: min(42rem, calc(100% - 2rem));
    margin: 0 auto;
}

.site {
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    position: sticky;
    top: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.brand {
    color: var(--ink);
    font-family: Georgia, "Iowan Old Style", Palatino, serif;
    font-size: 1.25rem;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

main { padding: 1.25rem 0 3rem; }

.lead { color: var(--muted); margin-bottom: 1rem; }

.jobs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.card h2 { margin-bottom: 0.35rem; }

.description {
    white-space: pre-wrap;
    margin: 1rem 0;
}

.stack { display: grid; gap: 0.9rem; }

label, .field {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

input, textarea, select, button { font: inherit; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
textarea,
select {
    width: 100%;
    font-size: 16px;
    padding: 0.7rem 0.75rem;
    border: 1px solid #c5dced;
    border-radius: 10px;
    background: white;
    color: var(--ink);
}

textarea { min-height: 8rem; resize: vertical; }

button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    cursor: pointer;
}

button.secondary, .button.secondary {
    background: transparent;
    color: var(--accent);
}

button.danger {
    background: transparent;
    border-color: var(--danger);
    color: var(--danger);
}

button.linkish {
    background: none;
    border: 0;
    color: var(--accent);
    min-height: 0;
    padding: 0;
    border-radius: 0;
    text-decoration: underline;
}

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

.muted { color: var(--muted); font-weight: 500; }
.error { color: var(--danger); margin: 0; }
.note { color: var(--muted); font-size: 0.92rem; margin-top: 2rem; }

.pill {
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    font-size: 0.85rem;
    border: 1px solid var(--line);
    font-weight: 600;
}

.pill.open { background: #e5f4ea; }
.pill.hold { background: #e7f2fb; }
.pill.closed { background: #e8eef3; }

.choices {
    display: grid;
    gap: 0.45rem;
}

.check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-weight: 500;
}

.check input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.25rem;
}

.question {
    display: grid;
    gap: 0.7rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--line);
}

.hidden { position: absolute; left: -9999px; }

h1:focus { outline: none; }

.validation-message { color: var(--danger); font-weight: 500; }

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
