/* The email address drawer (js/controls/email-address-drawer.js): a Workspace's, Space's or Project's inbox
   addresses, on the house drawer chrome (css/controls/content-page.css). Tokens only: typography.css owns the
   sizes and the skin owns the colours. */

.lp-email-address {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-email-address .lp-drawer-label {
    margin: 0;
}

.lp-email-address-hint {
    margin: 0;
    font-size: var(--fs-ui);
    line-height: var(--lh-snug);
    color: var(--text-muted);
}

/* A row a code box and a button share. min-width: 0 on the row as well as the box: a grid or flex item defaults to
   its content's width, which pushed the Copy button out of the sharing drawer (sharing-drawer.js). */
.lp-email-address-row {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.lp-email-address-code {
    flex: 1;
    min-width: 0;
    padding: 8px;
    overflow-x: auto;
    white-space: nowrap;
    user-select: all;
    font-family: var(--font-mono);
    font-size: var(--fs-ui);
    color: var(--text-primary);
    background: var(--bg-surface);
    border-radius: var(--radius, 8px);
}

.lp-email-address-input {
    flex: 1;
    min-width: 0;
}

.lp-email-address-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-email-address-item {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.lp-email-address-orgs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
