@charset "utf-8";
/**
 * Console design system.
 *
 * The panel used to be stock Bootstrap 4 with a jumbotron on every page. This
 * sheet loads after bootstrap-4.0.0.css and restyles it into a dense operations
 * console: navy chrome, the brand orange as the single accent, IBM Plex Sans
 * with IBM Plex Mono on every number and identifier.
 *
 * Bootstrap is deliberately kept underneath rather than removed, because the
 * modals, dropdowns, input groups and the DataTables bootstrap4 integration all
 * depend on it. Everything here is an override on top of that.
 *
 * Created by Ricardo Mancinas
 */

:root {
    /* Chrome. Pulled from the logo mark. */
    --navy-900: #0F2337;
    --navy-800: #1B3349;
    --navy-700: #2F4B66;
    --navy-600: #3B5E7E;
    --navy-line: #24405A;

    /* The one accent, the orange in the wordmark. */
    --accent: #F57D22;
    --accent-dark: #D9660F;
    --accent-tint: #FDF0E4;

    --ink: #13212E;
    --ink-2: #55677A;
    --ink-3: #8496A6;

    --line: #DCE3E9;
    --line-soft: #EBF0F4;
    --bg: #EDF1F4;
    --card: #FFFFFF;
    --card-head: #F7F9FB;

    --ok: #16785C;
    --ok-tint: #E6F3EF;
    --warn: #B45F06;
    --warn-tint: #FDF2E3;
    --err: #B4231E;
    --err-tint: #FBEBEA;
    --idle: #6B7B8B;
    --idle-tint: #EDF0F3;

    --radius: 4px;
    --control-h: 34px;

    --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------- */

body {
    background: var(--bg);
    font-family: var(--sans);
    color: var(--ink);
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-700); }
a:hover { color: var(--ink); text-decoration: none; }

code, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Every number in the app reads as a number. */
.num, .when { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-size: 13px; color: var(--ink); }
.when { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.muted { color: var(--ink-3); }

hr { display: none; }

/* ---------------------------------------------------------------------------
 * Top navigation
 * ------------------------------------------------------------------------- */

.navbar.bg-dark {
    background: var(--navy-900) !important;
    border-bottom: 1px solid var(--navy-line);
    min-height: 52px;
    padding: 0 20px;
}

.navbar-brand { display: flex; align-items: center; gap: 10px; padding: 0; margin-right: 22px; }
.navbar-brand img { width: 24px; height: 24px; display: block; }
.navbar-brand .wordmark {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #C7D4DF;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #93A8B8;
    padding: 6px 11px;
    border-radius: var(--radius);
    margin: 0 1px;
}
.navbar-dark .navbar-nav .nav-link:hover { color: #EAF1F6; background: var(--navy-800); }
.navbar-dark .navbar-nav .nav-item.active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active { color: #FFFFFF; background: var(--navy-line); }

.nav-who { font-size: 12px; color: #8DA2B4; margin-right: 14px; }
.nav-who b { color: #D6E1EA; font-weight: 500; }

.nav-signout {
    width: 30px; height: 30px;
    border: 1px solid #2A4761;
    border-radius: var(--radius);
    color: #8DA2B4;
    display: inline-flex; align-items: center; justify-content: center;
}
.nav-signout:hover { color: #FFFFFF; border-color: #45657F; }

.navbar .dropdown-menu {
    background: var(--navy-800);
    border: 1px solid var(--navy-line);
    border-radius: var(--radius);
    padding: 4px;
    margin-top: 6px;
}
.navbar .dropdown-item {
    color: #B8C9D6;
    font-size: 13px;
    border-radius: 3px;
    padding: 6px 10px;
}
.navbar .dropdown-item:hover, .navbar .dropdown-item:focus { background: var(--navy-line); color: #FFFFFF; }
.navbar .dropdown-item.active { background: var(--accent); color: #FFFFFF; }

/* ---------------------------------------------------------------------------
 * Page shell
 *
 * The nav is fixed, so every page needs the height back. The jumbotron is gone,
 * .console-panel replaces it: a plain white card with a hairline, not a rounded
 * grey slab.
 * ------------------------------------------------------------------------- */

body.console { padding-top: 52px; }

.console-wrap { max-width: 1500px; margin: 0 auto; padding: 22px 26px 40px; }
.console-wrap.narrow { max-width: 1100px; }

.console-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.console-head h1 { font-size: 21px; font-weight: 600; margin: 0 0 5px; letter-spacing: -0.01em; }
.console-head .sub { font-size: 12.5px; color: var(--ink-2); margin: 0; max-width: 640px; line-height: 1.5; }
.console-head .sub em { font-style: normal; color: var(--accent); font-weight: 600; }
.console-actions { display: flex; gap: 8px; align-items: center; }

.console-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
}
.console-panel > .panel-body { padding: 16px; }
.console-panel + .console-panel { margin-top: 16px; }
.console-panel > .panel-head {
    padding: 11px 15px;
    border-bottom: 1px solid var(--line-soft);
    display: flex; align-items: center; justify-content: space-between;
}
.console-panel > .panel-head h2 {
    font-size: 12px; font-weight: 600; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--ink-2); margin: 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 12px;
    font-size: 11.5px;
    color: var(--ink-3);
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--ink-3); }

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------- */

.btn {
    height: var(--control-h);
    padding: 0 15px;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
}
.btn:focus, .btn.focus { box-shadow: 0 0 0 3px rgba(15, 35, 55, 0.10); }

.btn-primary, .btn-danger {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}
.btn-primary:hover, .btn-danger:hover,
.btn-primary:focus, .btn-danger:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled):active {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #FFFFFF;
}

.btn-secondary, .btn-outline-secondary, .btn-outline-primary {
    background: var(--card);
    border-color: #CBD6DF;
    color: var(--navy-700);
}
.btn-secondary:hover, .btn-outline-secondary:hover, .btn-outline-primary:hover,
.btn-secondary:not(:disabled):not(.disabled):active {
    background: var(--card);
    border-color: #93A8B8;
    color: var(--ink);
}

/* Destructive actions are the one place red survives, so a revoke or a delete
   never reads as the same gesture as a send. */
.btn-destructive {
    background: var(--card);
    border-color: #E8BFBC;
    color: var(--err);
}
.btn-destructive:hover { background: var(--err-tint); border-color: var(--err); color: var(--err); }

.btn-sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------------
 * Tables
 * ------------------------------------------------------------------------- */

.table {
    margin: 0;
    color: var(--ink);
    background: var(--card);
}
.table thead th {
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--card-head);
    white-space: nowrap;
    vertical-align: middle;
}
.table tbody td {
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table-striped tbody tr:nth-of-type(odd) { background: transparent; }
.table tbody tr:hover { background: #F7FAFC; }
.table-bordered, .table-bordered td, .table-bordered th { border: 0; }

/* A run in progress is the one row worth tinting. */
.table tbody tr.row-live { background: #FFFBF6; }
.table tbody tr.row-live:hover { background: #FFF6EC; }
.table tbody tr.row-dead td { background: #FBFCFD; color: var(--ink-3); }
.table tbody tr.row-dead .cell-title { color: var(--ink-3); font-weight: 400; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.table-wrap.attached { border-top-left-radius: 0; border-top-right-radius: 0; }

.cell-id { font-family: var(--mono); font-size: 12px; color: var(--ink-3); width: 46px; }
.cell-title { font-weight: 500; color: var(--ink); display: block; line-height: 1.3; }
.cell-sub { font-family: var(--mono); font-size: 10.5px; color: #9AAAB8; }

/* ---------------------------------------------------------------------------
 * DataTables chrome
 * ------------------------------------------------------------------------- */

.dataTables_wrapper { font-size: 12.5px; color: var(--ink-2); }
.dataTables_wrapper .dataTables_filter { float: right; margin-bottom: 12px; }
.dataTables_wrapper .dataTables_length { float: left; margin-bottom: 12px; }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    height: 30px;
    border: 1px solid #CBD6DF;
    border-radius: var(--radius);
    padding: 0 9px;
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--ink);
    background: var(--card);
    margin-left: 7px;
}
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus { outline: none; border-color: var(--accent); }
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate { padding-top: 12px; font-size: 12px; }
.dataTables_wrapper .page-link {
    color: var(--ink-2);
    border-color: var(--line);
    font-size: 12.5px;
    padding: 5px 10px;
}
.dataTables_wrapper .page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.dataTables_wrapper .page-link:hover { background: var(--card-head); color: var(--ink); }
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc { cursor: pointer; }

/* DataTables wraps its search box and page-length select in a <label>, which
   would otherwise inherit the uppercase form-label treatment. */
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-3);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Sort affordances stay quiet until the column is actually sorted. */
table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after { opacity: 0.35; font-size: 10px; }
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after { opacity: 1; color: var(--accent); }

/* ---------------------------------------------------------------------------
 * Status badges
 * ------------------------------------------------------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 3px;
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 7px;
    white-space: nowrap;
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: block; }
.badge .dot.beat { animation: dot-beat 1.1s ease-in-out infinite; }
@keyframes dot-beat { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.state-running,   .badge-primary   { background: var(--accent-tint); color: var(--warn); }
.state-completed, .badge-success   { background: var(--ok-tint);     color: var(--ok); }
.state-stalled,   .badge-warning   { background: var(--warn-tint);   color: var(--warn); }
.state-failed,    .badge-danger    { background: var(--err-tint);    color: var(--err); }
.state-cancelled, .badge-secondary { background: var(--idle-tint);   color: var(--idle); }
.badge-info { background: var(--idle-tint); color: var(--ink-2); }

.badge-scope {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    background: #EEF2F6;
    color: #45596B;
    border: 1px solid #E0E7ED;
    padding: 2px 6px;
    margin: 0 3px 3px 0;
}

.cancel-campaign { color: #A8B6C2; padding: 4px; border-radius: 3px; margin-left: 4px; }
.cancel-campaign:hover { color: var(--err); background: var(--err-tint); }

/* ---------------------------------------------------------------------------
 * Progress
 * ------------------------------------------------------------------------- */

.progress {
    height: 5px;
    background: #E4EAEF;
    border-radius: 3px;
    width: 190px;
    overflow: hidden;
    box-shadow: none;
}
.progress-bar { background-color: var(--accent); border-radius: 3px; height: 100%; transition: width 0.4s ease; }
.progress-bar.bar-in-progress { background-color: var(--accent); }
.progress-bar.bar-completed { background-color: var(--ok); }
.progress-bar.bar-failed    { background-color: var(--err); }
.progress-bar.bar-stalled   { background-color: var(--warn); }
.progress-bar.bar-cancelled { background-color: #A8B6C2; }

.progress-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-2);
    margin-top: 5px;
    display: block;
    white-space: nowrap;
}
.progress-label b { color: var(--ink); font-weight: 500; }
.progress-label .failed { color: var(--err); }

/* ---------------------------------------------------------------------------
 * Stat tiles
 * ------------------------------------------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; }
.tile .k {
    font-size: 10px; font-weight: 600; letter-spacing: 0.09em;
    text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px;
}
.tile .v {
    font-family: var(--mono); font-size: 25px; font-weight: 500;
    line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.tile .v small { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.tile .v.state { font-size: 16px; }
.tile .m { font-size: 11px; color: var(--ink-2); margin-top: 7px; }
.tile.bad .v { color: var(--err); }
.tile .progress { width: 100%; margin-top: 9px; height: 6px; }

@media (max-width: 1100px) {
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------------
 * Filter tabs
 * ------------------------------------------------------------------------- */

.filters { display: flex; gap: 2px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filter {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-2);
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.filter:hover { color: var(--ink); }
.filter.on { color: var(--ink); border-bottom-color: var(--accent); }
.filter .pill {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    background: #E2E8EE;
    color: var(--ink-2);
    border-radius: 9px;
    padding: 1px 6px;
}
.filter.on .pill { background: var(--accent); color: #FFFFFF; }

/* ---------------------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------------------- */

label, .col-form-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 6px;
}

.form-control {
    height: 36px;
    border: 1px solid #CBD6DF;
    border-radius: var(--radius);
    padding: 0 11px;
    font-family: var(--sans);
    font-size: 13.5px;
    color: var(--ink);
    background: var(--card);
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 125, 34, 0.13);
    color: var(--ink);
}
textarea.form-control { height: auto; padding: 10px 11px; }
select.form-control { padding-right: 30px; }

.form-text.text-muted { font-size: 11.5px; color: var(--ink-3) !important; text-transform: none; letter-spacing: 0; font-weight: 400; }
.form-check-label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: var(--ink); }

.input-group .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-append .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; height: 36px; }

/* ---------------------------------------------------------------------------
 * Alerts and notes
 * ------------------------------------------------------------------------- */

.alert {
    border-radius: var(--radius);
    border: 1px solid transparent;
    border-left-width: 3px;
    padding: 11px 13px;
    font-size: 12.5px;
    line-height: 1.5;
}
.alert h5 { font-size: 13px; font-weight: 600; margin: 0 0 4px; }

.alert-success, .alert-success.p-2 { background: var(--ok-tint);  border-color: #C6E3D9; border-left-color: var(--ok);  color: #145F49; }
.alert-danger,  .alert-danger.p-2  { background: var(--err-tint); border-color: #F0CFCC; border-left-color: var(--err); color: #7C2019; }
.alert-warning, .alert-warning.p-2 { background: var(--warn-tint);border-color: #F0DCBB; border-left-color: var(--warn);color: #7A4204; }
.alert-info,    .alert-info.p-2    { background: #EDF2F7;         border-color: #D8E2EA; border-left-color: var(--navy-600); color: #33475A; }

/* The compose page uses these bare, without .alert. */
.alert-danger, .alert-success, .alert-warning, .alert-info { display: block; }

.note-inline { font-size: 11px; color: var(--err); margin-top: 4px; max-width: 260px; line-height: 1.35; }

/* ---------------------------------------------------------------------------
 * Modals
 * ------------------------------------------------------------------------- */

.modal-content { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(19, 33, 46, 0.16); }
.modal-header { border-bottom: 1px solid var(--line-soft); padding: 14px 16px; align-items: center; }
.modal-title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.modal-body { padding: 16px; }
.modal-footer { border-top: 1px solid var(--line-soft); padding: 12px 16px; }
.modal-header .close { color: var(--ink-3); text-shadow: none; opacity: 1; font-weight: 400; }
.modal-header .close:hover { color: var(--ink); }

/* ---------------------------------------------------------------------------
 * Sign in
 * ------------------------------------------------------------------------- */

.signin { display: grid; grid-template-columns: minmax(0, 1fr) 520px; min-height: 100vh; }

.signin-pitch {
    background: var(--navy-900);
    padding: 56px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.signin-pitch .grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(#16304A 1px, transparent 1px), linear-gradient(90deg, #16304A 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.55;
}
.signin-pitch .glow {
    position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -140px;
    background: radial-gradient(circle, rgba(245, 125, 34, 0.20) 0%, rgba(245, 125, 34, 0) 68%);
}
.signin-pitch > * { position: relative; }
.signin-mark { display: flex; align-items: center; gap: 13px; }
.signin-mark img { width: 34px; height: 34px; display: block; }
.signin-mark span {
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    letter-spacing: 0.16em; color: #C7D4DF; text-transform: uppercase;
}
.signin-pitch h2 {
    font-size: 33px; line-height: 1.22; font-weight: 600; color: #FFFFFF;
    margin: 0 0 16px; letter-spacing: -0.02em; max-width: 460px;
}
.signin-pitch h2 em { font-style: normal; color: var(--accent); }
.signin-pitch p { font-size: 14px; line-height: 1.65; color: #90A6B8; margin: 0; max-width: 420px; }
.signin-legal { font-size: 11.5px; color: #5E7A91; }

.signin-form-side { background: var(--card); padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; }
.signin-form { width: 100%; max-width: 360px; }
.signin-form h1 { font-size: 24px; font-weight: 600; margin: 0 0 7px; letter-spacing: -0.015em; }
.signin-form .lead { font-size: 13.5px; color: var(--ink-2); margin: 0 0 28px; line-height: 1.5; font-weight: 400; }
.signin-form .form-control { height: 42px; font-size: 14px; }
.signin-form .btn { height: 44px; font-size: 14px; width: 100%; }
.signin-foot { font-size: 11.5px; color: var(--ink-3); margin-top: 26px; line-height: 1.55; }

.pw-wrap { position: relative; display: flex; align-items: center; }
.pw-wrap .form-control { padding-right: 44px; }
.pw-peek {
    position: absolute; right: 5px; width: 32px; height: 32px;
    border: 0; background: transparent; cursor: pointer; color: var(--ink-3);
    border-radius: 3px; display: flex; align-items: center; justify-content: center;
}
.pw-peek:hover { color: var(--ink); background: #F0F4F7; }

@media (max-width: 900px) {
    .signin { grid-template-columns: minmax(0, 1fr); }
    .signin-pitch { display: none; }
    .signin-form-side { padding: 40px 24px; }
}

/* ---------------------------------------------------------------------------
 * Compose
 * ------------------------------------------------------------------------- */

.compose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
@media (max-width: 1200px) { .compose-grid { grid-template-columns: minmax(0, 1fr); } }

.tag {
    font-family: var(--mono);
    font-size: 12.5px;
    background: var(--accent-tint);
    color: var(--warn);
    border-radius: 3px;
    padding: 1px 5px;
}

.audience { display: flex; border: 1px solid #CBD6DF; border-radius: var(--radius); overflow: hidden; }
.audience .seg {
    flex-grow: 1; background: var(--card); border: 0; border-right: 1px solid #E4EAEF;
    cursor: pointer; font-family: var(--sans); font-size: 12.5px; font-weight: 500;
    color: var(--ink-2); padding: 9px 6px;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.audience .seg:last-child { border-right: 0; }
.audience .seg:hover { background: #F4F7F9; }
.audience .seg.on { background: var(--accent); color: #FFFFFF; }
.audience .seg em { font-family: var(--mono); font-style: normal; font-size: 11px; opacity: 0.75; }

.audience-count { display: flex; align-items: baseline; gap: 8px; margin-top: 13px; }
.audience-count b { font-family: var(--mono); font-size: 28px; font-weight: 500; color: var(--ink); line-height: 1; }
.audience-count span { font-size: 12px; color: var(--ink-2); }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 12.5px;
}
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--ink-2); }
.facts b { font-family: var(--mono); font-weight: 500; color: var(--ink); }

/* CKEditor is a third-party frame, so only its outer chrome is restyled. */
.cke_chrome { border: 1px solid #CBD6DF !important; border-radius: var(--radius); box-shadow: none !important; }
.cke_top { background: var(--card-head) !important; border-bottom: 1px solid var(--line) !important; }
.cke_bottom { background: var(--card-head) !important; border-top: 1px solid var(--line) !important; }

/* ---------------------------------------------------------------------------
 * Issued key reveal
 * ------------------------------------------------------------------------- */

.key-reveal { background: var(--navy-900); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.key-reveal h5 {
    font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: #F0A55E; margin: 0 0 4px;
}
.key-reveal p { font-size: 12.5px; color: #9DB1C2; margin: 0 0 12px; line-height: 1.5; }
.key-reveal .form-control {
    font-family: var(--mono); font-size: 13px; color: #EAF1F6;
    background: var(--navy-800); border-color: var(--navy-700);
}
.key-reveal .form-control:focus { background: var(--navy-800); color: #EAF1F6; box-shadow: none; border-color: #45657F; }
.key-reveal .btn { background: var(--navy-800); border-color: var(--navy-700); color: #C7D4DF; }
.key-reveal .btn:hover { border-color: #45657F; color: #FFFFFF; }

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */

footer {
    padding: 22px 26px 30px;
    color: var(--ink-3);
    font-size: 11.5px;
    line-height: 1.6;
}
footer p { margin: 0; }
footer a { color: var(--ink-2); }
footer .version { font-family: var(--mono); }
