body {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
canvas { 
    display: block; 
    margin-bottom: 20px; 
    max-width: 100%; 
    height: auto; 
    touch-action: none; /* Prevent default touch gestures to enable custom handling */
}
.hidden { display: none; }
.warning {
    display: none;
    background-color: #fff3f3;
    border: 1px solid #f87171;
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}
.pulls-list {
    display: block; /* Default to mobile view */
}
.pull-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}
.pull-item div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}
.pull-item div:last-child {
    margin-bottom: 0;
}
/* Alternating colors for mobile list view */
.pull-item:nth-child(even) {
    background-color: #f5f5f5;
}
.pull-item:nth-child(odd) {
    background-color: #ffffff;
}
.conductor-mobile {
    display: none; /* Hide Conductor Size by default on mobile */
}
.has-rear .conductor-mobile {
    display: flex; /* Show if rear pull exists */
}
#pullsTable {
    display: none; /* Hidden by default, shown on desktop */
}
/* Alternating row colors for table */
#pullsTable tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}
#pullsTable tbody tr:nth-child(odd) {
    background-color: #ffffff;
}
@media (min-width: 768px) {
    .pulls-list {
        display: none; /* Hide mobile list on desktop */
    }
    #pullsTable {
        display: table; /* Show table on desktop */
    }
    .container {
        padding: 1rem; /* Restore padding for desktop */
    }
    .bg-white {
        padding: 1.5rem; /* Restore padding for content boxes */
    }
}