/* Den · 自主活动面板样式 */
.den-activity-entry { }

.den-activity {
  position: absolute; inset: 0;
  background: #fff; color: #222;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.den-activity .den-head {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1rem; border-bottom: 1px solid rgba(0,0,0,.08);
}
.den-activity .den-head div { flex: 1; }
.den-activity .den-head p { margin: 0; font-size: .7rem; opacity: .5; text-transform: uppercase; letter-spacing: .05em; }
.den-activity .den-head h1 { margin: 0; font-size: 1.1rem; font-weight: 600; }

#daBody { padding: 1rem; }

.da-loading, .da-err { opacity: .5; text-align: center; padding: 2rem 0; }
.da-err { color: #f66; }

.da-status { margin-bottom: 1rem; }
.da-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .4rem 0; border-bottom: 1px solid rgba(0,0,0,.05);
}
.da-label { font-size: .85rem; opacity: .6; }
.da-val { font-size: .85rem; font-weight: 500; }
.da-on { color: #2a8a5a; }
.da-off { color: #d44; }

.da-meter { margin: 1rem 0; }
.da-meter .da-label { font-size: .75rem; opacity: .5; margin-bottom: .3rem; }
.da-bar {
  height: 6px; border-radius: 3px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
}
.da-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #4a9, #6cf);
  transition: width .3s;
}
.da-pct { font-size: .7rem; opacity: .5; margin-top: .2rem; }

.da-state {
  display: flex; gap: .5rem; margin: 1rem 0;
}
.da-chip {
  font-size: .75rem; padding: .25rem .5rem;
  border-radius: 4px; background: rgba(0,0,0,.05);
  font-family: monospace;
}

.da-actions {
  display: flex; gap: .6rem; margin-top: 1.2rem;
}
.da-btn {
  flex: 1; padding: .6rem; border: none; border-radius: 6px;
  font-size: .85rem; font-weight: 500; cursor: pointer;
  background: rgba(40,160,100,.12); color: #2a7a5a;
  transition: background .2s;
}
.da-btn:active { background: rgba(40,160,100,.2); }
.da-sec { background: rgba(0,0,0,.05); color: #666; }
.da-sec:active { background: rgba(0,0,0,.1); }

/* 预约时间输入 */
.da-sched-row { display: flex; align-items: center; gap: .4rem; }
.da-time-input {
  width: 5rem; padding: .3rem .4rem; border: 1px solid rgba(0,0,0,.15);
  border-radius: 4px; font-size: .85rem; background: #fafafa; color: #222;
}
.da-time-btn {
  padding: .3rem .5rem; border: none; border-radius: 4px;
  font-size: .75rem; cursor: pointer;
  background: rgba(40,160,100,.12); color: #2a7a5a;
}
.da-time-btn:active { background: rgba(40,160,100,.2); }
.da-time-clear { background: rgba(0,0,0,.05); color: #999; }
.da-time-clear:active { background: rgba(0,0,0,.1); }
