/* 服务中心：与 index 同背景、同卡片与表单体系，补充业务区样式 */

.svc-hero {
    padding-top: 8px;
    padding-bottom: 20px;
}

.svc-hero__ticker {
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.92;
}

.svc-card {
    padding-top: 18px;
}

/* 在线客服主入口（与首页悬浮入口一致，由页面内突出承接） */
.svc-help-strip {
    margin: -4px 0 18px;
    padding: 0;
}

.svc-help-chat--solo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 14px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.svc-help-chat--solo:active {
    opacity: 0.9;
}

.svc-help-chat__title {
    font-size: 17px;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: 0.04em;
}

.svc-help-chat__sub {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

/* 三分类：语意对齐首页 hf-tier 的卡片式切换 */
.svc-cat-row {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.svc-cat {
    flex: 1;
    min-width: 0;
    position: relative;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 6px 10px;
    background: #f9fafb;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.svc-cat:active {
    transform: scale(0.98);
}

.svc-cat__k {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #4b5563;
    line-height: 1.3;
    margin-bottom: 2px;
}

.svc-cat__d {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1.25;
}

.svc-cat.is-active {
    border-color: #22c55e;
    border-width: 2px;
    background: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.svc-cat.is-active .svc-cat__k {
    color: #fff;
}

.svc-cat.is-active .svc-cat__d {
    color: #fef08a;
    font-weight: 600;
}

.svc-panel[hidden] {
    display: none !important;
}

.svc-notice {
    font-size: 13px;
    line-height: 1.55;
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.svc-notice--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a5f;
}

.svc-notice--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
}

.svc-notice--warn em {
    font-style: normal;
    font-weight: 800;
    color: #b45309;
}

.svc-notice strong {
    color: #111827;
}

.svc-steps {
    margin: 0 0 16px;
    padding-left: 1.2em;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}

.svc-steps li {
    margin-bottom: 6px;
}

.svc-panel__h {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: 0.04em;
}

.svc-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 6px 2px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.svc-field-label__count {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
}

.svc-textarea {
    width: 100%;
    margin-top: 0;
    margin-bottom: 12px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.45;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-family: inherit;
    box-sizing: border-box;
    resize: vertical;
    min-height: 104px;
    background: #fafafa;
}

.svc-textarea:focus {
    outline: none;
    border-color: #22c55e;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.svc-file-wrap {
    margin-bottom: 4px;
}

.svc-file {
    position: relative;
    display: block;
    margin: 0 0 6px;
    cursor: pointer;
    min-height: 44px;
}

.svc-file input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
}

.svc-file__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #22c55e;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
    pointer-events: none;
}

.svc-file__meta {
    margin: 0 0 14px 4px;
    font-size: 12px;
    color: #6b7280;
}

.svc-home-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.svc-home-link:active {
    opacity: 0.88;
}

@media (max-width: 360px) {
    .svc-cat__d {
        font-size: 10px;
    }
}
