/* Shared styles for coverage-style layouts (coverage, company, category pages) */

/* Split bar (granted/filed) */
.cov-split-bar-wrap { margin-top: 40px; }
.cov-split-bar {
    display: flex;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    background: #f0f0f0;
}
.cov-split-bar-filed { background: #000; }
.cov-split-bar-granted { background: #d4d4d4; }
.cov-split-bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}
.cov-split-bar-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}
.cov-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cov-dot-filed { background: #000; }
.cov-dot-granted { background: #d4d4d4; border: 1px solid #ccc; }
.cov-split-bar-label strong { color: #000; font-weight: 600; }

/* Monthly grid */
.cov-monthly-grid {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}
.cov-monthly-grid th,
.cov-monthly-grid td {
    text-align: right;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.cov-monthly-grid th {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    border-bottom: 1px solid #e0e0e0;
}
.cov-monthly-grid td:first-child,
.cov-monthly-grid th:first-child {
    text-align: left;
    padding-left: 0;
    color: #666;
    font-weight: 500;
    width: 80px;
}
.cov-monthly-grid tr:last-child td { border-bottom: none; }
.cov-row-total td { font-weight: 700; color: #000; }

/* Category list with bars */
.cov-category-list {
    display: flex;
    flex-direction: column;
}
.cov-category-row {
    display: grid;
    grid-template-columns: 220px 1fr 140px;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cov-category-row:last-child { border-bottom: none; }
.cov-category-name {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}
.cov-category-name:hover { color: #666; }
.cov-category-bar-track {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}
.cov-category-bar-fill {
    height: 100%;
    background: #000;
    border-radius: 3px;
}
.cov-split-counts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.cov-split-count-total {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    font-variant-numeric: tabular-nums;
}
.cov-split-count-sub {
    font-size: 11px;
    color: #999;
    font-variant-numeric: tabular-nums;
}

/* Responsive */
@media (max-width: 1024px) {
    .cov-category-row { grid-template-columns: 160px 1fr 120px; gap: 16px; }
}
@media (max-width: 640px) {
    .cov-category-row { grid-template-columns: 1fr 80px; gap: 12px; }
    .cov-category-bar-track { display: none; }
    .cov-monthly-grid th, .cov-monthly-grid td { padding: 8px 10px; font-size: 12px; }
}
