@import url('./tickets-responsive-only.css');
:root {
    --bg: #f3f6fb;
    --surface: #fff;
    --surface-2: #f8fafc;
    --ink: #172033;
    --muted: #667085;
    --line: #e4e9f2;
    --brand: #4b2aad;
    --brand-2: #7657d5;
    --accent: #15b887;
    --danger: #e5484d;
    --warning: #f59e0b;
    --nav: #13182b;
    --shadow: 0 18px 45px rgba(28, 39, 76, .09);
    --radius: 16px
}

* {
    box-sizing: border-box
}

html {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg)
}

body {
    margin: 0
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

.app-shell {
    min-height: 100vh;
    background: var(--bg)
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 270px;
    background: linear-gradient(180deg, #101525, #181d36);
    color: #eef1ff;
    display: flex;
    flex-direction: column;
    padding: 24px 18px;
    z-index: 50
}

.brand,
.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand {
    padding: 2px 10px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.brand-mark,
.auth-brand>span,
.public-brand>span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--brand-2), #9b80ff);
    font-weight: 900;
    color: #fff;
    box-shadow: 0 10px 24px rgba(115, 85, 210, .35)
}

.brand strong,
.auth-brand strong {
    display: block
}

.brand small,
.auth-brand small {
    display: block;
    color: #9fa8c6;
    margin-top: 3px;
    font-size: 11px;
    letter-spacing: .08em
}

.nav-menu {
    display: grid;
    gap: 6px;
    margin-top: 22px
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 11px;
    color: #b9c1db;
    font-size: 14px;
    font-weight: 600
}

.nav-menu a span {
    width: 22px;
    text-align: center
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    background: rgba(125, 96, 224, .22)
}

.nav-menu a.active {
    box-shadow: inset 3px 0 #9c83ff
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-top: 16px
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px
}

.user-chip>span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2d3559;
    font-weight: 800
}

.user-chip strong,
.user-chip small {
    display: block
}

.user-chip strong {
    font-size: 13px
}

.user-chip small {
    font-size: 10px;
    color: #9fa8c6;
    text-transform: uppercase;
    margin-top: 2px
}

.main-content {
    margin-left: 270px;
    min-height: 100vh;
    padding: 30px 34px 60px
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px
}

.page-header h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 4px 0 0;
    letter-spacing: -.03em
}

.eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--brand);
    text-transform: uppercase
}

.eyebrow.light {
    color: #c8baff
}

.mobile-topbar {
    display: none
}

.sidebar-overlay {
    display: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: .18s ease
}

.btn:hover {
    transform: translateY(-1px)
}

.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 8px 20px rgba(75, 42, 173, .2)
}

.btn-secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line)
}

.btn-success {
    background: var(--accent);
    color: #fff
}

.btn-danger {
    background: #fff0f1;
    color: #b4232b;
    border: 1px solid #ffd1d5
}

.btn-warning {
    background: #fff7e8;
    color: #9a5c00;
    border: 1px solid #f9dfae
}

.btn-ghost {
    background: rgba(255, 255, 255, .07);
    color: #e4e8f8
}

.btn-sm {
    padding: 7px 11px;
    font-size: 12px
}

.btn-lg {
    padding: 13px 20px;
    font-size: 15px
}

.btn-block {
    width: 100%
}

.icon-btn {
    border: 0;
    background: transparent;
    font-size: 22px
}

.alert {
    padding: 13px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 650;
    transition: .3s
}

.alert-success {
    background: #eafaf5;
    color: #08785a;
    border: 1px solid #bcebdc
}

.alert-error {
    background: #fff0f1;
    color: #a5272e;
    border: 1px solid #ffd0d4
}

.alert-warning {
    background: #fff8e8;
    color: #8d5c00;
    border: 1px solid #f8e2ae
}

.grid {
    display: grid;
    gap: 18px
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 25px rgba(30, 44, 88, .045)
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line)
}

.card-header h2,
.card-header h3 {
    margin: 0;
    font-size: 16px
}

.card-body {
    padding: 20px
}

.kpi-card {
    padding: 19px;
    position: relative;
    overflow: hidden
}

.kpi-card:after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(109, 78, 211, .07);
    right: -20px;
    top: -28px
}

.kpi-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700
}

.kpi-value {
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -.04em;
    margin-top: 8px
}

.kpi-meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 8px
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap
}

.toolbar-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap
}

