.vp-sleep-page{--sleep:#6e5aa7;--sleep2:#9e7fd2}.hbq-sleep-actions{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:14px 16px;border:1px solid #4a435e;border-radius:14px;background:linear-gradient(135deg,#201d2b,#18191f);color:#d8d2e6}.hbq-sleep-actions button{flex:0 0 auto}.hbq-sleep-actions span{line-height:1.45}
.hbq-sleep-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.hbq-sleep-stats article{padding:16px;border:1px solid #3f424b;border-top:3px solid var(--sleep);border-radius:14px;background:#18191f;color:#fff}.hbq-sleep-stats span,.hbq-sleep-stats small{display:block;color:#bfc3cd}.hbq-sleep-stats span{font-size:.74rem;text-transform:uppercase;letter-spacing:.06em}.hbq-sleep-stats strong{display:block;margin:6px 0 4px;font-size:1.6rem;color:#fff}
.hbq-sleep-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:16px}.hbq-sleep-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.hbq-sleep-head h3{margin:4px 0}.hbq-sleep-head label{display:flex;align-items:center;gap:7px;color:var(--muted);white-space:nowrap}.hbq-sleep-head input{width:74px}
.hbq-sleep-chart{display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:8px;height:230px;margin-top:18px}.hbq-sleep-chart>div{display:grid;grid-template-rows:auto 1fr auto;gap:6px;height:100%;text-align:center}.hbq-sleep-chart span,.hbq-sleep-chart strong{font-size:.72rem;color:var(--muted)}.hbq-sleep-chart i{position:relative;display:flex;align-items:end;justify-content:center;border-radius:9px;background:#eeeaf4;overflow:hidden}.hbq-sleep-chart b{display:block;width:100%;min-height:3px;border-radius:8px 8px 0 0;background:linear-gradient(180deg,var(--sleep2),var(--sleep))}.hbq-sleep-disclaimer{margin:15px 0 0;font-size:.78rem;line-height:1.45}
.hbq-sleep-history{display:grid;gap:9px;max-height:540px;overflow:auto}.hbq-sleep-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:12px}.hbq-sleep-row.active{border-color:#806fc2;background:#f6f3ff}.hbq-sleep-moon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ece7f7}.hbq-sleep-row strong,.hbq-sleep-row span,.hbq-sleep-row small{display:block}.hbq-sleep-row span,.hbq-sleep-row small{margin-top:2px;color:var(--muted);font-size:.76rem}.hbq-sleep-row-actions{display:flex;gap:5px}.hbq-sleep-empty{display:grid;place-items:center;min-height:150px;padding:20px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);text-align:center}
.hbq-sleep-modal{max-width:680px}.hbq-sleep-check>span:last-child{display:flex;align-items:center;gap:8px;min-height:44px}.hbq-sleep-check input{width:22px;height:22px}.hbq-sleep-form-summary{padding:10px 12px;border-radius:10px;background:#eff8f3;color:#24593d}.hbq-sleep-form-summary.invalid{background:#fff0f0;color:#8b3030}
@media(max-width:900px){.hbq-sleep-stats{grid-template-columns:1fr 1fr}.hbq-sleep-grid{grid-template-columns:1fr}}
@media(max-width:600px){.hbq-sleep-actions{display:grid}.hbq-sleep-actions button{width:100%}.hbq-sleep-stats{grid-template-columns:1fr 1fr}.hbq-sleep-head{display:grid}.hbq-sleep-head label{white-space:normal}.hbq-sleep-row{grid-template-columns:40px minmax(0,1fr)}.hbq-sleep-row-actions{grid-column:2;display:grid;grid-template-columns:1fr 1fr}.hbq-sleep-row-actions button{width:100%}.hbq-sleep-chart{gap:4px;height:190px}.hbq-sleep-chart span,.hbq-sleep-chart strong{font-size:.65rem}}
