Files
Evergreen-Health-Mobile/src/styles.css
T
2026-09-22 16:55:21 +08:00

1025 lines
26 KiB
CSS

:root {
font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
color: #173a34;
background: #f2f0e9;
font-synthesis: none;
--green: #0c5045;
--deep: #123f37;
--cream: #f8f4e8;
--gold: #d6a657;
--line: rgba(18, 63, 55, 0.12);
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
min-width: 320px;
min-height: 100vh;
background: #e8e6df;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
}
#app {
max-width: 480px;
margin: 0 auto;
min-height: 100vh;
position: relative;
background: #f2f0e9;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
overflow-x: hidden;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.eyebrow {
margin: 0 0 8px;
color: #b68b48;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.16em;
}
.auth-page { min-height: 100vh; background: var(--cream); }
.brand-panel {
padding: 46px 24px 46px;
color: #fff;
background:
radial-gradient(circle at 82% 12%, rgba(236, 202, 137, .28), transparent 28%),
linear-gradient(145deg, #0b5548, #123d37 74%);
border-radius: 0 0 36px 36px;
}
.brand-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 5px 14px 5px 6px;
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 24px;
font-size: 12px;
margin-bottom: 20px;
backdrop-filter: blur(8px);
}
.brand-badge-icon {
width: 24px;
height: 24px;
background: var(--gold);
color: #fff;
border-radius: 50%;
display: grid;
place-items: center;
font-family: serif;
font-weight: 700;
font-size: 13px;
}
.brand-mark {
display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px;
border: 1px solid rgba(255,255,255,.42); border-radius: 50%; font-family: serif; font-size: 24px;
}
.brand-panel h1 { max-width: 560px; margin: 0; font-family: "Songti SC", serif; font-size: clamp(32px, 8vw, 54px); line-height: 1.2; font-weight: 500; }
.brand-copy { max-width: 480px; margin: 14px 0 16px; color: rgba(255,255,255,.78); line-height: 1.6; }
.feature-row, .feature-pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.feature-row span, .feature-pill-row span { padding: 6px 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; font-size: 12px; }
.auth-card { position: relative; width: calc(100% - 32px); max-width: 440px; margin: -16px auto 32px; padding: 24px 20px; background: #fff; border-radius: 24px; box-shadow: 0 14px 40px rgba(24,59,52,.12); }
.auth-tab-switch {
display: flex;
background: #f1efea;
border-radius: 12px;
padding: 3px;
margin-bottom: 20px;
}
.auth-tab-switch button {
flex: 1;
padding: 9px 0;
border: 0;
font-size: 14px;
font-weight: 600;
border-radius: 9px;
color: #72847d;
background: transparent;
cursor: pointer;
transition: all 0.2s ease;
}
.auth-tab-switch button.active {
background: #ffffff;
color: var(--green);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.auth-heading h2 { margin: 0; font-family: "Songti SC", serif; font-size: 24px; }
.auth-heading > p:last-child { margin: 8px 0 20px; color: #70817d; font-size: 13px; }
.auth-card .van-field { margin-bottom: 12px; padding: 14px 12px; background: #f7f7f3; border-radius: 12px; }
.auth-card .van-button { margin-top: 18px; height: 48px; font-size: 15px; font-weight: 600; }
.text-button { display: block; margin: 18px auto 0; border: 0; background: transparent; color: var(--green); font-size: 14px; }
.privacy-note { margin: 18px 0 0; color: #9a9f9c; font-size: 11px; line-height: 1.6; text-align: center; }
.page-shell { min-height: 100vh; padding: 28px 16px 110px; background: #f3f1ea; }
.page-header, .dashboard-header { max-width: 760px; margin: 0 auto 24px; padding: 12px 4px; }
.page-header h1, .dashboard-header h1 { margin: 0; font-family: "Songti SC", serif; font-size: 30px; font-weight: 600; }
.page-header > p:last-child, .dashboard-header > div > p:last-child { color: #73817d; line-height: 1.6; }
.section-card, .hero-card, .metric-strip { max-width: 760px; margin: 0 auto 16px; padding: 20px; background: #fff; border: 1px solid rgba(18,63,55,.06); border-radius: 20px; box-shadow: 0 8px 24px rgba(31,66,58,.05); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title > span { font-size: 18px; font-weight: 700; }
.section-title small { color: #82908c; }
.section-title button {
border: 0;
background: rgba(12, 80, 69, 0.08);
color: var(--green);
padding: 4px 10px;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
}
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.module-card {
min-height: 164px;
padding: 14px 6px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
border: 1px solid var(--line);
border-radius: 16px;
background: #f8f8f4;
color: var(--deep);
transition: .2s;
}
.module-card.selected { color: #fff; background: var(--green); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(12,80,69,.18); }
.module-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border: 1px solid currentColor; border-radius: 50%; font-size: 20px; flex-shrink: 0; }
.module-card strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.module-card small { display: flex; align-items: center; justify-content: center; min-height: 28px; margin-top: 2px; opacity: .7; line-height: 1.35; font-size: 11px; }
.module-card i {
display: inline-flex;
align-items: center;
justify-content: center;
margin-top: auto;
padding: 4px 12px;
border-radius: 12px;
font-size: 11px;
font-style: normal;
font-weight: 600;
white-space: nowrap;
background: rgba(18, 63, 55, 0.08);
color: var(--deep);
}
.module-card.selected i {
background: rgba(255, 255, 255, 0.22);
color: #fff;
}
.form-card .van-field { padding: 12px 0; border-bottom: 1px solid #eee; }
.form-card .van-field:last-of-type { border-bottom: 0; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sticky-action { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); background: rgba(248,246,240,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.sticky-action .van-button { max-width: 720px; height: 50px; margin: 0 auto; font-size: 15px; font-weight: 600; box-shadow: 0 6px 18px rgba(12,80,69,.2); }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; }
.avatar-button { width: 46px; height: 46px; color: #fff; border: 0; border-radius: 50%; background: var(--green); }
.hero-card { padding: 26px; color: #fff; background: linear-gradient(140deg, #0c5549, #163f38); }
.hero-card h2 { margin: 6px 0 12px; font-family: "Songti SC", serif; font-size: 28px; }
.hero-card > p:not(.eyebrow) { color: rgba(255,255,255,.72); line-height: 1.7; }
.tag-row { display: flex; gap: 8px; margin: 18px 0; }
.tag-row span { padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,.12); font-size: 12px; }
.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 8px; }
.metric-strip div { padding: 4px 14px; border-right: 1px solid var(--line); }
.metric-strip div:last-child { border-right: 0; }
.metric-strip small, .metric-strip strong { display: block; }
.metric-strip small { color: #80908b; font-size: 11px; }
.metric-strip strong { margin-top: 7px; font-size: 21px; }
.metric-strip em { margin-left: 3px; font-size: 11px; font-style: normal; font-weight: 500; }
.plan-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #edf0ec; }
.plan-item:first-of-type { border-top: 0; }
.plan-index { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--green); background: #e9f1ed; }
.plan-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.plan-heading span { color: #b1813f; font-size: 12px; text-align: right; }
.plan-item p, .scene-row p { margin: 7px 0 0; color: #75847f; font-size: 13px; line-height: 1.6; }
.status-dot { color: #a27639 !important; text-align: right; }
.status-dot.online { color: #1c806a !important; }
.device-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
/* Health Space Enhancement */
.ha-summary-bar {
display: flex;
align-items: center;
justify-content: space-around;
background: #fbfbf9;
border-radius: 12px;
padding: 10px 12px;
margin-bottom: 14px;
border: 1px solid rgba(18, 63, 55, 0.06);
}
.summary-item {
text-align: center;
flex: 1;
position: relative;
}
.summary-item:not(:last-child)::after {
content: "";
position: absolute;
right: 0;
top: 20%;
height: 60%;
width: 1px;
background: rgba(18, 63, 55, 0.08);
}
.summary-item span { display: block; font-size: 11px; color: #82908c; }
.summary-item strong { display: block; font-size: 16px; color: var(--green); margin-top: 2px; }
.summary-item em { font-size: 12px; font-style: normal; color: #82908c; font-weight: normal; }
.smart-subcard {
background: #fafaf8;
border: 1px solid rgba(18, 63, 55, 0.06);
border-radius: 14px;
padding: 13px;
margin-bottom: 12px;
}
.smart-subcard:last-child { margin-bottom: 0; }
.subcard-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 10px;
min-width: 0;
}
.subcard-title {
display: flex;
align-items: baseline;
gap: 6px;
min-width: 0;
flex: 1;
}
.subcard-icon { font-size: 15px; flex-shrink: 0; }
.subcard-title strong { font-size: 14px; font-weight: 600; color: var(--deep); flex-shrink: 0; }
.subcard-model {
font-size: 11px;
color: #82908c;
font-weight: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
.preset-toggle-btn {
font-size: 11px;
font-weight: 500;
color: var(--green);
background: #edf7f3;
padding: 3px 9px;
border-radius: 12px;
border: 1px solid rgba(12, 80, 69, 0.15);
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
flex-shrink: 0;
}
.preset-toggle-btn:active {
background: var(--green);
color: #fff;
}
.scene-status-badge {
font-size: 11px;
font-weight: 500;
color: var(--green);
background: #edf7f3;
padding: 2px 8px;
border-radius: 10px;
white-space: nowrap;
flex-shrink: 0;
}
.device-mini-status {
font-size: 11px;
font-weight: 500;
padding: 2px 8px;
border-radius: 10px;
white-space: nowrap;
flex-shrink: 0;
}
.device-mini-status.green { background: #edf7f3; color: var(--green); }
.device-mini-status.yellow { background: #fef7ec; color: #b8860b; }
.device-mini-status.gray { background: #f1f3f2; color: #82908c; }
.sensor-mini-sync-btn {
font-size: 11px;
font-weight: 500;
padding: 3px 9px;
border-radius: 10px;
border: 1px solid rgba(18, 63, 55, 0.15);
background: #fff;
color: var(--green);
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
transition: all 0.2s;
}
.sensor-mini-sync-btn:active {
background: #edf7f3;
}
.sensor-mini-sync-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.scene-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 14px;
border-radius: 12px;
background: #fff;
border: 1px solid rgba(18, 63, 55, 0.06);
box-shadow: 0 1px 2px rgba(18, 63, 55, 0.02);
}
.scene-info {
flex: 1;
min-width: 0;
}
.scene-info strong {
font-size: 14px;
color: var(--deep);
}
.scene-info p {
margin: 3px 0 0;
color: #75847f;
font-size: 12px;
line-height: 1.5;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.scene-actions {
display: flex;
gap: 8px;
flex-shrink: 0;
}
.scene-row button {
white-space: nowrap;
flex-shrink: 0;
padding: 7px 15px;
border: 1px solid rgba(12, 80, 69, 0.2);
border-radius: 16px;
color: var(--green);
background: #edf7f3;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: .2s;
}
.scene-row button:active { background: var(--green); color: #fff; }
.scene-row button.secondary { color: #6e604f; border-color: rgba(110,96,79,.2); background: #f6f3ee; }
.scene-row button:disabled { cursor: not-allowed; opacity: .45; }
.scene-device-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin-top: 10px;
}
.scene-device-chip {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 9px;
background: #fff;
border: 1px solid rgba(18, 63, 55, 0.06);
border-radius: 10px;
min-width: 0;
box-sizing: border-box;
box-shadow: 0 1px 2px rgba(18, 63, 55, 0.02);
}
.scene-device-chip .dot {
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.scene-device-chip.green .dot { background: #10b981; }
.scene-device-chip.yellow .dot { background: #f59e0b; }
.scene-device-chip.gray .dot { background: #9ca3af; }
.scene-device-chip .name {
flex: 1;
min-width: 0;
font-size: 12px;
font-weight: 500;
color: var(--deep);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.chip-toggle-btn {
font-size: 10px;
font-weight: 600;
padding: 2px 7px;
border-radius: 6px;
border: 1px solid rgba(12, 80, 69, 0.2);
background: #f1f3f2;
color: #73817d;
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
transition: all 0.2s;
}
.chip-toggle-btn.on {
background: #0c5045;
color: #ffffff;
border-color: #0c5045;
}
.chip-toggle-btn.disabled {
opacity: 0.45;
cursor: not-allowed;
background: #f1f3f2;
color: #9aa4a1;
border-color: #e2e5e3;
}
/* 场景联动执行参数详情面板 */
.scene-presets-panel {
margin-top: 12px;
padding-top: 10px;
border-top: 1px dashed rgba(18, 63, 55, 0.12);
}
.preset-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
.preset-panel-header span {
font-size: 12px;
font-weight: 600;
color: var(--deep);
}
.preset-panel-header small {
font-size: 10px;
color: #82908c;
}
.preset-items-grid {
display: flex;
flex-direction: column;
gap: 6px;
}
.preset-card-item {
background: #ffffff;
border: 1px solid rgba(18, 63, 55, 0.06);
border-radius: 10px;
padding: 8px 10px;
box-shadow: 0 1px 2px rgba(18, 63, 55, 0.02);
}
.preset-card-item.unavailable {
background: #f7f8f7;
opacity: 0.72;
}
.preset-card-top {
display: flex;
align-items: center;
gap: 6px;
}
.preset-icon {
font-size: 13px;
flex-shrink: 0;
}
.preset-name {
font-size: 12px;
font-weight: 600;
color: var(--deep);
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.preset-action {
font-size: 10px;
font-weight: 500;
padding: 1px 6px;
border-radius: 6px;
background: #edf7f3;
color: var(--green);
white-space: nowrap;
flex-shrink: 0;
}
.preset-detail {
margin: 3px 0 0 20px;
font-size: 11px;
color: #657470;
line-height: 1.4;
}
.preset-availability {
margin: 4px 0 0 20px;
font-size: 10px;
color: var(--green);
}
.preset-availability.unavailable {
color: #9a6a38;
}
/* Environment Health */
.env-container {
display: flex;
flex-direction: column;
gap: 7px;
}
.env-primary-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.env-hero-card {
background: #fff;
border: 1px solid rgba(18, 63, 55, 0.06);
border-radius: 12px;
padding: 9px 12px;
box-shadow: 0 1px 2px rgba(18, 63, 55, 0.02);
min-width: 0;
}
.env-hero-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.env-label {
font-size: 11px;
color: #82908c;
font-weight: 500;
}
.env-tag {
font-size: 10px;
padding: 1px 6px;
border-radius: 6px;
background: rgba(12, 80, 69, 0.06);
color: var(--green);
font-weight: 500;
}
.env-hero-value {
margin-top: 3px;
display: flex;
align-items: baseline;
gap: 3px;
}
.env-hero-value strong {
font-size: 22px;
font-weight: 700;
color: var(--deep);
line-height: 1.1;
font-variant-numeric: tabular-nums;
}
.env-hero-value em {
font-size: 12px;
font-style: normal;
color: #82908c;
}
.env-secondary-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 5px;
}
.env-metric-item {
padding: 7px 3px;
background: #fff;
border: 1px solid rgba(18, 63, 55, 0.06);
border-radius: 10px;
text-align: center;
min-width: 0;
box-shadow: 0 1px 2px rgba(18, 63, 55, 0.02);
}
.env-metric-item small {
display: block;
font-size: 10px;
color: #82908c;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.env-metric-item strong {
display: block;
margin-top: 2px;
font-size: 13px;
font-weight: 600;
color: var(--deep);
font-variant-numeric: tabular-nums;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.env-metric-item em {
display: block;
font-size: 9px;
font-style: normal;
color: #9aa4a1;
margin-top: 1px;
transform: scale(0.88);
transform-origin: center top;
white-space: nowrap;
}
.device-feature-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.feature-item {
padding: 9px 12px;
background: #fff;
border: 1px solid rgba(18, 63, 55, 0.06);
border-radius: 12px;
min-width: 0;
box-shadow: 0 1px 2px rgba(18, 63, 55, 0.02);
}
.feature-item small { display: block; font-size: 11px; color: #82908c; }
.feature-item strong {
display: block;
margin-top: 3px;
font-size: 13px;
font-weight: 600;
color: var(--deep);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.feature-item em { font-size: 11px; font-style: normal; color: #82908c; margin-left: 2px; }
.all-device-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.device-card-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 9px 12px;
background: #fff;
border: 1px solid rgba(18, 63, 55, 0.06);
border-radius: 12px;
transition: all 0.2s;
box-shadow: 0 1px 2px rgba(18, 63, 55, 0.02);
}
.device-card-main {
display: flex;
align-items: center;
gap: 10px;
flex: 1;
min-width: 0;
}
.device-status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.device-status-dot.green { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
.device-status-dot.yellow { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }
.device-status-dot.gray { background: #9ca3af; }
.device-card-info { flex: 1; min-width: 0; }
.device-card-top { display: flex; align-items: center; gap: 6px; }
.device-card-top strong {
font-size: 13px;
font-weight: 600;
color: var(--deep);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.category-tag {
font-size: 10px;
padding: 1px 6px;
border-radius: 6px;
background: rgba(12, 80, 69, 0.08);
color: var(--green);
white-space: nowrap;
flex-shrink: 0;
}
.device-card-meta {
margin: 2px 0 0;
font-size: 11px;
color: #82908c;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.device-card-extra {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 3px;
flex-shrink: 0;
margin-left: 10px;
}
.device-switch-pill {
display: flex;
align-items: center;
gap: 4px;
padding: 2px 8px 2px 5px;
border-radius: 12px;
border: 1px solid rgba(18, 63, 55, 0.15);
background: #f1f3f2;
color: #6b7774;
cursor: pointer;
transition: all 0.2s;
font-size: 11px;
font-weight: 600;
white-space: nowrap;
}
.device-switch-pill .switch-knob {
width: 9px;
height: 9px;
border-radius: 50%;
background: #9aa4a1;
transition: all 0.2s;
}
.device-switch-pill.on {
background: #edf7f3;
border-color: rgba(16, 185, 129, 0.4);
color: var(--green);
}
.device-switch-pill.on .switch-knob {
background: #10b981;
box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.device-switch-pill.disabled {
opacity: 0.45;
cursor: not-allowed;
}
.sensor-sync-pill {
font-size: 11px;
font-weight: 500;
padding: 2px 8px;
border-radius: 10px;
border: 1px solid rgba(18, 63, 55, 0.15);
background: #fff;
color: var(--green);
cursor: pointer;
white-space: nowrap;
transition: all 0.2s;
}
.sensor-sync-pill:active {
background: #edf7f3;
}
.sensor-sync-pill:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.status-pill {
font-size: 11px;
font-weight: 500;
padding: 2px 8px;
border-radius: 10px;
white-space: nowrap;
}
.status-pill.green { background: #edf7f3; color: var(--green); }
.status-pill.yellow { background: #fef7ec; color: #b8860b; }
.status-pill.gray { background: #f1f3f2; color: #82908c; }
.entity-count { font-size: 10px; color: #9aa4a1; }
.medical-note { max-width: 760px; margin: 24px auto; color: #969e9b; font-size: 11px; text-align: center; }
.loading-card { color: #73817d; text-align: center; }
@media (max-width: 520px) {
.brand-panel { padding: 42px 20px 42px; }
.auth-card { margin-top: -16px; }
.plan-heading { display: block; }
.plan-heading span { display: block; margin-top: 5px; text-align: left; }
.device-grid { grid-template-columns: 1fr; }
.scene-row { align-items: flex-start; flex-direction: column; }
.scene-actions { width: 100%; margin-top: 6px; }
.scene-actions button { flex: 1; }
}
.dashboard-page {
padding: 16px 14px 84px !important;
}
.dashboard-header {
margin: 0 auto 12px !important;
padding: 4px 4px 0 !important;
}
.dashboard-header h1 {
margin: 2px 0 3px !important;
font-size: 26px !important;
}
.dashboard-header > div > p:last-child {
margin: 0 !important;
font-size: 13px !important;
line-height: 1.4 !important;
}
/* 评估未填提醒卡片 */
.assessment-guide-banner {
background: linear-gradient(135deg, #b37318, #92580c);
color: #fff;
border-radius: 18px;
padding: 16px;
margin-bottom: 14px;
box-shadow: 0 6px 18px rgba(179, 115, 24, 0.22);
cursor: pointer;
position: relative;
overflow: hidden;
}
.assessment-guide-banner::after {
content: "";
position: absolute;
right: -20px;
bottom: -20px;
width: 100px;
height: 100px;
background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
border-radius: 50%;
}
.guide-badge {
display: inline-block;
background: rgba(255, 255, 255, 0.22);
color: #fff;
font-size: 10px;
font-weight: 700;
padding: 2px 8px;
border-radius: 10px;
margin-bottom: 8px;
}
.guide-body {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.guide-text h3 {
margin: 0 0 4px;
font-size: 15px;
font-weight: 700;
}
.guide-text p {
margin: 0;
font-size: 12px;
color: rgba(255, 255, 255, 0.88);
line-height: 1.4;
}
.guide-btn {
white-space: nowrap;
padding: 8px 14px;
border-radius: 16px;
border: 0;
background: #ffffff;
color: #92580c;
font-size: 12px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
/* 个性化舒睡启动参数卡片 */
.personalized-startup-card {
background: #ffffff;
border: 1px solid rgba(12, 80, 69, 0.1);
border-radius: 20px;
padding: 18px 16px;
margin-bottom: 14px;
box-shadow: 0 4px 16px rgba(18, 63, 55, 0.04);
}
.personalized-startup-card .section-title {
display: flex;
align-items: center;
margin-bottom: 4px;
}
.personalized-startup-card .section-title > span {
font-size: 17px;
font-weight: 700;
color: #143d36;
letter-spacing: 0.01em;
}
.startup-card-desc {
margin: 0 0 14px;
font-size: 12px;
color: #72847e;
line-height: 1.55;
}
.startup-params-tags {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 14px;
}
.startup-param-badge {
background: #f7f6f2;
border: 1px solid rgba(18, 63, 55, 0.08);
border-radius: 10px;
padding: 8px 10px;
}
.startup-param-badge .lbl {
display: block;
font-size: 10px;
color: #849690;
margin-bottom: 2px;
}
.startup-param-badge strong {
font-size: 12px;
color: #173d36;
}
.startup-scene-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin: 4px 0 12px;
}
.startup-scene-actions button {
min-height: 42px;
border-radius: 12px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
}
.startup-scene-actions button:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.startup-action-primary {
border: 1px solid #0c5045;
background: #0c5045;
color: #ffffff;
}
.startup-action-secondary {
border: 1px solid rgba(12, 80, 69, 0.2);
background: #f7f6f2;
color: #335b53;
}
.detail-entry-bar {
display: flex;
align-items: center;
justify-content: space-between;
background: #f8f7f2;
border: 1px solid rgba(18, 63, 55, 0.08);
border-radius: 12px;
padding: 10px 12px;
margin-top: 12px;
cursor: pointer;
transition: all 0.2s;
}
.detail-entry-bar:active {
background: #f0eee7;
}
.entry-left {
display: flex;
align-items: center;
gap: 10px;
}
.entry-left .icon {
font-size: 18px;
}
.entry-left strong {
display: block;
font-size: 12px;
color: #173d36;
}
.entry-left small {
display: block;
font-size: 11px;
color: #82928c;
}
.detail-entry-bar .arrow {
color: #a0ada7;
font-size: 14px;
}
/* 7 台设备入口条 */
.all-control-banner {
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(135deg, #edf6f3, #e5f0ec);
border: 1px solid rgba(12, 80, 69, 0.16);
border-radius: 14px;
padding: 12px 14px;
margin-top: 14px;
cursor: pointer;
transition: all 0.2s;
}
.all-control-banner:active {
background: #dbeef7;
}
.ac-text {
display: flex;
align-items: center;
gap: 10px;
}
.ac-icon {
font-size: 20px;
}
.ac-text strong {
display: block;
font-size: 13px;
color: #0c5045;
font-weight: 700;
}
.ac-text small {
display: block;
font-size: 11px;
color: #55756d;
margin-top: 2px;
}
.ac-arrow {
font-size: 16px;
color: #0c5045;
font-weight: 700;
}