.search-input {
    min-width: 260px
}

.table-wrap {
    overflow: auto
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px
}

.table th {
    padding: 11px 13px;
    text-align: left;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--surface-2);
    white-space: nowrap
}

.table td {
    padding: 13px;
    border-top: 1px solid var(--line);
    vertical-align: middle
}

.table tr:hover td {
    background: #fafbff
}

.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #eef1f6;
    color: #566074
}

.badge-live,
.badge[data-status="live"] {
    background: #e9fbf4;
    color: #08785a
}

.badge-warning {
    background: #fff6df;
    color: #976000
}

.badge-danger {
    background: #ffebed;
    color: #b4232b
}

.badge-brand {
    background: #eee9ff;
    color: #5230ae
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.form-group {
    display: grid;
    gap: 7px
}

.form-group.full {
    grid-column: 1/-1
}

.form-group label {
    font-size: 12px;
    font-weight: 750
}

.form-control {
    width: 100%;
    border: 1px solid #d9dfeb;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--ink);
    outline: none
}

.form-control:focus {
    border-color: #8d73df;
    box-shadow: 0 0 0 3px rgba(103, 76, 196, .12)
}

textarea.form-control {
    min-height: 90px;
    resize: vertical
}

.form-help {
    font-size: 11px;
    color: var(--muted)
}

.form-actions {
    grid-column: 1/-1;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 5px
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line)
}

.stat-row:last-child {
    border: 0
}

.empty-state {
    text-align: center;
    padding: 70px 20px
}

.empty-icon {
    font-size: 42px;
    font-weight: 900;
    color: var(--brand);
    margin-bottom: 12px
}

.empty-state h1 {
    margin: 0 0 8px
}

.empty-state p {
    color: var(--muted);
    margin: 0 0 20px
}

.status-timeline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.status-step {
    padding: 8px 11px;
    border-radius: 999px;
    background: #eef1f6;
    color: #7b8497;
    font-size: 11px;
    font-weight: 750
}

.status-step.current {
    background: #eae5ff;
    color: #4e2ca6
}

.action-panel {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.event-card {
    padding: 18px
}

.event-card h3 {
    margin: 8px 0 6px
}

.event-meta {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    margin: 14px 0
}

.progress {
    height: 8px;
    background: #eef1f6;
    border-radius: 999px;
    overflow: hidden
}

.progress>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    border-radius: inherit
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    background: #fff
}

