/* public.css */
body {
    font-family: sans-serif;
    background: #fafafa;
    margin: 0;
    padding: 20px;
}

.pub-container {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    margin-top: 0;
    font-size: 26px;
    margin-bottom: 20px;
}

.pub-table {
    width: 100%;
    border-collapse: collapse;
}

.pub-table th,
.pub-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.pub-table th {
    background: #f3f3f3;
    text-align: left;
}

.pub-btn {
    padding: 6px 12px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.pub-btn:hover {
    background: #0d47a1;
}

table.proto,
table.proto-table,
table.result-table {
    width: auto !important;
    margin: 20px auto;
    border-collapse: collapse;
    white-space: nowrap;
    font-size: 15px;
}

/* Хедеры */
table.proto th,
table.proto-table th,
table.result-table th {
    background: #004070;
    color: #fff;
    padding: 8px 10px;
    border: 1px solid #ccc;
    text-align: center;
}

/* Ячейки */
table.proto td,
table.proto-table td,
table.result-table td {
    padding: 8px 10px;
    border: 1px solid #ccc;
    text-align: center;
    white-space: nowrap;
}

/* Зебра */
table.proto tr:nth-child(even),
table.proto-table tr:nth-child(even),
table.result-table tr:nth-child(even) {
    background: #f7f7f7;
}

/* Призовые места */
tr.place-1 { background:#e9ffe3 !important; }
tr.place-2 { background:#e3f2ff !important; }
tr.place-3 { background:#fff4c2 !important; }

.zone-col {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
	font-size: 18px;
	font-weight: bold;
}@media print {
    .no-print { display: none !important; }
}