/* ==========================================================================
   everymessage — design system
   Palette and component styles per everymessage-colour-guide.md
   ========================================================================== */

:root {
    /* Core palette */
    --em-blue: #0E6FD8;   /* Brand Blue — the one accent */
    --em-blue-strong: #1571D6;   /* gradient start */
    --em-blue-dark: #0B5AB0;   /* hover / pressed */
    --em-navy: #16224A;   /* header, dark sections, gradient end */
    --em-navy-soft: #1E2C58;   /* raised navy surfaces */
    --em-charcoal: #2B2E3A;   /* headings */
    --em-grey: #9A9FA9;   /* body text */
    --em-grey-strong: #6B7280;   /* darker body for AA contrast */
    --em-white: #FFFFFF;
    --em-mist: #EDF0F7;   /* soft background shapes / dividers */

    /* Derived tokens */
    --em-border: #E2E6F0;
    --em-bg: #F6F8FC;
    --em-shadow: 0 1px 2px rgba(22, 34, 74, .06), 0 8px 24px rgba(22, 34, 74, .06);
    --em-shadow-sm: 0 1px 2px rgba(22, 34, 74, .08);
    --em-radius: 12px;
    --em-radius-sm: 8px;

    --em-gradient: linear-gradient(180deg, var(--em-blue-strong) 0%, var(--em-navy) 100%);

    /* Status colours (kept restrained, blue stays the hero) */
    --em-success: #1F9D6B;
    --em-warning: #C9870A;
    --em-danger: #D14343;
}

/* ------------------------------------------------------------------ base --- */
*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }
html { font-size: 15px; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--em-bg);
    color: var(--em-grey-strong);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--em-charcoal); font-weight: 700; }

a { color: var(--em-blue); text-decoration: none; }
a:hover { color: var(--em-blue-dark); text-decoration: underline; }

/* lowercase "em." brand lock — never auto-capitalised anywhere */
.em-lock { text-transform: none !important; }

/* ---------------------------------------------------------------- layout --- */
.em-app { display: flex; flex-direction: column; min-height: 100vh; transition: margin-right .18s ease; }

/* Top bar — navy anchors the structure */
.em-topbar {
    background: var(--em-navy);
    color: var(--em-white);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.em-topbar .container-fluid,
.em-topbar .container { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }

.em-brand { display: inline-flex; align-items: center; gap: .65rem; }
.em-brand img { height: 38px; width: auto; display: block; }
.em-brand:hover { text-decoration: none; }

.em-topnav { display: flex; align-items: center; gap: .25rem; margin-left: .5rem; }
.em-topnav a {
    display: inline-flex; align-items: center; gap: .5rem;
    color: rgba(255, 255, 255, .78);
    padding: .5rem .85rem;
    border-radius: var(--em-radius-sm);
    font-weight: 600;
    font-size: .92rem;
    line-height: 1;
}
.em-topnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.em-topnav a.active { color: #fff; background: var(--em-blue); }

.em-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }

/* working-company switcher */
.em-company-switch { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.em-company-label {
    font-size: .68rem; letter-spacing: .07em; text-transform: uppercase;
    color: rgba(255, 255, 255, .55); font-weight: 700;
}
.em-company-select {
    background: rgba(255, 255, 255, .10); color: #fff;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--em-radius-sm);
    padding: .4rem .6rem; font-size: .85rem; font-weight: 600; max-width: 220px;
    cursor: pointer;
}
.em-company-select:focus { outline: none; border-color: var(--em-blue); }
.em-company-select option { color: var(--em-charcoal); }
@media (max-width: 768px) { .em-company-label { display: none; } .em-company-select { max-width: 140px; } }
.em-user {
    display: inline-flex; align-items: center; gap: .6rem;
    color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .9rem;
}
.em-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--em-blue); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
}

/* Body region: optional sidebar + content */
.em-body { flex: 1; display: flex; align-items: stretch; }