.auth-visual {
    background: radial-gradient(circle at 15% 15%, rgba(127, 92, 238, .35), transparent 32%), linear-gradient(145deg, #12162b, #2a1c62);
    color: #fff;
    padding: 42px 56px;
    display: flex;
    flex-direction: column
}

.auth-copy {
    margin: auto 0;
    max-width: 620px
}

.auth-copy h1 {
    font-size: 48px;
    line-height: 1.04;
    letter-spacing: -.05em;
    margin: 12px 0 18px
}

.auth-copy p {
    font-size: 17px;
    line-height: 1.65;
    color: #c7c9dc
}

.auth-points {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 25px;
    color: #ded8f8;
    font-size: 13px
}

.auth-panel {
    display: grid;
    place-items: center;
    padding: 50px
}

.login-box {
    width: min(100%, 420px)
}

.login-box h2 {
    font-size: 30px;
    margin: 0 0 7px
}

.login-box>p {
    color: var(--muted);
    margin: 0 0 27px
}

.login-box form {
    display: grid;
    gap: 15px
}

.public-shell {
    background: #f6f7fb
}

.public-header {
    height: 76px;
    padding: 0 max(24px, calc((100vw - 1180px)/2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.public-brand>span {
    width: 36px;
    height: 36px;
    border-radius: 11px
}

.public-header nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 700
}

.hero {
    min-height: 500px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 24px;
    background: radial-gradient(circle at 50% 0, rgba(112, 80, 215, .18), transparent 45%), linear-gradient(180deg, #fff, #f3f2fb)
}

.hero-inner {
    max-width: 820px
}

.hero h1 {
    font-size: 58px;
    line-height: 1.02;
    letter-spacing: -.055em;
    margin: 14px 0 20px
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px
}

.public-section {
    max-width: 1180px;
    margin: auto;
    padding: 65px 24px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 22px
}

.section-heading h2 {
    font-size: 30px;
    margin: 5px 0 0
}

.section-heading p {
    color: var(--muted);
    margin: 0
}

.public-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted)
}

.public-footer p {
    margin: 6px 0
}

.public-alert {
    max-width: 1180px;
    margin: 16px auto
}

.board-shell {
    min-height: calc(100vh - 76px);
    padding: 24px;
    background: radial-gradient(circle at 50% -15%, rgba(114, 83, 220, .35), transparent 34%), #0e1222;
    color: #fff
}

.board-top {
    max-width: 1450px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.board-top h1 {
    margin: 4px 0;
    font-size: 28px
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 800
}

.live-pill:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f25f67
}

.live-pill[data-status="live"]:before {
    background: #33d69f;
    box-shadow: 0 0 0 5px rgba(51, 214, 159, .14)
}

.board-main {
    max-width: 1450px;
    margin: 24px auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px
}

.latest-panel {
    background: linear-gradient(145deg, #5a35c8, #7e5de8);
    border-radius: 25px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .25)
}

.latest-panel small {
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #d8cffb;
    font-weight: 800
}

.latest-ball {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: #fff;
    color: #30205e;
    display: grid;
    place-items: center;
    font-size: 92px;
    font-weight: 900;
    margin: 24px auto;
    box-shadow: inset 0 -15px 30px rgba(74, 49, 145, .15), 0 25px 45px rgba(23, 15, 54, .28)
}

.board-stat {
    display: flex;
    justify-content: center;
    gap: 30px
}

.board-stat strong,
.board-stat span {
    display: block
}

.board-stat strong {
    font-size: 25px
}

.board-stat span {
    font-size: 10px;
    color: #d8cffb;
    text-transform: uppercase
}

.number-board {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 9px;
    background: rgba(255, 255, 255, .055);
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .08)
}

.board-number {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #8890a9;
    font-weight: 800;
    font-size: 18px;
    transition: .2s
}

.board-number.called {
    background: #fff;
    color: #342261;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2)
}

.history-section {
    max-width: 1450px;
    margin: 0 auto
}

.history-section h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #8992aa
}

.draw-history {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.history-ball {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: 
        radial-gradient(circle at 30% 28%, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 16%, rgba(255,255,255,0.03) 28%, rgba(255,255,255,0) 38%),
        linear-gradient(160deg, rgba(125, 110, 220, 0.25), rgba(72, 58, 130, 0.18)),
        #222941;
    box-shadow: 
        inset 0 5px 10px rgba(255, 255, 255, 0.12),
        inset 0 -6px 10px rgba(0, 0, 0, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

/* Efecto de brillo superior (Reflejo de luz 3D) */
.history-ball::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 20%;
    width: 25%;
    height: 18%;
    border-radius: 50%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.1)
    );
    transform: rotate(-25deg);
    filter: blur(0.5px);
    z-index: 1;
}

.history-ball.latest {
    color: #072b20 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(51, 214, 159, 0.5) !important;
    background: 
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.45) 0%, rgba(51,214,159,0.2) 22%, transparent 42%),
        linear-gradient(135deg, #15b887, #0ca879) !important;
    box-shadow: 
        inset 0 6px 12px rgba(255, 255, 255, 0.3),
        inset 0 -8px 14px rgba(7, 43, 32, 0.5),
        0 4px 12px rgba(21, 184, 135, 0.4) !important;
    transform: scale(1.06);
}

.ticket-page {
    max-width: 1160px;
    margin: auto;
    padding: 40px 24px 70px
}

.ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px
}

.ticket-card-large {
    padding: 24px
}

.bingo-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 7px;
    table-layout: fixed
}

.bingo-grid td {
    height: 70px;
    text-align: center;
    border-radius: 12px;
    background: #f0f2f7;
    font-size: 24px;
    font-weight: 850;
    color: #2a344d;
    position: relative
}

.bingo-grid td.empty {
    background: transparent;
    border: 1px dashed #dfe4ed
}

.bingo-grid td.marked {
    background: linear-gradient(145deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 10px 22px rgba(77, 47, 177, .22)
}

.ticket-title {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-bottom: 18px
}

.ticket-title h1 {
    font-size: 25px;
    margin: 4px 0
}

.ticket-side {
    display: grid;
    gap: 18px
}

.qr-box {
    display: grid;
    place-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 16px
}

.claim-options {
    display: grid;
    gap: 9px
}

.claim-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 11px
}

.host-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px
}

