html,
body {
    margin: 0px;
    font-size: 16sp;
    font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    color: #202020;
    background-color: white;
}

h1 {
    font-size: 2rem;
    margin: 0px;
    color: white;
}

a {
    color: rgba(0, 64, 192);
}

button,
sl-avatar {
    cursor: pointer;
}

main {
    padding: 1rem;
    padding-top: 5rem;
    min-height: 400px;
    max-width: 1200px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-image: url(mailcelium_top_lighter.png);
    background-position-x: center;
    background-position-y: 3rem;
}

.header {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000;
    display: flex;
    padding: 0.5rem;
    background: #479761;
    border-bottom: 1px solid #808080;
    /* Total height = height + padding */
    height: 3rem;
}

.CardContainer {
    padding-top: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: min(95vw, 1200px);
}

th {
    text-align: left;
}

sl-avatar {
    --size: 3rem;
}

sl-avatar::part(image) {
    border: 2px solid white;
}

sl-card::part(header) {
    background-color: #EEEEEE;
    font-weight: bold;
}

sl-card::part(body) {
    background-color: #F8F8F8;
    font-weight: normal;
}

.IconLabel {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5cap;
}

.IconLabel sl-icon::part(svg) {
    display: inline;
    width: 1rem;
    height: 1rem;
}

.ActiveConfiguration {
    color: #3060ff;
}

.BlockingConfiguration {
    color: #ec3024;
}

.sl-toast-stack {
    top: auto;
    bottom: 1rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.sticky-top-center {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.sticky-bottom-center {
    position: fixed;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}