/* 页面背景 */
body {
    background-color: #F8F8F8;
}
.detail-container {
    padding-bottom: 6.25rem;
}
/* 顶部动态状态区 */
.detail-header {
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    padding: 1.25rem 1.25rem 1.5625rem 1.25rem;
    color: #fff;
    border-radius: 0.625rem;
    margin: 0.9375rem 0.9375rem 0.78125rem 0.9375rem;
    box-shadow: 0 0.15625rem 0.46875rem rgba(255, 87, 34, 0.2);
}
.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.status-title {
    font-size: 0.875rem;
    font-weight: bold;
}
.status-price {
    font-size: 1.25rem;
    font-weight: bold;
}
/* 进度条 */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0.3125rem;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    opacity: 0.6;
}
.step-item.active {
    opacity: 1;
}
.step-circle-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.3125rem;
}
.step-circle {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}
.step-item.active .step-circle {
    background-color: #fff;
    color: #FF5722;
    font-weight: bold;
}
.step-line {
    position: absolute;
    top: 50%;
    right: calc(50% + 0.625rem);
    width: calc(100% - 1.25rem);
    height: 0.0625rem;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1;
    transform: translateY(-50%);
}
.step-line.active-line {
    background-color: #fff;
}
.step-text {
    font-size: 0.75rem;
}
/* 内容区通用卡片 */
.detail-content {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.9375rem;
    position: relative;
    z-index: 10;
}
.white-card {
    background-color: #fff;
    border-radius: 0.625rem;
    padding: 0.9375rem;
    margin-bottom: 0.78125rem;
    box-shadow: 0 0.15625rem 0.625rem rgba(0, 0, 0, 0.03);
}
/* 宠物信息条 */
.pet-bar {
    display: flex;
    align-items: center;
}
.pb-avatar {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    margin-right: 0.625rem;
}
.pb-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pb-name-row {
    margin-bottom: 0.3125rem;
}
.pb-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-right: 0.46875rem;
}
.pb-breed {
    font-size: 0.8125rem;
    color: #999;
}
.pb-tags {
    display: flex;
}
.pb-tag {
    background-color: #FFF3E0;
    color: #FF9800;
    font-size: 0.6875rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}