.host-console {
    background: #11162a;
    color: #fff;
    border-radius: 22px;
    padding: 24px
}

.host-latest {
    font-size: 110px;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    margin: 25px 0
}

.host-controls {
    display: flex;
    gap: 9px;
    justify-content: center;
    flex-wrap: wrap
}

.host-history {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 22px
}

.mini-ball {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #2b3250;
    font-weight: 800
}

.claim-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px
}

.claim-card h4 {
    margin: 0 0 5px
}

.claim-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px
}

.print-shell {
    background: #fff
}

.print-toolbar {
    position: sticky;
    top: 0;
    background: #101526;
    padding: 12px;
    display: flex;
    gap: 8px;
    z-index: 10
}

.print-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 18px
}

.print-ticket {
    border: 2px solid #222;
    border-radius: 10px;
    padding: 12px;
    break-inside: avoid
}

.print-ticket-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px
}

.print-ticket .bingo-grid {
    border-spacing: 3px
}

.print-ticket .bingo-grid td {
    height: 38px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #bbb;
    background: #fff
}

.print-ticket .bingo-grid td.empty {
    background: #222;
    border-color: #222
}

.print-qr {
    width: 74px;
    height: 74px
}

.muted {
    color: var(--muted)
}

.text-right {
    text-align: right
}

.text-center {
    text-align: center
}

.mb-0 {
    margin-bottom: 0
}

.mt-0 {
    margin-top: 0
}

.mt-2 {
    margin-top: 12px
}

.mt-3 {
    margin-top: 18px
}

.mt-4 {
    margin-top: 24px
}

.flex {
    display: flex
}

.items-center {
    align-items: center
}

.justify-between {
    justify-content: space-between
}

.gap-2 {
    gap: 10px
}

.w-full {
    width: 100%
}

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

    .board-main {
        grid-template-columns: 280px 1fr
    }

    .latest-ball {
        width: 170px;
        height: 170px;
        font-size: 72px
    }

    .ticket-layout,
    .host-grid {
        grid-template-columns: 1fr
    }

    .ticket-side {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:820px) {
    .sidebar {
        transform: translateX(-100%);
        transition: .25s
    }

    .sidebar-open .sidebar {
        transform: none
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(8, 12, 25, .5);
        z-index: 40
    }

    .sidebar-open .sidebar-overlay {
        display: block
    }

    .main-content {
        margin-left: 0;
        padding: 82px 18px 40px
    }

    .mobile-topbar {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 58px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        z-index: 35;
        align-items: center;
        gap: 12px;
        padding: 0 16px
    }

    .page-header {
        align-items: start
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .auth-shell {
        grid-template-columns: 1fr
    }

    .auth-visual {
        display: none
    }

    .auth-panel {
        padding: 35px 22px
    }

    .board-main {
        grid-template-columns: 1fr
    }

    .number-board {
        grid-template-columns: repeat(9, 1fr);
        padding: 12px;
        gap: 5px
    }

    .board-number {
        font-size: 13px
    }

    .latest-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center
    }

    .latest-ball {
        width: 130px;
        height: 130px;
        font-size: 55px;
        margin: 10px auto
    }

    .public-header {
        padding: 0 16px
    }

    .public-header nav>a:first-child {
        display: none
    }

    .hero h1 {
        font-size: 42px
    }

    .ticket-side {
        grid-template-columns: 1fr
    }

    .print-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {

    .grid-2,
    .grid-4,
    .form-grid {
        grid-template-columns: 1fr
    }

    .form-group.full,
    .form-actions {
        grid-column: auto
    }

    .page-header {
        display: block
    }

    .header-actions {
        margin-top: 12px
    }

    .search-input {
        min-width: 100%
    }

    .public-footer,
    .section-heading {
        display: block
    }

    .board-shell {
        padding: 14px
    }

    .board-top {
        align-items: start
    }

    .board-top h1 {
        font-size: 20px
    }

    .latest-panel {
        grid-template-columns: 1fr 1fr;
        padding: 15px
    }

    .number-board {
        grid-template-columns: repeat(6, 1fr)
    }

    .bingo-grid {
        border-spacing: 4px
    }

    .bingo-grid td {
        height: 48px;
        font-size: 17px
    }

    .ticket-page {
        padding: 22px 12px
    }

    .host-latest {
        font-size: 80px
    }
}

@media print {
    .print-toolbar {
        display: none
    }

    .print-grid {
        padding: 0;
        gap: 8px
    }

    .print-ticket {
        page-break-inside: avoid
    }

    .public-header,
    .public-footer {
        display: none
    }
}

.nav-section-label {
    padding: 17px 13px 5px;
    color: #7f89aa;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase
}

.choice-list {
    display: grid;
    gap: 9px;
    max-height: 360px;
    overflow: auto
}

.choice-list.compact {
    max-height: 240px
}

.choice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer
}

