.vol-toast {
    position: fixed;
    z-index: 20;
    inset: auto 1rem 1rem auto;
    box-sizing: border-box;
    width: min(calc(100% - 2rem), 27rem);
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .45rem .9rem;
    padding: .7rem .85rem;
    color: #21313a;
    background: #fff;
    border: 1px solid #9bb7a6;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgb(30 45 50 / .14);
    font-size: .875rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vol-toast[hidden], .vol-toast [hidden] { display: none; }
.vol-toast[data-vol-tone="error"] { color: #842129; border-color: #c97b81; }
.vol-toast[data-vol-tone="info"] { border-color: #aabac4; }
.vol-toast > [data-vol-toast-text] { flex: 1 1 12rem; }
.vol-toast__actions { display: inline-flex; gap: .25rem; flex-wrap: wrap; }
.vol-toast__actions:empty { display: none; }

.vol-toast__actions button {
    padding: .18rem .35rem;
    color: inherit;
    background: transparent;
    border: 0;
    min-height: 28px;
    cursor: pointer;
    font: inherit;
}

.vol-toast__actions button:first-child { text-decoration: underline; text-underline-offset: .15em; }
.vol-toast__actions button:focus-visible { outline: 2px solid #245f78; outline-offset: 2px; }
.vol-dialog .vol-toast { position: static; width: 100%; }