.pb-actions {
    display: flex;
    align-items: center;
}
.pb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-btn {
    border: 0.0625rem solid #FF9800;
    color: #FF9800;
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.9375rem;
    margin-right: 0.625rem;
}
.phone-btn {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background-color: #FFF3E0;
}
.phone-icon {
    width: 1rem;
    height: 1rem;
}
/* 服务及路线信息 */
.si-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.9375rem;
}
.si-row:last-child {
    margin-bottom: 0;
}
.si-icon {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.625rem;
    margin-top: 0.125rem;
}
.si-icon-uni {
    margin-right: 0.625rem;
    margin-top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.si-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.si-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.1875rem;
}
.icon-bg {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.625rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}
.icon-bg.grey-bg {
    background-color: #F8F8F8;
}
.custom-icon {
    width: 0.875rem;
    height: 0.875rem;
}
.custom-icon-file {
    width: 1.125rem;
    height: 1.125rem;
}
.si-val {
    font-size: 0.875rem;
    color: #333;
}
.record-btn {
    font-size: 0.75rem;
    color: #FF5722;
    display: flex;
    align-items: center;
}
.record-arrow {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 0.1875rem;
}
/* 地址展现复用图标逻辑 */
.addr-row {
    position: relative;
    align-items: stretch;
}
.icon-circle {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    color: #fff;
    font-size: 0.6875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.625rem;
    flex-shrink: 0;
    font-weight: bold;
    margin-top: 0.1875rem;
    position: relative;
    z-index: 1;
}
.icon-circle.start {
    background-color: #FFB74D;
}
.icon-circle.end {
    background-color: #81C784;
}
.icon-circle.service {
    background-color: #81C784;
}
.route-line-vertical {
    position: absolute;
    left: 0.59375rem;
    top: 1.4375rem;
    bottom: -0.1875rem;
    border-left: 0.0625rem dashed #E0E0E0;
    width: 0;
    z-index: 0;
}
.si-addr-title {
    font-size: 0.9375rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.1875rem;
}
.si-addr-desc {
    font-size: 0.75rem;
    color: #999;
}
.nav-btn-circle {
    width: 1.5625rem;
    height: 1.5625rem;
    background-color: #FFF3E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1875rem;
}
.nav-arrow {
    width: 0.875rem;
    height: 0.875rem;
}
/* 打卡任务区 */
.task-card {
    display: flex;
    flex-direction: column;
}
.tc-title {
    font-size: 0.9375rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.46875rem;
}
.tc-desc {
    font-size: 0.6875rem;
    color: #666;
    margin-bottom: 0.375rem;
}
.media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}
.media-item {
    width: 5rem;
    height: 5rem;
    position: relative;
    border-radius: 0.375rem;
}
.media-preview {
    width: 100%;
    height: 100%;
    border-radius: 0.375rem;
}
.media-del {
    position: absolute;
    top: -0.3125rem;
    right: -0.3125rem;
    width: 1.125rem;
    height: 1.125rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 2;
}
.media-add {
    width: 5rem;
    height: 5rem;
    border: 0.0625rem dashed #ccc;
    border-radius: 0.375rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FAFAFA;
    box-sizing: border-box;
}
.upload-icon-small {
    width: 1.25rem;
    height: 1.25rem;
    margin-bottom: 0.3125rem;
}
.upload-text-small {
    font-size: 0.6875rem;
    color: #999;
}
.full-media-add {
    width: 100%;
    height: 4.375rem;
    background-color: #FAFAFA;
    border: 0.0625rem dashed #E0E0E0;
    border-radius: 0.375rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0.3125rem;
}
.upload-icon-large {
    width: 1.5625rem;
    height: 1.5625rem;
    margin-bottom: 0.3125rem;
    opacity: 0.5;
}
.upload-text-large {
    font-size: 0.75rem;
    color: #999;
}
/* 基础信息区 */
.bi-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.78125rem;
}
.bi-row:last-child {
    margin-bottom: 0;
}
.bi-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.625rem;
    margin-top: 0.125rem;
}
.bi-icon-uni {
    margin-right: 0.625rem;
    margin-top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bi-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bi-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.1875rem;
}
.bi-val-row {
    display: flex;
    align-items: center;
}
.bi-val {
    font-size: 0.875rem;
    color: #333;
}
.bi-copy {
    background-color: #F0F0F0;
    color: #666;
    font-size: 0.625rem;
    padding: 0.0625rem 0.3125rem;
    border-radius: 0.1875rem;
    margin-left: 0.46875rem;
}
/* 订单进度 */
.tl-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.9375rem;
}
.orange-bar {
    width: 0.25rem;
    height: 1rem;
    background-color: #FF9800;
    margin-right: 0.5rem;
    border-radius: 0.125rem;
}
.tl-title {
    font-size: 0.9375rem;
    font-weight: bold;
    color: #333;
}
.tl-list {
    display: flex;
    flex-direction: column;
    padding-left: 0.3125rem;
}
.tl-item {
    display: flex;
    position: relative;
    padding-bottom: 1.25rem;
}
.tl-item:last-child {
    padding-bottom: 0;
}
.tl-marker {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #E0E0E0;
    position: absolute;
    left: 0;
    top: 0.1875rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tl-marker.active {
    background-color: #fff;
    border: 0.09375rem solid #FF9800;
    width: 0.5625rem;
    height: 0.5625rem;
    left: -0.03125rem;
    /* offset for border width */
}
.tl-dot-inner {
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    background-color: #FF9800;
}
.tl-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0.21875rem;
    top: 0.75rem;
    bottom: -0.1875rem;
    width: 0.0625rem;
    background-color: #FFE0B2;
    z-index: 1;
}
.tl-content-row {
    margin-left: 1.25rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.tl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0.3125rem;
}
.tl-status {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
}
.tl-time {
    font-size: 0.75rem;
    color: #999;
}
.tl-medias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.46875rem;
    margin-bottom: 0.46875rem;
}
.tl-img {
    width: 4.375rem;
    height: 4.375rem;
    border-radius: 0.25rem;
}
.tl-remark {
    font-size: 0.75rem;
    color: #666;
    background-color: #F9F9F9;
    padding: 0.46875rem;
    border-radius: 0.25rem;
    line-height: 1.5;
}
/* 底部操作栏 */
.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.75rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.9375rem;
    box-shadow: 0 -0.15625rem 0.625rem rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100;
}
.action-left,
.action-right {
    display: flex;
    align-items: center;
}
.action-btn {
    height: 2rem;
    line-height: 2rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    padding: 0 1.09375rem;
    margin: 0;
}
.action-left .action-btn:first-child {
    margin-right: 0.625rem;
}
.action-btn.grey-outline {
    background-color: #fff;
    color: #666;
    border: 1px solid #E0E0E0;
}
.action-btn.orange-outline {
    background-color: #FFF8F0;
    color: #FF9800;
    border: 1px solid #FF9800;
}
.action-btn.primary {
    background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
    color: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(255, 87, 34, 0.2);
    border: none;
}
.action-btn.grey-bg {
    background: #E0E0E0;
    color: #999;
    box-shadow: none;
    border: none;
}
.action-btn::after {
    border: none;
}
/* 上传图片视频弹窗 */
.upload-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.upload-modal-content {
    width: 18.75rem;
    background-color: #ffffff;
    border-radius: 0.625rem;
    padding: 1.25rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.um-header {
    text-align: center;
    margin-bottom: 1.25rem;
}
.um-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.um-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.9375rem;
}
.um-item {
    width: 4.0625rem;
    height: 4.0625rem;
    border-radius: 0.25rem;
    margin-right: 0.625rem;
    margin-bottom: 0.625rem;
    position: relative;
    background-color: #f5f5f5;
    overflow: hidden;
}
.um-item:nth-child(4n) {
    margin-right: 0;
}
.um-preview {
    width: 100%;
    height: 100%;
}
.um-del {
    position: absolute;
    top: 0.125rem;
    right: 0.125rem;
    width: 1.125rem;
    height: 1.125rem;
    line-height: 1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    font-size: 0.875rem;
}
.um-add {
    width: 4.0625rem;
    height: 4.0625rem;
    border-radius: 0.25rem;
    border: 1px dashed #e5e5e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 0.625rem;
}
.um-add-icon {
    width: 1.375rem;
    height: 1.375rem;
    margin-bottom: 0.3125rem;
    opacity: 0.4;
}
.um-add-text {
    font-size: 0.75rem;
    color: #ccc;
}
.um-textarea {
    width: 100%;
    height: 5rem;
    background-color: #ffffff;
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #333;
    box-sizing: border-box;
    border: 1px solid #f0f0f0;
}
.um-footer {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}
.um-submit-btn {
    width: 100%;
    height: 2.75rem;
    line-height: 2.75rem;
    border-radius: 1.375rem;
    font-size: 1rem;
    background-color: #E0E0E0;
    color: #fff;
    border: none;
}
.um-submit-btn.active {
    background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
    color: #fff;
    box-shadow: 0 0.125rem 0.3125rem rgba(255, 87, 34, 0.3);
}
.um-submit-btn::after {
    border: none;
}
/* 宠物档案弹窗 */
.pet-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pet-modal-content {
    width: 21.25rem;
    max-height: 85vh;
    background-color: #fff;
    border-radius: 0.625rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}
