body {
    margin: 0;
    background: #fff;
    color: #212529;
    font-family: "Segoe UI", system-ui, sans-serif;
}

#mounter_monitor_content h1 {
    margin: 0 0 8px;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

#mounter_monitor_content .card-header,
#mounter_monitor_content .card-body {
    padding: 0.5rem;
}

#mounter_monitor_content .list-group-item {
    padding: 0 1.25rem;
}

#mounter_monitor_content .btn-group {
    display: inline-flex;
    flex-wrap: nowrap;
}

#mounter_monitor_content .btn {
    padding: 0 8px;
    font-size: 1rem;
    line-height: 1.5;
    white-space: nowrap;
}

#mounter_monitor_content .mounter_btn {
    width: 40px;
}

#mounter_monitor_content .mounter_btn_wide {
    width: 110px;
    font-size: 14px;
}

#mounter_monitor_content .mounter_head_btn {
    width: 60px;
}

#mounter_monitor_content .btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

#mounter_monitor_content .btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

#mounter_monitor_content .btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

#mounter_monitor_content .btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

#mounter_monitor_content .btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

#mounter_monitor_content .btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

#mounter_monitor_content .btn.cycletime-max {
    color: #1a1a1a;
    font-weight: 700;
    background-color: #ffc107;
    border-color: #d39e00;
    animation: cycletime-max-blink 1.2s ease-in-out infinite;
}

@keyframes cycletime-max-blink {
    0%, 100% { background-color: #ffc107; color: #1a1a1a; }
    50% { background-color: #fff3bf; color: #1a1a1a; }
}

.mm-tip {
    position: fixed;
    z-index: 20;
    display: none;
    max-width: 280px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #212529;
    color: #fff;
    font: 12px/1.35 "Segoe UI", system-ui, sans-serif;
    pointer-events: none;
}

.mm-tip.is-on {
    display: block;
}