.choice-item:hover {
    border-color: #a994eb;
    background: #faf9ff
}

.choice-item input {
    margin-top: 3px
}

.choice-item span,
.choice-item strong,
.choice-item small {
    display: block
}

.choice-item strong {
    font-size: 13px
}

.choice-item small {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
    line-height: 1.4
}

.security-links {
    display: grid;
    gap: 10px
}

.security-links a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px
}

.security-links a:hover {
    border-color: #b6a4ee;
    background: #faf9ff
}

.security-links a>span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eee9ff;
    color: #5230ae;
    font-weight: 900;
    font-size: 11px
}

.security-links strong,
.security-links small {
    display: block
}

.security-links small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px
}

.precedence-list {
    display: grid;
    gap: 11px;
    padding-left: 22px;
    margin: 0
}

.precedence-list li {
    padding-left: 5px
}

.precedence-list strong,
.precedence-list small {
    display: block
}

.precedence-list small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px
}

.permission-matrix {
    display: grid;
    gap: 18px;
    padding: 20px
}

.permission-module {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff
}

.permission-module>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line)
}

.permission-module>header strong,
.permission-module>header small {
    display: block
}

.permission-module>header small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px
}

.matrix-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.matrix-table td:first-child {
    min-width: 320px
}

.matrix-table td:last-child {
    min-width: 190px
}

.permission-decision[data-decision="allow"] {
    border-color: #69d4b0;
    background: #effcf7
}

.permission-decision[data-decision="deny"] {
    border-color: #ff9ea5;
    background: #fff3f4
}

.risk {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em
}

.risk-low {
    background: #edf5ff;
    color: #2763a7
}

.risk-medium {
    background: #fff6df;
    color: #976000
}

.risk-high {
    background: #ffeddd;
    color: #a94e00
}

.risk-critical {
    background: #ffebed;
    color: #b4232b
}

.sticky-actions {
    position: sticky;
    bottom: 15px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin: 18px;
    padding: 13px 15px;
    border: 1px solid #d8d0f5;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 45px rgba(28, 39, 76, .16);
    backdrop-filter: blur(10px)
}

.sticky-actions>span {
    margin-right: auto;
    color: var(--muted);
    font-size: 12px
}

.access-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px
}

.identity-avatar {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 22px;
    font-weight: 900
}

.access-identity h2 {
    margin: 0 0 5px;
    font-size: 20px
}

.access-identity p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.identity-meta {
    margin-left: auto;
    text-align: right
}

.identity-meta small,
.identity-meta strong {
    display: block
}

.identity-meta small {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase
}

.identity-meta strong {
    font-size: 12px;
    margin-top: 4px
}

.inline-editor {
    position: relative
}

.inline-editor summary {
    list-style: none
}

.inline-editor summary::-webkit-details-marker {
    display: none
}

.popover-card {
    position: absolute;
    right: 0;
    top: 42px;
    width: 330px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 30
}

.text-danger {
    color: var(--danger)
}

.text-warning {
    color: #ad6800
}

code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #f1f3f8;
    color: #4d3b89;
    font-size: 11px
}

.user-matrix {
    padding-top: 0
}

@media(max-width:1100px) {
    .permission-module>header {
        align-items: flex-start
    }

    .matrix-actions {
        justify-content: flex-end
    }

    .access-identity {
        flex-wrap: wrap
    }

    .identity-meta {
        width: 100%;
        margin-left: 70px;
        text-align: left
    }
}

@media(max-width:820px) {
    .permission-module>header {
        display: block
    }

    .matrix-actions {
        margin-top: 10px;
        justify-content: flex-start
    }

    .sticky-actions {
        position: static;
        margin: 14px 0;
        display: block
    }

    .sticky-actions>span {
        display: block;
        margin: 0 0 10px
    }

    .sticky-actions .btn {
        width: 100%
    }

    .popover-card {
        position: fixed;
        left: 18px;
        right: 18px;
        top: 80px;
        width: auto;
        max-height: 75vh;
        overflow: auto
    }

    .access-identity {
        display: grid;
        grid-template-columns: auto 1fr
    }

    .identity-meta {
        grid-column: 1/-1;
        margin: 0
    }

    .matrix-table td:first-child {
        min-width: 260px
    }
}

