/* 13WCF unified ISO-week date picker (vanilla) */
.wcf-wdp-input {
  font-variant-numeric: tabular-nums;
}
.wcf-wdp {
  position: absolute;
  z-index: 10000;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  padding: 10px;
  width: 300px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  user-select: none;
}
.wcf-wdp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.wcf-wdp-title {
  flex: 1;
  text-align: center;
  font-weight: 700;
  color: #b8860b;
  text-transform: capitalize;
  font-size: 13px;
}
.wcf-wdp-nav {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
  border-radius: 6px;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.wcf-wdp-nav:hover { background: #f9fafb; }
.wcf-wdp-grid {
  display: grid;
  grid-template-columns: 34px repeat(7, 1fr);
  gap: 2px;
}
.wcf-wdp-wh,
.wcf-wdp-dh {
  text-align: center;
  color: #6b7280;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 0;
}
.wcf-wdp-wh { color: #b8860b; }
.wcf-wdp-wn {
  text-align: center;
  padding: 4px 0;
  font-size: 10.5px;
  font-weight: 700;
  color: #b8860b;
  background: #fdf7e3;
  border-radius: 4px;
}
.wcf-wdp-day {
  background: transparent;
  border: 1px solid transparent;
  color: #1f2937;
  padding: 4px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  text-align: center;
  transition: background 120ms ease, border-color 120ms ease;
}
.wcf-wdp-day:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.wcf-wdp-out { color: #9ca3af; }
.wcf-wdp-today { border-color: #b8860b; }
.wcf-wdp-sel {
  background: #b8860b !important;
  color: #ffffff !important;
  border-color: #b8860b !important;
  font-weight: 700;
}
.wcf-wdp-dis {
  opacity: 0.35;
  cursor: not-allowed;
}
.wcf-wdp-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  gap: 6px;
}
.wcf-wdp-btn {
  background: #b8860b;
  color: #ffffff;
  border: 1px solid #b8860b;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.wcf-wdp-btn:hover { background: #a5760a; }
.wcf-wdp-btn-ghost {
  background: transparent;
  color: #6b7280;
  border-color: #e5e7eb;
}
.wcf-wdp-btn-ghost:hover { background: #f9fafb; color: #1f2937; }

@media (max-width: 480px) {
  .wcf-wdp { width: min(320px, calc(100vw - 16px)); }
}
