/* ==========================================================================
   P1 Mrduckdonald â€” CAPA DE REDISEÃ‘O
   --------------------------------------------------------------------------
   Inspirado en la referencia: azul marino profundo, acentos oro y cian,
   tarjetas de cristal con brillo, cifras grandes y densidad de panel serio.
   NO incluye ningÃºn personaje ni arte con derechos: solo color, luz y forma.

   Este fichero se carga el ÃšLTIMO, despuÃ©s de las hojas del original, asÃ­ que
   basta con sustituirlo para cambiar todo el aspecto.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root,
.app-body,
.auth-body {
    --bg: #080808;
    --surface: #141416;
    --surface-alt: #1a1a1d;
    --border: #ffffff1f;
    --border-strong: #ffffff38;
    --input-bg: #101012;
    --text: #f4f1e8;
    --text-muted: #9a9488;

    --primary: #c9a227;
    --primary-hover: #e3c15a;
    --primary-dark: #a8871e;
    --focus: #e3c15a;

    --green: #4e8b6a;
    --teal: #7c8b99;
    --orange: #c08a3e;
    --red: #a33a45;
    --blue: #5b6b7a;
    --yellow: #c9a227;
    --gray: #8a8478;

    --radius: 14px;
    --shadow: 0 18px 44px #00000059, 0 2px 0 #ffffff12 inset;

    /* Login (el original usa sus propios tokens) */
    --auth-bg: #080808;
    --auth-card: #141416e8;
    --auth-line: #ffffff1f;
    --auth-line-strong: #c9a22766;
    --auth-input: #101012;
    --auth-text: #f4f1e8;
    --auth-text-soft: #c7d5ee;
    --auth-text-muted: #9a9488;
    --auth-violet: #c9a227;
    --auth-blue: #5b6b7a;
    --auth-green: #4e8b6a;
}

/* --------------------------------------------------------------------------
   2. Fondo general: luz azul arriba, resplandor oro abajo
   -------------------------------------------------------------------------- */