.role-assignment-list {
    max-height: 560px
}

.role-assignment {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: .18s ease
}

.role-assignment.is-selected {
    border-color: #a994eb;
    box-shadow: 0 8px 20px rgba(75, 42, 173, .08)
}

.role-assignment .choice-item {
    border: 0;
    border-radius: 0
}

.role-window {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 11px 11px;
    border-top: 1px dashed var(--line);
    background: #fafbff
}

.role-window .form-group {
    margin-top: 9px
}

.role-window label {
    font-size: 10px
}

.role-window .form-control {
    padding: 8px;
    font-size: 11px
}

@media(max-width:600px) {
    .role-window {
        grid-template-columns: 1fr
    }
}

/* Public checkout v2.1 */
.event-card-top,
.event-card-actions,
.order-status-hero,
.order-private-link,
.checkout-submit,
.payment-method-summary,
.form-section-title,
.bank-account-card,
.review-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.event-card-actions {
    margin-top: 1rem;
    flex-direction: column
}

.stock-pill {
    font-size: .78rem;
    font-weight: 800;
    color: #177245;
    background: #e9fbf1;
    border: 1px solid #c9f1da;
    border-radius: 999px;
    padding: .35rem .65rem;
    white-space: nowrap
}

.btn-disabled {
    background: #e9edf5;
    color: #7b8498;
    border-color: #dce2ed;
    cursor: not-allowed
}

.public-breadcrumb {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 1.25rem
}

.public-breadcrumb a {
    color: var(--brand);
    font-weight: 700
}

.event-detail-grid,
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr);
    gap: 1.5rem
}

.event-detail-main {
    padding: 2rem
}

.event-detail-main h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    margin: .5rem 0
}

.lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted)
}

.event-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem
}

.event-facts div {
    padding: 1rem;
    border-radius: 14px;
    background: #f7f8fc;
    border: 1px solid var(--border)
}

.event-facts span {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .35rem
}

.purchase-flow-card {
    padding: 1.7rem
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
    display: grid;
    gap: 1rem
}

.flow-list li {
    display: flex;
    gap: .8rem;
    align-items: flex-start
}

.flow-list li>span,
.form-section-title>span {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #7652e8);
    color: #fff;
    font-weight: 900
}

.flow-list strong,
.flow-list small,
.form-section-title strong,
.form-section-title small {
    display: block
}

.flow-list small,
.form-section-title small {
    color: var(--muted);
    margin-top: .2rem;
    line-height: 1.35
}

.secure-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #f4f1ff;
    border: 1px solid #e0d7ff;
    color: #51467c;
    font-size: .9rem;
    line-height: 1.5
}

.payment-method-summary {
    justify-content: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border)
}

.payment-method-summary:last-child {
    border-bottom: 0
}

.payment-method-summary>span {
    font-size: 1.6rem
}

.payment-method-summary strong,
.payment-method-summary small {
    display: block
}

.payment-method-summary small {
    color: var(--muted);
    margin-top: .25rem
}

.checkout-form-card .card-header {
    align-items: flex-start
}

.quantity-picker {
    padding: 1.2rem;
    border-radius: 16px;
    background: #f7f5ff;
    border: 1px solid #e7e0ff
}

.quantity-control {
    display: grid;
    grid-template-columns: 48px minmax(80px, 130px) 48px;
    gap: .5rem;
    align-items: center
}

.quantity-control button {
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer
}

.quantity-control input {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800
}

.form-section-title {
    justify-content: flex-start;
    border-top: 1px solid var(--border);
    padding-top: 1.2rem;
    margin-top: .5rem
}

.form-section-title>span {
    font-size: .75rem;
    border-radius: 10px;
    padding: 0 .55rem
}

.payment-method-options {
    display: grid;
    gap: .8rem
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    background: #fff
}

.payment-option:has(input:checked) {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(84, 47, 196, .1);
    background: #faf8ff
}

.payment-option input {
    width: 18px;
    height: 18px
}

.payment-option-icon {
    font-size: 1.5rem
}

