356 lines
5.2 KiB
CSS
356 lines
5.2 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
background: #edf8f1;
|
|
color: #1f3528;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
}
|
|
|
|
.page {
|
|
min-height: 100vh;
|
|
background: #edf8f1;
|
|
}
|
|
|
|
.header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
display: grid;
|
|
grid-template-columns: 44px 1fr 58px;
|
|
align-items: center;
|
|
min-height: calc(48px + env(safe-area-inset-top));
|
|
padding: env(safe-area-inset-top) 10px 0;
|
|
background: #f8fff9;
|
|
border-bottom: 1px solid #cce9d7;
|
|
box-shadow: 0 4px 14px rgba(75, 137, 95, 0.14);
|
|
}
|
|
|
|
.header h1 {
|
|
min-width: 0;
|
|
color: #153d28;
|
|
font-size: 1.28em;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.back,
|
|
.lang {
|
|
min-width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 800;
|
|
color: #1f6f46;
|
|
}
|
|
|
|
.back span {
|
|
font-size: 2em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.lang {
|
|
justify-self: end;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
background: #dff5e7;
|
|
font-size: 0.86em;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid #b7e0c6;
|
|
border-radius: 18px;
|
|
background: #fff;
|
|
box-shadow: 0 8px 20px rgba(69, 129, 89, 0.12);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-pad {
|
|
padding: 14px;
|
|
}
|
|
|
|
.metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.metric {
|
|
padding: 12px;
|
|
border-radius: 14px;
|
|
border: 1px solid #cce9d7;
|
|
background: #fbfffc;
|
|
}
|
|
|
|
.metric:nth-child(2n) {
|
|
background: #f7fbec;
|
|
}
|
|
|
|
.label {
|
|
font-size: 0.84em;
|
|
color: #5f7468;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.value {
|
|
margin-top: 4px;
|
|
color: #153d28;
|
|
font-size: 1.12em;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.section-title {
|
|
color: #1f5134;
|
|
font-size: 1.04em;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.row {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 13px 14px;
|
|
border-bottom: 1px solid #e2f1e7;
|
|
}
|
|
|
|
.row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.avatar {
|
|
width: 46px;
|
|
height: 46px;
|
|
flex-shrink: 0;
|
|
border-radius: 50%;
|
|
background: #dff5e7;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.title {
|
|
color: #173a28;
|
|
font-weight: 900;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.sub {
|
|
margin-top: 4px;
|
|
color: #6d7e72;
|
|
font-size: 0.84em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.side {
|
|
flex-shrink: 0;
|
|
text-align: right;
|
|
font-size: 0.84em;
|
|
font-weight: 800;
|
|
color: #375744;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
background: #fff3c8;
|
|
padding: 5px 9px;
|
|
color: #846216;
|
|
font-size: 0.82em;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.toolbar,
|
|
.tabs,
|
|
.form-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.toolbar input,
|
|
.form-row input,
|
|
.input {
|
|
width: 100%;
|
|
border: 1px solid #cce9d7;
|
|
border-radius: 12px;
|
|
background: #f8fff9;
|
|
padding: 10px 12px;
|
|
outline: none;
|
|
color: #1f3528;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.button,
|
|
.primary,
|
|
.ghost {
|
|
min-height: 38px;
|
|
border-radius: 12px;
|
|
padding: 8px 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.primary {
|
|
background: #dff5e7;
|
|
border: 1px solid #b7e0c6;
|
|
color: #1f6f46;
|
|
}
|
|
|
|
.ghost {
|
|
border: 1px solid #cce9d7;
|
|
color: #375744;
|
|
background: #fff;
|
|
}
|
|
|
|
.tabs button {
|
|
flex: 1;
|
|
border: 1px solid #cce9d7;
|
|
background: #fff;
|
|
color: #375744;
|
|
border-radius: 999px;
|
|
padding: 9px 8px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.tabs button.active {
|
|
background: #dff5e7;
|
|
color: #1f6f46;
|
|
border-color: #94d9ae;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.grid.three {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.tile {
|
|
min-height: 96px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
border: 1px solid #cce9d7;
|
|
border-radius: 14px;
|
|
background: #fbfffc;
|
|
color: #173a28;
|
|
font-weight: 900;
|
|
text-align: center;
|
|
}
|
|
|
|
.tile.selected {
|
|
background: #dff5e7;
|
|
border-color: #74c993;
|
|
}
|
|
|
|
.tile img {
|
|
width: 54%;
|
|
max-height: 64px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.empty,
|
|
.loading {
|
|
padding: 28px 16px;
|
|
text-align: center;
|
|
color: #6d7e72;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.modal-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 50;
|
|
display: none;
|
|
align-items: flex-end;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.modal-mask.show {
|
|
display: flex;
|
|
}
|
|
|
|
.modal {
|
|
width: 100%;
|
|
max-height: 82vh;
|
|
overflow: auto;
|
|
border-radius: 18px 18px 0 0;
|
|
background: #fff;
|
|
padding: 16px;
|
|
}
|
|
|
|
.modal.center {
|
|
width: calc(100% - 32px);
|
|
margin: auto;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.modal-title {
|
|
margin-bottom: 12px;
|
|
color: #153d28;
|
|
font-weight: 900;
|
|
text-align: center;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: calc(22px + env(safe-area-inset-bottom));
|
|
z-index: 80;
|
|
max-width: calc(100% - 40px);
|
|
transform: translateX(-50%);
|
|
padding: 9px 13px;
|
|
border-radius: 999px;
|
|
background: rgba(22, 56, 36, 0.92);
|
|
color: #fff;
|
|
font-size: 0.9em;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|