.em-sidebar {
    width: 240px; flex: 0 0 240px;
    background: var(--em-white);
    border-right: 1px solid var(--em-border);
    padding: 1.25rem .75rem;
}
.em-sidebar .em-section-label {
    font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--em-grey); font-weight: 700;
    padding: .25rem .75rem; margin: .75rem 0 .35rem;
}
.em-sidenav { display: flex; flex-direction: column; gap: 2px; }
.em-sidenav a {
    display: flex; align-items: center; gap: .65rem;
    padding: .55rem .75rem; border-radius: var(--em-radius-sm);
    color: var(--em-charcoal); font-weight: 600; font-size: .92rem;
}
.em-sidenav a:hover { background: var(--em-mist); text-decoration: none; }
.em-sidenav a.active { background: var(--em-mist); color: var(--em-blue); }
.em-sidenav a.active .em-ico { color: var(--em-blue); }
.em-ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--em-grey); }

.em-content { flex: 1; min-width: 0; padding: 1.75rem 2rem; }

/* ------------------------------------------------------------- page head --- */
.em-page-head { margin-bottom: 1.5rem; }
.em-page-head h1 { font-size: 1.6rem; margin: 0 0 .25rem; }
.em-page-head p { color: var(--em-grey-strong); margin: 0; }
.em-breadcrumb { font-size: .82rem; color: var(--em-grey); margin-bottom: .4rem; }
.em-breadcrumb a { color: var(--em-grey); }
.em-breadcrumb span { color: var(--em-charcoal); }

/* ----------------------------------------------------------------- cards --- */
.em-card {
    background: var(--em-white);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    box-shadow: var(--em-shadow-sm);
}
.em-card-pad { padding: 1.25rem 1.35rem; }
.em-card h2, .em-card h3 { margin-top: 0; }

.em-grid { display: grid; gap: 1.1rem; }
.em-grid-3 { grid-template-columns: repeat(3, 1fr); }
.em-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .em-grid-3, .em-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .em-grid-3, .em-grid-4 { grid-template-columns: 1fr; } }

/* Portal hub tiles */
.em-tile {
    display: flex; flex-direction: column; gap: .9rem;
    padding: 1.5rem; min-height: 180px;
    background: var(--em-white);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    box-shadow: var(--em-shadow-sm);
    color: var(--em-charcoal);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.em-tile:hover {
    text-decoration: none; transform: translateY(-2px);
    box-shadow: var(--em-shadow); border-color: #C9D4EC;
}
.em-tile .em-tile-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--em-mist); color: var(--em-blue);
}
.em-tile h3 { margin: 0; font-size: 1.15rem; }
.em-tile p { margin: 0; color: var(--em-grey-strong); font-size: .92rem; }
.em-tile .em-tile-cta { margin-top: auto; color: var(--em-blue); font-weight: 700; font-size: .9rem; }

/* Stat cards */
.em-stat { padding: 1.15rem 1.3rem; }
.em-stat .em-stat-label { color: var(--em-grey-strong); font-size: .82rem; font-weight: 600; }
.em-stat .em-stat-value { color: var(--em-charcoal); font-size: 1.9rem; font-weight: 800; line-height: 1.1; margin: .35rem 0 0; }
.em-stat .em-stat-meta { font-size: .8rem; color: var(--em-grey); margin-top: .25rem; }