.payment-option strong,
.payment-option small {
    display: block
}

.payment-option small {
    color: var(--muted);
    margin-top: .25rem
}

.consent-box {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border)
}

.consent-box label {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    font-size: .9rem;
    line-height: 1.45
}

.consent-box input {
    margin-top: .2rem
}

.checkout-submit {
    padding-top: 1rem;
    border-top: 1px solid var(--border)
}

.checkout-submit small,
.checkout-submit strong {
    display: block
}

.checkout-submit strong {
    font-size: 1.65rem;
    color: var(--brand);
    margin-top: .2rem
}

.order-summary-card {
    padding: 1.5rem;
    align-self: start;
    position: sticky;
    top: 1rem
}

.order-status-hero {
    padding: 1.7rem
}

.order-status-hero h1 {
    margin: .35rem 0
}

.order-status-hero p {
    margin: 0;
    color: var(--muted)
}

.reservation-timer {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #fff7e8;
    border: 1px solid #f7ddb0;
    text-align: center
}

.reservation-timer small,
.reservation-timer span {
    display: block;
    color: #856126
}

.reservation-timer strong {
    display: block;
    font-size: 1.8rem;
    color: #a66300;
    margin: .25rem 0
}

.payment-instructions {
    white-space: pre-wrap;
    font-family: inherit;
    background: #f7f8fc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    line-height: 1.65;
    margin: 0
}

.proof-upload-form {
    display: grid;
    gap: .9rem
}

.order-private-link {
    padding: 1.2rem 1.4rem
}

.order-private-link p {
    margin: .3rem 0 0;
    color: var(--muted)
}

.kpi-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.row-attention {
    background: #fffaf0
}

.empty-cell {
    text-align: center;
    padding: 2rem !important;
    color: var(--muted)
}

.review-actions {
    align-items: flex-end
}

.reject-form {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: .75rem;
    flex: 1
}

.ticket-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff
}

.bank-account-card {
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border)
}

.bank-account-card:last-child {
    border-bottom: 0
}

.bank-account-card p {
    margin: .3rem 0;
    color: var(--muted)
}

.bank-account-card>div:last-child {
    display: grid;
    justify-items: end;
    gap: .5rem
}

.check-card {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fafbfe
}

.check-card input {
    margin-top: .25rem
}

.check-card strong,
.check-card small {
    display: block
}

.check-card small {
    color: var(--muted);
    margin-top: .2rem
}

.full {
    grid-column: 1/-1
}

@media(max-width:980px) {

    .event-detail-grid,
    .checkout-grid {
        grid-template-columns: 1fr
    }

    .order-summary-card {
        position: static
    }

    .kpi-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:640px) {

    .event-facts,
    .kpi-grid-4 {
        grid-template-columns: 1fr
    }

    .checkout-submit,
    .order-status-hero,
    .order-private-link,
    .review-actions {
        align-items: stretch;
        flex-direction: column
    }

    .checkout-submit .btn {
        width: 100%
    }

    .reject-form {
        grid-template-columns: 1fr
    }

    .event-detail-main {
        padding: 1.25rem
    }
}


/* ==========================================================================
   BINGO TICKETS - RESPONSIVE ONLY
   IMPORTANTE: todas las reglas nuevas están dentro de @media.
   El modo escritorio (>1100px) conserva exactamente el CSS original.
   ========================================================================== */

/* Tablet / notebook: solo reorganiza cuando ya no cabe la columna lateral. */
@media (max-width: 1100px) {
    .ticket-page .ticket-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px;
    }

    /* El contenido REAL del aside está dentro de este div. */
    .ticket-page .ticket-side > div {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px !important;
    }

    .ticket-page .ticket-side {
        width: 100%;
        min-width: 0;
    }
}