.pet-modal-header {
    display: flex;
    align-items: center;
    padding: 0.875rem 0.9375rem 0.625rem;
    border-bottom: 1px solid #f5f5f5;
    flex-shrink: 0;
}
.pet-modal-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.close-icon-btn {
    width: 1.625rem;
    height: 1.625rem;
    line-height: 1.625rem;
    text-align: center;
    font-size: 1.125rem;
    color: #999;
    border-radius: 50%;
    background-color: #f5f5f5;
    flex-shrink: 0;
}
.pm-remark-btn {
    height: 1.625rem;
    line-height: 1.625rem;
    padding: 0 0.75rem;
    background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
    color: #fff;
    font-size: 0.8125rem;
    border-radius: 0.8125rem;
    margin-right: 0.5rem;
    font-weight: bold;
    flex-shrink: 0;
}
.pet-modal-scroll {
    flex: 1;
    height: 65vh;
    overflow: auto;
}
.pet-base-info {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.9375rem;
    border-bottom: 1px solid #f9f9f9;
}
.pm-avatar {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    margin-right: 0.625rem;
    flex-shrink: 0;
}
.pm-info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pm-name-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}
.pm-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-right: 0.375rem;
}
.pm-gender {
    display: flex;
    align-items: center;
    background-color: #E3F2FD;
    color: #1976D2;
    font-size: 0.6875rem;
    padding: 0.0625rem 0.3125rem;
    border-radius: 0.3125rem;
}
.pm-gender.female {
    background-color: #FCE4EC;
    color: #C2185B;
}
.gender-icon {
    font-size: 0.6875rem;
    margin-right: 0.125rem;
}
.pm-breed {
    font-size: 0.8125rem;
    color: #999;
}
.pm-detail-grid {
    padding: 0.625rem 0.9375rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid #f9f9f9;
}
.pm-grid-item {
    background-color: #FAFAFA;
    border-radius: 0.375rem;
    padding: 0.5rem 0.625rem;
    display: flex;
    flex-direction: column;
}
.pm-grid-item.half {
    width: calc(50% - 0.25rem);
}
.pm-grid-item.full {
    width: 100%;
}
.pm-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.25rem;
}
.pm-val {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
}
.pm-tags-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0.5rem 0.9375rem;
    gap: 0.5rem;
    border-bottom: 1px solid #f9f9f9;
}
.pm-tag-chip {
    background-color: #FFF3E0;
    border: 1px solid #FFB74D;
    border-radius: 0.625rem;
    padding: 0.1875rem 0.625rem;
}
.pm-tag-chip-text {
    font-size: 0.75rem;
    color: #FF9800;
}
.pm-log-section {
    padding: 0.625rem 0.9375rem;
}
.pm-log-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.625rem;
}
.pm-log-section-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: #333;
}
.pm-log-item {
    padding: 0.5625rem 0;
    border-bottom: 0.03125rem solid #f5f5f5;
    display: flex;
    flex-direction: column;
}
.pm-log-date {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.25rem;
}
.pm-log-text {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.1875rem;
}
.pm-log-recorder {
    font-size: 0.6875rem;
    color: #FF9800;
    text-align: right;
}
.pm-log-recorder.system {
    color: #999;
}
.pm-bottom-close {
    margin: 0.5rem 0.9375rem;
    height: 2.25rem;
    line-height: 2.25rem;
    border-radius: 1.125rem;
    font-size: 0.875rem;
    background-color: #f5f5f5;
    color: #666;
    border: none;
}
.pm-bottom-close::after {
    border: none;
}
/* 宠护小结底部弹窗 */
.sum-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.50);
    z-index: 999;
    display: flex;
    align-items: flex-end;
}
.sum-modal-sheet {
    width: 100%;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 0.75rem 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sum-modal-scroll {
    flex: 1;
    overflow: hidden;
}
.sum-modal-inner {
    padding: 1rem 1.125rem 0;
}
.sum-modal-title {
    display: block;
    font-size: 1.0625rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 0.9375rem;
}
.sum-meta-row {
    display: flex;
    margin-bottom: 0.5rem;
    align-items: flex-start;
}
.sum-meta-label {
    font-size: 0.8125rem;
    color: #999;
    flex-shrink: 0;
    width: 4.375rem;
}
.sum-meta-val {
    font-size: 0.75rem;
    color: #333;
    flex: 1;
}
.sum-section-title {
    font-size: 0.8125rem;
    font-weight: bold;
    color: #333;
    padding-left: 0.375rem;
    border-left: 0.1875rem solid #FF9800;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}
.sum-pet-card {
    background-color: #FAFAFA;
    border-radius: 0.375rem;
    padding: 0.625rem;
    display: flex;
    align-items: center;
}
.sum-pet-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-right: 0.625rem;
    flex-shrink: 0;
}
.sum-pet-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sum-pet-name-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}
.sum-pet-name {
    font-size: 0.8125rem;
    font-weight: bold;
    color: #333;
    margin-right: 0.375rem;
}
.sum-pet-breed {
    font-size: 0.75rem;
    color: #999;
}
.sum-pet-remark {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.5;
}
.sum-textarea {
    width: 100%;
    min-height: 6.875rem;
    background-color: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0.375rem;
    padding: 0.5625rem;
    font-size: 0.8125rem;
    color: #333;
    box-sizing: border-box;
    line-height: 1.8;
}
.sum-sign-row {
    display: flex;
    align-items: center;
    margin-top: 0.9375rem;
    padding: 0.5rem 0;
    border-top: 1px solid #f5f5f5;
}
.sum-sign-label {
    font-size: 0.8125rem;
    color: #999;
    margin-right: 0.3125rem;
}
.sum-sign-val {
    font-size: 0.8125rem;
    color: #333;
}
.sum-footer {
    padding: 0.625rem 1.125rem 1.125rem;
    padding-bottom: max(1.125rem, constant(safe-area-inset-bottom));
    padding-bottom: max(1.125rem, env(safe-area-inset-bottom));
    background-color: #fff;
}
.sum-submit-btn {
    width: 100%;
    height: 2.625rem;
    line-height: 2.625rem;
    border-radius: 1.3125rem;
    font-size: 0.9375rem;
    background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
    color: #fff;
    border: none;
    box-shadow: 0 0.125rem 0.5rem rgba(255, 87, 34, 0.25);
}
.sum-submit-btn::after {
    border: none;
}
/* 宠护小结 - 居中白卡样式 */
.sum-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sum-modal-card {
    width: 20.625rem;
    max-height: 80vh;
    background-color: #fff;
    border-radius: 0.625rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}
