2026-06-04 22:56:11 +08:00

303 lines
5.4 KiB
CSS

.profile-badge {
display: inline-flex;
align-items: center;
gap: 6px;
max-width: 100%;
margin-top: 8px;
padding: 5px 9px;
border-radius: 999px;
background: var(--hy-theme-primary-soft, #f4ebff);
color: var(--primary-deep);
font-size: 13px;
font-weight: 750;
line-height: 1.2;
}
.agency-badge-avatar {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
flex: 0 0 22px;
overflow: hidden;
border-radius: 50%;
background: #dbc8ff;
color: var(--primary-deep);
font-size: 12px;
font-weight: 950;
line-height: 1;
}
.agency-badge-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.agency-badge-id {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.income-card,
.task-card {
padding: 16px;
}
.section-head,
.income-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.section-head h2,
.income-head h2 {
min-width: 0;
margin: 0;
overflow: hidden;
color: var(--text);
font-size: 18px;
font-weight: 950;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.income-value {
display: flex;
align-items: center;
gap: 10px;
margin-top: 18px;
color: #23272d;
font-size: 34px;
font-weight: 950;
line-height: 1;
}
.coin-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
flex: 0 0 28px;
border-radius: 50%;
background: linear-gradient(145deg, #ffe179 0%, #ffb62d 52%, #f49b20 100%);
color: #fff;
font-size: 19px;
font-weight: 950;
box-shadow:
inset 0 1px 2px rgba(255, 255, 255, 0.7),
0 1px 2px rgba(195, 117, 12, 0.24);
}
.income-foot {
margin-top: 12px;
color: var(--muted);
font-size: 13px;
font-weight: 800;
line-height: 1.35;
}
.task-pill {
display: inline-flex;
align-items: center;
justify-content: center;
max-width: 52%;
min-height: 28px;
padding: 0 10px;
border-radius: 999px;
background: var(--hy-theme-primary-soft, #f4ebff);
color: var(--primary-deep);
font-size: 12px;
font-weight: 900;
overflow: hidden;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.task-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-top: 16px;
}
.task-item {
min-width: 0;
}
.task-item > span {
display: block;
overflow-wrap: anywhere;
color: var(--muted);
font-size: 12px;
font-weight: 800;
line-height: 1.2;
}
.task-item strong {
display: block;
margin-top: 6px;
overflow-wrap: anywhere;
color: #292d33;
font-size: 17px;
font-weight: 950;
line-height: 1.2;
}
.progress-track {
height: 9px;
margin-top: 16px;
overflow: hidden;
border-radius: 999px;
background: var(--hy-theme-primary-soft, #f4ebff);
}
.progress-fill {
width: 0;
height: 100%;
border-radius: inherit;
background: var(--button);
transition: width 0.2s ease;
}
.policy-sheet-body {
min-height: 180px;
overflow-y: auto;
padding: 16px;
}
.policy-summary {
display: flex;
flex-direction: column;
gap: 6px;
padding: 14px;
border-radius: 8px;
background: var(--hy-theme-primary-soft, #f4ebff);
}
.policy-summary strong {
overflow-wrap: anywhere;
color: var(--text);
font-size: 17px;
font-weight: 950;
line-height: 1.25;
}
.policy-summary span {
color: var(--muted);
font-size: 12px;
font-weight: 800;
line-height: 1.45;
}
.policy-empty {
padding: 22px 10px;
color: var(--muted);
text-align: center;
font-size: 14px;
font-weight: 850;
line-height: 1.45;
}
.policy-level-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 12px;
}
.policy-level-row {
padding: 14px;
border: 1px solid var(--line);
border-radius: 8px;
background: #fff;
scroll-margin: 24px;
}
.policy-level-row.is-current-level {
border-color: var(--button, #7d57c7);
background: linear-gradient(180deg, #fbf8ff 0%, #fff 100%);
box-shadow:
0 0 0 1px var(--button, #7d57c7),
0 10px 22px rgba(125, 87, 199, 0.14);
}
.policy-row-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.policy-level {
color: var(--text);
font-size: 16px;
font-weight: 950;
line-height: 1.25;
}
.policy-effective {
color: var(--muted);
text-align: right;
font-size: 12px;
font-weight: 800;
line-height: 1.25;
}
.policy-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-top: 12px;
}
.policy-cell {
min-width: 0;
}
.policy-cell-label {
display: block;
color: var(--muted);
font-size: 11px;
font-weight: 800;
line-height: 1.2;
}
.policy-cell-value {
display: block;
margin-top: 4px;
overflow-wrap: anywhere;
color: #292d33;
font-size: 14px;
font-weight: 950;
line-height: 1.25;
}
@media (max-width: 360px) {
.income-card,
.task-card {
padding-right: 18px;
padding-left: 18px;
}
.income-value {
font-size: 29px;
}
.task-grid {
grid-template-columns: 1fr;
}
.policy-grid {
grid-template-columns: 1fr;
}
}