.app-body,
.auth-body {
    background:
        radial-gradient(1100px 620px at 8% -12%, #2a241566 0%, transparent 62%),
        radial-gradient(900px 520px at 96% 8%, #c9a22721 0%, transparent 58%),
        radial-gradient(800px 480px at 50% 112%, #c9a2272e 0%, transparent 60%),
        var(--bg);
    color: var(--text);
}

/* --------------------------------------------------------------------------
   3. Barra lateral
   -------------------------------------------------------------------------- */

.app-body .sidebar {
    background:
        linear-gradient(180deg, #0c0c0d 0%, #0a0a0b 60%, #080808 100%);
    border-right: 1px solid var(--border);
    padding: 18px 14px 16px;
}

.app-body .brand-row {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.app-body .brand strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    background: linear-gradient(92deg, #ffffff 0%, #f1e3b0 45%, #c9a227 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.app-body .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid #c9a22755;
    box-shadow: 0 0 0 3px #c9a2270f, 0 6px 18px #c9a22733;
    background: linear-gradient(140deg, #1a1a1d, #101012);
}

.app-body .nav {
    gap: 3px;
}

.app-body .nav a {
    padding: 9px 11px;
    border-radius: 10px;
    color: #d8d2c4;
    font-size: 12.5px;
    font-weight: 550;
    border: 1px solid transparent;
    transition: background .14s ease, color .14s ease, border-color .14s ease;
}

.app-body .nav a:hover {
    background: #ffffff0a;
    color: #ffffff;
}

.app-body .nav a.active,
.app-body .nav a[aria-current="page"] {
    background: linear-gradient(90deg, #c9a2271f, #c9a22708);
    border-color: #c9a2274d;
    color: #fff;
    box-shadow: inset 3px 0 0 #c9a227, 0 8px 22px #c9a22712;
}

.app-body .nav .caller-icon {
    color: #c9a227cc;
}

.app-body .nav a.active .caller-icon,
.app-body .nav a:hover .caller-icon {
    color: #e3c15a;
}

.app-body .nav-group summary {
    color: #d8d2c4;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 12.5px;
}

.app-body .nav-group summary:hover {
    background: #ffffff0a;
    color: #fff;
}

.app-body .nav-group-links a {
    border-left: 1px solid #ffffff14;
    margin-left: 11px;
    border-radius: 0 10px 10px 0;
}

/* --------------------------------------------------------------------------
   4. Cabecera
   -------------------------------------------------------------------------- */

.app-body .workspace-header {
    background: #0a0a0bc7;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.app-body .top-bar {
    gap: 10px;
}

.app-body .server-clock {
    font-family: var(--font-tech);
    letter-spacing: .06em;
    color: #b8b2a4;
}

/* --------------------------------------------------------------------------
   5. Contenedores y tarjetas
   -------------------------------------------------------------------------- */

.app-body .page {
    padding-top: 20px;
}

.app-body .page-head h1 {
    font-size: clamp(21px, 1.7vw, 27px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
}

.app-body .page-head > div > .muted,
.app-body .page-head .muted {
    color: var(--text-muted);
}

.app-body .card,
.app-body .stat {
    position: relative;
    background:
        linear-gradient(165deg, #18181b 0%, #101012 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Filo de luz superior, como el cristal de la referencia */
.app-body .card::before,
.app-body .stat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff40 22%, #c9a22766 50%, #ffffff40 78%, transparent);
    pointer-events: none;
}

.app-body .card {
    padding: 18px;
}

.app-body .card-head {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.app-body .card-title,
.app-body .card h2 {
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -.01em;
    color: #fff;
}

.app-body .card-desc {
    color: var(--text-muted);
    font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   6. Cifras / estadÃ­sticas
   -------------------------------------------------------------------------- */

.app-body .stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.app-body .stat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
}

.app-body .stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #fff;
    border: 1px solid #ffffff26;
    background: linear-gradient(140deg, #5b6b7a33, #101012);
    box-shadow: 0 6px 18px #00000040;
}

.app-body .stat-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.app-body .stat-label {
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #948e82;
}

.app-body .stat-value {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.app-body .stat-desc,
.app-body .stat-hint {
    font-size: 10.5px;
    color: #847e72;
}

/* Tonos: borde e icono por color, como las tarjetas de la referencia */
.app-body .stat-green  { border-color: #4e8b6a3d; }
.app-body .stat-green  .stat-icon { background: linear-gradient(140deg, #4e8b6a40, #101012); border-color: #4e8b6a66; }
.app-body .stat-blue   { border-color: #5b6b7a3d; }
.app-body .stat-blue   .stat-icon { background: linear-gradient(140deg, #5b6b7a40, #101012); border-color: #5b6b7a66; }
.app-body .stat-teal   { border-color: #7c8b993d; }
.app-body .stat-teal   .stat-icon { background: linear-gradient(140deg, #7c8b9940, #101012); border-color: #7c8b9966; }
.app-body .stat-orange { border-color: #c08a3e3d; }
.app-body .stat-orange .stat-icon { background: linear-gradient(140deg, #c08a3e40, #101012); border-color: #c08a3e66; }
.app-body .stat-red    { border-color: #a33a453d; }
.app-body .stat-red    .stat-icon { background: linear-gradient(140deg, #a33a4540, #101012); border-color: #a33a4566; }
.app-body .stat-yellow,
.app-body .stat-gold   { border-color: #c9a2274d; }
.app-body .stat-gold   .stat-icon { background: linear-gradient(140deg, #c9a22745, #101012); border-color: #c9a22780; }

/* --------------------------------------------------------------------------
   7. Tablas
   -------------------------------------------------------------------------- */

.app-body .table-scroll {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: auto;
    background: #07070780;
}

.app-body .table th {
    background: #ffffff06;
    color: #948e82;
    font-size: 9.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.app-body .table td {
    border-bottom: 1px solid #ffffff0d;
    font-size: 12.5px;
    color: #e6e0d2;
}

.app-body .table tbody tr:hover td {
    background: #ffffff06;
}

.app-body .table .num {
    font-variant-numeric: tabular-nums;
    color: #fff;
}

/* --------------------------------------------------------------------------
   8. Botones
   -------------------------------------------------------------------------- */

.app-body .btn,
.app-body .landing-btn {
    height: 36px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .01em;
}

.app-body .btn-primary {
    background: linear-gradient(180deg, #e3c15a 0%, #b89522 100%);
    border: 1px solid #ebd98f;
    color: #1a1205;
    box-shadow: 0 8px 22px #c9a22733, inset 0 1px 0 #ffffff99;
}

.app-body .btn-primary:hover {
    background: linear-gradient(180deg, #e7d284 0%, #d2af33 100%);
}

.app-body .btn-ghost {
    background: #ffffff0a;
    border: 1px solid var(--border);
    color: #f0eadb;
}

.app-body .btn-ghost:hover {
    background: #ffffff14;
    border-color: var(--border-strong);
}

.app-body .btn-danger {
    background: linear-gradient(180deg, #c96a73, #8f2f38);
    border: 1px solid #d99aa2;
    color: #fff;
}

.app-body .btn-link {
    color: #e3c15a;
}

/* --------------------------------------------------------------------------
   9. Campos
   -------------------------------------------------------------------------- */

.app-body .field-label,
.login-body .panel-label {
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #948e82;
    font-weight: 700;
}

.app-body .field input,
.app-body .field select,
.app-body .field textarea {
    background: #101012;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    min-height: 38px;
}

.app-body .field input::placeholder,
.app-body .field textarea::placeholder {
    color: #56688a;
}

.app-body .field input:focus,
.app-body .field select:focus,
.app-body .field textarea:focus {
    border-color: #c9a227a6;
    box-shadow: 0 0 0 3px #c9a22726;
    outline: none;
}

.app-body .field-hint {
    color: #847e72;
    font-size: 11px;
}

.app-body .field-radio {
    background: #101012;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
}

/* --------------------------------------------------------------------------
   10. Insignias y avisos
   -------------------------------------------------------------------------- */

.app-body .badge,
.app-body .service-pill,
.app-body .minute-pill,
.app-body .sip-status {
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 3px 10px;
    background: #ffffff0a;
    border: 1px solid var(--border);
    color: #dcd6c8;
}

.app-body .badge-green { background: #4e8b6a14; border-color: #4e8b6a4d; color: #7fbf9a; }
.app-body .badge-blue  { background: #5b6b7a14; border-color: #5b6b7a4d; color: #8fa3b5; }
.app-body .badge-orange,
.app-body .badge-amber { background: #c08a3e14; border-color: #c08a3e4d; color: #d6a86a; }
.app-body .badge-red   { background: #a33a4514; border-color: #a33a454d; color: #c98a91; }
.app-body .badge-teal  { background: #7c8b9914; border-color: #7c8b994d; color: #a9c1cc; }
.app-body .badge-gold  { background: #c9a2271a; border-color: #c9a22766; color: #e3c15a; }

.app-body .alert {
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #141416cc;
    backdrop-filter: blur(6px);
}

.app-body .alert-info    { border-color: #5b6b7a4d; background: #5b6b7a14; }
.app-body .alert-warning { border-color: #c9a2274d; background: #c9a22712; }
.app-body .alert-success { border-color: #4e8b6a4d; background: #4e8b6a12; }
.app-body .alert-error   { border-color: #a33a454d; background: #a33a4512; }

/* --------------------------------------------------------------------------
   11. Cola en vivo, agentes y QR
   -------------------------------------------------------------------------- */

.app-body .lq-item {
    border-bottom: 1px solid #ffffff0d;
    padding: 11px 0;
}

.app-body .lq-item-number,
.app-body .queue-num {
    color: #fff;
    font-weight: 700;
}

.app-body .lq-pill {
    background: #c9a227;
    color: #1a1205;
    font-weight: 800;
}

.app-body .lq-dot,
.app-body .pulse {
    background: #4e8b6a;
}

.app-body .ag-card {
    background: linear-gradient(165deg, #1c1a14, #101012);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.app-body .ag-avatar {
    background: linear-gradient(140deg, #c9a22738, #5b6b7a26);
    border: 1px solid #c9a22759;
    color: #f1e3b0;
    font-weight: 800;
}

.app-body .ag-ok   { color: #7fbf9a; border-color: #4e8b6a4d; background: #4e8b6a14; }
.app-body .ag-warn { color: #d6a86a; border-color: #c08a3e4d; background: #c08a3e14; }
.app-body .ag-off  { color: #8a8478; }

.app-body .qr-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 44px #00000073, 0 0 0 1px #ffffff1a;
}

/* --------------------------------------------------------------------------
   12. Login: misma paleta que el panel
   -------------------------------------------------------------------------- */

.auth-body .auth-card {
    background: linear-gradient(165deg, #141416f2, #070707f2);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 30px 90px #000000a6, 0 1px 0 #ffffff1f inset;
}

.auth-body .auth-ring-outer,
.auth-body .auth-ring-inner {
    border-color: #c9a2274d;
}

.auth-body .auth-app-name {
    color: #fff;
    font-weight: 800;
}

.auth-body .btn-primary,
.auth-body .auth-submit {
    background: linear-gradient(180deg, #e3c15a, #b89522);
    border-color: #ebd98f;
    color: #1a1205;
    font-weight: 800;
}

.auth-body .field input {
    background: #101012;
    border: 1px solid var(--border);
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   13. Detalles
   -------------------------------------------------------------------------- */

.app-body .empty {
    color: #8a8478;
}

.app-body .empty strong {
    color: #fff;
}

.app-body .user-avatar {
    background: linear-gradient(140deg, #c9a227, #a8871e);
    color: #1a1205;
    font-weight: 800;
}

.app-body .user-menu-dropdown {
    background: #141416;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 22px 60px #000000a6;
}

.app-body .skip-link:focus {
    background: #c9a227;
    color: #1a1205;
}

/* --------------------------------------------------------------------------
   14. Teclado DTMF de la llamada activa
   -------------------------------------------------------------------------- */

.app-body .dtmf-pad {
    display: grid;
    grid-template-columns: repeat(6, 34px);
    gap: 4px;
    margin-left: auto;
}

.app-body .dtmf-key {
    height: 30px;
    padding: 0;
    font-family: var(--font-tech);
    font-size: 13px;
    border-radius: 8px;
    min-width: 0;
}

.app-body .lq-item {
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. Selector de tema + paleta clara
   -------------------------------------------------------------------------- */

.app-body .theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #ffffff0a;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.app-body .theme-toggle:hover {
    background: #ffffff14;
    border-color: var(--border-strong);
    color: var(--text);
}

.app-body .theme-toggle .theme-toggle-sun,
.app-body .theme-toggle .theme-toggle-moon {
    opacity: .45;
    transition: opacity .15s ease, transform .15s ease;
}

html[data-theme="dark"] .app-body .theme-toggle .theme-toggle-moon,
html:not([data-theme="light"]) .app-body .theme-toggle .theme-toggle-moon {
    opacity: 1;
    transform: scale(1.05);
}

html[data-theme="light"] .app-body .theme-toggle .theme-toggle-sun {
    opacity: 1;
    transform: scale(1.05);
}

/* ---------- Tema claro: papel cálido, tinta, oro apagado ---------- */

html[data-theme="light"] {
    color-scheme: light;
}

html[data-theme="light"] .app-body,
html[data-theme="light"] .auth-body {
    --bg: #f4f0e6;
    --surface: #ffffff;
    --surface-alt: #faf7ef;
    --border: #12121214;
    --border-strong: #1212122e;
    --input-bg: #ffffff;
    --text: #171614;
    --text-muted: #6f6a60;

    --primary: #8a6a1f;
    --primary-hover: #a8871e;
    --primary-dark: #6e5418;
    --focus: #8a6a1f;

    --green: #4e8b6a;
    --teal: #5f7d86;
    --orange: #a87a3e;
    --red: #8f2f38;
    --blue: #4f6275;
    --yellow: #8a6a1f;
    --gray: #8b8578;

    --shadow: 0 14px 40px #1212120f, 0 1px 0 #ffffff inset;

    --auth-bg: #f4f0e6;
    --auth-card: #fffffff2;
    --auth-line: #1212121a;
    --auth-input: #ffffff;
    --auth-text: #171614;
    --auth-text-soft: #4a463e;
    --auth-text-muted: #6f6a60;
    --auth-violet: #8a6a1f;

    background:
        radial-gradient(900px 520px at 10% -10%, #e5dcc6 0%, transparent 60%),
        radial-gradient(700px 420px at 100% 0%, #efe7d5 0%, transparent 55%),
        var(--bg);
    color: var(--text);
}

html[data-theme="light"] .app-body .sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #fbf9f5 100%);
    border-right: 1px solid var(--border);
}

html[data-theme="light"] .app-body .brand strong {
    background: linear-gradient(92deg, #121212 0%, #5a4a22 60%, #8a6a1f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme="light"] .app-body .nav a {
    color: #4a463e;
}

html[data-theme="light"] .app-body .nav a:hover {
    background: #12121208;
    color: #171614;
}

html[data-theme="light"] .app-body .nav a.active,
html[data-theme="light"] .app-body .nav a[aria-current="page"] {
    background: linear-gradient(90deg, #8a6a1f1a, #8a6a1f08);
    border-color: #8a6a1f40;
    color: #171614;
    box-shadow: inset 3px 0 0 #8a6a1f, 0 8px 20px #8a6a1f12;
}

html[data-theme="light"] .app-body .workspace-header {
    background: #ffffffe0;
    border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .app-body .card,
html[data-theme="light"] .app-body .stat,
html[data-theme="light"] .app-body .ag-card {
    background: linear-gradient(165deg, #ffffff 0%, #fcfaf6 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

html[data-theme="light"] .app-body .card::before,
html[data-theme="light"] .app-body .stat::before {
    background: linear-gradient(90deg, transparent, #8a6a1f40 50%, transparent);
}

html[data-theme="light"] .app-body .table th {
    background: #12121205;
    color: #6f6a60;
    border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .app-body .table td {
    color: #24211d;
    border-bottom: 1px solid #1212120d;
}

html[data-theme="light"] .app-body .table-scroll {
    background: #ffffff;
    border: 1px solid var(--border);
}

html[data-theme="light"] .app-body .btn-primary {
    background: linear-gradient(180deg, #a8871e, #8a6a1f);
    border-color: #c9a227;
    color: #fffdf7;
    box-shadow: 0 8px 20px #8a6a1f26, inset 0 1px 0 #ffffff40;
}

html[data-theme="light"] .app-body .btn-ghost {
    background: #ffffff;
    border: 1px solid var(--border);
    color: #24211d;
}

html[data-theme="light"] .app-body .btn-ghost:hover {
    background: #faf7f1;
    border-color: var(--border-strong);
}

html[data-theme="light"] .app-body .field input,
html[data-theme="light"] .app-body .field select,
html[data-theme="light"] .app-body .field textarea {
    background: #ffffff;
    border: 1px solid var(--border);
    color: #171614;
}

html[data-theme="light"] .app-body .stat-value,
html[data-theme="light"] .app-body .card-title,
html[data-theme="light"] .app-body h1,
html[data-theme="light"] .app-body h2 {
    color: #171614;
}

html[data-theme="light"] .app-body .stat-label,
html[data-theme="light"] .app-body .field-label {
    color: #857f73;
}

html[data-theme="light"] .app-body .empty {
    color: #7a7468;
}

html[data-theme="light"] .app-body .qr-box {
    background: #ffffff;
    box-shadow: 0 12px 32px #12121214, 0 0 0 1px #12121212;
}

/* ---------- Refinado tipográfico (los dos temas) ---------- */

.app-body .nav a,
.app-body .btn {
    letter-spacing: .01em;
}

.app-body h1 {
    letter-spacing: -.028em;
}

.app-body .page-head p.muted {
    font-size: 13px;
    letter-spacing: .005em;
}

/* --------------------------------------------------------------------------
   16. Asistente de campaña (pantalla única, pasos numerados)
   -------------------------------------------------------------------------- */

.app-body .wizard-step {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.app-body .wizard-step:first-of-type {
    padding-top: 4px;
}

.app-body .wizard-step:last-of-type {
    border-bottom: 0;
}

.app-body .wizard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--text);
}

.app-body .wizard-num {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

html[data-theme="light"] .app-body .wizard-step {
    border-bottom: 1px solid #12121214;
}

/* La tabla de trabajadores lleva el QR pequeño y los botones de supervisión */
.app-body .table td svg {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    background: #fff;
    padding: 2px;
}

/* ==========================================================================
   17. REDISEÑO EDITORIAL
   --------------------------------------------------------------------------
   Se aplica después de todo lo anterior y lo sustituye: nada de degradados ni
   sombras blandas. Líneas finas, aire, versalitas y serif para las cifras.
   Es el aspecto de tienda de lujo: el contenido manda, el marco desaparece.
   ========================================================================== */

:root,
.app-body,
.auth-body {
    --serif: Georgia, "DejaVu Serif", "Times New Roman", serif;
    --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --radius: 3px;
    --hair: 1px solid var(--border);
    --micro: 10px;
    --tracking: .16em;
}

.app-body,
.auth-body {
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

/* ---------- barra lateral: plana, versalitas, filete de oro ---------- */

.app-body .sidebar {
    background: var(--bg);
    border-right: var(--hair);
    padding: 26px 18px 18px;
    width: 248px;
}

.app-body .brand-row {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 26px;
    align-items: baseline;
}

.app-body .brand strong {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .04em;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text);
}

.app-body .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    box-shadow: none;
    background: transparent;
}

.app-body .nav {
    gap: 0;
}

.app-body .nav a {
    padding: 9px 10px 9px 12px;
    border-radius: 0;
    border: 0;
    border-left: 1px solid transparent;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: var(--tracking);
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .12s ease, border-color .12s ease;
}

.app-body .nav a:hover {
    background: none;
    color: var(--text);
}

.app-body .nav a.active,
.app-body .nav a[aria-current="page"] {
    background: none;
    border-left: 1px solid var(--primary);
    box-shadow: none;
    color: var(--text);
}

.app-body .nav-group summary {
    padding: 9px 10px 9px 12px;
    border-left: 1px solid transparent;
    border-radius: 0;
    font-size: 11px;
    letter-spacing: var(--tracking);
    text-transform: uppercase;
    color: var(--text-muted);
}

.app-body .nav-group summary:hover {
    background: none;
    color: var(--text);
}

.app-body .nav-group-links a {
    margin-left: 0;
    border-left: 1px solid transparent;
    border-radius: 0;
}

.app-body .nav-group-links a.active {
    border-left-color: var(--primary);
}

.app-body .nav .caller-icon {
    width: 15px;
    height: 15px;
    opacity: .75;
}

/* ---------- cabecera: casi invisible ---------- */

.app-body .workspace-header {
    background: var(--bg);
    backdrop-filter: none;
    border-bottom: var(--hair);
}

.app-body .top-bar {
    gap: 18px;
    height: 54px;
}

.app-body .server-clock {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: var(--tracking);
    color: var(--text-muted);
}

.app-body .service-pill,
.app-body .minute-pill,
.app-body .sip-status,
.app-body .wallet-balance-group {
    background: none;
    border: 0;
    padding: 0;
    border-radius: 0;
    font-size: 10px;
    letter-spacing: var(--tracking);
    text-transform: uppercase;
    color: var(--text-muted);
}

.app-body .wallet-balance {
    color: var(--text);
    font-size: 11px;
}

.app-body .user-menu-name {
    font-size: 11px;
    letter-spacing: var(--tracking);
    text-transform: uppercase;
}

.app-body .user-avatar {
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-family: var(--serif);
    font-weight: 400;
}

/* ---------- titulares: serif grande y filete ---------- */

.app-body .page {
    padding: 34px 40px 60px;
    max-width: 1180px;
}

.app-body .page-head {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: var(--hair);
    align-items: flex-end;
}

.app-body .page-head h1,
.app-body .wizard-title {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--text);
}

.app-body .page-head h1 {
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.1;
}

.app-body .page-head p.muted,
.app-body .card-desc,
.app-body .field-hint {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: .01em;
}

/* ---------- tarjetas: sin relleno ni sombra, solo filete ---------- */

.app-body .card,
.app-body .stat,
.app-body .ag-card {
    background: transparent;
    border: var(--hair);
    border-radius: 0;
    box-shadow: none;
    padding: 22px;
}

.app-body .card::before,
.app-body .stat::before {
    display: none;
}

.app-body .card-head {
    border-bottom: var(--hair);
    padding-bottom: 12px;
}

.app-body .card-title,
.app-body .card h2 {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text);
}

/* ---------- cifras: etiqueta en versalitas, número en serif ---------- */

.app-body .stat-grid {
    gap: 0;
    border: var(--hair);
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.app-body .stat {
    border: 0;
    border-right: var(--hair);
    border-radius: 0;
    padding: 18px 20px;
    display: block;
}

.app-body .stat:last-child {
    border-right: 0;
}

.app-body .stat-icon {
    display: none;
}

.app-body .stat-label {
    font-size: var(--micro);
    letter-spacing: var(--tracking);
    color: var(--text-muted);
    font-weight: 500;
}

.app-body .stat-value {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -.01em;
    margin-top: 6px;
    color: var(--text);
}

/* ---------- tablas: filas altas y filetes ---------- */

.app-body .table-scroll {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.app-body .table th {
    background: transparent;
    border-bottom: var(--hair);
    border-top: var(--hair);
    font-size: var(--micro);
    letter-spacing: var(--tracking);
    font-weight: 500;
    color: var(--text-muted);
    padding: 11px 12px;
}

.app-body .table td {
    border-bottom: var(--hair);
    padding: 14px 12px;
    font-size: 13px;
    background: transparent;
}

.app-body .table tbody tr:hover td {
    background: color-mix(in srgb, var(--text) 3%, transparent);
}

/* ---------- botones: rectangulares y en versalitas ---------- */

.app-body .btn,
.app-body .landing-btn {
    height: 36px;
    border-radius: 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: var(--tracking);
    text-transform: uppercase;
    padding: 0 16px;
}

.app-body .btn-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #080808;
    box-shadow: none;
}

.app-body .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.app-body .btn-ghost {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text);
}

.app-body .btn-ghost:hover {
    background: color-mix(in srgb, var(--text) 6%, transparent);
    border-color: var(--text-muted);
}

.app-body .btn-danger {
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
}

/* ---------- campos: línea inferior, sin cajas ---------- */

.app-body .field-label {
    font-size: var(--micro);
    letter-spacing: var(--tracking);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.app-body .field input,
.app-body .field select,
.app-body .field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-strong);
    border-radius: 0;
    padding: 8px 2px;
    font-size: 14px;
    color: var(--text);
}

.app-body .field input:focus,
.app-body .field select:focus,
.app-body .field textarea:focus {
    border-color: var(--primary);
    box-shadow: none;
    outline: none;
}

.app-body .field-radio {
    background: transparent;
    border: var(--hair);
    border-radius: 2px;
    padding: 12px 14px;
}

/* ---------- pestañas del asistente ---------- */

.app-body .wizard-step {
    border-bottom: var(--hair);
    padding: 26px 0;
}

.app-body .wizard-title {
    font-size: 17px;
    margin-bottom: 14px;
    gap: 12px;
}

.app-body .wizard-num {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: var(--primary);
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: .08em;
}

/* ---------- insignias: solo texto ---------- */

.app-body .badge {
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    padding: 0 0 1px;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- tema claro: mismo trazo, papel cálido ---------- */

html[data-theme="light"] .app-body .sidebar,
html[data-theme="light"] .app-body .workspace-header {
    background: transparent;
}

html[data-theme="light"] .app-body .stat-grid {
    border-color: #1212121f;
}

html[data-theme="light"] .app-body .stat {
    border-right-color: #1212121f;
}

html[data-theme="light"] .app-body .btn-primary {
    color: #fffdf7;
}

/* --------------------------------------------------------------------------
   18. Selector de contexto (owner: en qué agencia estoy trabajando)
   -------------------------------------------------------------------------- */

.app-body .context-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-body .context-label {
    font-size: 10px;
    letter-spacing: var(--tracking);
    text-transform: uppercase;
    color: var(--text-muted);
}

.app-body .context-form select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-strong);
    border-radius: 0;
    color: var(--text);
    font-size: 11px;
    letter-spacing: var(--tracking);
    text-transform: uppercase;
    padding: 3px 2px;
    max-width: 190px;
}

.app-body .context-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   19. Mascota (pato con saco de monedas)
   -------------------------------------------------------------------------- */

.app-body .pato-mascota {
    width: 96px;
    height: 112px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 18px #00000055);
}

.app-body .pato-saco {
    transform-origin: 96px 100px;
    animation: pato-saco 3.6s ease-in-out infinite;
}

.app-body .pato-moneda {
    animation: pato-moneda 2.8s ease-in-out infinite;
}

.app-body .pato-moneda-b { animation-delay: .45s; }
.app-body .pato-moneda-c { animation-delay: .9s; }

@keyframes pato-saco {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(-4deg); }
}

@keyframes pato-moneda {
    0%, 70%, 100% { opacity: 1; transform: translateY(0); }
    80%           { opacity: .4; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .app-body .pato-saco,
    .app-body .pato-moneda { animation: none; }
}

/* --------------------------------------------------------------------------
   20. Iconos de tabla y botones (el QR mantiene su tamaño, el resto no)
   -------------------------------------------------------------------------- */

.app-body .table td svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: -3px;
}

/* El QR es lo único grande dentro de una celda */
.app-body .table td svg[shape-rendering="crispEdges"] {
    width: 72px;
    height: 72px;
    padding: 3px;
    border-radius: 6px;
    background: #ffffff;
    display: block;
}

.app-body .btn svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -2px;
}

.app-body .btn-sm svg {
    width: 13px;
    height: 13px;
    margin-right: 4px;
}

/* Botón de lanzar: pequeño, dorado, icono negro */
.app-body .table .btn-sm.btn-primary svg,
html[data-theme="light"] .app-body .table .btn-sm.btn-primary svg {
    stroke: #080808;
    color: #080808;
}

.app-body .table .btn-sm.btn-primary {
    min-width: 0;
    padding: 0 12px;
    height: 30px;
}


/* ==========================================================================
   P1 — TEMA BOND
   --------------------------------------------------------------------------
   Tipografía de cartel (Bebas Neue + Oswald), negro tinta, latón y botones
   rectangulares. Se añade al final de theme-bond.css.
   ========================================================================== */

@font-face {
    font-family: "Bebas Neue";
    src: url("/assets/fonts/BebasNeue-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/Oswald-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/Oswald-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/Oswald-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/Oswald-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html[data-palette="bond"] {
    --font-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
    --font-condensed: "Oswald", "Arial Narrow", sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
    --font-tech: "Share Tech Mono", ui-monospace, monospace;

    --serif: var(--font-display);
    --sans: var(--font-body);
    --radius: 2px;
    --hair: 1px solid #26262a;
    --tracking: .12em;
    --micro: 10px;
}

html[data-palette="bond"] .app-body,
html[data-palette="bond"] .auth-body {
    font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   Cabecera: marca, navegación y títulos
   -------------------------------------------------------------------------- */

html[data-palette="bond"] .app-body .brand strong {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text);
}

html[data-palette="bond"] .app-body .nav a,
html[data-palette="bond"] .app-body .nav-group summary {
    font-family: var(--font-condensed);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html[data-palette="bond"] .app-body .nav a.active,
html[data-palette="bond"] .app-body .nav a[aria-current="page"] {
    background: #c9a22714;
    border-color: #c9a2274d;
    box-shadow: inset 2px 0 0 var(--primary);
}

html[data-palette="bond"] .app-body .page-head h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 3.4vw, 54px);
    font-weight: 400;
    letter-spacing: .04em;
    line-height: .9;
    text-transform: uppercase;
    color: var(--text);
}

html[data-palette="bond"] .app-body .page-head .muted,
html[data-palette="bond"] .app-body .page-head p.muted {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: .02em;
    color: var(--text-muted);
}

html[data-palette="bond"] .app-body .card-title,
html[data-palette="bond"] .app-body .card h2,
html[data-palette="bond"] .app-body .wizard-title {
    font-family: var(--font-condensed);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html[data-palette="bond"] .app-body .stat-value {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: .02em;
}

html[data-palette="bond"] .app-body .stat-label,
html[data-palette="bond"] .app-body .field-label,
html[data-palette="bond"] .app-body .table th {
    font-family: var(--font-condensed);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html[data-palette="bond"] .app-body .server-clock {
    font-family: var(--font-tech);
    letter-spacing: .06em;
}

/* --------------------------------------------------------------------------
   Barra superior: una sola línea, nombre truncado y chips discretos
   -------------------------------------------------------------------------- */

html[data-palette="bond"] .app-body .top-bar {
    gap: 8px;
    padding: 10px 24px;
    min-height: 58px;
    align-items: center;
    flex-wrap: wrap;
}

html[data-palette="bond"] .app-body .service-pill,
html[data-palette="bond"] .app-body .minute-pill,
html[data-palette="bond"] .app-body .sip-status,
html[data-palette="bond"] .app-body .server-clock,
html[data-palette="bond"] .app-body .wallet-balance-group {
    border-radius: 2px;
    font-family: var(--font-condensed);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html[data-palette="bond"] .app-body .wallet-balance-group {
    padding: 1px;
    border: 1px solid #2a2a2e;
    background: #0e0e10;
    box-shadow: none;
}

html[data-palette="bond"] .app-body .wallet-balance,
html[data-palette="bond"] .app-body .wallet-balance:hover {
    background: transparent;
    color: var(--primary);
}

html[data-palette="bond"] .app-body .user-menu-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 210px;
    white-space: nowrap;
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[data-palette="bond"] .app-body .user-menu-name > span:last-child {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-palette="bond"] .app-body .user-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--primary);
    color: #080808;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 400;
}

html[data-palette="bond"] .app-body .palette-picker {
    height: 30px;
    border-radius: 2px;
    border-color: #2a2a2e;
    background: transparent;
}

html[data-palette="bond"] .app-body .palette-picker select {
    font-family: var(--font-condensed);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html[data-palette="bond"] .app-body .theme-toggle {
    border-radius: 50%;
    border: 1px solid #2a2a2e;
    background: transparent;
}

/* --------------------------------------------------------------------------
   Botones: rectangulares, texto centrado y sin brillo
   -------------------------------------------------------------------------- */

html[data-palette="bond"] .app-body .btn,
html[data-palette="bond"] .app-body .landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 34px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 2px;
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
}

html[data-palette="bond"] .app-body .btn svg,
html[data-palette="bond"] .app-body .landing-btn svg {
    flex: 0 0 auto;
}

html[data-palette="bond"] .app-body .btn:hover,
html[data-palette="bond"] .app-body .landing-btn:hover {
    transform: translateY(-1px);
    box-shadow: none;
}

html[data-palette="bond"] .app-body .btn:active,
html[data-palette="bond"] .app-body .landing-btn:active {
    transform: translateY(0) scale(.985);
}

html[data-palette="bond"] .app-body .btn-sm {
    height: 30px;
    min-height: 30px;
    padding: 0 9px;
    font-size: 10px;
}

html[data-palette="bond"] .app-body .btn-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #080808;
    box-shadow: none;
}

html[data-palette="bond"] .app-body .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #080808;
    box-shadow: none;
}

html[data-palette="bond"] .app-body .btn-ghost {
    background: transparent;
    border: 1px solid #3a3a3e;
    color: var(--text);
}

html[data-palette="bond"] .app-body .btn-ghost:hover {
    background: #c9a22714;
    border-color: var(--primary);
    color: var(--text);
}

html[data-palette="bond"] .app-body .btn-danger {
    background: transparent;
    border: 1px solid #a33a45;
    color: #c96a73;
}

html[data-palette="bond"] .app-body .btn-danger:hover {
    background: #a33a45;
    border-color: #a33a45;
    color: var(--text);
}

html[data-palette="bond"] .app-body .btn-link {
    font-family: var(--font-condensed);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    box-shadow: none;
}

html[data-palette="bond"] .btn-ripple {
    opacity: .12;
}

/* --------------------------------------------------------------------------
   Tarjetas, cifras y tablas
   -------------------------------------------------------------------------- */

html[data-palette="bond"] .app-body .card,
html[data-palette="bond"] .app-body .stat {
    border-radius: 2px;
    box-shadow: none;
}

html[data-palette="bond"] .app-body .card::before,
html[data-palette="bond"] .app-body .stat::before {
    display: none;
}

html[data-palette="bond"] .app-body .stat {
    padding: 18px 20px;
}

html[data-palette="bond"] .app-body .stat-grid {
    gap: 1px;
    border: 1px solid #26262a;
    border-radius: 2px;
    background: #26262a;
    overflow: hidden;
}

html[data-palette="bond"] .app-body .stat {
    border: 0;
    border-radius: 0;
    background: #0e0e10;
}

html[data-palette="bond"] .app-body .table-scroll {
    border: 1px solid #26262a;
    background: #0e0e10;
}

html[data-palette="bond"] .app-body .table th {
    padding: 10px;
    border-bottom: 1px solid #2e2e32;
    color: var(--text-muted);
}

html[data-palette="bond"] .app-body .table td {
    padding: 11px 10px;
    border-bottom: 1px solid #1f1f22;
}

html[data-palette="bond"] .app-body .table tbody tr:hover td {
    background: #c9a2270a;
}

html[data-palette="bond"] .app-body .table td:last-child {
    white-space: normal;
}

html[data-palette="bond"] .app-body .table td:last-child form {
    display: inline-flex;
    margin: 2px;
}

html[data-palette="bond"] .app-body .table .btn-sm {
    min-width: 32px;
}

html[data-palette="bond"] .app-body .bar-track {
    height: 4px;
    border-radius: 0;
    background: #26262a;
}

html[data-palette="bond"] .app-body .bar-fill {
    border-radius: 0;
    background: var(--primary);
    box-shadow: none;
}

html[data-palette="bond"] .app-body .badge {
    border-radius: 1px;
    font-family: var(--font-condensed);
    letter-spacing: .12em;
}

/* --------------------------------------------------------------------------
   Ajustes de ancho: la cabecera y las acciones no se comen el contenido
   -------------------------------------------------------------------------- */

html[data-palette="bond"] .app-body .page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

html[data-palette="bond"] .app-body .page-head .actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

@media (max-width: 1100px) {
    html[data-palette="bond"] .app-body .top-bar {
        padding: 10px 16px;
    }

    html[data-palette="bond"] .app-body .service-pill {
        display: none;
    }
}

@media (max-width: 720px) {
    html[data-palette="bond"] .app-body .palette-picker {
        display: none;
    }

    html[data-palette="bond"] .app-body .page-head h1 {
        font-size: clamp(30px, 8vw, 42px);
    }

    html[data-palette="bond"] .app-body .user-menu-name {
        max-width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-palette="bond"] .app-body .btn,
    html[data-palette="bond"] .app-body .landing-btn {
        transition: none;
    }
}