/* --------------------------------------------------------------- buttons --- */
.em-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border-radius: var(--em-radius-sm);
    font-weight: 600; font-size: .92rem; cursor: pointer;
    border: 1px solid transparent; line-height: 1;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.em-btn-primary { background: var(--em-blue); color: #fff; }
.em-btn-primary:hover { background: var(--em-blue-dark); color: #fff; text-decoration: none; }
.em-btn-ghost { background: #fff; color: var(--em-charcoal); border-color: var(--em-border); }
.em-btn-ghost:hover { background: var(--em-mist); text-decoration: none; }

/* --------------------------------------------------------------- tables ---- */
.em-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.em-table th {
    text-align: left; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase;
    color: var(--em-grey-strong); font-weight: 700;
    padding: .65rem .85rem; border-bottom: 1px solid var(--em-border);
}
.em-table td { padding: .7rem .85rem; border-bottom: 1px solid var(--em-border); color: var(--em-charcoal); }
.em-table tbody tr:hover { background: var(--em-bg); }

/* --------------------------------------------------------------- badges ---- */
.em-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .2rem .55rem; border-radius: 999px;
    font-size: .76rem; font-weight: 700;
}
.em-badge-blue { background: var(--em-mist); color: var(--em-blue); }
.em-badge-success { background: #E6F5EE; color: var(--em-success); }
.em-badge-warning { background: #FBF1DD; color: var(--em-warning); }
.em-badge-danger { background: #FBE7E7; color: var(--em-danger); }
.em-badge-muted { background: #EEF0F4; color: var(--em-grey-strong); }

/* ---------------------------------------------------------------- footer --- */
.em-footer {
    border-top: 1px solid var(--em-border);
    background: var(--em-white);
    color: var(--em-grey);
    font-size: .82rem;
    padding: 1rem 2rem;
}
.em-footer a { color: var(--em-grey-strong); }

/* ------------------------------------------------------- empty / notices --- */
.em-empty {
    text-align: center; padding: 3rem 1rem; color: var(--em-grey-strong);
}
.em-empty .em-empty-ico { color: var(--em-grey); margin-bottom: .75rem; }

.em-note {
    border: 1px dashed var(--em-border); border-radius: var(--em-radius-sm);
    background: var(--em-mist); color: var(--em-charcoal);
    padding: .85rem 1rem; font-size: .9rem;
}

@media (max-width: 768px) {
    .em-sidebar { display: none; }
    .em-content { padding: 1.25rem; }
    .em-topnav span.em-topnav-label { display: none; }
}

/* ----------------------------------------------------------------- forms --- */
.em-form { max-width: 920px; }
.em-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
.em-form-grid .em-col-span { grid-column: 1 / -1; }
@media (max-width: 640px) { .em-form-grid { grid-template-columns: 1fr; } }

.em-field { display: flex; flex-direction: column; gap: .35rem; }
.em-field > label { font-weight: 600; font-size: .85rem; color: var(--em-charcoal); }
.em-input, .em-select, .em-textarea {
    width: 100%; padding: .55rem .7rem; font-size: .92rem;
    border: 1px solid var(--em-border); border-radius: var(--em-radius-sm);
    background: #fff; color: var(--em-charcoal); font-family: inherit;
}
.em-input:focus, .em-select:focus, .em-textarea:focus {
    outline: none; border-color: var(--em-blue); box-shadow: 0 0 0 3px rgba(14, 111, 216, .12);
}
.em-textarea { min-height: 90px; resize: vertical; }
.em-help { font-size: .78rem; color: var(--em-grey); }
.em-actions { display: flex; gap: .6rem; margin-top: 1.25rem; flex-wrap: wrap; }

/* switch / boolean row */
.em-switchrow {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem 0; border-bottom: 1px solid var(--em-border);
}
.em-switchrow:last-child { border-bottom: none; }
.em-switchrow .em-switchlabel { font-weight: 600; font-size: .9rem; color: var(--em-charcoal); }
.em-switchrow .em-switchhelp { font-size: .78rem; color: var(--em-grey); display: block; font-weight: 400; }
.em-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: 0 0 42px; }
.em-switch input { opacity: 0; width: 0; height: 0; }
.em-switch .em-slider { position: absolute; inset: 0; background: #cfd5e3; border-radius: 999px; transition: .15s; cursor: pointer; }
.em-switch .em-slider::before {
    content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.em-switch input:checked + .em-slider { background: var(--em-blue); }
.em-switch input:checked + .em-slider::before { transform: translateX(18px); }

/* alerts / flash */
.em-alert {
    display: flex; gap: .6rem; align-items: flex-start;
    padding: .75rem 1rem; border-radius: var(--em-radius-sm);
    font-size: .9rem; margin-bottom: 1.25rem; border: 1px solid transparent;
}
.em-alert-success { background: #E6F5EE; color: #14593F; border-color: #BFE6D4; }
.em-alert-danger { background: #FBE7E7; color: #8F2A2A; border-color: #F2C9C9; }
.em-alert-info { background: var(--em-mist); color: var(--em-navy); border-color: #D4DDEF; }
.em-alert-warning { background: #FBF1DD; color: #7A5306; border-color: #EFD9A6; }

/* toolbar above tables */
.em-toolbar { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1.1rem; }
.em-toolbar .em-field { min-width: 180px; }
.em-toolbar form { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; }

/* tabs */
.em-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--em-border); margin-bottom: 1.25rem; flex-wrap: wrap; }
.em-tabs a { padding: .6rem .9rem; font-weight: 600; font-size: .9rem; color: var(--em-grey-strong); border-bottom: 2px solid transparent; }
.em-tabs a:hover { color: var(--em-charcoal); text-decoration: none; }
.em-tabs a.active { color: var(--em-blue); border-bottom-color: var(--em-blue); }

/* small + danger buttons, inline forms */
.em-btn-sm { padding: .35rem .6rem; font-size: .82rem; }
.em-btn-danger { background: #fff; color: var(--em-danger); border-color: #F0CCCC; }
.em-btn-danger:hover { background: #FBE7E7; text-decoration: none; }
.em-inline-form { display: inline; }
.em-row-actions { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }

/* table wrapper for horizontal scroll on small screens */
.em-table-wrap { overflow-x: auto; }
.em-table .em-num { text-align: right; font-variant-numeric: tabular-nums; }

/* raw json */
.em-pre {
    background: var(--em-navy); color: #DBE4F5; padding: 1rem; border-radius: var(--em-radius-sm);
    overflow: auto; font-size: .82rem; line-height: 1.5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.em-raw-toggle { font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--em-grey-strong); }

/* description list (detail panels) */
.em-dl { display: grid; grid-template-columns: 200px 1fr; gap: .55rem 1rem; font-size: .9rem; margin: 0; }
.em-dl dt { color: var(--em-grey-strong); font-weight: 600; }
.em-dl dd { margin: 0; color: var(--em-charcoal); }

/* section subhead */
.em-subhead { font-size: 1.05rem; margin: 1.75rem 0 .85rem; }
.em-subhead:first-child { margin-top: 0; }

/* login */
.em-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--em-gradient); padding: 1.5rem; }
.em-login { width: 100%; max-width: 400px; background: #fff; border-radius: var(--em-radius); box-shadow: var(--em-shadow); padding: 2.25rem; }
.em-login-brand { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.em-login-brand img { height: 42px; }
.em-login h1 { font-size: 1.2rem; text-align: center; margin: 0 0 .25rem; }
.em-login .em-login-sub { text-align: center; color: var(--em-grey-strong); font-size: .88rem; margin: 0 0 1.5rem; }
.em-login .em-field { margin-bottom: 1rem; }
.em-login .em-btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* API debug console (right drawer) */
.em-dbg-toggle {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%);
    z-index: 60; background: var(--em-navy); color: #fff; border: none;
    writing-mode: vertical-rl; padding: .85rem .45rem; border-radius: 8px 0 0 8px;
    cursor: pointer; font-weight: 700; font-size: .72rem; letter-spacing: .08em;
    box-shadow: var(--em-shadow-sm);
}
.em-dbg-toggle:hover { background: var(--em-navy-soft); }
.em-dbg-open .em-dbg-toggle { right: 440px; }
@media (max-width: 520px) { .em-dbg-open .em-dbg-toggle { right: 92vw; } }

.em-dbg-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 92vw;
    background: #0F1A38; color: #cdd7ee; z-index: 70;
    transform: translateX(100%); transition: transform .18s ease;
    display: flex; flex-direction: column; box-shadow: -8px 0 24px rgba(0, 0, 0, .3);
}
.em-dbg-open .em-dbg-drawer { transform: translateX(0); }

/* split the screen rather than overlay: push the app content left when open */
.em-dbg-open .em-app { margin-right: 440px; }
@media (max-width: 560px) { .em-dbg-open .em-app { margin-right: 0; } }

.em-dbg-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); flex: 0 0 auto;
}
.em-dbg-head h2 { color: #fff; font-size: .95rem; margin: 0; }
.em-dbg-close { background: transparent; border: none; color: #9fb0d6; cursor: pointer; font-size: 1rem; }
.em-dbg-clear {
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
    color: #cdd7ee; cursor: pointer; font-size: .74rem; font-weight: 600;
    padding: .25rem .55rem; border-radius: 6px;
}
.em-dbg-clear:hover:not([disabled]) { background: rgba(255, 255, 255, .14); }
.em-dbg-clear[disabled] { opacity: .4; cursor: default; }
.em-dbg-filters {
    display: flex; gap: .4rem; padding: .6rem .75rem; flex: 0 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, .08); flex-wrap: wrap;
}
.em-dbg-input {
    background: rgba(255, 255, 255, .08); color: #e6edff;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px;
    padding: .3rem .5rem; font-size: .78rem; min-width: 0; flex: 1;
}
.em-dbg-input::placeholder { color: #7e8db5; }
.em-dbg-input option { color: var(--em-charcoal); }
.em-dbg-btn {
    background: rgba(255, 255, 255, .08); color: #cdd7ee;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px;
    padding: .3rem .55rem; font-size: .78rem; font-weight: 600; cursor: pointer; flex: 0 0 auto;
}
.em-dbg-btn:hover { background: rgba(255, 255, 255, .14); }
.em-dbg-list { overflow: auto; padding: .5rem; flex: 1; }
.em-dbg-empty { color: #7e8db5; text-align: center; padding: 2.5rem 1rem; font-size: .85rem; }

.em-dbg-item { border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; margin-bottom: .5rem; background: rgba(255, 255, 255, .03); }
.em-dbg-item > summary { list-style: none; cursor: pointer; padding: .55rem .65rem; display: flex; align-items: center; gap: .5rem; font-size: .8rem; }
.em-dbg-item > summary::-webkit-details-marker { display: none; }
.em-dbg-item[open] > summary { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.em-dbg-method { color: #8fa6d8; font-weight: 700; font-size: .72rem; }
.em-dbg-path { color: #e6edff; font-weight: 600; word-break: break-all; flex: 1; }
.em-dbg-status { font-weight: 700; border-radius: 4px; padding: .05rem .35rem; font-size: .7rem; flex: 0 0 auto; }
.em-dbg-status.ok { background: #16432F; color: #5FD6A0; }
.em-dbg-status.err { background: #4A1F1F; color: #FF9B9B; }
.em-dbg-meta { color: #7e8db5; font-size: .7rem; font-weight: 400; }
.em-dbg-detail { padding: .4rem .65rem .7rem; }
.em-dbg-label { color: #7e8db5; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; margin: .55rem 0 .2rem; }
.em-dbg-detail pre {
    background: #0A1428; color: #cfe0ff; margin: 0;
    padding: .55rem .65rem; border-radius: 6px; overflow: auto;
    font-size: .74rem; line-height: 1.45; max-height: 220px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: pre-wrap; word-break: break-word;
}

/* diagnostics log view */
.em-logview { display: flex; flex-direction: column; gap: .25rem; }
.em-logrow {
    display: grid; grid-template-columns: 150px 1fr; gap: .75rem;
    padding: .4rem 0; border-bottom: 1px solid var(--em-border);
}
.em-logrow:last-child { border-bottom: none; }
.em-logtime { color: var(--em-grey-strong); font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.em-logmsg {
    margin: 0; font-size: .8rem; line-height: 1.45; color: var(--em-charcoal);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: pre-wrap; word-break: break-word;
}
@media (max-width: 640px) { .em-logrow { grid-template-columns: 1fr; gap: .15rem; } }

/* country detail */
.em-country-head h2 { margin: 0; font-size: 1.4rem; }
.em-country .em-subhead { margin-top: 1.5rem; }
.em-caps { margin: .5rem 0 .25rem; }
.em-caps span { display: inline-block; margin-right: 1.25rem; font-size: .85rem; color: var(--em-charcoal); }
.em-notes { margin: .5rem 0; padding-left: 1.2rem; }
.em-notes li { margin: .25rem 0; font-size: .9rem; color: var(--em-charcoal); }

/* 2FA QR code */
.em-qr {
    display: inline-block; background: #fff; padding: .75rem;
    border: 1px solid var(--em-border); border-radius: var(--em-radius-sm);
    margin: 0 0 1rem;
}
.em-qr svg { display: block; width: 180px; height: 180px; }

/* modal dialog */
dialog.em-dialog {
    border: none; border-radius: var(--em-radius); padding: 0;
    box-shadow: var(--em-shadow); width: min(720px, calc(100% - 2rem));
    color: var(--em-grey-strong);
}
dialog.em-dialog::backdrop { background: rgba(22, 34, 74, .45); }
.em-dialog-body { padding: 1.5rem; }
.em-dialog-body h3 { margin-top: 0; }

/* logout button in topbar */
.em-logout { background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; }
.em-logout:hover { background: rgba(255,255,255,.10); }
