.hl-settings-trigger {
    display: block;
    margin: .9rem auto;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
#hl-settings {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(32rem, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid GrayText;
    border-radius: .65rem;
    color: CanvasText;
    background: Canvas;
    text-align: left;
    line-height: 1.5;
}
#hl-settings::backdrop { background: rgb(0 0 0 / 48%); }
#hl-settings header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: Canvas;
    padding: .8rem 1rem;
    border-bottom: 1px solid GrayText;
}
#hl-settings h2 { font-size: 1.1rem; margin: 0; overflow-wrap: anywhere; }
#hl-settings button { font: inherit; cursor: pointer; }
#hl-settings .hl-mail-settings-body { padding: 1rem; }
#hl-settings table { width: 100%; margin-bottom: 1rem; }
#hl-settings caption { caption-side: top; text-align: left; color: inherit; font-weight: bold; }
#hl-settings td, #hl-settings th { padding: .15rem; text-align: left; }
#hl-settings code { color: inherit; }
dialog#hl-settings:not([open]) { display: none; }
/* HL-System logó a Roundcube belépőoldalán */
body.task-login #layout-content img#logo {
    width: 240px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}
body::before {
    background-color: rgba(255, 255, 255, 0.925);
}