.order-card {
  position: relative;
}

.order-card h3 {
  margin-right: 34px;
}

.order-meta {
  align-items: center;
  gap: 10px;
}

.pin {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  color: #8a948d;
  font-size: 22px;
  line-height: 1;
}

.pin.active {
  color: #b08013;
}

.quick-start {
  color: var(--forest);
  background: #e7f1df;
}

.order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.book-time {
  color: var(--forest);
  background: #e7f1df;
}

.report-pdf {
  color: #7a321f;
  background: #f4e8e3;
}

form[data-form="entry"] label {
  margin: 11px 0;
}

form[data-form="entry"] .actions {
  margin-top: 12px;
}

.week-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px 18px;
  margin-bottom: 28px;
}

.week-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.week-head h2 {
  margin: 0;
  font-size: 18px;
}

.week-head strong {
  font-size: 18px;
  color: var(--forest);
}

.week-chart {
  height: 190px;
  display: grid;
  grid-template-columns: repeat(6, minmax(42px, 1fr));
  gap: 14px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.week-day {
  height: 100%;
  display: grid;
  grid-template-rows: 22px 1fr 38px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.week-value {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.bar-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.bar-fill {
  width: min(48px, 68%);
  min-height: 2px;
  background: var(--leaf);
  border-radius: 3px 3px 0 0;
}

.week-day.today .bar-fill {
  background: var(--forest);
}

.week-day.today .day-label {
  color: var(--forest);
  font-weight: 800;
}

.day-label {
  display: grid;
  align-content: center;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .week-panel { padding: 18px 12px 14px; }
  .week-chart { gap: 5px; height: 170px; }
  .week-day { font-size: 11px; grid-template-rows: 20px 1fr 36px; }
  .bar-fill { width: 72%; }
}

.pinned-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .pinned-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .pinned-grid { grid-template-columns: 1fr; }
}
