.ph-home { display: flex; flex-direction: column; gap: 24px; }

.ph-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1280px) { .ph-stats { grid-template-columns: repeat(4, 1fr); } }

.ph-stat-tile {
    background: rgba(39,39,42,0.60);
    border: 1px solid rgba(63,63,70,0.50);
    border-radius: 6px;
    padding: 20px 16px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}
.ph-stat-tile:hover {
    border-color: rgba(63,63,70,0.80);
    background: rgba(39,39,42,0.90);
    text-decoration: none;
}
.ph-stat-icon { font-size: 1.25rem; margin-bottom: 2px; }
.ph-stat-icon.blue { color: #2996ff; }
.ph-stat-icon.green { color: #4ade80; }
.ph-stat-icon.red { color: #f87171; }
.ph-stat-icon.gold { color: #facc15; }
.ph-stat-value { color: #ffffff; font-size: 1.75rem; font-weight: 700; line-height: 1; }
.ph-stat-label { color: #a1a1aa; font-size: 0.75rem; font-weight: 500; }

.ph-section-label {
    font-size: 0.75rem; font-weight: 600; color: #a1a1aa;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.ph-card {
    background: rgba(39,39,42,0.60);
    border: 1px solid rgba(63,63,70,0.50);
    border-radius: 6px;
    overflow: hidden;
}
.ph-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(63,63,70,0.40);
}
.ph-card-header-title {
    display: flex; align-items: center; gap: 8px;
    color: #ffffff; font-weight: 600; font-size: 0.875rem;
}
.ph-card-header-title i { color: #a1a1aa; font-size: 0.875rem; }
.ph-card-body { padding: 16px; color: #f4f4f5; font-size: 0.875rem; }
.ph-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: rgba(39,39,42,0.30);
    color: #a1a1aa; font-size: 0.8125rem;
}
.ph-card-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(63,63,70,0.40);
}
.ph-card-row:last-child { border-bottom: none; }

.ph-list-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(63,63,70,0.30);
    color: #f4f4f5; font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}
.ph-list-item:last-child { border-bottom: none; }
.ph-list-item:hover { background: rgba(39,39,42,0.40); color: #ffffff; text-decoration: none; }
.ph-list-item.active {
    border-left: 2px solid #2996ff;
    background: rgba(0,130,255,0.08);
    color: #ffffff;
}
.ph-list-item-left { display: flex; align-items: center; gap: 8px; }
.ph-list-item-left i { color: #71717a; font-size: 0.8125rem; }

.ph-badge {
    background: rgba(0,130,255,0.15);
    color: #52aaff;
    font-size: 0.6875rem; font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
}

.ph-btn-sm {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(to right, #0082ff, #0065c7);
    color: #ffffff; font-size: 0.75rem; font-weight: 600;
    border: none; border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}
.ph-btn-sm:hover { background: linear-gradient(to right, #2996ff, #0082ff); color: #ffffff; text-decoration: none; }

.ph-alert-danger {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 12px; border-radius: 6px;
    background: rgba(239,68,68,0.10);
    border: 1px solid rgba(239,68,68,0.20);
    color: #fca5a5; font-size: 0.8125rem;
}

.ph-panels-full { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.ph-panels-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1280px) { .ph-panels-grid { grid-template-columns: repeat(2, 1fr); } }

.ph-services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
}
@media (min-width: 768px) { .ph-services-grid { grid-template-columns: repeat(2, 1fr); } }

.ph-service-card {
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    min-height: 200px;
    background-color: #18181b;
}
.ph-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,82,180,0.0);
    transition: background 0.3s;
    z-index: 1;
    pointer-events: none;
}
.ph-service-card:hover::before {
    background: rgba(0,82,180,0.15);
}
.ph-service-card:hover {
    text-decoration: none;
}
.ph-service-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 200px;
    padding: 14px;
}
.ph-service-card-top {
    display: flex;
    justify-content: flex-end;
}
.ph-service-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ph-service-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ph-service-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.ph-service-group {
    color: #a1a1aa;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.ph-service-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
}
.ph-service-meta-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.ph-service-meta-label {
    color: #71717a;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ph-service-meta-value {
    color: #d4d4d8;
    font-size: 0.75rem;
    font-weight: 500;
}

.ph-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: #d4d4d8;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    width: fit-content;
}
.ph-service-card:hover .ph-service-btn {
    background: rgba(0,130,255,0.20);
    border-color: rgba(0,130,255,0.40);
    color: #52aaff;
}

.ph-accent-blue { border-left: 3px solid #2996ff; }
.ph-accent-green { border-left: 3px solid #4ade80; }
.ph-accent-red { border-left: 3px solid #f87171; }
.ph-accent-gold { border-left: 3px solid #facc15; }
