/* CSP style-src 'unsafe-inline' 제거를 위해 이전에 inline 으로 흩어져 있던
   공통 유틸리티 스타일을 클래스로 통합한다. */

.admin-h1 {
    display: inline-flex;
    align-items: center;
}

.admin-h1-icon {
    height: 1.2em;
    margin-right: 8px;
    cursor: pointer;
}

.admin-h1-icon-static {
    height: 1.2em;
    margin-right: 8px;
}

.admin-link-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-link-icon {
    height: 40px;
}

.admin-link-icon-rounded {
    height: 40px;
    border-radius: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.py-8 {
    padding: 8px 0;
}

.mt-20 {
    margin-top: 20px;
}

.summary-line {
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.h2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h2-suffix {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

.btn-bonus {
    padding: 6px 16px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.link-blue {
    color: #1a73e8;
    text-decoration: none;
}

.link-blue-pointer {
    cursor: pointer;
    color: #1a73e8;
}

.link-naver-pointer {
    cursor: pointer;
    color: #03c75a;
}

.row-clickable {
    cursor: pointer;
}

.badge-ad {
    background: #fff3e0;
    color: #e65100;
}

/* stats.js platform/funnel 테이블 */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.stats-th {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 2px solid #e0e0e0;
    background: #fafafa;
}

.stats-th-num {
    text-align: right;
    padding: 8px 12px;
    border-bottom: 2px solid #e0e0e0;
    background: #fafafa;
}

.stats-td {
    padding: 6px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.stats-td-num {
    text-align: right;
    padding: 6px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.stats-tr-total {
    font-weight: 600;
    background: #fafafa;
}

.stats-td-total {
    padding: 6px 12px;
    border-top: 2px solid #e0e0e0;
}

.stats-td-total-num {
    text-align: right;
    padding: 6px 12px;
    border-top: 2px solid #e0e0e0;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: middle;
}

.cell-product {
    white-space: normal;
    max-width: 240px;
}

.cell-product-narrow {
    white-space: normal;
    max-width: 200px;
}
