.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 0%, rgba(25, 242, 223, 0.11), transparent 40%);
  pointer-events: none;
}
.card-inner { position: relative; padding: 16px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-title h2, .card-title h3 { margin: 0; font-size: 17px; letter-spacing: -0.025em; }
.card-title small { color: var(--muted); }
.kpi { min-height: 108px; }
.kpi .card-inner { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; height: 100%; }
.kpi-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(25,242,223,0.14);
  color: var(--accent);
  font-size: 22px;
  box-shadow: 0 0 24px rgba(25,242,223,0.14);
}
.kpi-label { color: var(--text-soft); font-size: 13px; }
.kpi-value { font-size: 29px; font-weight: 770; letter-spacing: -0.045em; margin-top: 2px; }
.kpi-sub { color: var(--muted); margin-top: 4px; font-size: 12px; }
.btn {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.036);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 160ms ease;
}
.btn:hover { border-color: var(--line-strong); background: rgba(25,242,223,0.08); }
.btn-primary {
  border-color: rgba(25,242,223,0.52);
  background: linear-gradient(135deg, rgba(25,242,223,0.90), rgba(13,165,255,0.78));
  color: #041015;
  font-weight: 780;
  box-shadow: 0 12px 30px rgba(25,242,223,0.16);
}
.btn-danger { border-color: rgba(255,95,109,.42); color: #ff9aa3; }
.btn-muted { color: var(--text-soft); }
.btn-block { width: 100%; }
.btn-pill { border-radius: 999px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: rgba(255,255,255,0.035);
  font-size: 11px;
  white-space: nowrap;
}
.badge.green { color: var(--green); border-color: rgba(64,217,139,.35); background: rgba(64,217,139,.08); }
.badge.yellow { color: var(--yellow); border-color: rgba(255,191,69,.36); background: rgba(255,191,69,.08); }
.badge.red { color: var(--red); border-color: rgba(255,95,109,.36); background: rgba(255,95,109,.08); }
.badge.blue { color: var(--accent-2); border-color: rgba(10,159,252,.34); background: rgba(10,159,252,.08); }
.badge.purple { color: var(--purple); border-color: rgba(163,107,255,.34); background: rgba(163,107,255,.08); }
.badge.teal { color: var(--accent); border-color: rgba(25,242,223,.34); background: rgba(25,242,223,.08); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--text-soft); font-size: 12px; }
.input, .select, .textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(2,9,13,0.56);
  padding: 0 12px;
  outline: none;
}
.textarea { min-height: 82px; resize: vertical; padding-top: 11px; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(25,242,223,.58); box-shadow: 0 0 0 4px rgba(25,242,223,.08); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--text-soft); font-weight: 650; background: rgba(255,255,255,0.025); font-size: 12px; }
td { color: var(--text); }
tr:hover td { background: rgba(25,242,223,0.035); }
tr.selected td { background: rgba(25,242,223,0.075); }
.progress-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-bar { height: 100%; width: var(--value, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 22px rgba(25,242,223,.22); }
.ring {
  width: var(--size, 92px);
  height: var(--size, 92px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) var(--deg, 0deg), rgba(255,255,255,.10) 0);
  position: relative;
}
.ring::after { content: ""; position: absolute; inset: 9px; border-radius: inherit; background: #08151b; }
.ring span { position: relative; z-index: 1; font-weight: 780; }
.empty-state {
  min-height: 80px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  text-align: center;
  padding: 14px;
}
.empty-state.compact { min-height: 58px; }
.notice { border: 1px solid rgba(25,242,223,.22); border-radius: 12px; padding: 11px; color: var(--text-soft); background: rgba(25,242,223,.06); }
.footer-note { color: rgba(184, 200, 212, 0.40); text-align: center; margin-top: 14px; font-size: 12px; }
@media (max-width: 760px) { .timer-actions, .form-grid, .form-grid-3, .calendar-head, .settings-row, .donut-row { grid-template-columns: 1fr; } }

/* v0.1.6 compact components */
.card { min-height: 0; }
.card-inner { padding: 14px; min-height: 0; }
.card-title { margin-bottom: 10px; }
.card-title h2, .card-title h3 { font-size: 16px; }
.kpi { min-height: 82px; }
.kpi .card-inner { gap: 11px; }
.kpi-icon { width: 42px; height: 42px; font-size: 19px; }
.kpi-value { font-size: 25px; }
.kpi-sub { font-size: 11px; }
.btn { min-height: 36px; padding: 0 13px; }
.input, .select { min-height: 36px; }
.textarea { min-height: 68px; }
.empty-state { min-height: 58px; padding: 10px; }
th, td { padding: 8px 10px; }
.table-wrap { max-height: 100%; }
.footer-note { display: none; }