/* Móvil: cartón compacto y proporcionado sin afectar escritorio. */
@media (max-width: 720px) {
    .ticket-page {
        width: 100%;
        max-width: none;
        padding: 18px 12px 42px;
    }

    .ticket-page .ticket-layout {
        display: block;
    }

    .ticket-page .ticket-card-large {
        min-width: 0;
        padding: 16px;
        overflow: hidden;
    }

    /* Encabezado: badge arriba a la derecha y serial con todo el ancho. */
    .ticket-page .ticket-title {
        position: relative;
        display: block;
        margin-bottom: 14px;
        min-width: 0;
    }

    .ticket-page .ticket-title > div {
        min-width: 0;
        width: 100%;
    }

    .ticket-page .ticket-title > .badge {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
    }

    .ticket-page .ticket-title .eyebrow {
        display: block;
        padding-right: 88px;
        line-height: 1.45;
    }

    .ticket-page .ticket-title h1 {
        width: 100%;
        max-width: 100%;
        margin: 8px 0 0;
        font-size: clamp(18px, 5.4vw, 22px);
        line-height: 1.18;
        letter-spacing: -.025em;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .ticket-page .ticket-title .muted {
        margin-top: 7px;
        font-size: 11px;
        line-height: 1.45;
    }

    /* Tabla: las 9 columnas conservan proporción cuadrada en celular. */
    .ticket-page .bingo-grid {
        display: block;
        width: 100%;
        border-spacing: 0 !important;
        table-layout: auto;
    }

    .ticket-page .bingo-grid tbody {
        display: block;
        width: 100%;
    }

    .ticket-page .bingo-grid tr {
        display: grid;
        grid-template-columns: repeat(9, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        margin-bottom: 4px;
    }

    .ticket-page .bingo-grid tr:last-child {
        margin-bottom: 0;
    }

    .ticket-page .bingo-grid td {
        display: grid;
        place-items: center;
        width: 100%;
        min-width: 0;
        height: auto !important;
        aspect-ratio: 1 / 1;
        padding: 0;
        border-radius: 8px;
        font-size: clamp(11px, 3.7vw, 15px);
        line-height: 1;
    }

    .ticket-page .bingo-grid td.empty::after {
        background-size: 52% !important;
    }

    /* Historial: una sola fila deslizable. */
    .ticket-page .draw-history {
        display: flex;
        flex-wrap: nowrap !important;
        max-width: 100%;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 7px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .ticket-page .draw-history > * {
        flex: 0 0 auto;
    }

    /* Paneles auxiliares uno debajo del otro. */
    .ticket-page .ticket-side {
        margin-top: 14px;
    }

    .ticket-page .ticket-side > div {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .ticket-page .ticket-side .card-header {
        padding: 14px 16px;
    }

    .ticket-page .ticket-side .card-body {
        padding: 15px 16px;
    }

    /* Botón de reclamo/finalizado más compacto en móvil. */
    .ticket-page .claim-container {
        margin-top: 16px !important;
        padding-top: 14px !important;
    }

    .ticket-page .claim-btn {
        min-height: 48px;
        padding: 12px 14px !important;
        font-size: 1rem !important;
    }

    /* En la vista múltiple reduce separación vertical entre cartones. */
    .ticket-page .ticket-card-large.mb-4 {
        margin-bottom: 14px !important;
    }
}

/* Celulares pequeños. */
@media (max-width: 380px) {
    .ticket-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .ticket-page .ticket-card-large {
        padding: 13px;
        border-radius: 14px;
    }

    .ticket-page .ticket-title .eyebrow {
        padding-right: 78px;
        font-size: 8px;
        letter-spacing: .12em;
    }

    .ticket-page .ticket-title > .badge {
        padding: 4px 7px;
        font-size: 8px;
    }

    .ticket-page .ticket-title h1 {
        font-size: 17px;
    }

    .ticket-page .bingo-grid tr {
        gap: 3px;
        margin-bottom: 3px;
    }

    .ticket-page .bingo-grid td {
        border-radius: 7px;
        font-size: 11px;
    }
}

/* Móvil horizontal: gana espacio sin tocar el modo PC. */
@media (max-width: 900px) and (orientation: landscape) {
    .ticket-page .bingo-grid td {
        font-size: clamp(11px, 2vw, 15px);
    }
}



/* ==========================================================================
   TICKETS - HISTORIAL PRIORITARIO SOLO EN RESPONSIVE
   No altera el diseño de escritorio.
   ========================================================================== */
.ticket-mobile-history {
    display: none;
}

@media (max-width: 720px) {
    .ticket-page .ticket-mobile-history {
        display: block;
        width: 100%;
        margin: 0 0 14px;
        overflow: hidden;
    }

    .ticket-page .ticket-mobile-history .card-header {
        padding: 13px 15px;
    }

    .ticket-page .ticket-mobile-history .card-body {
        padding: 12px 14px 10px;
    }

    .ticket-page .ticket-side-history,
    .ticket-page .ticket-inline-history {
        display: none !important;
    }
}