*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #1c1915;
    background: #f6f3ee;
    padding: 16px;
}

main,
header,
form,
ul {
    max-width: 40rem;
}

body.wide main {
    max-width: 72rem;
}

.banner {
    background: #f4d6c6;
    padding: 10px 12px;
}

.staging-banner {
    background: #f5d90a;
    color: #1c1915;
    font-weight: 700;
    max-width: none;
}

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

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

img,
svg,
input,
button,
select,
textarea {
    max-width: 100%;
}

input,
button,
select,
textarea {
    width: 100%;
    font-size: 16px;
    padding: 12px;
    margin: 8px 0;
}

a {
    color: #8a3b12;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand {
    font-weight: 700;
    text-decoration: none;
}

button.linkish {
    width: auto;
    background: transparent;
    border: 0;
    color: #8a3b12;
    padding: 8px;
}

.people li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e4ddd2;
}

.people form {
    flex: 1 1 8rem;
}

.error {
    color: #8d1d18;
}

button,
a.action {
    min-height: 44px;
    min-width: 44px;
}
