/* Canivio system/admin additions v1.0 */
.system-page {
    flex: 1;
    width: min(calc(100% - 48px), 1120px);
    margin: 0 auto;
    padding: 72px 0 96px;
}

.system-card {
    padding: 44px;
    border: 1px solid var(--line);
    background: rgba(251, 248, 242, .72);
}

.system-card--narrow {
    width: min(100%, 560px);
    margin: 0 auto;
}

.system-eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.system-card h1,
.admin-heading h1 {
    margin: 0 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1;
}

.system-form {
    display: grid;
    gap: 20px;
}

.system-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.system-form label {
    display: grid;
    gap: 8px;
}

.system-form label > span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.system-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    background: #fffdf9;
    padding: 10px 13px;
    color: var(--ink);
    font: inherit;
    outline: none;
}

.system-form input:focus {
    border-color: var(--gold);
}

.system-button {
    min-height: 48px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #fff;
    padding: 11px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.system-button--inline {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.system-alert {
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    font-size: 14px;
}

.system-alert--error {
    border-color: #b87262;
    background: #fbefec;
}

.system-alert--success {
    border-color: #77906d;
    background: #eef4eb;
}

.admin-link {
    color: var(--gold) !important;
}

.admin-shell {
    width: 100%;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 42px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.admin-heading h1 {
    margin-bottom: 0;
}

.system-text-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.admin-tile {
    min-height: 220px;
    padding: 30px;
    border: 1px solid var(--line);
    background: rgba(251, 248, 242, .58);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.admin-tile:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.admin-tile__number {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.admin-tile h2 {
    margin: 45px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
}

.admin-tile p {
    margin: 0;
    color: #746d63;
}

@media (max-width: 700px) {
    .system-page {
        width: min(calc(100% - 32px), 1120px);
        padding-top: 48px;
    }

    .system-card {
        padding: 30px 24px;
    }

    .system-form__row,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@import url("/assets/css/teams.css?v=1.0");
