:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f7f8;
    color: #222;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f6f7f8;
    color: #222;
}

a {
    color: #174ea6;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #d9dee3;
}

.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1c2733;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 18px;
}

nav a {
    text-decoration: none;
}

main {
    padding-top: 32px;
    padding-bottom: 48px;
}

.site-footer {
    border-top: 1px solid #d9dee3;
    padding: 24px 0;
    color: #68717b;
    background: #fff;
}

.card {
    background: #fff;
    border: 1px solid #d9dee3;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 18px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

h1, h2, h3 {
    color: #1c2733;
}

.muted {
    color: #68717b;
}

.status {
    display: inline-block;
    border: 1px solid #c4cbd2;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .85rem;
    font-weight: 700;
}

.status-open {
    background: #e8f5e9;
}

.status-closed {
    background: #f3f4f5;
}

.status-setup {
    background: #fff7df;
}

.button,
button {
    display: inline-block;
    border: 1px solid #174ea6;
    background: #174ea6;
    color: white;
    border-radius: 6px;
    padding: 9px 14px;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.button-secondary {
    background: white;
    color: #174ea6;
}

.button-danger {
    background: #a61b1b;
    border-color: #a61b1b;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

input,
select {
    width: 100%;
    max-width: 680px;
    border: 1px solid #b8c0c8;
    border-radius: 6px;
    padding: 9px 10px;
    font: inherit;
}

.form-row {
    margin-bottom: 16px;
}

.validation {
    color: #a61b1b;
}

.notice {
    border-left: 4px solid #a36b00;
    background: #fff8e6;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.success {
    border-left: 4px solid #237a38;
    background: #edf8ef;
    padding: 14px 16px;
    margin-bottom: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid #e1e5e9;
    text-align: left;
    vertical-align: top;
}

code {
    background: #eef1f4;
    padding: 2px 5px;
    border-radius: 4px;
}

@media (max-width: 680px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }
}
