.dashboard-head {
    align-items: center;
    margin-bottom: 18px
}

.dashboard-head .eyebrow {
    margin-bottom: 5px
}

.dashboard-head h1 {
    font-size: clamp(21px, 3vw, 30px);
    margin-bottom: 5px
}

.dashboard-head>div>p:last-child {
    font-size: 13px;
    margin: 0;
    line-height: 1.5
}

.dashboard-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px
}

.dashboard-metrics .metric {
    padding: 13px 15px;
    border-radius: 14px
}

.dashboard-metrics .metric span {
    font-size: 11px
}

.dashboard-metrics .metric strong {
    font-size: 19px;
    margin: 5px 0
}

.dashboard-metrics .metric small {
    font-size: 10px
}

.field-help {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
    margin-top: -2px
}

.input-mode {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 18px
}

.input-mode .button {
    padding: 10px 14px;
    border-color: var(--accent);
    color: var(--accent)
}

.input-mode span {
    font-size: 11px;
    color: var(--muted)
}

.character-wizard {
    width: min(92vw, 560px);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    color: var(--text)
}

.character-wizard::backdrop {
    background: #05070bbd;
    backdrop-filter: blur(4px)
}

.wizard-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start
}

.wizard-top h2 {
    margin: 4px 0 14px
}

.wizard-top small {
    color: var(--accent);
    font-weight: 800
}

.wizard-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 26px;
    cursor: pointer
}

.wizard-meter {
    height: 5px;
    background: var(--panel2);
    border-radius: 99px;
    overflow: hidden
}

.wizard-meter span {
    display: block;
    height: 100%;
    background: var(--accent);
    transition: width .2s
}

.wizard-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 22px 0
}

.wizard-message p {
    margin: 3px 0;
    line-height: 1.65
}

.wizard-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--accent);
    color: #08130f;
    font-size: 11px;
    font-weight: 900
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px
}

.wizard-actions .button {
    min-width: 100px
}

.wizard-actions button:disabled {
    opacity: .35;
    cursor: default
}

@media(max-width:760px) {
    .dashboard-head {
        margin-bottom: 14px
    }

    .dashboard-head h1 {
        font-size: 21px
    }

    .dashboard-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }

    .dashboard-metrics .metric {
        padding: 11px 12px
    }

    .dashboard-metrics .metric strong {
        font-size: 17px
    }
}

.character-list-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.character-list-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    flex: 1;
    color: inherit;
    text-decoration: none
}

.character-list-row>.character-delete-open {
    flex: 0 0 auto
}