* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #F5F7FA;
    color: #1A2332;
    height: 100%;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; border: none; }
.text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.app-header {
    background: #FFFFFF;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E8ECF0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.app-header .title { font-size: 18px; font-weight: 700; color: #0B1A33; }
.app-header .title .highlight { color: #0088CC; }
.app-header .right { display: flex; align-items: center; gap: 16px; }
.app-header .right .icon-btn { font-size: 20px; background: none; padding: 4px; position: relative; }
.app-header .right .badge { position: absolute; top: -2px; right: -4px; background: #FF4D4F; color: #fff; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.app-tabbar {
    background: #FFFFFF;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 14px 0;
    border-top: 1px solid #E8ECF0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
.app-tabbar .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: #8C94A3;
    background: none;
    padding: 4px 12px;
    transition: color 0.2s;
    position: relative;
}
.app-tabbar .tab-item .icon { font-size: 22px; }
.app-tabbar .tab-item.active { color: #0088CC; }
.app-tabbar .tab-item .tab-badge {
    position: absolute;
    top: 0;
    right: 2px;
    background: #FF4D4F;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card { background: #FFFFFF; border-radius: 16px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 12px; }
.card-title { font-size: 15px; font-weight: 600; color: #1A2332; margin-bottom: 12px; }

.risk-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.risk-tag.high { background: #FFF1F0; color: #FF4D4F; }
.risk-tag.medium { background: #FFFBE6; color: #FAAD14; }
.risk-tag.low { background: #F6FFED; color: #52C41A; }
.risk-tag .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.risk-tag.high .dot { background: #FF4D4F; }
.risk-tag.medium .dot { background: #FAAD14; }
.risk-tag.low .dot { background: #52C41A; }

.status-tag { font-size: 11px; padding: 2px 10px; border-radius: 12px; }
.status-tag.pending { background: #FFF1F0; color: #FF4D4F; }
.status-tag.processing { background: #FFFBE6; color: #FAAD14; }
.status-tag.resolved { background: #F6FFED; color: #52C41A; }

.placeholder-box { background: #F5F7FA; border: 2px dashed #D9DEE5; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; color: #8C94A3; font-size: 14px; }
.placeholder-box .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }

.page-container { padding: 0 16px 80px 16px; max-width: 480px; margin: 0 auto; background: #F5F7FA; min-height: 100vh; }
.page-title { font-size: 20px; font-weight: 700; color: #0B1A33; padding: 16px 0 8px 0; }
.page-subtitle { font-size: 14px; color: #8C94A3; margin-bottom: 16px; }

@media (max-width: 480px) {
    .page-container { padding: 0 12px 80px 12px; }
}