.sum-modal-scroll {
    flex: 1;
    overflow: hidden;
}
/* 宠物档案 - 备注按钮 */
.pet-modal-header {
    display: flex;
    align-items: center;
    padding: 0.9375rem 0.9375rem 0.625rem;
    border-bottom: 1px solid #f5f5f5;
}
.pm-remark-btn {
    height: 1.625rem;
    line-height: 1.625rem;
    padding: 0 0.75rem;
    background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
    color: #fff;
    font-size: 0.8125rem;
    border-radius: 0.8125rem;
    margin-right: 0.5rem;
    font-weight: bold;
}
/* 标签芯片 */
.pm-tags-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0.75rem 0.625rem;
    gap: 0.5rem;
}
.pm-tag-chip {
    background-color: #FFF3E0;
    border: 1px solid #FFB74D;
    border-radius: 0.625rem;
    padding: 0.1875rem 0.625rem;
}
.pm-tag-chip-text {
    font-size: 0.75rem;
    color: #FF9800;
}
/* 备注日志 */
.pm-log-section {
    padding: 0.625rem 0.75rem;
    border-top: 1px solid #f5f5f5;
    margin-top: 0.3125rem;
}
.pm-log-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.625rem;
}
.pm-log-section-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: #333;
}
.pm-log-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f9f9f9;
    display: flex;
    flex-direction: column;
}
.pm-log-date {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.25rem;
}
.pm-log-text {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.1875rem;
}
.pm-log-recorder {
    font-size: 0.6875rem;
    color: #FF9800;
    text-align: right;
}
.pm-log-recorder.system {
    color: #999;
}
